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 with a 400k token context window.
- Strengths
- The model excels at code generation, debugging, and understanding large codebases within its extended context window.
- Best for
- Writing, reviewing, and refactoring code across multi-file projects and complex technical documentation.
- Limitations
- It is optimized for code-specific tasks and does not offer the broad reasoning capabilities of the general-purpose GPT-5.2 or reasoning-focused GPT-5.2 Pro models from its generation.
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 |