GPT-5 Codex
OpenAI · Multimodal · Released Sep 2025
GPT-5 Codex is OpenAI's code-focused model with a 400k token context window, built for software development and code generation tasks.
- Strengths
- Excels at code generation, debugging, and understanding large codebases through its extended context window.
- Best for
- Software development workflows where understanding and generating code across large files or multiple files is needed.
- Limitations
- Specialized for code tasks; GPT-5 Pro or GPT-5.5 would be better suited for general-purpose reasoning beyond software development.
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 |