GPT-5.2-Codex
OpenAI · released Jan 14, 2026
GPT-5.2-Codex is an upgraded version of GPT-5.1-Codex optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks....
Specification
- Context window
- 400K
- Max output
- 128K
- Knowledge cutoff
- Not stated
- Parameters
- Undisclosed
- Licence
- Proprietary
- Serving providers
- 1
- Moderated
- No
- Uptime
- 100.0%
Intelligence
28.5
81th percentile
Coding
—
Coding Index
Agentic
—
Agentic Index
Output speed
35 t/s
Median across providers
Latency
4.89s
Time to first token
Cost per task
$1.21
Estimated
Benchmarks
Where the score comes from
The Intelligence Index is a composite. These are the underlying evaluations this model was actually measured on.
Evaluation scores
Percentage correct · higher is better
- τ²-bench (Telecom)92.1%
- GPQA Diamond89.9%
- AA-LCR (long context)82.3%
- IFBench77.6%
- Terminal-Bench Hard37.1%
- Humanity's Last Exam35.7%
An evaluation missing from this list was not run for this model — it is not a zero.
View as table
| Evaluation | Score |
|---|---|
| τ²-bench (Telecom) | 92.1% |
| GPQA Diamond | 89.9% |
| AA-LCR (long context) | 82.3% |
| IFBench | 77.6% |
| Terminal-Bench Hard | 37.1% |
| Humanity's Last Exam | 35.7% |
Against its peers
Intelligence Index · this model highlighted, nearest peers in grey
- Gemini 3.1 Pro PreviewGoogle29.7
- Qwen3.7 MaxQwen29.5
- MiniMax M3MiniMax29.2
- GPT-5.2-CodexOpenAI28.5
- Solar Pro 4Upstage28.2
- GLM 5Z.ai27.9
- Kimi K2.6Moonshot AI27.0
- Qwen3.6 PlusQwen27.0
Peers are the models sitting closest on the Intelligence Index — the set you would realistically choose between.
View as table
| Model | Intelligence |
|---|---|
| Gemini 3.1 Pro Preview | 29.7 |
| Qwen3.7 Max | 29.5 |
| MiniMax M3 | 29.2 |
| GPT-5.2-Codex | 28.5 |
| Solar Pro 4 | 28.2 |
| GLM 5 | 27.9 |
| Kimi K2.6 | 27.0 |
| Qwen3.6 Plus | 27.0 |
Percentile among all indexed models
Pricing
What it costs to run
List prices per million tokens, plus what one representative task works out to.
List price
- Input / 1M tokens
- $1.75
- Output / 1M tokens
- $14
- Cached input / 1M
- $0.175
- Blended 3:1
- $4.81
One task, estimated
$1.21
- Input tokens
- 50,000
- Output tokens
- 80,000
- Profile
- Reasoning
Estimated from list pricing: 50K input tokens plus 80K output tokens for reasoning models (25K for non-reasoning).
Serving providers
Speed and latency figures are medians across these providers, so a widely-served model reports a blend rather than any single endpoint.