GPT-5.2 Codex
Code-specialist GPT for repository edits, reviews, and long-running software agents.
- Capability
- —No ECI score yet
- Input
- $1.75per 1M tokens
- Output
- $14.00per 1M tokens
- Context
- 400K128K max output
What it costs
- Input
- $1.75per million tokens
- Output
- $14.00per million tokens
- Blended (3:1)
- $4.81pricier than 87% of priced models
Typical monthly bills
| Monthly usage | Estimated cost |
|---|---|
| Side project2M input + 0.5M output tokens | $10.50 |
| Team assistant25M input + 5M output tokens | $113.75 |
| Production app250M input + 50M output tokens | $1,138 |
Median of 11 paid API providers on models.dev.
Independent benchmarks
Epoch AI has not published a Capabilities Index score for GPT-5.2 Codex yet.
The details
- Lab
- OpenAI
- Released
- Dec 11, 2025
- Knowledge cutoff
- Aug 31, 2025
- Context window
- 400,000 tokens
- Max output
- 128,000 tokens
- Inputs
- Text, Images, PDFs
- Output
- Text
- Reasoning
- Always on
- Tool calling
- Yes
- Structured output
- Yes
- Weights
- Proprietary
- Availability
- 11 API providerslisted on models.dev
What OpenAI claims
Published by the lab at launch. Settings vary, so compare these only with care.
| Benchmark | Score | Setting | Source |
|---|---|---|---|
| SWE-Bench Pro | 41.04 resolve rate | — | Source |
More from OpenAI
About GPT-5.2 Codex
How much does GPT-5.2 Codex cost?
GPT-5.2 Codex costs $1.75 input / $14.00 output per million tokens (median across 11 API providers). At a 3:1 input-to-output mix that is $4.81 per million tokens, more expensive than 87% of the 360 priced models we track.
What is the context window of GPT-5.2 Codex?
GPT-5.2 Codex accepts up to 400,000 tokens per request and can write up to 128,000 tokens in one response.
How good is GPT-5.2 Codex?
Epoch AI has not published a Capabilities Index score for GPT-5.2 Codex yet.
Is GPT-5.2 Codex open source?
No. GPT-5.2 Codex is proprietary; you use it through an API or partner platforms.
What inputs does GPT-5.2 Codex support?
GPT-5.2 Codex accepts text, images and PDFs and replies in text. It is a reasoning model, supports tool calling and can return structured JSON output.
When was GPT-5.2 Codex released?
OpenAI released GPT-5.2 Codex on Dec 11, 2025. Its training data runs to Aug 31, 2025.
What are the best alternatives to GPT-5.2 Codex?
The closest current models from other labs on capability, price and release date are Command A Translate (Cohere, $2.50 / $10.00), Gemini 2.5 Computer Use Preview (Google, $1.25 / $10.00), Jamba Large (AI21 Labs, $2.00 / $8.00) and Kimi K2.7 Code Highspeed (Moonshot AI, $1.90 / $8.00).