GPT-5.2-Codex vs GPT-5.2 Pro
Pick up to 3 models · pricing, context and capabilities · simulate your product cost
Data updated on September 30, 2026· 217 models
GPT-5.2-Codex is an upgraded version of GPT-5.1-Codex optimized for software engineering and coding workflows.
- Reasoning estimated
- Speed estimated
- ▲
- Input
- Output
- Context
- 400 K tokens
- Max output
- 128 K
- Input, $ per 1M tokens
- ▲$1.75
- Output, $ per 1M tokens
- ▲$14.00
- Cache read, $ per 1M
- $0.175
- Batch (input / output)
- —
- Tool calling
- Yes
- Released
- ▲01/14/2026
- Knowledge cutoff
- 2025-08-31
- API id
- openai/gpt-5.2-codex
GPT-5.2 Pro is OpenAI’s most advanced model, offering major improvements in agentic coding and long context performance over GPT-5 Pro.
- Reasoning estimated
- ▲
- Speed estimated
- Input
- Output
- Context
- 400 K tokens
- Max output
- 128 K
- Input, $ per 1M tokens
- $21.00
- Output, $ per 1M tokens
- $168.00
- Cache read, $ per 1M
- —
- Batch (input / output)
- $10.50 / $84.00
- Tool calling
- Yes
- Released
- 12/11/2025
- Knowledge cutoff
- 2025-08-31
- API id
- openai/gpt-5.2-pro
Which is the better API choice: GPT-5.2-Codex vs GPT-5.2 Pro?
- GPT-5.2-Codex: cheapest input (92% less than GPT-5.2 Pro)
- GPT-5.2-Codex: cheapest output
- GPT-5.2-Codex: the newest (01/14/2026)
- GPT-5.2 Pro: most reasoning (estimated)
- GPT-5.2-Codex: the fastest (estimated)
GPT-5.2-Codex costs 92% less on input and 92% less on output than GPT-5.2 Pro ($1.75 / $14.00 versus $21.00 / $168.00 per million tokens). All accept 400 K tokens of context. GPT-5.2 Pro offers a batch tier at half price for jobs that do not need an immediate answer.
What would your product cost?
Estimate the monthly cost with your app's real volume. List prices, no cache or batch discounts.
With GPT-5.2-Codex you save $904.75 a month versus GPT-5.2 Pro (92% less).
The 6 cheapest for this scenario (chat, last 12 months)
- 1Lyria 3 Pro Preview Google$0.00
- 2Lyria 3 Clip Preview Google$0.00
- 3Qwen3.7 Flash Qwen$0.97
- 4DeepSeek V4 Flash 0731 DeepSeek$1.55
- 5Ministral 3 3B 2512 Mistral$1.90
- 6Qwen3.5-Flash Qwen$2.02
Paste your prompt: tokens and cost per model
Rough estimate (about 4 characters per token). Nothing is sent to any server.
Cost of sending it 1,000 times (input only)
- 1GPT-5.2-Codex OpenAI$0.133
- 2Claude Sonnet 5.5 Anthropic$0.152
- 3Claude Sonnet 5 Anthropic$0.152
- 4Claude Opus 5.5 Anthropic$0.304
- 5Claude Opus 5 Anthropic$0.380
- 6Claude Fable 5.1 Anthropic$0.760
- 7Claude Fable 5 Anthropic$0.760
- 8GPT-5.2 Pro OpenAI$1.60
Popular comparisons
- Claude Sonnet 5.5 vs GPT-6.1 Sol
- Claude Sonnet 5.5 vs Gemini 3.8 Flash
- Claude Sonnet 5.5 vs DeepSeek V4.1 Flash
- Claude Sonnet 5.5 vs Grok 4.7
- GPT-6.1 Sol vs Gemini 3.8 Flash
- GPT-6.1 Sol vs DeepSeek V4.1 Flash
- GPT-6.1 Sol vs Grok 4.7
- Gemini 3.8 Flash vs DeepSeek V4.1 Flash
- Gemini 3.8 Flash vs Grok 4.7
- DeepSeek V4.1 Flash vs Grok 4.7
Frequently asked questions
Which is the better API choice: GPT-5.2-Codex vs GPT-5.2 Pro?
GPT-5.2-Codex costs 92% less on input and 92% less on output than GPT-5.2 Pro ($1.75 / $14.00 versus $21.00 / $168.00 per million tokens). All accept 400 K tokens of context. GPT-5.2 Pro offers a batch tier at half price for jobs that do not need an immediate answer.
Which is cheaper: GPT-5.2-Codex and GPT-5.2 Pro?
GPT-5.2-Codex is cheaper: $1.75 per million input tokens and $14.00 per million output tokens, versus $21.00 / $168.00 for GPT-5.2 Pro.
Which has more context: GPT-5.2-Codex and GPT-5.2 Pro?
GPT-5.2-Codex and GPT-5.2 Pro accept the same context: 400 K tokens.
Which is newer: GPT-5.2-Codex and GPT-5.2 Pro?
GPT-5.2-Codex was released on 01/14/2026; GPT-5.2 Pro on 12/11/2025.
What would 10,000 requests a month cost with GPT-5.2-Codex and GPT-5.2 Pro?
With 1,500 input and 400 output tokens per request: GPT-5.2-Codex: $82.25; GPT-5.2 Pro: $987.00 a month, at list price.
Where do the prices come from and how often are they updated?
From the public catalogs of OpenRouter, models.dev and LiteLLM, which publish each provider's list prices. They sync once a day and the last update date is shown above the comparison.
What does price per million tokens mean?
It is what the provider charges per million tokens you send (input) or the model generates (output). A token is roughly 4 characters. Output almost always costs more than input.
Sources: OpenRouter, models.dev and LiteLLM. Prices in USD per million tokens, list price, no volume discounts. Prompt tokens are an estimate; each provider's tokenizer may differ.