← All Comparisons
GPT-5.2 Codex vs Gemini 2.5 Pro
A detailed comparison of GPT-5.2 Codex (OpenAI) and Gemini 2.5 Pro (Google) across pricing, performance, and features.
Pricing Comparison
| Metric | GPT-5.2 Codex | Gemini 2.5 Pro | Difference |
|---|---|---|---|
| Input / 1M tokens | $1.75 | $1.25 | -29% |
| Output / 1M tokens | $14.00 | $10.00 | -29% |
| Context window | 200K | 1M | — |
| Max output | 65.536K | 65.536K | — |
Benchmark Comparison
| Benchmark | GPT-5.2 Codex | Gemini 2.5 Pro |
|---|---|---|
| MMLU-Pro | 89% | 87.5% |
| HumanEval | 95.5% | 93.5% |
| GPQA | 76% | 76% |
Capabilities
| Capability | GPT-5.2 Codex | Gemini 2.5 Pro |
|---|---|---|
| audio | ✗ | ✓ |
| code | ✓ | ✓ |
| reasoning | ✓ | ✓ |
| text | ✓ | ✓ |
| tool-use | ✓ | ✓ |
| vision | ✓ | ✓ |
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
Gemini 2.5 Pro Strengths
- ✓Competitive pricing for its capabilities
- ✓1M context window
- ✓Well-tested and stable
Gemini 2.5 Pro Weaknesses
- ✗Being superseded by Gemini 3 Pro
Quick Verdict
Best value: Gemini 2.5 Pro 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: Gemini 2.5 Pro supports 1M tokens.
Choose Gemini 2.5 Pro if cost matters most. Choose GPT-5.2 Codex if you need the best possible quality for complex tasks.