OpenAIDecember 18, 2025

GPT-5.2-Codex

GPT-5.2-Codex is a version of GPT-5.2 optimised for agentic coding in OpenAI's Codex, released on December 18, 2025. It targets real-world software engineering and defensive cybersecurity work, and was offered first in Codex for paid ChatGPT users before reaching the API. It has since been retired.

Retired · 2026-07-23Text + Image inputText outputClosed / API only

At a glance

Context window
—
Max output
—
Historical text input / output · per 1M tokens
$1.75 / $14.00
Knowledge cutoff
—
R.I.P.R.I.P.GPT-5.2-GPT-5.2-CodexCodex2025 — 20262025 — 2026OpenAIOpenAIREST IN PEACEREST IN PEACE

A place to remember

Retired, not forgotten.

Released
18 Dec 2025
Endpoint retired
23 Jul 2026
Time in service
217 days

Superseded · Successor: GPT-5.2 Chat (0210)

“Ranked on 18 leaderboards. Outlived by GPT-5.2 Chat (0210).”

18 leaderboards · 0 top-three finishes · Best rank #6. The full model record remains below.

Benchmark snapshot

Best result in each categories

View benchmark details (11)

Benchmark details

11 results · Best published score per benchmark, grouped by category

Benchmark · settingScoreRank
Academic
CritPt

Extra-High (No Tools) · Scientific Reasoning

8.760 / 134
Coding
APEX-SWE

Thinking High (With Tools) · Repository Engineering

30.851 / 61
SWE-bench Multilingual

Unspecified Reasoning (With Tools) · Repository Engineering

Source: SWE-bench
66.338 / 48
SWE-Bench Pro - Commercial

Unspecified Reasoning (With Tools) · Repository Engineering

Source: Scale AI SWE-Bench Pro leaderboard
27.76 / 14
SWE-Bench Pro - Public

Unspecified Reasoning (With Tools) · Repository Engineering

Source: Scale AI
41.060 / 66
SWE-bench Verified

Unspecified Reasoning (With Tools) · Repository Engineering

Source: SWE-bench
72.849 / 108
Terminal Bench Hard

Extra-High (With Tools) · Agentic Development

37.143 / 157
Vibe Code Bench v1.1

Thinking High (With Tools) · Code Generation & Editing

37.973 / 121
General Evaluation
LiveBench

Normal (No Tools) · Cross-capability Suites

74.039 / 106
Language & Creation
IF Bench

Extra-High (No Tools) · Instruction Following

Source: Artificial Analysis (artificialanalysis.ai)
77.615 / 38
Multimodal
MMMU-Pro

Extra-High (No Tools) · Visual Understanding

76.358 / 136

Rank is this model's position among every model with a published result on that leaderboard; the bar shows how far up the field that is. Orange marks first place on leaderboards with at least 5 models. Unranked leaderboards publish a composite or direction-less score.

Back to benchmark snapshot ↑

Historical API pricing

Listed text rates, USD per million tokens · effective 2026-11-14

Input
$1.75
Output
$14.00
Cached input
$0.175

Blended price4:1 input:output · 90% of input tokens cached · same basis as the price ranking

$3.066/ 1M tokens

Estimate running cost for GPT-5.2-Codex

Specifications

Provider
OpenAI
Model type
Coding model
Released
December 18, 2025
Endpoint retired
2026-07-23 Source
Architecture
Undisclosed
Input
Text, Image
Output
Text
Weights
Closed / API only
Commercial use
Proprietary

Capabilities

ReasoningCoding

GPT-5.2-Codex vs competitors

Comparable results only · record is GPT-5.2-Codex's wins–losses

GPT-5.2-Codex benchmark scores against competitors
BenchmarkGPT-5.2-CodexThis modelvs Opus 4.5Record 6–5vs Gemini 3.0 Pro (Preview 11-2025)Record 5–6vs Claude Opus 4.6Record 0–10vs Gemini 3.1 Pro PreviewRecord 1–8
Terminal Bench Hard37.147.041.748.553.8
MMMU-Pro76.374.080.277.382.4
CritPt8.74.69.112.617.7
Vibe Code Bench v1.137.920.614.357.632.0
SWE-bench Verified72.880.976.280.880.6
LiveBench74.072.673.474.577.0
SWE-Bench Pro - Public41.045.943.351.954.2
APEX-SWE30.838.726.841.833.9
SWE-Bench Pro - Commercial27.723.417.947.132.2
SWE-bench Multilingual66.370.768.777.8—

