Gemini 2.5 Pro vs GPT-5.2 Codex
GPT-5.2 Codex wins 2 of 2 benchmarks both models report. Gemini 2.5 Pro is about 1.4× cheaper on a blended (3:1 input:output) token price. Gemini 2.5 Pro has the larger context window (1M vs 400K).
| Spec | Gemini 2.5 Pro | GPT-5.2 Codex |
|---|---|---|
| Provider | Google DeepMind | OpenAI |
| Released | Jun 17, 2025 | Dec 11, 2025 (better) |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | — | — |
| Context window | 1M (better) | 400K |
| Max output | 64K | 125K (better) |
| Input price / 1M | $1.25 (better) | $1.75 |
| Output price / 1M | $10 (better) | $14 |
| Input modalities | text, image, audio, video, pdf, file (better) | text, image |
| Open weights | No | No |
| License | Proprietary | Proprietary |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| API providers | 31 (better) | 19 |
| GPQA Diamond | 85.3% | — |
| Humanity's Last Exam | 18.2% | — |
| SWE-bench Verified | 57.6% | — |
| Terminal-Bench | 32.6% | 66.5% (better) |
| Aider Polyglot | 76.9% | — |
| WebDev Arena | 1226 | 1339 (better) |
| OTIS Mock AIME | 84.7% | — |
| MATH Level 5 | 95.9% | — |
| FrontierMath | 24.6% | — |
| ARC-AGI-2 | 4.9% | — |
| LiveBench | 82.3% | — |
Cost example
For a workload of 10M input + 2M output tokens per month: Gemini 2.5 Pro costs $32.50 and GPT-5.2 Codex costs $45.50 at list price (Google DeepMind / openrouter pricing).
About Gemini 2.5 Pro
Gemini 2.5 Pro is a proprietary reasoning llm from Google DeepMind, released Jun 17, 2025. It has a 1M-token context window and accepts text, image, audio, video, pdf, file input. API pricing starts at $1.25 per million input tokens and $10 per million output tokens. It is available from 31 API providers. Full Gemini 2.5 Pro specs →
About GPT-5.2 Codex
GPT-5.2 Codex is a proprietary reasoning llm from OpenAI, released Dec 11, 2025. It has a 400K-token context window and accepts text, image input. API pricing starts at $1.75 per million input tokens and $14 per million output tokens. It is available from 19 API providers. Full GPT-5.2 Codex specs →
Compare other models
FAQ
Which is better, Gemini 2.5 Pro or GPT-5.2 Codex?
GPT-5.2 Codex wins 2 of 2 benchmarks both models report. Gemini 2.5 Pro is about 1.4× cheaper on a blended (3:1 input:output) token price. Gemini 2.5 Pro has the larger context window (1M vs 400K).
Is Gemini 2.5 Pro cheaper than GPT-5.2 Codex?
Gemini 2.5 Pro costs $1.25 input / $10 output per 1M tokens; GPT-5.2 Codex costs $1.75 / $14. Gemini 2.5 Pro is cheaper overall.
Which has a bigger context window?
Gemini 2.5 Pro: 1,048,576 tokens. GPT-5.2 Codex: 400,000 tokens.
Are Gemini 2.5 Pro and GPT-5.2 Codex open source?
Gemini 2.5 Pro is proprietary; GPT-5.2 Codex is proprietary.