GPT-5.2 Codex
by OpenAIChatdeprecated 2026-07-23
Coding-optimized GPT model for repository edits, reviews, and agentic software work
- Context
- 400K tokens
- Max output
- 128,000 tokens
- Released
- 2025-12-11
- Weights
- Closed
openai/gpt-5-2-codex · also seen as azure/gpt-5.2-codex, eu/gpt-5.2-codex, us/gpt-5.2-codex, openai/gpt-5.2-codex-20260114
Specifications
Full facts as recorded, incl. what is unknown.
- Released
- 2025-12-11
- Weights
- Closed
- Input
- Text, Image
- Output
- Text
- Context window
- 400,000 max across endpoints
- Max output
- 128,000
- Providers
- 5 + 17 gateways, not counted as providers
- Epoch Capabilities Index
- not evaluated
- Direct price range
- $1.75 in · $14 out per 1M tokens · 2 of 5 providers have a comparable price
More details
- Last updated
- 2026-01-15
- Knowledge cutoff
- 2025-08-31
- Developer country
- United States of America
Capabilities
Across all endpoints: supported if any endpoint supports it.
- Tool calling
- Parallel tools
- Structured output
- Reasoning
- Image input
- PDF input
- Audio input
- Audio outputunknown
- Video input
- Prompt caching
- Web search
- Computer useunknown
- System messages
- Assistant prefillunknown
- Temperature
- Streaming
- Attachments
Endpoints
One row per provider and variant; gateways are listed separately.
Loading endpoints…
Price history
Atom feedNo change since 19 Oct 2026. The cheapest direct price has been $1.75 in / $14 out per 1M tokens at Azure on every data refresh since then.
Tracked from 19 Oct 2026. Headline-eligible direct prices only, so a price the sanity check flags never draws a spike. Series as JSON
Cost calculator
Loading endpoints…
Similarly priced models
Blended rate per 1M tokens, each at its own cheapest provider (10M input : 2M output mix).
| Model | Blended/1M | In/1M | Out/1M | Context | vs GPT-5.2 Codex |
|---|---|---|---|---|---|
| GPT-5.2 ChatOpenAI | $3.79 | $1.75 | $14 | 128K | +0% |
| GPT-5.3 ChatOpenAI | $3.79 | $1.75 | $14 | 128K | +0% |
| GPT-5.3 CodexOpenAI | $3.79 | $1.75 | $14 | 400K | +0% |
| GPT-5.3 Codex SparkOpenAI | $3.79 | $1.75 | $14 | 128K | +0% |
| GLM 5.3 PrimeZ.ai (Zhipu AI) | $3.80 | $2.80 | $8.80 | 1M | +0% |
| Command ACohere | $3.75 | $2.50 | $10 | 256K | −1% cheaper |
| Command A PlusCohere | $3.75 | $2.50 | $10 | 128K | −1% cheaper |
| Command A ReasoningCohere | $3.75 | $2.50 | $10 | 256K | −1% cheaper |
More from OpenAI
Newest OpenAI models in the catalogue. All OpenAI models
| Model | Released | Context | Listed price |
|---|---|---|---|
| GPT-6.1 Sol Ultrafast | 2026-10-08 | 1.05M | from $12 |
| GPT-6 Luna Decisions | 2026-10-06 | 1.05M | unpriced |
| GPT-6.1 Sol | 2026-09-29 | 1.05M | from $2.00 |
| GPT-6.1 Sol Pro | 2026-09-29 | 1.05M | from $2.00 |
| GPT-6 Luna | 2026-09-22 | 1.05M | from $0.10 |
| GPT-6 Sol | 2026-09-22 | 1.05M | from $2.00 |
| GPT-6 Sol Pro | 2026-09-22 | 1.05M | from $2.00 |
| GPT-6 Luna Pro | 2026-09-22 | 1.05M | from $0.10 |