GPT-5 Codex
OpenAI · Multimodal · Released Sep 2025
GPT-5 Codex is OpenAI's code-specialized model optimized for software engineering and programming tasks, built on the GPT-5 foundation with a 400k token context window.
- Strengths
- It excels at code generation, debugging, refactoring, and understanding complex codebases across multiple programming languages and frameworks.
- Best for
- Development workflows where code understanding, generation, and analysis are the primary tasks, including large repository navigation and multi-file refactoring.
- Limitations
- It is specialized for programming rather than general-purpose reasoning; for non-code tasks, GPT-5 Pro may be better suited, and for batch workflows, GPT-5 Codex (batch) is the dedicated variant.
Input / 1M
$1.25
Output / 1M
$10.00
Cached input / 1M
$0.125
Context window
400K
Price history
Snapshots
| Effective | Input | Output | Cached in | Note | Source |
|---|---|---|---|---|---|
| 11 Jun 2026 | $1.25 | $10.00 | $0.125 | Imported from OpenRouter | openrouter.ai |