Lineage

Predecessors and successors · oldest to newest

  1. GPT-5 CodexSep 15, 2025Retired
  2. 60 days
    GPT-5.1 CodexNov 14, 2025Retired
  3. GPT-5.2-CodexDec 18, 202534 days laterRetiredvs GPT-5.1 Codex
  4. 49 days
    GPT-5.3 CodexFeb 5, 2026

Generational jump vs GPT-5.1 Codex

3 like-for-like benchmarks with the same protocol and setting.

Full head-to-head
GPT-5.2-CodexGPT-5.1 CodexOther ranked models

Thinking High (With Tools) · 112 ranked

13.1%→37.9%
05010093.8Claude Fable 5…Gemini 4 NeonClaude Sonnet…Gemini 4 ArgonClaude Haiku 5…Claude Fable 5MiMo-V2.537.9GPT-5.2-CodexKimi K2.6GPT-5-mini13.1GPT-5.1 CodexQwen3.6-27B+24.8% · #93→#71
Hover or focus any bar to inspect rank & scoreRank #93 → #71

Normal (No Tools) · 84 ranked

68.6%→74.0%
047.59583.4Claude Fable 5…Claude Opus 5.5Claude Fable 5GPT-6 AstraGPT-6.1 SolMuse Spark 1.3Claude Opus 4.674.0GPT-5.2-CodexGemini 3.6 Fla…GLM-568.6GPT-5.1 CodexKimi K2.7 Code+5.4% · #57→#36
Hover or focus any bar to inspect rank & scoreRank #57 → #36

Thinking High (With Tools) · 55 ranked

29.0%→30.8%
037.57567.6Claude Opus 5.5Claude Sonnet…Claude Opus 5Claude Fable 5…Claude Fable 5Grok 4.6Claude Haiku 5…MiMo-V2.6-ProGrok 4.5Grok 4.730.8GPT-5.2-Codex29.0GPT-5.1 Codex+1.8% · #50→#49
Hover or focus any bar to inspect rank & scoreRank #50 → #49

Price & benchmark trends

Across curated predecessors and successors, ordered by release date. Points use listed rates and published results, not within-model price history. Related branches may appear; undated models appear last.

API price across generations

Text inputText outputUSD / 1M tokens
$0$7.56$15.12GPT-5 CodexGPT-5.1 CodexGPT-5.2-CodexGPT-5.3 Codex

Uncached text rates on one linear USD axis (lower is cheaper). Retired models may keep their last recorded rate; inspect each model for tier conditions.

Benchmark performance across generations

039.9579.9GPT-5 CodexGPT-5.1 CodexGPT-5.2-CodexGPT-5.3 Codex

Accuracy · Higher is better. Same recorded metric, protocol and setting.

Inspect LiveBench ↗

Orange marks this model. Hover, tap or focus the chart to inspect exact values. Missing values leave gaps; horizontal spacing shows release order, not elapsed time.

Listed prices and selected benchmark scores across model generations
Model · releasedInput / 1MOutput / 1MPrice effectiveLiveBench
1GPT-5 CodexSep 15, 2025 · Retired$1.25$10.002026-11-14—
2GPT-5.1 CodexNov 14, 2025 · Retired$1.25$10.002026-01-0368.6 ↗
3GPT-5.2-CodexDec 18, 2025 · Retired · This model$1.75$14.002026-11-1474.0 ↗
4GPT-5.3 CodexFeb 5, 2026$1.75$14.002026-06-14—

On the stone

Memories and epitaphs, kept separately from model reviews.

Epitaphs from visitors

Nobody has written on this stone yet. The first line is yours.

Write an epitaph

One line for GPT-5.2-Codex. No sign-in, no links, published as written.

8–200 characters200

Community discussion

Share the API, setup, and tradeoffs you actually tested. Rate the model once; comment as often as you like.

Sign in with Google to rate this model and leave a comment.

No community comments yet.