Gemini 2.5 Pro vs GPT-5.2-Codex
GPT-5.2-Codex leads Gemini 2.5 Pro on coding, 51.4 to 34.2 on the Vibe Coding Index, and Gemini 2.5 Pro costs 1.4x less per output token ($10.00 vs $14.00 per million). Updated December 6, 2026; 12 benchmarks have a result for both.
Gemini 2.5 Pro or GPT-5.2-Codex: which to pick
Pick GPT-5.2-Codex for coding: it scores 51.4 on the Vibe Coding Index against 34.2 for Gemini 2.5 Pro.
Pick Gemini 2.5 Pro for output tokens 1.4x cheaper ($10.00 vs $14.00 per million) and a larger context window (1.05M against 400K tokens).
- Shared results
- 12
- Gemini 2.5 Pro only
- 79
- GPT-5.2-Codex only
- 9
- Like-for-like categories
- 4 of 9
Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.
Which one for your work
Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.
Coding
Vibe Coding Index, six public coding benchmarks
GPT-5.2-Codex
GPT-5.2-Codex scores 51.4 against 34.2.
2 benchmarks behind each score
Web design
Design Arena: websites
No call
Only Gemini 2.5 Pro has a Design Arena: websites result, 1207.
Directional only
Long documents
Listed context window
Gemini 2.5 Pro
Gemini 2.5 Pro takes 1.05M tokens against 400K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemini 2.5 Pro
Gemini 2.5 Pro $0.0063, GPT-5.2-Codex $0.0088 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GPT-5.2-Codex
Gemini 2.5 Pro $0.64, GPT-5.2-Codex $0.43.
Published attempt cost and pass rate
At a glance
- Coding index
- Gemini 2.5 Pro 34.2 from 2 benchmarks, GPT-5.2-Codex 51.4 from 2 benchmarks.
- Widest category
- Agentic work, 38.0 points apart on average over 1 shared benchmark.
- Widest single gap
- τ²-Bench Telecom: Gemini 2.5 Pro 54.1% against GPT-5.2-Codex 92.1%, 38.0 points apart on a 0 to 100 scale.
- Output price
- Gemini 2.5 Pro $10.00 against GPT-5.2-Codex $14.00 per million output tokens, 1.4x apart.
- Context window
- Gemini 2.5 Pro takes 1.05M tokens, GPT-5.2-Codex 400K.
Benchmark by benchmark
First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.
| Category | Gemini 2.5 Pro | Bars | GPT-5.2-Codex | Ties |
|---|---|---|---|---|
| Coding | 0 | 7 | ||
| Agentic work | 0 | 1 | ||
| Reasoning | 0 | 2 | ||
| General | 0 | 2 | ||
| All shared boards | 0 | 12 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index07
| Benchmark | Gemini 2.5 Pro | GPT-5.2-Codex | Leader |
|---|---|---|---|
| SWE-bench Verified | 53.6% | 72.8% | GPT-5.2-Codex |
| SWE-bench Multilingual | Not measured | 66.3% | Only GPT-5.2-Codex measured |
| LMArena WebDev | 1227 | 1339 | GPT-5.2-Codex |
| LiveCodeBench (Vals AI) | Not measured | 88.0% | Only GPT-5.2-Codex measured |
| SWE-bench Verified (Vals AI) | 54.4% | 72.4% | GPT-5.2-Codex |
| LiveCodeBench (Artificial Analysis run) | 80.1% | Not measured | Only Gemini 2.5 Pro measured |
| SciCode | 46.3% | Not measured | Only Gemini 2.5 Pro measured |
| Terminal-Bench Hard (Artificial Analysis run) | 26.5% | 37.1% | GPT-5.2-Codex |
| Terminal-Bench 4.0 (Artificial Analysis run) | 0.0% | Not measured | Only Gemini 2.5 Pro measured |
| Terminal-Bench | 32.6% | 66.5% | GPT-5.2-Codex |
| GSO-Bench | 3.9% | Not measured | Only Gemini 2.5 Pro measured |
| WeirdML | 54.0% | Not measured | Only Gemini 2.5 Pro measured |
| ALE-Bench | Not measured | 1299.9 | Only GPT-5.2-Codex measured |
| LMArena Text: coding | 1452 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: software and IT | 1459 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena WebDev: React | Not measured | 1329 | Only GPT-5.2-Codex measured |
| LMArena WebDev: HTML | 1235 | 1349 | GPT-5.2-Codex |
| LMArena WebDev: from an image | 1284 | Not measured | Only Gemini 2.5 Pro measured |
| Terminal-Bench 2.0 | 32.6% | 66.5% | GPT-5.2-Codex |
| Neither model has a result on the other 33 boards here | |||
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
| Benchmark | Gemini 2.5 Pro | GPT-5.2-Codex | Leader |
|---|---|---|---|
| Epoch Capabilities Index | 144.9 | Not measured | Only Gemini 2.5 Pro measured |
| Neither model has a result on the other 1 board here | |||
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Gemini 2.5 Pro | GPT-5.2-Codex | Leader |
|---|---|---|---|
| Design Arena: agents building web apps | Not measured | 1012 | Only GPT-5.2-Codex measured |
| Design Arena: agents building full-stack apps | Not measured | 1039 | Only GPT-5.2-Codex measured |
| Design Arena: agents building mobile apps | Not measured | 1079 | Only GPT-5.2-Codex measured |
| Design Arena: agents building Android apps | Not measured | 1176 | Only GPT-5.2-Codex measured |
| Design Arena: agents building Godot games | Not measured | 1142 | Only GPT-5.2-Codex measured |
| τ²-Bench Telecom | 54.1% | 92.1% | GPT-5.2-Codex |
| GDPval | 23.3% | Not measured | Only Gemini 2.5 Pro measured |
| DeepResearch Bench | 41.5% | Not measured | Only Gemini 2.5 Pro measured |
| Vending-Bench 2 | $574 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Search | 1143 | Not measured | Only Gemini 2.5 Pro measured |
| BrowseComp-Plus | 29.5% | Not measured | Only Gemini 2.5 Pro measured |
| τ³-Banking | 13.7% | Not measured | Only Gemini 2.5 Pro measured |
| Neither model has a result on the other 32 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | Gemini 2.5 Pro | GPT-5.2-Codex | Leader |
|---|---|---|---|
| GPQA Diamond (Artificial Analysis run) | 84.4% | 89.9% | GPT-5.2-Codex |
| Humanity's Last Exam (Artificial Analysis run) | 22.5% | 35.7% | GPT-5.2-Codex |
| GPQA Diamond (Epoch AI run) | 85.3% | Not measured | Only Gemini 2.5 Pro measured |
| ARC-AGI | 41.0% | Not measured | Only Gemini 2.5 Pro measured |
| ARC-AGI-2 | 4.9% | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: hard prompts | 1455 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: expert | 1452 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: hard prompts in English | 1452 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Vision: diagrams | 1273 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Vision: homework | 1282 | Not measured | Only Gemini 2.5 Pro measured |
| Kagi LLM Benchmark | 70.3% | Not measured | Only Gemini 2.5 Pro measured |
| Neither model has a result on the other 15 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
| Benchmark | Gemini 2.5 Pro | GPT-5.2-Codex | Leader |
|---|---|---|---|
| AIME 2025 (Artificial Analysis run) | 87.7% | Not measured | Only Gemini 2.5 Pro measured |
| OTIS Mock AIME | 84.7% | Not measured | Only Gemini 2.5 Pro measured |
| FrontierMath, tiers 1 to 3 | 24.6% | Not measured | Only Gemini 2.5 Pro measured |
| FrontierMath, tier 4 | 0.0% | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: math | 1450 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: mathematical work | 1455 | Not measured | Only Gemini 2.5 Pro measured |
| MathArena | 12.2% | Not measured | Only Gemini 2.5 Pro measured |
| Neither model has a result on the other 7 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index11 boards, none shared
| Benchmark | Gemini 2.5 Pro | GPT-5.2-Codex | Leader |
|---|---|---|---|
| CaseLaw (Vals AI) | 63.9% | Not measured | Only Gemini 2.5 Pro measured |
| CorpFin (Vals AI) | 60.8% | Not measured | Only Gemini 2.5 Pro measured |
| MortgageTax (Vals AI) | 68.9% | Not measured | Only Gemini 2.5 Pro measured |
| MedCode (Vals AI) | 50.6% | Not measured | Only Gemini 2.5 Pro measured |
| MMLU Pro (Artificial Analysis run) | 86.2% | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: science | 1480 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: medicine and healthcare | 1476 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: legal and government | 1480 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: business and finance | 1440 | Not measured | Only Gemini 2.5 Pro measured |
| PRBench Finance | 38.9% | Not measured | Only Gemini 2.5 Pro measured |
| PRBench Legal | 38.9% | Not measured | Only Gemini 2.5 Pro measured |
| Neither model has a result on the other 10 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
| Benchmark | Gemini 2.5 Pro | GPT-5.2-Codex | Leader |
|---|---|---|---|
| Design Arena: websites | 1207 | Not measured | Only Gemini 2.5 Pro measured |
| Design Arena: UI components | 1120 | Not measured | Only Gemini 2.5 Pro measured |
| Design Arena: game dev | 1075 | Not measured | Only Gemini 2.5 Pro measured |
| Design Arena: data viz | 1217 | Not measured | Only Gemini 2.5 Pro measured |
| Design Arena: 3D | 1045 | Not measured | Only Gemini 2.5 Pro measured |
| Design Arena: all code categories | 1194 | Not measured | Only Gemini 2.5 Pro measured |
| Neither model has a result on the other 3 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | Gemini 2.5 Pro | GPT-5.2-Codex | Leader |
|---|---|---|---|
| MedScribe (Vals AI) | 73.5% | Not measured | Only Gemini 2.5 Pro measured |
| IFBench | 48.7% | 77.6% | GPT-5.2-Codex |
| Long context reasoning (AA-LCR) | 69.0% | 82.3% | GPT-5.2-Codex |
| GDPval-AA | 466 | Not measured | Only Gemini 2.5 Pro measured |
| DTBench | 82.4% | Not measured | Only Gemini 2.5 Pro measured |
| LMCA | 34.8% | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text | 1458 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: instruction following | 1437 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: creative writing | 1454 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Vision | 1263 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: English | 1458 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: non-English | 1452 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: Chinese | 1507 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: German | 1487 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: Japanese | 1461 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: Korean | 1434 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: French | 1474 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: Spanish | 1474 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: Russian | 1461 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: Polish | 1479 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: multi-turn | 1452 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: longer queries | 1449 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: writing and language | 1454 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: entertainment and media | 1441 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Vision: English | 1261 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Vision: Chinese | 1300 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Vision: reading text | 1270 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Vision: humor | 1262 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Vision: captioning | 1303 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Vision: recognizing things | 1283 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Vision: creative writing | 1265 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Document | 1423 | Not measured | Only Gemini 2.5 Pro measured |
| MultiChallenge | 53.6% | Not measured | Only Gemini 2.5 Pro measured |
| Neither model has a result on the other 16 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Gemini 2.5 Pro | GPT-5.2-Codex | Leader |
|---|---|---|---|
| Neither model has a result on 5 boards here | |||
What each workload costs
Three fixed token mixes at each model's listed price, so per-token rates become a bill.
Chat turn
1K input + 500 output tokens
Gemini 2.5 Pro costs less
Repository review
50K input + 3K output tokens
Gemini 2.5 Pro costs less
Agent loop
200K input + 10K output tokens
Gemini 2.5 Pro costs less
Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.
Specification differences
The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.
| Specification | Google Gemini 2.5 Pro | OpenAI GPT-5.2-Codex |
|---|---|---|
| Maker | OpenAI | |
| Weights | No public weights listed | No public weights listed |
| Released | June 17, 2025 | January 14, 2026 |
| Context window | 1.05M | 400K |
| Input $/Mtok | $1.25 | $1.75 |
| Output $/Mtok | $10.00 | $14.00 |
| Coding index | 34.2 | 51.4 |
| Independent measurements behind it | 2 | 2 |
| Cost per solved task | $0.64 | $0.43 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 2.5 Pro better than GPT-5.2-Codex for coding?
Pick GPT-5.2-Codex for coding: it scores 51.4 on the Vibe Coding Index against 34.2 for Gemini 2.5 Pro. Pick Gemini 2.5 Pro for output tokens 1.4x cheaper ($10.00 vs $14.00 per million) and a larger context window (1.05M against 400K tokens).
Which is cheaper, Gemini 2.5 Pro or GPT-5.2-Codex?
Gemini 2.5 Pro costs $1.25 per million input tokens and $10.00 per million output tokens; GPT-5.2-Codex costs $1.75 and $14.00. Per solved SWE-bench Verified task, Gemini 2.5 Pro costs $0.64 and GPT-5.2-Codex $0.43.
Which has the bigger context window, Gemini 2.5 Pro or GPT-5.2-Codex?
Gemini 2.5 Pro, with 1.05M tokens against 400K.
How many benchmarks is the Gemini 2.5 Pro vs GPT-5.2-Codex comparison based on?
12 benchmarks have a result for both models as of December 6, 2026. Gemini 2.5 Pro's coding index rests on 2 independent benchmarks and GPT-5.2-Codex's on 2. Where only one model has a result, the page says so instead of naming a winner.