GPT-5 Codex
OpenAI · Multimodal · Released Sep 2025
OpenAI's code-specialized model built on the GPT-5 foundation with a 400k token context window, released in September 2025.
- Strengths
- Optimized for software engineering and programming tasks, handling large codebases and complex technical contexts with its extended context window.
- Best for
- Code generation, debugging, refactoring, and understanding large repository structures.
- Limitations
- Narrower focus on code-specific tasks compared to general-purpose reasoning models like GPT-5 Pro; use GPT-5 Pro for tasks requiring broad reasoning beyond programming.
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 |