Enter opens the highlighted result. Esc closes.

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 5Anthropic
Coding
57.7
Overall
63.2
Output $/M
$10.00
49
Gemini 2.5 ProGoogle
Coding
19.1
Overall
41.8
Output $/M
$10.00
21
vs boards won of 70 shared

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.

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.

Boards won, where both have a result
CategoryClaude Sonnet 5BarsGemini 2.5 ProTies
Coding110
Intelligence20
Agentic work20
Reasoning80
Math50
Knowledge25
Web design60
General1316
All shared boards4921
CodingLike-for-likeSix of these boards feed the Vibe Coding Index110
Coding benchmarks for Claude Sonnet 5 and Gemini 2.5 Pro
BenchmarkClaude Sonnet 5Gemini 2.5 ProLeader
SWE-bench VerifiedNot measured53.6%Only Gemini 2.5 Pro measured
LiveBench coding74.7%Not measuredOnly Claude Sonnet 5 measured
LMArena WebDev15401226Claude Sonnet 5
AA Coding Index71.533.3Claude Sonnet 5
LiveCodeBench (Vals AI)82.4%Not measuredOnly Claude Sonnet 5 measured
SWE-bench Verified (Vals AI)79.6%54.4%Claude Sonnet 5
Terminal-Bench 4 (Vals AI)10.6%Not measuredOnly Claude Sonnet 5 measured
Vibe Code Bench (Vals AI)81.3%0.4%Claude Sonnet 5
Code migration (Vals AI)44.4%Not measuredOnly Claude Sonnet 5 measured
ProgramBench (Vals AI)0.0%Not measuredOnly Claude Sonnet 5 measured
IOI (Vals AI)45.0%Not measuredOnly Claude Sonnet 5 measured
Terminal-Bench 2.1 (Vals AI)74.5%Not measuredOnly Claude Sonnet 5 measured
Vibe Code Bench 1-100 (Vals AI)13.8%Not measuredOnly Claude Sonnet 5 measured
SkillsBench (Vals AI)46.5%Not measuredOnly Claude Sonnet 5 measured
CyberBench (Vals AI)70.3%Not measuredOnly Claude Sonnet 5 measured
LiveCodeBench (Artificial Analysis run)Not measured80.1%Only Gemini 2.5 Pro measured
SciCode54.3%46.3%Claude Sonnet 5
Terminal-Bench Hard (Artificial Analysis run)Not measured26.5%Only Gemini 2.5 Pro measured
Terminal-BenchNot measured32.6%Only Gemini 2.5 Pro measured
FrontierCode42.7%Not measuredOnly Claude Sonnet 5 measured
GSO-Bench37.3%3.9%Claude Sonnet 5
WeirdML68.8%54.0%Claude Sonnet 5
ALE-Bench1463.1Not measuredOnly Claude Sonnet 5 measured
LMArena Text: coding14831452Claude Sonnet 5
LMArena Text: software and IT14741459Claude Sonnet 5
LMArena WebDev: React1541Not measuredOnly Claude Sonnet 5 measured
LMArena WebDev: HTML15271235Claude Sonnet 5
LMArena WebDev: from an image15401285Claude Sonnet 5
SciCode10.7%Not measuredOnly 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
Intelligence benchmarks for Claude Sonnet 5 and Gemini 2.5 Pro
BenchmarkClaude Sonnet 5Gemini 2.5 ProLeader
AA Intelligence Index38.216.1Claude Sonnet 5
Epoch Capabilities Index156.9145.1Claude Sonnet 5
Agentic workLike-for-likePublic boards, shown as published, kept out of the index20
Agentic work benchmarks for Claude Sonnet 5 and Gemini 2.5 Pro
BenchmarkClaude Sonnet 5Gemini 2.5 ProLeader
AA Agentic Index43.61.6Claude Sonnet 5
Design Arena: agents building web apps1245Not measuredOnly Claude Sonnet 5 measured
Design Arena: agents building full-stack apps1249Not measuredOnly Claude Sonnet 5 measured
Design Arena: agents building mobile apps1215Not measuredOnly Claude Sonnet 5 measured
Design Arena: agents building Android apps1227Not measuredOnly Claude Sonnet 5 measured
Design Arena: agents building Godot games1225Not measuredOnly Claude Sonnet 5 measured
Design Arena: agents building games1227Not measuredOnly Claude Sonnet 5 measured
Design Arena: HTML slides1168Not measuredOnly Claude Sonnet 5 measured
Design Arena: PowerPoint slides1191Not measuredOnly Claude Sonnet 5 measured
Design Arena: spreadsheets1035Not measuredOnly Claude Sonnet 5 measured
LiveBench research82.8%Not measuredOnly Claude Sonnet 5 measured
LiveBench browser72.0%Not measuredOnly Claude Sonnet 5 measured
LiveBench long agentic39.0%Not measuredOnly Claude Sonnet 5 measured
SREBench (Vals AI)0.4%Not measuredOnly Claude Sonnet 5 measured
Finance Agent (Vals AI)53.9%Not measuredOnly Claude Sonnet 5 measured
Tax Agent Bench (Vals AI)29.4%Not measuredOnly Claude Sonnet 5 measured
Legal Research Bench (Vals AI)41.8%Not measuredOnly Claude Sonnet 5 measured
Excel Modeling Benchmark (Vals AI)66.3%Not measuredOnly Claude Sonnet 5 measured
Terminal-Bench-Science (Vals AI)5.7%Not measuredOnly Claude Sonnet 5 measured
τ²-Bench TelecomNot measured54.1%Only Gemini 2.5 Pro measured
APEX-Agents54.5%Not measuredOnly Claude Sonnet 5 measured
GDPvalNot measured23.3%Only Gemini 2.5 Pro measured
DeepResearch BenchNot measured41.5%Only Gemini 2.5 Pro measured
Vending-Bench 2$6,378$574Claude Sonnet 5
BrowseComp-PlusNot measured29.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
Reasoning benchmarks for Claude Sonnet 5 and Gemini 2.5 Pro
BenchmarkClaude Sonnet 5Gemini 2.5 ProLeader
GPQA Diamond88.9%Not measuredOnly Claude Sonnet 5 measured
LiveBench reasoning88.7%Not measuredOnly Claude Sonnet 5 measured
MMMU Pro (Vals AI)83.0%Not measuredOnly 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-AGINot measured41.0%Only Gemini 2.5 Pro measured
ARC-AGI-2Not measured4.9%Only Gemini 2.5 Pro measured
SimpleBench60.6%Not measuredOnly Claude Sonnet 5 measured
Chess puzzles45.0%Not measuredOnly Claude Sonnet 5 measured
Mystery game puzzles35.0%Not measuredOnly Claude Sonnet 5 measured
LMArena Text: hard prompts14611455Claude Sonnet 5
LMArena Text: expert14891452Claude Sonnet 5
LMArena Text: hard prompts in English14641453Claude Sonnet 5
LMArena Vision: diagrams12931274Claude Sonnet 5
LMArena Vision: homework13111281Claude Sonnet 5
Kagi LLM BenchmarkNot measured70.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
Math benchmarks for Claude Sonnet 5 and Gemini 2.5 Pro
BenchmarkClaude Sonnet 5Gemini 2.5 ProLeader
AA Math IndexNot measured87.7Only Gemini 2.5 Pro measured
AIME 2025 (Artificial Analysis run)Not measured87.7%Only Gemini 2.5 Pro measured
OTIS Mock AIME94.7%84.7%Claude Sonnet 5
FrontierMath, tiers 1 to 365.6%24.6%Claude Sonnet 5
FrontierMath, tier 429.3%0.0%Claude Sonnet 5
ProofBench77.0%Not measuredOnly Claude Sonnet 5 measured
LMArena Text: math14671450Claude Sonnet 5
LMArena Text: mathematical work14811454Claude 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
Knowledge benchmarks for Claude Sonnet 5 and Gemini 2.5 Pro
BenchmarkClaude Sonnet 5Gemini 2.5 ProLeader
MMLU Pro87.5%Not measuredOnly Claude Sonnet 5 measured
LegalBench (Vals AI)83.9%Not measuredOnly Claude Sonnet 5 measured
CaseLaw (Vals AI)Not measured63.9%Only Gemini 2.5 Pro measured
CorpFin (Vals AI)67.0%60.8%Claude Sonnet 5
TaxEval (Vals AI)75.6%Not measuredOnly 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 measured86.2%Only Gemini 2.5 Pro measured
SimpleQA Verified33.7%Not measuredOnly Claude Sonnet 5 measured
LMArena Text: science14601480Gemini 2.5 Pro
LMArena Text: medicine and healthcare14421476Gemini 2.5 Pro
LMArena Text: legal and government14541480Gemini 2.5 Pro
LMArena Text: business and finance14361439Gemini 2.5 Pro
FACTS Benchmark SuiteNot measured61.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
Web design benchmarks for Claude Sonnet 5 and Gemini 2.5 Pro
BenchmarkClaude Sonnet 5Gemini 2.5 ProLeader
Design Arena: websites12741167Claude Sonnet 5
Design Arena: UI components12771137Claude Sonnet 5
Design Arena: game dev12771111Claude Sonnet 5
Design Arena: data viz12511222Claude Sonnet 5
Design Arena: 3D12611080Claude Sonnet 5
Design Arena: all code categories12751152Claude Sonnet 5
Design Arena: SVG1192Not measuredOnly Claude Sonnet 5 measured
Design Arena: ASCII art1207Not measuredOnly Claude Sonnet 5 measured
LiveBench design82.0%Not measuredOnly Claude Sonnet 5 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index1316
General benchmarks for Claude Sonnet 5 and Gemini 2.5 Pro
BenchmarkClaude Sonnet 5Gemini 2.5 ProLeader
LiveBench data analysis71.7%Not measuredOnly Claude Sonnet 5 measured
Public Benefits Bench (Vals AI)66.0%Not measuredOnly 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 Index68.8%Not measuredOnly Claude Sonnet 5 measured
IFBenchNot measured48.7%Only Gemini 2.5 Pro measured
Long context reasoning (AA-LCR)82.0%69.0%Claude Sonnet 5
DTBench92.5%82.4%Claude Sonnet 5
LMCA50.0%34.8%Claude Sonnet 5
Creative writing (Lech Mazur)Not measured83.8%Only Gemini 2.5 Pro measured
Surface Evolver Bench60.0%Not measuredOnly Claude Sonnet 5 measured
LMArena Text14421458Gemini 2.5 Pro
LMArena Text: instruction following14521437Claude Sonnet 5
LMArena Text: creative writing14161454Gemini 2.5 Pro
LMArena Vision12731263Claude Sonnet 5
LMArena Text: English14501458Gemini 2.5 Pro
LMArena Text: non-English14311452Gemini 2.5 Pro
LMArena Text: Chinese14781507Gemini 2.5 Pro
LMArena Text: German14421487Gemini 2.5 Pro
LMArena Text: Japanese14221461Gemini 2.5 Pro
LMArena Text: Korean14121434Gemini 2.5 Pro
LMArena Text: French14631473Gemini 2.5 Pro
LMArena Text: Spanish14381474Gemini 2.5 Pro
LMArena Text: Russian14501461Gemini 2.5 Pro
LMArena Text: Polish14251479Gemini 2.5 Pro
LMArena Text: multi-turn14531453Claude Sonnet 5
LMArena Text: longer queries14621449Claude Sonnet 5
LMArena Text: writing and language14361454Gemini 2.5 Pro
LMArena Text: entertainment and media14111441Gemini 2.5 Pro
LMArena Vision: English12751261Claude Sonnet 5
LMArena Vision: Chinese13311300Claude Sonnet 5
LMArena Vision: reading text12881270Claude Sonnet 5
LMArena Vision: humor12611262Gemini 2.5 Pro
LMArena Vision: captioningNot measured1304Only Gemini 2.5 Pro measured
LMArena Vision: recognizing thingsNot measured1283Only Gemini 2.5 Pro measured
LMArena Vision: creative writing12461265Gemini 2.5 Pro
LMArena Document14661421Claude 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
Image generation benchmarks for Claude Sonnet 5 and Gemini 2.5 Pro
BenchmarkClaude Sonnet 5Gemini 2.5 ProLeader
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

