Enter opens the highlighted result. Esc closes.

Claude Sonnet 4.5 vs Gemini 2.5 Pro

Claude Sonnet 4.5 leads Gemini 2.5 Pro on coding, 39.5 to 19.1 on the Vibe Coding Index, and Gemini 2.5 Pro costs 1.5x less per output token ($10.00 vs $15.00 per million). Updated October 22, 2026; 66 benchmarks have a result for both.

Claude Sonnet 4.5Anthropic
Coding
39.5
Overall
49.5
Output $/M
$15.00
37
Gemini 2.5 ProGoogle
Coding
19.1
Overall
41.8
Output $/M
$10.00
29
vs boards won of 66 shared

Claude Sonnet 4.5 or Gemini 2.5 Pro: which to pick

Pick Claude Sonnet 4.5 for coding: it scores 39.5 on the Vibe Coding Index against 19.1 for Gemini 2.5 Pro.

Pick Gemini 2.5 Pro for output tokens 1.5x cheaper ($10.00 vs $15.00 per million) and a lower cost per solved task ($0.64 against $1.16).

Shared results
66
Claude Sonnet 4.5 only
29
Gemini 2.5 Pro only
24
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 4.5 39.5 from 3 benchmarks, Gemini 2.5 Pro 19.1 from 3 benchmarks.
Widest category
Agentic work, 16.2 points apart on average over 4 shared benchmarks.
Widest single gap
LMArena WebDev: HTML: Claude Sonnet 4.5 1399 against Gemini 2.5 Pro 1235, 27.3 points apart on a 0 to 100 scale.
Output price
Claude Sonnet 4.5 $15.00 against Gemini 2.5 Pro $10.00 per million output tokens, 1.5x apart.
Context window
Claude Sonnet 4.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 4.5BarsGemini 2.5 ProTies
Coding101
Intelligence20
Agentic work40
Reasoning52
Math23
Knowledge27
Web design51
General715
All shared boards3729
CodingLike-for-likeSix of these boards feed the Vibe Coding Index101
Coding benchmarks for Claude Sonnet 4.5 and Gemini 2.5 Pro
BenchmarkClaude Sonnet 4.5Gemini 2.5 ProLeader
SWE-bench Verified74.8%53.6%Claude Sonnet 4.5
SWE-bench Multilingual67.0%Not measuredOnly Claude Sonnet 4.5 measured
LMArena WebDev13941226Claude Sonnet 4.5
AA Coding Index52.133.3Claude Sonnet 4.5
LiveCodeBench (Vals AI)73.0%Not measuredOnly Claude Sonnet 4.5 measured
SWE-bench Verified (Vals AI)70.0%54.4%Claude Sonnet 4.5
Vibe Code Bench (Vals AI)22.6%0.4%Claude Sonnet 4.5
LiveCodeBench (Artificial Analysis run)Not measured80.1%Only Gemini 2.5 Pro measured
SciCodeNot measured46.3%Only Gemini 2.5 Pro measured
Terminal-Bench Hard (Artificial Analysis run)Not measured26.5%Only Gemini 2.5 Pro measured
Terminal-Bench46.5%32.6%Claude Sonnet 4.5
GSO-Bench14.7%3.9%Claude Sonnet 4.5
WeirdML47.7%54.0%Gemini 2.5 Pro
Cybench60.0%Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: coding14881452Claude Sonnet 4.5
LMArena Text: software and IT14731459Claude Sonnet 4.5
LMArena WebDev: React1386Not measuredOnly Claude Sonnet 4.5 measured
LMArena WebDev: HTML13991235Claude Sonnet 4.5
LMArena WebDev: from an imageNot measured1285Only Gemini 2.5 Pro measured
Neither model has a result on the other 20 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Claude Sonnet 4.5 and Gemini 2.5 Pro
BenchmarkClaude Sonnet 4.5Gemini 2.5 ProLeader
AA Intelligence Index20.716.1Claude Sonnet 4.5
Epoch Capabilities Index146.7145.1Claude Sonnet 4.5
Agentic workLike-for-likePublic boards, shown as published, kept out of the index40
Agentic work benchmarks for Claude Sonnet 4.5 and Gemini 2.5 Pro
BenchmarkClaude Sonnet 4.5Gemini 2.5 ProLeader
AA Agentic Index15.81.6Claude Sonnet 4.5
Design Arena: agents building web apps1060Not measuredOnly Claude Sonnet 4.5 measured
Design Arena: agents building full-stack apps1050Not measuredOnly Claude Sonnet 4.5 measured
Design Arena: agents building mobile apps1137Not measuredOnly Claude Sonnet 4.5 measured
τ²-Bench TelecomNot measured54.1%Only Gemini 2.5 Pro measured
METR time horizons67.4%Not measuredOnly Claude Sonnet 4.5 measured
Remote Labor Index2.1%Not measuredOnly Claude Sonnet 4.5 measured
GDPval42.5%23.3%Claude Sonnet 4.5
DeepResearch Bench52.6%41.5%Claude Sonnet 4.5
OSWorld62.9%Not measuredOnly Claude Sonnet 4.5 measured
Vending-Bench 2$3,839$574Claude Sonnet 4.5
Berkeley Function Calling Leaderboard (BFCL)73.2%Not measuredOnly Claude Sonnet 4.5 measured
BrowseComp-PlusNot measured29.5%Only Gemini 2.5 Pro measured
Neither model has a result on the other 28 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index52
Reasoning benchmarks for Claude Sonnet 4.5 and Gemini 2.5 Pro
BenchmarkClaude Sonnet 4.5Gemini 2.5 ProLeader
GPQA Diamond81.6%Not measuredOnly Claude Sonnet 4.5 measured
MMMU Pro (Vals AI)79.3%Not measuredOnly Claude Sonnet 4.5 measured
GPQA Diamond (Artificial Analysis run)Not measured84.4%Only Gemini 2.5 Pro measured
Humanity's Last Exam (Artificial Analysis run)Not measured22.5%Only Gemini 2.5 Pro measured
GPQA Diamond (Epoch AI run)82.3%85.3%Gemini 2.5 Pro
ARC-AGI63.7%41.0%Claude Sonnet 4.5
ARC-AGI-213.6%4.9%Claude Sonnet 4.5
SimpleBench54.3%Not measuredOnly Claude Sonnet 4.5 measured
Chess puzzles10.0%Not measuredOnly Claude Sonnet 4.5 measured
Mystery game puzzles17.0%Not measuredOnly Claude Sonnet 4.5 measured
EBR-bench2.4%Not measuredOnly Claude Sonnet 4.5 measured
VPCT39.8%Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: hard prompts14621455Claude Sonnet 4.5
LMArena Text: expert14831452Claude Sonnet 4.5
LMArena Text: hard prompts in English14711453Claude Sonnet 4.5
LMArena Vision: diagramsNot measured1274Only Gemini 2.5 Pro measured
LMArena Vision: homeworkNot measured1281Only Gemini 2.5 Pro measured
Kagi LLM Benchmark57.9%70.3%Gemini 2.5 Pro
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index23
Math benchmarks for Claude Sonnet 4.5 and Gemini 2.5 Pro
BenchmarkClaude Sonnet 4.5Gemini 2.5 ProLeader
AIME88.2%Not measuredOnly Claude Sonnet 4.5 measured
MGSM (Vals AI)94.3%Not measuredOnly Claude Sonnet 4.5 measured
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 AIME77.8%84.7%Gemini 2.5 Pro
FrontierMath, tiers 1 to 323.9%24.6%Gemini 2.5 Pro
FrontierMath, tier 42.4%0.0%Claude Sonnet 4.5
ProofBench19.0%Not measuredOnly Claude Sonnet 4.5 measured
MATH level 597.7%Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: math14491450Gemini 2.5 Pro
LMArena Text: mathematical work14621454Claude Sonnet 4.5
Neither model has a result on the other 2 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index27
Knowledge benchmarks for Claude Sonnet 4.5 and Gemini 2.5 Pro
BenchmarkClaude Sonnet 4.5Gemini 2.5 ProLeader
MMLU Pro87.4%Not measuredOnly Claude Sonnet 4.5 measured
LegalBench (Vals AI)84.1%Not measuredOnly Claude Sonnet 4.5 measured
CaseLaw (Vals AI)62.2%63.9%Gemini 2.5 Pro
CorpFin (Vals AI)62.0%60.8%Claude Sonnet 4.5
TaxEval (Vals AI)73.3%Not measuredOnly Claude Sonnet 4.5 measured
MortgageTax (Vals AI)64.0%68.9%Gemini 2.5 Pro
MedQA (Vals AI)94.7%Not measuredOnly Claude Sonnet 4.5 measured
MedCode (Vals AI)44.1%50.6%Gemini 2.5 Pro
MMLU Pro (Artificial Analysis run)Not measured86.2%Only Gemini 2.5 Pro measured
SimpleQA Verified30.7%Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: science14481480Gemini 2.5 Pro
LMArena Text: medicine and healthcare14441476Gemini 2.5 Pro
LMArena Text: legal and government14511480Gemini 2.5 Pro
LMArena Text: business and finance14401439Claude Sonnet 4.5
FACTS Benchmark Suite40.6%61.5%Gemini 2.5 Pro
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index51
Web design benchmarks for Claude Sonnet 4.5 and Gemini 2.5 Pro
BenchmarkClaude Sonnet 4.5Gemini 2.5 ProLeader
Design Arena: websites11891167Claude Sonnet 4.5
Design Arena: UI components11701137Claude Sonnet 4.5
Design Arena: game dev11661111Claude Sonnet 4.5
Design Arena: data viz11671222Gemini 2.5 Pro
Design Arena: 3D11571080Claude Sonnet 4.5
Design Arena: all code categories11821152Claude Sonnet 4.5
Design Arena: SVG1115Not measuredOnly Claude Sonnet 4.5 measured
Design Arena: ASCII art1205Not measuredOnly Claude Sonnet 4.5 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index715
General benchmarks for Claude Sonnet 4.5 and Gemini 2.5 Pro
BenchmarkClaude Sonnet 4.5Gemini 2.5 ProLeader
SAGE (Vals AI)36.1%41.9%Gemini 2.5 Pro
MedScribe (Vals AI)84.5%73.5%Claude Sonnet 4.5
IFBenchNot measured48.7%Only Gemini 2.5 Pro measured
Long context reasoning (AA-LCR)Not measured69.0%Only Gemini 2.5 Pro measured
DTBench83.2%82.4%Claude Sonnet 4.5
LMCA38.8%34.8%Claude Sonnet 4.5
Creative writing (Lech Mazur)Not measured83.8%Only Gemini 2.5 Pro measured
LMArena Text14381458Gemini 2.5 Pro
LMArena Text: instruction following14591437Claude Sonnet 4.5
LMArena Text: creative writing14421454Gemini 2.5 Pro
LMArena VisionNot measured1263Only Gemini 2.5 Pro measured
LMArena Text: English14501458Gemini 2.5 Pro
LMArena Text: non-English14251452Gemini 2.5 Pro
LMArena Text: Chinese14601507Gemini 2.5 Pro
LMArena Text: German14271487Gemini 2.5 Pro
LMArena Text: Japanese13901461Gemini 2.5 Pro
LMArena Text: Korean14021434Gemini 2.5 Pro
LMArena Text: French14591473Gemini 2.5 Pro
LMArena Text: Spanish14581474Gemini 2.5 Pro
LMArena Text: Russian14371461Gemini 2.5 Pro
LMArena Text: Polish14231479Gemini 2.5 Pro
LMArena Text: multi-turn14651453Claude Sonnet 4.5
LMArena Text: longer queries14751449Claude Sonnet 4.5
LMArena Text: writing and language14421454Gemini 2.5 Pro
LMArena Text: entertainment and media14281441Gemini 2.5 Pro
LMArena Vision: EnglishNot measured1261Only Gemini 2.5 Pro measured
LMArena Vision: ChineseNot measured1300Only Gemini 2.5 Pro measured
LMArena Vision: reading textNot measured1270Only Gemini 2.5 Pro measured
LMArena Vision: humorNot measured1262Only Gemini 2.5 Pro measured
LMArena Vision: captioningNot measured1304Only Gemini 2.5 Pro measured
LMArena Vision: recognizing thingsNot measured1283Only Gemini 2.5 Pro measured
LMArena Vision: creative writingNot measured1265Only Gemini 2.5 Pro measured
LMArena Document14501421Claude Sonnet 4.5
Neither model has a result on the other 13 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Claude Sonnet 4.5 and Gemini 2.5 Pro
BenchmarkClaude Sonnet 4.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 4.5$0.011Fits 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 4.5$0.195Fits 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 4.5$0.750Fits 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 4.5 and Gemini 2.5 Pro
SpecificationAnthropic Claude Sonnet 4.5Google Gemini 2.5 Pro
MakerAnthropicGoogle
WeightsNo public weights listedNo public weights listed
ReleasedSeptember 29, 2025June 17, 2025
Context window1M1.05M
Input $/Mtok$3.00$1.25
Output $/Mtok$15.00$10.00
Coding index39.519.1
Independent measurements behind it33
Cost per solved task$1.16$0.64
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Sonnet 4.5 better than Gemini 2.5 Pro for coding?

