reasoningReleased 2026-01
GPT-5.2-Codex
By OpenAI · Code-specialised agentic workloads.
Input / 1M
$1.75
Output / 1M
$14.00
Context
400K tokens
Max output
128K tokens
GPT-5.2-Codex pricing
GPT-5.2-Codex costs $1.75 per million input tokens and $14.00 per million output tokens at standard API rates. That makes it cheaper than 9 of 25 other tracked models on input.
Estimate your monthly cost →GPT-5.2-Codex benchmarks
Terminal-Bench 2.183.4%
SWE-bench Verified82.6%
Ranks #2 on SWE-bench Verified among tracked models.
Specs
- Maker
- OpenAI
- Category
- reasoning
- Released
- 2026-01
- Modalities
- text
- Open weights
- No (proprietary API)
- Context window
- 400K tokens
- Max output
- 128K tokens
Compare GPT-5.2-Codex with
Data verified 2026-06-20. Prices are standard USD API rates per 1M tokens.