Gemini 2.5 Pro vs GPT-4.1
Gemini 2.5 Pro leads GPT-4.1 on the Artificial Analysis Intelligence Index, 16.1 to 12.7, and GPT-4.1 costs 1.3x less per output token ($8.00 vs $10.00 per million). Updated October 22, 2026; 71 benchmarks have a result for both.
Gemini 2.5 Pro or GPT-4.1: which to pick
Only Gemini 2.5 Pro has a coding score, 19.1 on the Vibe Coding Index; GPT-4.1 has none, so the two cannot be ranked on coding.
Pick GPT-4.1 for output tokens 1.3x cheaper ($8.00 vs $10.00 per million) and a lower cost per solved task ($0.37 against $0.64).
- Shared results
- 71
- Gemini 2.5 Pro only
- 19
- GPT-4.1 only
- 21
- Like-for-like categories
- 8 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
No call
Only Gemini 2.5 Pro has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
Gemini 2.5 Pro
Gemini 2.5 Pro leads, 16.1 against 12.7.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Gemini 2.5 Pro has a AA Agentic Index result, 1.6.
Directional only
Reasoning
GPQA Diamond
No call
Only GPT-4.1 has a GPQA Diamond result, 65.4%.
Directional only
Math
AIME
No call
Only GPT-4.1 has a AIME result, 39.6%.
Directional only
Knowledge
MMLU Pro
No call
Only GPT-4.1 has a MMLU Pro result, 80.5%.
Directional only
Web design
Design Arena: websites
Gemini 2.5 Pro
Gemini 2.5 Pro leads, 1167 against 1038.
Same board, both measured
Long documents
Listed context window
Gemini 2.5 Pro
Gemini 2.5 Pro takes 1.05M tokens against 1.05M.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GPT-4.1
Gemini 2.5 Pro $0.0063, GPT-4.1 $0.0060 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GPT-4.1
Gemini 2.5 Pro $0.64, GPT-4.1 $0.37.
Published attempt cost and pass rate
At a glance
- Coding index
- Gemini 2.5 Pro 19.1 from 3 benchmarks, GPT-4.1 not benchmarked.
- Widest category
- Math, 33.4 points apart on average over 6 shared benchmarks.
- Widest single gap
- AA Math Index: Gemini 2.5 Pro 87.7 against GPT-4.1 34.7, 53.0 points apart on a 0 to 100 scale.
- Output price
- Gemini 2.5 Pro $10.00 against GPT-4.1 $8.00 per million output tokens, 1.3x apart.
- Context window
- Gemini 2.5 Pro takes 1.05M tokens, GPT-4.1 1.05M.
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-4.1 | Ties |
|---|---|---|---|---|
| Coding | 6 | 0 | ||
| Intelligence | 2 | 0 | ||
| Agentic work | 1 | 1 | ||
| Reasoning | 11 | 0 | ||
| Math | 6 | 0 | ||
| Knowledge | 7 | 2 | ||
| Web design | 6 | 0 | ||
| General | 29 | 0 | ||
| All shared boards | 68 | 3 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index60
| Benchmark | Gemini 2.5 Pro | GPT-4.1 | Leader |
|---|---|---|---|
| Aider polyglot | Not measured | 52.4% | Only GPT-4.1 measured |
| SWE-bench Verified | 53.6% | 39.6% | Gemini 2.5 Pro |
| SWE-bench Multimodal | Not measured | 31.1% | Only GPT-4.1 measured |
| LMArena WebDev | 1226 | Not measured | Only Gemini 2.5 Pro measured |
| AA Coding Index | 33.3 | Not measured | Only Gemini 2.5 Pro measured |
| LiveCodeBench (Vals AI) | Not measured | 54.7% | Only GPT-4.1 measured |
| SWE-bench Verified (Vals AI) | 54.4% | Not measured | Only Gemini 2.5 Pro measured |
| Vibe Code Bench (Vals AI) | 0.4% | Not measured | Only Gemini 2.5 Pro measured |
| LiveCodeBench (Artificial Analysis run) | 80.1% | 45.7% | Gemini 2.5 Pro |
| SciCode | 46.3% | Not measured | Only Gemini 2.5 Pro measured |
| Terminal-Bench Hard (Artificial Analysis run) | 26.5% | 13.6% | Gemini 2.5 Pro |
| Terminal-Bench | 32.6% | Not measured | Only Gemini 2.5 Pro measured |
| GSO-Bench | 3.9% | Not measured | Only Gemini 2.5 Pro measured |
| WeirdML | 54.0% | 39.0% | Gemini 2.5 Pro |
| ALE-Bench | Not measured | 558.1 | Only GPT-4.1 measured |
| LMArena Text: coding | 1452 | 1390 | Gemini 2.5 Pro |
| LMArena Text: software and IT | 1459 | 1391 | Gemini 2.5 Pro |
| LMArena WebDev: HTML | 1235 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena WebDev: from an image | 1285 | Not measured | Only Gemini 2.5 Pro measured |
| SciCode | Not measured | 4.6% | Only GPT-4.1 measured |
| Neither model has a result on the other 19 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Gemini 2.5 Pro | GPT-4.1 | Leader |
|---|---|---|---|
| AA Intelligence Index | 16.1 | 12.7 | Gemini 2.5 Pro |
| Epoch Capabilities Index | 145.1 | 136.7 | Gemini 2.5 Pro |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index11
| Benchmark | Gemini 2.5 Pro | GPT-4.1 | Leader |
|---|---|---|---|
| AA Agentic Index | 1.6 | Not measured | Only Gemini 2.5 Pro measured |
| τ²-Bench Telecom | 54.1% | 47.1% | Gemini 2.5 Pro |
| 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 |
| Berkeley Function Calling Leaderboard (BFCL) | Not measured | 54.0% | Only GPT-4.1 measured |
| BrowseComp-Plus | 29.5% | 36.4% | GPT-4.1 |
| Neither model has a result on the other 34 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index110
| Benchmark | Gemini 2.5 Pro | GPT-4.1 | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 65.4% | Only GPT-4.1 measured |
| MMMU Pro (Vals AI) | Not measured | 72.4% | Only GPT-4.1 measured |
| GPQA Diamond (Artificial Analysis run) | 84.4% | 66.6% | Gemini 2.5 Pro |
| Humanity's Last Exam (Artificial Analysis run) | 22.5% | 4.2% | Gemini 2.5 Pro |
| GPQA Diamond (Epoch AI run) | 85.3% | 66.9% | Gemini 2.5 Pro |
| ARC-AGI | 41.0% | 5.5% | Gemini 2.5 Pro |
| ARC-AGI-2 | 4.9% | 0.4% | Gemini 2.5 Pro |
| SimpleBench | Not measured | 27.0% | Only GPT-4.1 measured |
| Chess puzzles | Not measured | 3.0% | Only GPT-4.1 measured |
| LMArena Text: hard prompts | 1455 | 1384 | Gemini 2.5 Pro |
| LMArena Text: expert | 1452 | 1364 | Gemini 2.5 Pro |
| LMArena Text: hard prompts in English | 1453 | 1393 | Gemini 2.5 Pro |
| LMArena Vision: diagrams | 1274 | 1215 | Gemini 2.5 Pro |
| LMArena Vision: homework | 1281 | 1248 | Gemini 2.5 Pro |
| Kagi LLM Benchmark | 70.3% | 52.3% | Gemini 2.5 Pro |
| Neither model has a result on the other 7 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index60
| Benchmark | Gemini 2.5 Pro | GPT-4.1 | Leader |
|---|---|---|---|
| AIME | Not measured | 39.6% | Only GPT-4.1 measured |
| MATH 500 (Vals AI) | Not measured | 87.2% | Only GPT-4.1 measured |
| MGSM (Vals AI) | Not measured | 87.7% | Only GPT-4.1 measured |
| AA Math Index | 87.7 | 34.7 | Gemini 2.5 Pro |
| AIME 2025 (Artificial Analysis run) | 87.7% | 34.7% | Gemini 2.5 Pro |
| OTIS Mock AIME | 84.7% | 38.3% | Gemini 2.5 Pro |
| FrontierMath, tiers 1 to 3 | 24.6% | 6.0% | Gemini 2.5 Pro |
| FrontierMath, tier 4 | 0.0% | Not measured | Only Gemini 2.5 Pro measured |
| MATH level 5 | Not measured | 83.0% | Only GPT-4.1 measured |
| LMArena Text: math | 1450 | 1369 | Gemini 2.5 Pro |
| LMArena Text: mathematical work | 1454 | 1360 | Gemini 2.5 Pro |
| Neither model has a result on the other 2 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index72
| Benchmark | Gemini 2.5 Pro | GPT-4.1 | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 80.5% | Only GPT-4.1 measured |
| LegalBench (Vals AI) | Not measured | 83.1% | Only GPT-4.1 measured |
| CaseLaw (Vals AI) | 63.9% | 69.9% | GPT-4.1 |
| CorpFin (Vals AI) | 60.8% | 63.0% | GPT-4.1 |
| TaxEval (Vals AI) | Not measured | 75.1% | Only GPT-4.1 measured |
| MortgageTax (Vals AI) | 68.9% | 65.9% | Gemini 2.5 Pro |
| MedQA (Vals AI) | Not measured | 91.2% | Only GPT-4.1 measured |
| MedCode (Vals AI) | 50.6% | Not measured | Only Gemini 2.5 Pro measured |
| MMLU Pro (Artificial Analysis run) | 86.2% | 80.6% | Gemini 2.5 Pro |
| SimpleQA Verified | Not measured | 31.1% | Only GPT-4.1 measured |
| GeoBench | Not measured | 72.0% | Only GPT-4.1 measured |
| LMArena Text: science | 1480 | 1382 | Gemini 2.5 Pro |
| LMArena Text: medicine and healthcare | 1476 | 1379 | Gemini 2.5 Pro |
| LMArena Text: legal and government | 1480 | 1399 | Gemini 2.5 Pro |
| LMArena Text: business and finance | 1439 | 1369 | Gemini 2.5 Pro |
| FACTS Benchmark Suite | 61.5% | 45.8% | Gemini 2.5 Pro |
| Neither model has a result on the other 2 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index60
| Benchmark | Gemini 2.5 Pro | GPT-4.1 | Leader |
|---|---|---|---|
| Design Arena: websites | 1167 | 1038 | Gemini 2.5 Pro |
| Design Arena: UI components | 1137 | 997 | Gemini 2.5 Pro |
| Design Arena: game dev | 1111 | 1079 | Gemini 2.5 Pro |
| Design Arena: data viz | 1222 | 1104 | Gemini 2.5 Pro |
| Design Arena: 3D | 1080 | 849 | Gemini 2.5 Pro |
| Design Arena: all code categories | 1152 | 1025 | Gemini 2.5 Pro |
| Neither model has a result on the other 3 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index290
| Benchmark | Gemini 2.5 Pro | GPT-4.1 | Leader |
|---|---|---|---|
| SAGE (Vals AI) | 41.9% | Not measured | Only Gemini 2.5 Pro measured |
| MedScribe (Vals AI) | 73.5% | Not measured | Only Gemini 2.5 Pro measured |
| IFBench | 48.7% | 43.0% | Gemini 2.5 Pro |
| Long context reasoning (AA-LCR) | 69.0% | 68.3% | Gemini 2.5 Pro |
| DTBench | 82.4% | 68.3% | Gemini 2.5 Pro |
| LMCA | 34.8% | 25.6% | Gemini 2.5 Pro |
| Fiction.LiveBench | Not measured | 63.9% | Only GPT-4.1 measured |
| Creative writing (Lech Mazur) | 83.8% | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text | 1458 | 1383 | Gemini 2.5 Pro |
| LMArena Text: instruction following | 1437 | 1367 | Gemini 2.5 Pro |
| LMArena Text: creative writing | 1454 | 1363 | Gemini 2.5 Pro |
| LMArena Vision | 1263 | 1210 | Gemini 2.5 Pro |
| LMArena Text: English | 1458 | 1392 | Gemini 2.5 Pro |
| LMArena Text: non-English | 1452 | 1370 | Gemini 2.5 Pro |
| LMArena Text: Chinese | 1507 | 1382 | Gemini 2.5 Pro |
| LMArena Text: German | 1487 | 1381 | Gemini 2.5 Pro |
| LMArena Text: Japanese | 1461 | 1319 | Gemini 2.5 Pro |
| LMArena Text: Korean | 1434 | 1338 | Gemini 2.5 Pro |
| LMArena Text: French | 1473 | 1382 | Gemini 2.5 Pro |
| LMArena Text: Spanish | 1474 | 1376 | Gemini 2.5 Pro |
| LMArena Text: Russian | 1461 | 1377 | Gemini 2.5 Pro |
| LMArena Text: Polish | 1479 | 1389 | Gemini 2.5 Pro |
| LMArena Text: multi-turn | 1453 | 1397 | Gemini 2.5 Pro |
| LMArena Text: longer queries | 1449 | 1385 | Gemini 2.5 Pro |
| LMArena Text: writing and language | 1454 | 1371 | Gemini 2.5 Pro |
| LMArena Text: entertainment and media | 1441 | 1365 | Gemini 2.5 Pro |
| LMArena Vision: English | 1261 | 1209 | Gemini 2.5 Pro |
| LMArena Vision: Chinese | 1300 | 1226 | Gemini 2.5 Pro |
| LMArena Vision: reading text | 1270 | 1218 | Gemini 2.5 Pro |
| LMArena Vision: humor | 1262 | 1196 | Gemini 2.5 Pro |
| LMArena Vision: captioning | 1304 | 1207 | Gemini 2.5 Pro |
| LMArena Vision: recognizing things | 1283 | 1208 | Gemini 2.5 Pro |
| LMArena Vision: creative writing | 1265 | 1210 | Gemini 2.5 Pro |
| LMArena Document | 1421 | Not measured | Only Gemini 2.5 Pro measured |
| Neither model has a result on the other 12 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Gemini 2.5 Pro | GPT-4.1 | 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
GPT-4.1 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-4.1 |
|---|---|---|
| Maker | OpenAI | |
| Weights | No public weights listed | No public weights listed |
| Released | June 17, 2025 | April 14, 2025 |
| Context window | 1.05M | 1.05M |
| Input $/Mtok | $1.25 | $2.00 |
| Output $/Mtok | $10.00 | $8.00 |
| Coding index | 19.1 | Not benchmarked |
| Independent measurements behind it | 3 | 0 |
| Cost per solved task | $0.64 | $0.37 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 2.5 Pro better than GPT-4.1 for coding?
Only Gemini 2.5 Pro has a coding score, 19.1 on the Vibe Coding Index; GPT-4.1 has none, so the two cannot be ranked on coding. Pick GPT-4.1 for output tokens 1.3x cheaper ($8.00 vs $10.00 per million) and a lower cost per solved task ($0.37 against $0.64).
Which is cheaper, Gemini 2.5 Pro or GPT-4.1?
Gemini 2.5 Pro costs $1.25 per million input tokens and $10.00 per million output tokens; GPT-4.1 costs $2.00 and $8.00. Per solved SWE-bench Verified task, Gemini 2.5 Pro costs $0.64 and GPT-4.1 $0.37.
Which has the bigger context window, Gemini 2.5 Pro or GPT-4.1?
Gemini 2.5 Pro, with 1.05M tokens against 1.05M.
How many benchmarks is the Gemini 2.5 Pro vs GPT-4.1 comparison based on?
71 benchmarks have a result for both models as of October 22, 2026. Gemini 2.5 Pro's coding index rests on 3 independent benchmarks and GPT-4.1's on 0. Where only one model has a result, the page says so instead of naming a winner.