Claude Sonnet 5$0.0070Fits in one request
Gemini 2.5 Pro$0.0063Fits in one request

Gemini 2.5 Pro costs less

Repository review

50K input + 3K output tokens

Claude Sonnet 5$0.130Fits in one request
Gemini 2.5 Pro$0.092Fits in one request

Gemini 2.5 Pro costs less

Agent loop

200K input + 10K output tokens

Claude Sonnet 5$0.500Fits in one request
Gemini 2.5 Pro$0.350Fits in one request

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.

Specifications of Claude Sonnet 5 and Gemini 2.5 Pro
SpecificationAnthropic Claude Sonnet 5Google Gemini 2.5 Pro
MakerAnthropicGoogle
WeightsNo public weights listedNo public weights listed
ReleasedJune 30, 2026June 17, 2025
Context window1M1.05M
Input $/Mtok$2.00$1.25
Output $/Mtok$10.00$10.00
Coding index57.719.1
Independent measurements behind it63
Cost per solved task$1.87$0.64
SourceOpenRouter listingOpenRouter 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.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/claude-sonnet-5-vs-gemini-2-5-pro" title="Claude Sonnet 5 vs Gemini 2.5 Pro, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/claude-sonnet-5-vs-gemini-2-5-pro">LLMBenchmark.ai, Claude Sonnet 5 vs Gemini 2.5 Pro</a></p>