GPT-5.2-Codex
OpenAI · Multimodal · Released Jan 2026
A coding-specialized model from OpenAI's GPT-5.2 generation with a 400k token context window, released in December 2025 as a variant optimized for software engineering tasks.
- Strengths
- Handles large codebases and multi-file contexts without truncation, maintaining awareness of extended code and documentation within its wide context window.
- Best for
- Software projects that require reasoning across substantial code repositories, long-form documentation, or complex multi-step development workflows.
- Limitations
- Superseded by GPT-5.4 Pro and the GPT-5.4 series released in March 2026, which offer improved general-purpose and coding capabilities; use GPT-5.4 Pro for current frontier reasoning and coding work.
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 |