Pick Claude Sonnet 4.5 for coding: it scores 39.5 on the Vibe Coding Index against 19.1 for Gemini 2.5 Pro. Pick Gemini 2.5 Pro for output tokens 1.5x cheaper ($10.00 vs $15.00 per million) and a lower cost per solved task ($0.64 against $1.16).

Which is cheaper, Claude Sonnet 4.5 or Gemini 2.5 Pro?

Claude Sonnet 4.5 costs $3.00 per million input tokens and $15.00 per million output tokens; Gemini 2.5 Pro costs $1.25 and $10.00. Per solved SWE-bench Verified task, Claude Sonnet 4.5 costs $1.16 and Gemini 2.5 Pro $0.64.

Which has the bigger context window, Claude Sonnet 4.5 or Gemini 2.5 Pro?

Gemini 2.5 Pro, with 1.05M tokens against 1M.

How many benchmarks is the Claude Sonnet 4.5 vs Gemini 2.5 Pro comparison based on?

66 benchmarks have a result for both models as of October 22, 2026. Claude Sonnet 4.5's coding index rests on 3 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-4-5-vs-gemini-2-5-pro" title="Claude Sonnet 4.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-4-5-vs-gemini-2-5-pro">LLMBenchmark.ai, Claude Sonnet 4.5 vs Gemini 2.5 Pro</a></p>