Today's price · per 1M tokens
Input
$1.75
per 1M tokens
Output
$14.00
per 1M tokens
Blended
$4.81
blended $/1M — 3:1 weighted input:output
Cached input
$0.175
10% of input — prompt caching
Price receipt
We read OpenAI's own pricing page on and found GPT-5.2-Codex listed with a price on the same row — that read is where the number above comes from. We keep the page text we read; its content hash is 85bce54c0b.
Overview
Retired from the OpenAI API on 2026-07-23; requests to it there now fail. Code-specialized GPT-5.2 variant tuned for agentic software engineering, tool use, and long-horizon coding tasks, with a 400K context, last listed at $1.75/$14 per 1M tokens. Use GPT-5.6 Sol instead.
Capabilities
struck through = not supportedBenchmark performance
accuracy % · higher is betterWe hold no per-benchmark accuracy scores for this model yet, so it has no accuracy average. That is a gap in our coverage, not a sign the model is untested — independent evaluators often publish a composite index for a new model long before releasing its per-benchmark numbers. The percentile above is its standing across the independent composites below.
- AA Intelligence Index: 40.1 (Artificial Analysis composite across reasoning, knowledge and coding evals)
- LMSYS Chatbot Arena: 1331 ELO (Human preference)
- Ranks #93 of 181 comparably-measured models by percentile score, across 2 independent measurements
- Ranks #155 of 181 comparably-tested models by normalized performance per dollar
123 tokens/sec output
Source: Artificial Analysis (via BenchLM), LMSYS Chatbot Arena (snapshot via BenchLM) · updated · See full rankings →
Specifications
- Provider
- OpenAI
- Context window
- 400K tokens
- Modality
- text
- Parameters
- Proprietary
- Open source
- No — proprietary
- Released
- Status
- Retired ended
- Last updated
- Tags
Availability verified: — per OpenAI's own deprecation notice