OpenAI: GPT-5.2-Codexopenai
Bottom Line
OpenAI: GPT-5.2-Codex: $1.75/1M input, $14.00/1M output, 400K context, CPS grade B. 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....
API Pricing (per 1M tokens)
| Input | $1.75 |
| Output | $14.00 |
| Cache Read | — |
| Cache Write | — |
| Blended (3:1) | $4.81 |
Specs & Performance
| Context Length | 400K |
| Max Output | 128K |
| Intelligence | 29 |
| Coding | 43 |
| Math | — |
| Speed | — |
| TTFT | — |
| CPS Grade | B |
| Input / Output Modalities | text, image → text |
More from openai
Looking for cheaper alternatives?
Find the cheapest model by task, or compare two models head-to-head.
FAQ
How much does the OpenAI: GPT-5.2-Codex API cost?
OpenAI: GPT-5.2-Codex costs $1.75/1M input tokens and $14.00/1M output tokens. Blended cost at a 3:1 ratio is about $4.81/1M tokens.
What is the context window of OpenAI: GPT-5.2-Codex?
OpenAI: GPT-5.2-Codex supports a 400K token context window with up to 128K output tokens.
Is OpenAI: GPT-5.2-Codex worth it?
OpenAI: GPT-5.2-Codex has a CPS grade of B (score 56), intelligence index 29, coding index 43. Use the compare page to benchmark against rivals.