OpenAI · Released Jan 14, 2026
GPT-5.2-Codex
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....
- Top 18%Terminal-Bench
- Released
- Jan 14 2026
- Context window
- 400K 128K out
- Input / 1M tokens
- $1.75
- Output / 1M tokens
- $14.00
Where to run it
Providers
Only Azure serves GPT-5.2-Codex on OpenRouter right now.
| Provider | Input | Output | Cache read | Context | Max output | Uptime | vs. best |
|---|---|---|---|---|---|---|---|
| Azure | $1.75 | $14.00 | $0.17 | 400K | 128K | 100%24h | Cheapest |
Value
Price vs. performance
GPT-5.2-Codex Other OpenAI Other labs Value frontier · Terminal-Bench vs. input price per 1M tokens (log scale) · Drag to pan, pinch or Ctrl + scroll to zoom, double-click to zoom in.
Benchmarks
2 benchmark scores
| Benchmark | Score | Rank | Leader |
|---|---|---|---|
| Terminal-BenchSoftware engineering · Tasks completed with the programs in a real terminal (best agent) | 66.5% | #7of 40 | GPT-5.584.7% |
| WebDev ArenaDesign & visual · People vote on which model builds the better website (Elo) | 1339 | #78of 88 | Claude Opus 5.51820 |
Specs
Details
- Model ID
openai/gpt-5.2-codex- Developer
- OpenAI
- Release date
- Jan 14, 2026 ·
- Context window
- 400,000 tokens
- Max output
- 128,000 tokens
- API price
- $1.75 / $14.00 per 1M input / output tokens
- Providers
- 1
- Input types
- text, image
- Reasoning
- Yes
- Tool calling
- Yes
- Open weights
- No
- Free tier
- No
Release date, prices and providers from OpenRouter's catalog; buying directly from a provider can cost a little differently. Uptime is the share of OpenRouter requests each provider served over the last day. Benchmark scores are the best result per benchmark from Epoch AI, licensed CC BY 4.0. Rank counts every model tracked here with a score.