Claude Sonnet 5 vs Gemini 2.5 Pro
Claude Sonnet 5 leads Gemini 2.5 Pro on coding, 57.7 to 19.1 on the Vibe Coding Index, at about the same output price ($10.00 vs $10.00 per million). Updated October 22, 2026; 70 benchmarks have a result for both.
Claude Sonnet 5 or Gemini 2.5 Pro: which to pick
Pick Claude Sonnet 5 for coding: it scores 57.7 on the Vibe Coding Index against 19.1 for Gemini 2.5 Pro.
Pick Gemini 2.5 Pro for a lower cost per solved task ($0.64 against $1.87) and a larger context window (1.05M against 1M tokens).
- Shared results
- 70
- Claude Sonnet 5 only
- 51
- Gemini 2.5 Pro only
- 20
- 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
Claude Sonnet 5
Claude Sonnet 5 scores 57.7 against 19.1.
6 and 3 benchmarks behind the scores
Intelligence
AA Intelligence Index
Claude Sonnet 5
Claude Sonnet 5 leads, 38.2 against 16.1.
Same board, both measured
Agentic work
AA Agentic Index
Claude Sonnet 5
Claude Sonnet 5 leads, 43.6 against 1.6.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only Claude Sonnet 5 has a GPQA Diamond result, 88.9%.
Directional only
Knowledge
MMLU Pro
No call
Only Claude Sonnet 5 has a MMLU Pro result, 87.5%.
Directional only
Web design
Design Arena: websites
Claude Sonnet 5
Claude Sonnet 5 leads, 1274 against 1167.
Same board, both measured
Long documents
Listed context window
Gemini 2.5 Pro
Gemini 2.5 Pro takes 1.05M tokens against 1M.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemini 2.5 Pro
Claude Sonnet 5 $0.0070, Gemini 2.5 Pro $0.0063 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
Gemini 2.5 Pro
Claude Sonnet 5 $1.87, Gemini 2.5 Pro $0.64.
Published attempt cost and pass rate
At a glance
- Coding index
- Claude Sonnet 5 57.7 from 6 benchmarks, Gemini 2.5 Pro 19.1 from 3 benchmarks.
- Widest category
- Agentic work, 39.1 points apart on average over 2 shared benchmarks.
- Widest single gap
- Vibe Code Bench (Vals AI): Claude Sonnet 5 81.3% against Gemini 2.5 Pro 0.4%, 80.9 points apart on a 0 to 100 scale.
- Output price
- Both cost $10.00 per million output tokens.
- Context window
- Claude Sonnet 5 takes 1M tokens, Gemini 2.5 Pro 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 | Claude Sonnet 5 | Bars | Gemini 2.5 Pro | Ties |
|---|---|---|---|---|
| Coding | 11 | 0 | ||
| Intelligence | 2 | 0 | ||
| Agentic work | 2 | 0 | ||
| Reasoning | 8 | 0 | ||
| Math | 5 | 0 | ||
| Knowledge | 2 | 5 | ||
| Web design | 6 | 0 | ||
| General | 13 | 16 | ||
| All shared boards | 49 | 21 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index110
| Benchmark | Claude Sonnet 5 | Gemini 2.5 Pro | Leader |
|---|---|---|---|
| SWE-bench Verified | Not measured | 53.6% | Only Gemini 2.5 Pro measured |
| LiveBench coding | 74.7% | Not measured | Only Claude Sonnet 5 measured |
| LMArena WebDev | 1540 | 1226 | Claude Sonnet 5 |
| AA Coding Index | 71.5 | 33.3 | Claude Sonnet 5 |
| LiveCodeBench (Vals AI) | 82.4% | Not measured | Only Claude Sonnet 5 measured |
| SWE-bench Verified (Vals AI) | 79.6% | 54.4% | Claude Sonnet 5 |
| Terminal-Bench 4 (Vals AI) | 10.6% | Not measured | Only Claude Sonnet 5 measured |
| Vibe Code Bench (Vals AI) | 81.3% | 0.4% | Claude Sonnet 5 |
| Code migration (Vals AI) | 44.4% | Not measured | Only Claude Sonnet 5 measured |
| ProgramBench (Vals AI) | 0.0% | Not measured | Only Claude Sonnet 5 measured |
| IOI (Vals AI) | 45.0% | Not measured | Only Claude Sonnet 5 measured |
| Terminal-Bench 2.1 (Vals AI) | 74.5% | Not measured | Only Claude Sonnet 5 measured |
| Vibe Code Bench 1-100 (Vals AI) | 13.8% | Not measured | Only Claude Sonnet 5 measured |
| SkillsBench (Vals AI) | 46.5% | Not measured | Only Claude Sonnet 5 measured |
| CyberBench (Vals AI) | 70.3% | Not measured | Only Claude Sonnet 5 measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 80.1% | Only Gemini 2.5 Pro measured |
| SciCode | 54.3% | 46.3% | Claude Sonnet 5 |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 26.5% | Only Gemini 2.5 Pro measured |
| Terminal-Bench | Not measured | 32.6% | Only Gemini 2.5 Pro measured |
| FrontierCode | 42.7% | Not measured | Only Claude Sonnet 5 measured |
| GSO-Bench | 37.3% | 3.9% | Claude Sonnet 5 |
| WeirdML | 68.8% | 54.0% | Claude Sonnet 5 |
| ALE-Bench | 1463.1 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: coding | 1483 | 1452 | Claude Sonnet 5 |
| LMArena Text: software and IT | 1474 | 1459 | Claude Sonnet 5 |
| LMArena WebDev: React | 1541 | Not measured | Only Claude Sonnet 5 measured |
| LMArena WebDev: HTML | 1527 | 1235 | Claude Sonnet 5 |
| LMArena WebDev: from an image | 1540 | 1285 | Claude Sonnet 5 |
| SciCode | 10.7% | Not measured | Only Claude Sonnet 5 measured |
| Neither model has a result on the other 10 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Claude Sonnet 5 | Gemini 2.5 Pro | Leader |
|---|---|---|---|
| AA Intelligence Index | 38.2 | 16.1 | Claude Sonnet 5 |
| Epoch Capabilities Index | 156.9 | 145.1 | Claude Sonnet 5 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Claude Sonnet 5 | Gemini 2.5 Pro | Leader |
|---|---|---|---|
| AA Agentic Index | 43.6 | 1.6 | Claude Sonnet 5 |
| Design Arena: agents building web apps | 1245 | Not measured | Only Claude Sonnet 5 measured |
| Design Arena: agents building full-stack apps | 1249 | Not measured | Only Claude Sonnet 5 measured |
| Design Arena: agents building mobile apps | 1215 | Not measured | Only Claude Sonnet 5 measured |
| Design Arena: agents building Android apps | 1227 | Not measured | Only Claude Sonnet 5 measured |
| Design Arena: agents building Godot games | 1225 | Not measured | Only Claude Sonnet 5 measured |
| Design Arena: agents building games | 1227 | Not measured | Only Claude Sonnet 5 measured |
| Design Arena: HTML slides | 1168 | Not measured | Only Claude Sonnet 5 measured |
| Design Arena: PowerPoint slides | 1191 | Not measured | Only Claude Sonnet 5 measured |
| Design Arena: spreadsheets | 1035 | Not measured | Only Claude Sonnet 5 measured |
| LiveBench research | 82.8% | Not measured | Only Claude Sonnet 5 measured |
| LiveBench browser | 72.0% | Not measured | Only Claude Sonnet 5 measured |
| LiveBench long agentic | 39.0% | Not measured | Only Claude Sonnet 5 measured |
| SREBench (Vals AI) | 0.4% | Not measured | Only Claude Sonnet 5 measured |
| Finance Agent (Vals AI) | 53.9% | Not measured | Only Claude Sonnet 5 measured |
| Tax Agent Bench (Vals AI) | 29.4% | Not measured | Only Claude Sonnet 5 measured |
| Legal Research Bench (Vals AI) | 41.8% | Not measured | Only Claude Sonnet 5 measured |
| Excel Modeling Benchmark (Vals AI) | 66.3% | Not measured | Only Claude Sonnet 5 measured |
| Terminal-Bench-Science (Vals AI) | 5.7% | Not measured | Only Claude Sonnet 5 measured |
| τ²-Bench Telecom | Not measured | 54.1% | Only Gemini 2.5 Pro measured |
| APEX-Agents | 54.5% | Not measured | Only Claude Sonnet 5 measured |
| GDPval | Not measured | 23.3% | Only Gemini 2.5 Pro measured |
| DeepResearch Bench | Not measured | 41.5% | Only Gemini 2.5 Pro measured |
| Vending-Bench 2 | $6,378 | $574 | Claude Sonnet 5 |
| BrowseComp-Plus | Not measured | 29.5% | Only Gemini 2.5 Pro measured |
| Neither model has a result on the other 16 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index80
| Benchmark | Claude Sonnet 5 | Gemini 2.5 Pro | Leader |
|---|---|---|---|
| GPQA Diamond | 88.9% | Not measured | Only Claude Sonnet 5 measured |
| LiveBench reasoning | 88.7% | Not measured | Only Claude Sonnet 5 measured |
| MMMU Pro (Vals AI) | 83.0% | Not measured | Only Claude Sonnet 5 measured |
| GPQA Diamond (Artificial Analysis run) | 91.1% | 84.4% | Claude Sonnet 5 |
| Humanity's Last Exam (Artificial Analysis run) | 41.3% | 22.5% | Claude Sonnet 5 |
| GPQA Diamond (Epoch AI run) | 90.5% | 85.3% | Claude Sonnet 5 |
| ARC-AGI | Not measured | 41.0% | Only Gemini 2.5 Pro measured |
| ARC-AGI-2 | Not measured | 4.9% | Only Gemini 2.5 Pro measured |
| SimpleBench | 60.6% | Not measured | Only Claude Sonnet 5 measured |
| Chess puzzles | 45.0% | Not measured | Only Claude Sonnet 5 measured |
| Mystery game puzzles | 35.0% | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: hard prompts | 1461 | 1455 | Claude Sonnet 5 |
| LMArena Text: expert | 1489 | 1452 | Claude Sonnet 5 |
| LMArena Text: hard prompts in English | 1464 | 1453 | Claude Sonnet 5 |
| LMArena Vision: diagrams | 1293 | 1274 | Claude Sonnet 5 |
| LMArena Vision: homework | 1311 | 1281 | Claude Sonnet 5 |
| Kagi LLM Benchmark | Not measured | 70.3% | Only Gemini 2.5 Pro measured |
| Neither model has a result on the other 5 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index50
| Benchmark | Claude Sonnet 5 | Gemini 2.5 Pro | Leader |
|---|---|---|---|
| AA Math Index | Not measured | 87.7 | Only Gemini 2.5 Pro measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 87.7% | Only Gemini 2.5 Pro measured |
| OTIS Mock AIME | 94.7% | 84.7% | Claude Sonnet 5 |
| FrontierMath, tiers 1 to 3 | 65.6% | 24.6% | Claude Sonnet 5 |
| FrontierMath, tier 4 | 29.3% | 0.0% | Claude Sonnet 5 |
| ProofBench | 77.0% | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: math | 1467 | 1450 | Claude Sonnet 5 |
| LMArena Text: mathematical work | 1481 | 1454 | Claude Sonnet 5 |
| Neither model has a result on the other 5 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index25
| Benchmark | Claude Sonnet 5 | Gemini 2.5 Pro | Leader |
|---|---|---|---|
| MMLU Pro | 87.5% | Not measured | Only Claude Sonnet 5 measured |
| LegalBench (Vals AI) | 83.9% | Not measured | Only Claude Sonnet 5 measured |
| CaseLaw (Vals AI) | Not measured | 63.9% | Only Gemini 2.5 Pro measured |
| CorpFin (Vals AI) | 67.0% | 60.8% | Claude Sonnet 5 |
| TaxEval (Vals AI) | 75.6% | Not measured | Only Claude Sonnet 5 measured |
| MortgageTax (Vals AI) | 70.0% | 68.9% | Claude Sonnet 5 |
| MedCode (Vals AI) | 47.5% | 50.6% | Gemini 2.5 Pro |
| MMLU Pro (Artificial Analysis run) | Not measured | 86.2% | Only Gemini 2.5 Pro measured |
| SimpleQA Verified | 33.7% | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: science | 1460 | 1480 | Gemini 2.5 Pro |
| LMArena Text: medicine and healthcare | 1442 | 1476 | Gemini 2.5 Pro |
| LMArena Text: legal and government | 1454 | 1480 | Gemini 2.5 Pro |
| LMArena Text: business and finance | 1436 | 1439 | Gemini 2.5 Pro |
| FACTS Benchmark Suite | Not measured | 61.5% | Only Gemini 2.5 Pro measured |
| Neither model has a result on the other 4 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index60
| Benchmark | Claude Sonnet 5 | Gemini 2.5 Pro | Leader |
|---|---|---|---|
| Design Arena: websites | 1274 | 1167 | Claude Sonnet 5 |
| Design Arena: UI components | 1277 | 1137 | Claude Sonnet 5 |
| Design Arena: game dev | 1277 | 1111 | Claude Sonnet 5 |
| Design Arena: data viz | 1251 | 1222 | Claude Sonnet 5 |
| Design Arena: 3D | 1261 | 1080 | Claude Sonnet 5 |
| Design Arena: all code categories | 1275 | 1152 | Claude Sonnet 5 |
| Design Arena: SVG | 1192 | Not measured | Only Claude Sonnet 5 measured |
| Design Arena: ASCII art | 1207 | Not measured | Only Claude Sonnet 5 measured |
| LiveBench design | 82.0% | Not measured | Only Claude Sonnet 5 measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index1316
| Benchmark | Claude Sonnet 5 | Gemini 2.5 Pro | Leader |
|---|---|---|---|
| LiveBench data analysis | 71.7% | Not measured | Only Claude Sonnet 5 measured |
| Public Benefits Bench (Vals AI) | 66.0% | Not measured | Only Claude Sonnet 5 measured |
| SAGE (Vals AI) | 48.9% | 41.9% | Claude Sonnet 5 |
| MedScribe (Vals AI) | 76.0% | 73.5% | Claude Sonnet 5 |
| Vals Multimodal Index | 68.8% | Not measured | Only Claude Sonnet 5 measured |
| IFBench | Not measured | 48.7% | Only Gemini 2.5 Pro measured |
| Long context reasoning (AA-LCR) | 82.0% | 69.0% | Claude Sonnet 5 |
| DTBench | 92.5% | 82.4% | Claude Sonnet 5 |
| LMCA | 50.0% | 34.8% | Claude Sonnet 5 |
| Creative writing (Lech Mazur) | Not measured | 83.8% | Only Gemini 2.5 Pro measured |
| Surface Evolver Bench | 60.0% | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text | 1442 | 1458 | Gemini 2.5 Pro |
| LMArena Text: instruction following | 1452 | 1437 | Claude Sonnet 5 |
| LMArena Text: creative writing | 1416 | 1454 | Gemini 2.5 Pro |
| LMArena Vision | 1273 | 1263 | Claude Sonnet 5 |
| LMArena Text: English | 1450 | 1458 | Gemini 2.5 Pro |
| LMArena Text: non-English | 1431 | 1452 | Gemini 2.5 Pro |
| LMArena Text: Chinese | 1478 | 1507 | Gemini 2.5 Pro |
| LMArena Text: German | 1442 | 1487 | Gemini 2.5 Pro |
| LMArena Text: Japanese | 1422 | 1461 | Gemini 2.5 Pro |
| LMArena Text: Korean | 1412 | 1434 | Gemini 2.5 Pro |
| LMArena Text: French | 1463 | 1473 | Gemini 2.5 Pro |
| LMArena Text: Spanish | 1438 | 1474 | Gemini 2.5 Pro |
| LMArena Text: Russian | 1450 | 1461 | Gemini 2.5 Pro |
| LMArena Text: Polish | 1425 | 1479 | Gemini 2.5 Pro |
| LMArena Text: multi-turn | 1453 | 1453 | Claude Sonnet 5 |
| LMArena Text: longer queries | 1462 | 1449 | Claude Sonnet 5 |
| LMArena Text: writing and language | 1436 | 1454 | Gemini 2.5 Pro |
| LMArena Text: entertainment and media | 1411 | 1441 | Gemini 2.5 Pro |
| LMArena Vision: English | 1275 | 1261 | Claude Sonnet 5 |
| LMArena Vision: Chinese | 1331 | 1300 | Claude Sonnet 5 |
| LMArena Vision: reading text | 1288 | 1270 | Claude Sonnet 5 |
| LMArena Vision: humor | 1261 | 1262 | Gemini 2.5 Pro |
| LMArena Vision: captioning | Not measured | 1304 | Only Gemini 2.5 Pro measured |
| LMArena Vision: recognizing things | Not measured | 1283 | Only Gemini 2.5 Pro measured |
| LMArena Vision: creative writing | 1246 | 1265 | Gemini 2.5 Pro |
| LMArena Document | 1466 | 1421 | Claude Sonnet 5 |
| Neither model has a result on the other 9 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Claude Sonnet 5 | Gemini 2.5 Pro | 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 | Anthropic Claude Sonnet 5 | Google Gemini 2.5 Pro |
|---|---|---|
| Maker | Anthropic | |
| Weights | No public weights listed | No public weights listed |
| Released | June 30, 2026 | June 17, 2025 |
| Context window | 1M | 1.05M |
| Input $/Mtok | $2.00 | $1.25 |
| Output $/Mtok | $10.00 | $10.00 |
| Coding index | 57.7 | 19.1 |
| Independent measurements behind it | 6 | 3 |
| Cost per solved task | $1.87 | $0.64 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Sonnet 5 better than Gemini 2.5 Pro for coding?
Pick Claude Sonnet 5 for coding: it scores 57.7 on the Vibe Coding Index against 19.1 for Gemini 2.5 Pro. Pick Gemini 2.5 Pro for a lower cost per solved task ($0.64 against $1.87) and a larger context window (1.05M against 1M tokens).
Which is cheaper, Claude Sonnet 5 or Gemini 2.5 Pro?
Claude Sonnet 5 costs $2.00 per million input tokens and $10.00 per million output tokens; Gemini 2.5 Pro costs $1.25 and $10.00. Per solved SWE-bench Verified task, Claude Sonnet 5 costs $1.87 and Gemini 2.5 Pro $0.64.
Which has the bigger context window, Claude Sonnet 5 or Gemini 2.5 Pro?
Gemini 2.5 Pro, with 1.05M tokens against 1M.
How many benchmarks is the Claude Sonnet 5 vs Gemini 2.5 Pro comparison based on?
70 benchmarks have a result for both models as of October 22, 2026. Claude Sonnet 5's coding index rests on 6 independent benchmarks and Gemini 2.5 Pro's on 3. Where only one model has a result, the page says so instead of naming a winner.