GPT-5.2-Codex
OpenAI · Multimodal · Released Jan 2026
GPT-5.2-Codex is OpenAI's coding-specialized model from the GPT-5.2 generation, built for software development tasks with a 400k token context window.
- Strengths
- The model handles large code files and multi-file projects within a single request, with improved reasoning for complex software engineering problems compared to earlier generations.
- Best for
- Building and debugging applications, refactoring large codebases, and analyzing code across substantial files or entire projects.
- Limitations
- Positioned between GPT-5.1-Codex-Max and the newer GPT-5.3-Codex; superseded by GPT-5.3-Codex released in February 2026.
Input / 1M
$1.75
Output / 1M
$14.00
Cached input / 1M
$0.175
Context window
400K
Price history
Snapshots
| Effective | Input | Output | Cached in | Note | Source |
|---|---|---|---|---|---|
| 11 Jun 2026 | $1.75 | $14.00 | $0.175 | Imported from OpenRouter | openrouter.ai |