← All Comparisons
GPT-5 vs GPT-5.2 Codex
A detailed comparison of GPT-5 (OpenAI) and GPT-5.2 Codex (OpenAI) across pricing, performance, and features.
Pricing Comparison
| Metric | GPT-5 | GPT-5.2 Codex | Difference |
|---|---|---|---|
| Input / 1M tokens | $1.25 | $1.75 | +40% |
| Output / 1M tokens | $10.00 | $14.00 | +40% |
| Context window | 128K | 200K | — |
| Max output | 16.384K | 65.536K | — |
Benchmark Comparison
| Benchmark | GPT-5 | GPT-5.2 Codex |
|---|---|---|
| MMLU-Pro | 88.5% | 89% |
| HumanEval | 95% | 95.5% |
| GPQA | 73.5% | 76% |
Capabilities
| Capability | GPT-5 | GPT-5.2 Codex |
|---|---|---|
| audio | ✓ | ✗ |
| code | ✓ | ✓ |
| reasoning | ✓ | ✓ |
| text | ✓ | ✓ |
| tool-use | ✓ | ✓ |
| vision | ✓ | ✓ |
GPT-5 Strengths
- ✓Strong all-around performance
- ✓Good price for flagship tier
- ✓Multimodal including audio
GPT-5 Weaknesses
- ✗128K context vs 200K+ for newer models
- ✗Codex variants better for pure coding
GPT-5.2 Codex Strengths
- ✓Strong coding performance
- ✓Available via API now
- ✓200K context window
GPT-5.2 Codex Weaknesses
- ✗Being superseded by 5.3
- ✗Higher output cost than some competitors
Quick Verdict
Best value: GPT-5 is the more affordable option at $1.25/$10 per 1M tokens.
Higher benchmarks: GPT-5.2 Codex scores higher on average across available benchmarks (86.8% avg).
Larger context: GPT-5.2 Codex supports 200K tokens.
Choose GPT-5 if cost matters most. Choose GPT-5.2 Codex if you need the best possible quality for complex tasks.