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.... Built by OpenAI.
Prices updated
Input price
$1.75
per 1M tokens · Standard
Output price
$14
per 1M tokens · Standard
Input limit
400K
tokens
Output limit
128K
tokens
Input formats
Output formats
GPT-5.2-Codex price history
2 price records since 9/25/2026
GPT-5.2-Codex cost calculator
$105/month
Standard pricing
Overview
What is GPT-5.2-Codex?
GPT-5.2-Codex is a text & reasoning and vision and code & slms model from OpenAI priced at $1.75 input and $14 output per 1M tokens, with a 400K context window. It sits in the higher price range, so it fits quality-focused work and it scores 28.5 on AA Intelligence.
Benchmarks
GPT-5.2-Codex benchmarks & speed
How GPT-5.2-Codex scores on standardized evaluations, and where it lands among every model we track.
28.5
Intelligence Index
Reasoning
GPQA Diamond
89.9%
Graduate-level scientific reasoning · top 27%
HLE
35.7%
Humanity's Last Exam · top 29%
Independent scores from Artificial Analysis and DesignArena · updated 10/5/2026. Higher is better; ranks compare against every model we track with that score.
Rates
GPT-5.2-Codex pricing
Pricing is based on token usage. Provider-specific caching, batch, regional, and tool charges may affect the final cost.
Input · Standard
$1.75
Per 1M tokens
Cached input · Standard
$0.17
Per 1M tokens
Capabilities
GPT-5.2-Codex Tools
Tools available when using GPT-5.2-Codex through supported provider APIs.
Function calling
Supported
Structured outputs
Supported
JSON mode
Supported
Reasoning
Supported
Built-in web search
Not listed
Log probabilities
Not listed
Deterministic seed
Supported
Parallel tool calls
Not listed
Prompt caching
Supported
Strengths and limitations
Strengths
- Price rank 290 of 330 tracked models (1 = cheapest, by blended price).
- Blended price at 3 input : 1 output is $4.81 per 1M tokens.
- 1M input + 250K output tokens costs about $5.25.
- Context window 400K vs a median of 262K (1.5× larger).
Limitations
- Generated tokens cost 8× more than input tokens, which matters for verbose responses.
- Large context capacity does not guarantee consistent retrieval across the entire prompt.
- Benchmarks are directional; test accuracy, latency and reliability on your own workload before committing.
Public listed prices, checked Dec 4, 2026. Benchmarks as published by their sources. Confirm with the provider.
Same provider
