LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Claude Sonnet 4.5 vs Gemma 4 26B A4B

Updated October 21, 2026. 36 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

Claude Sonnet 4.5Anthropic
Coding
59.1
Overall
20.7
Output $/M
$15.00
30
Gemma 4 26B A4BGoogle
Coding
22.8
Overall
16.7
Output $/M
$0.255
6
vs boards won of 36 shared

Decision reading

Pick Claude Sonnet 4.5 for coding: it scores 59.1 on the Vibe Coding Index against 22.8 for Gemma 4 26B A4B.

Pick Gemma 4 26B A4B when output tokens cost 58.8x less, or when what matters is OTIS Mock AIME or LMArena Text: math, where it leads.

Shared results
36
Claude Sonnet 4.5 only
56
Gemma 4 26B A4B only
18
Like-for-like categories
7 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

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 59.1 from 2 benchmarks, Gemma 4 26B A4B 22.8 from 1 benchmark.
Widest category
Agentic work, 12.9 points apart on average over 1 shared benchmark.
Widest single gap
AA Agentic Index: Claude Sonnet 4.5 15.8 against Gemma 4 26B A4B 2.9, 12.9 points apart on a 0 to 100 scale.
Output price
Claude Sonnet 4.5 $15.00 against Gemma 4 26B A4B $0.255 per million output tokens, 58.8x apart.
Context window
Claude Sonnet 4.5 takes 1M tokens, Gemma 4 26B A4B 262K.

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.5BarsGemma 4 26B A4BTies
Coding70
Intelligence20
Agentic work10
Reasoning40
Math03
Knowledge31
General132
All shared boards306
CodingLike-for-likeFour of these boards feed the Vibe Coding Index70
Coding benchmarks for Claude Sonnet 4.5 and Gemma 4 26B A4B
BenchmarkClaude Sonnet 4.5Gemma 4 26B A4BLeader
SWE-bench Verified74.8%Not measuredOnly Claude Sonnet 4.5 measured
SWE-bench Multilingual67.0%Not measuredOnly Claude Sonnet 4.5 measured
LMArena WebDev13941360Claude Sonnet 4.5
AA Coding Index52.139.3Claude Sonnet 4.5
LiveCodeBench (Vals AI)73.0%Not measuredOnly Claude Sonnet 4.5 measured
SWE-bench Verified (Vals AI)70.0%Not measuredOnly Claude Sonnet 4.5 measured
Vibe Code Bench (Vals AI)22.6%Not measuredOnly Claude Sonnet 4.5 measured
SciCodeNot measured40.0%Only Gemma 4 26B A4B measured
Terminal-Bench Hard (Artificial Analysis run)Not measured25.0%Only Gemma 4 26B A4B measured
Terminal-Bench46.5%Not measuredOnly Claude Sonnet 4.5 measured
GSO-Bench14.7%Not measuredOnly Claude Sonnet 4.5 measured
WeirdML47.7%35.2%Claude Sonnet 4.5
Cybench60.0%Not measuredOnly Claude Sonnet 4.5 measured
ALE-BenchNot measured927.2Only Gemma 4 26B A4B measured
LMArena Text: coding14881446Claude Sonnet 4.5
LMArena Text: software and IT14731454Claude Sonnet 4.5
LMArena WebDev: React13861351Claude Sonnet 4.5
LMArena WebDev: HTML13991362Claude Sonnet 4.5
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 Gemma 4 26B A4B
BenchmarkClaude Sonnet 4.5Gemma 4 26B A4BLeader
AA Intelligence Index20.716.7Claude Sonnet 4.5
Epoch Capabilities Index146.7141.9Claude Sonnet 4.5
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for Claude Sonnet 4.5 and Gemma 4 26B A4B
BenchmarkClaude Sonnet 4.5Gemma 4 26B A4BLeader
AA Agentic Index15.82.9Claude 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 measured43.6%Only Gemma 4 26B A4B 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%Not measuredOnly Claude Sonnet 4.5 measured
DeepResearch Bench52.6%Not measuredOnly Claude Sonnet 4.5 measured
OSWorld62.9%Not measuredOnly Claude Sonnet 4.5 measured
Vending-Bench 2$3,839Not measuredOnly Claude Sonnet 4.5 measured
Neither model has a result on the other 28 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index40
Reasoning benchmarks for Claude Sonnet 4.5 and Gemma 4 26B A4B
BenchmarkClaude Sonnet 4.5Gemma 4 26B A4BLeader
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 measured79.2%Only Gemma 4 26B A4B measured
Humanity's Last Exam (Artificial Analysis run)Not measured19.3%Only Gemma 4 26B A4B measured
GPQA Diamond (Epoch AI run)82.3%73.2%Claude Sonnet 4.5
ARC-AGI63.7%Not measuredOnly Claude Sonnet 4.5 measured
ARC-AGI-213.6%Not measuredOnly Claude Sonnet 4.5 measured
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 prompts14621438Claude Sonnet 4.5
LMArena Text: expert14831447Claude Sonnet 4.5
LMArena Text: hard prompts in English14711448Claude Sonnet 4.5
LMArena Vision: diagramsNot measured1264Only Gemma 4 26B A4B measured
LMArena Vision: homeworkNot measured1293Only Gemma 4 26B A4B measured
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index03
Math benchmarks for Claude Sonnet 4.5 and Gemma 4 26B A4B
BenchmarkClaude Sonnet 4.5Gemma 4 26B A4BLeader
AIME88.2%Not measuredOnly Claude Sonnet 4.5 measured
MGSM (Vals AI)94.3%Not measuredOnly Claude Sonnet 4.5 measured
OTIS Mock AIME77.8%82.2%Gemma 4 26B A4B
FrontierMath, tiers 1 to 323.9%Not measuredOnly Claude Sonnet 4.5 measured
FrontierMath, tier 42.4%Not measuredOnly Claude Sonnet 4.5 measured
ProofBench19.0%Not measuredOnly Claude Sonnet 4.5 measured
MATH level 597.7%Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: math14491470Gemma 4 26B A4B
LMArena Text: mathematical work14621475Gemma 4 26B A4B
Neither model has a result on the other 4 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index31
Knowledge benchmarks for Claude Sonnet 4.5 and Gemma 4 26B A4B
BenchmarkClaude Sonnet 4.5Gemma 4 26B A4BLeader
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%Not measuredOnly Claude Sonnet 4.5 measured
CorpFin (Vals AI)62.0%Not measuredOnly Claude Sonnet 4.5 measured
TaxEval (Vals AI)73.3%Not measuredOnly Claude Sonnet 4.5 measured
MortgageTax (Vals AI)64.0%Not measuredOnly Claude Sonnet 4.5 measured
MedQA (Vals AI)94.7%Not measuredOnly Claude Sonnet 4.5 measured
MedCode (Vals AI)44.1%Not measuredOnly Claude Sonnet 4.5 measured
SimpleQA Verified30.7%Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: science14481446Claude Sonnet 4.5
LMArena Text: medicine and healthcare14441428Claude Sonnet 4.5
LMArena Text: legal and government14511457Gemma 4 26B A4B
LMArena Text: business and finance14401429Claude Sonnet 4.5
Neither model has a result on the other 4 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for Claude Sonnet 4.5 and Gemma 4 26B A4B
BenchmarkClaude Sonnet 4.5Gemma 4 26B A4BLeader
Design Arena: websites1190Not measuredOnly Claude Sonnet 4.5 measured
Design Arena: UI components1173Not measuredOnly Claude Sonnet 4.5 measured
Design Arena: game dev1166Not measuredOnly Claude Sonnet 4.5 measured
Design Arena: data viz1167Not measuredOnly Claude Sonnet 4.5 measured
Design Arena: 3D1158Not measuredOnly Claude Sonnet 4.5 measured
Design Arena: all code categories1183Not measuredOnly Claude Sonnet 4.5 measured
Design Arena: SVG1114Not measuredOnly Claude Sonnet 4.5 measured
Design Arena: ASCII art1204Not 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 index132
General benchmarks for Claude Sonnet 4.5 and Gemma 4 26B A4B
BenchmarkClaude Sonnet 4.5Gemma 4 26B A4BLeader
SAGE (Vals AI)36.1%Not measuredOnly Claude Sonnet 4.5 measured
MedScribe (Vals AI)84.5%Not measuredOnly Claude Sonnet 4.5 measured
IFBenchNot measured72.4%Only Gemma 4 26B A4B measured
Long context reasoning (AA-LCR)Not measured65.7%Only Gemma 4 26B A4B measured
DTBench83.2%74.9%Claude Sonnet 4.5
LMCA38.8%29.7%Claude Sonnet 4.5
LMArena Text14381434Claude Sonnet 4.5
LMArena Text: instruction following14591420Claude Sonnet 4.5
LMArena Text: creative writing14421400Claude Sonnet 4.5
LMArena VisionNot measured1260Only Gemma 4 26B A4B measured
LMArena Text: English14501444Claude Sonnet 4.5
LMArena Text: non-English14251421Claude Sonnet 4.5
LMArena Text: Chinese14601495Gemma 4 26B A4B
LMArena Text: German1427Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: Japanese1390Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: Korean1402Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: French14591460Gemma 4 26B A4B
LMArena Text: Spanish14581415Claude Sonnet 4.5
LMArena Text: Russian14371434Claude Sonnet 4.5
LMArena Text: Polish1423Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: multi-turn14651441Claude Sonnet 4.5
LMArena Text: longer queries14751427Claude Sonnet 4.5
LMArena Text: writing and language14421405Claude Sonnet 4.5
LMArena Text: entertainment and media14281403Claude Sonnet 4.5
LMArena Vision: EnglishNot measured1256Only Gemma 4 26B A4B measured
LMArena Vision: ChineseNot measured1312Only Gemma 4 26B A4B measured
LMArena Vision: reading textNot measured1268Only Gemma 4 26B A4B measured
LMArena Vision: humorNot measured1272Only Gemma 4 26B A4B measured
LMArena Vision: captioningNot measured1297Only Gemma 4 26B A4B measured
LMArena Vision: recognizing thingsNot measured1191Only Gemma 4 26B A4B measured
LMArena Vision: creative writingNot measured1256Only Gemma 4 26B A4B measured
LMArena Document1450Not measuredOnly Claude Sonnet 4.5 measured
Neither model has a result on the other 14 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 Gemma 4 26B A4B
BenchmarkClaude Sonnet 4.5Gemma 4 26B A4BLeader
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
Gemma 4 26B A4B$0.0002Fits in one request

Gemma 4 26B A4B costs less

Repository review

50K input + 3K output tokens

Claude Sonnet 4.5$0.195Fits in one request
Gemma 4 26B A4B$0.0046Fits in one request

Gemma 4 26B A4B costs less

Agent loop

200K input + 10K output tokens

Claude Sonnet 4.5$0.750Fits in one request
Gemma 4 26B A4B$0.018Fits in one request

Gemma 4 26B A4B 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 Gemma 4 26B A4B
SpecificationAnthropic Claude Sonnet 4.5Google Gemma 4 26B A4B
MakerAnthropicGoogle
WeightsNo public weights listedOpen weights
ReleasedSeptember 29, 2025April 3, 2026
Context window1M262K
Input $/Mtok$3.00$0.0765
Output $/Mtok$15.00$0.255
Coding index59.122.8
Independent measurements behind it21
Cost per solved task$1.16Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Sonnet 4.5 better than Gemma 4 26B A4B for coding?

Pick Claude Sonnet 4.5 for coding: it scores 59.1 on the Vibe Coding Index against 22.8 for Gemma 4 26B A4B. Pick Gemma 4 26B A4B when output tokens cost 58.8x less, or when what matters is OTIS Mock AIME or LMArena Text: math, where it leads.

Which is cheaper, Claude Sonnet 4.5 or Gemma 4 26B A4B?

Claude Sonnet 4.5 costs $3.00 per million input tokens and $15.00 per million output tokens; Gemma 4 26B A4B costs $0.0765 and $0.255. Cost per solved task is known for Claude Sonnet 4.5 only.

Which has the bigger context window, Claude Sonnet 4.5 or Gemma 4 26B A4B?

Claude Sonnet 4.5, with 1M tokens against 262K.

How many benchmarks is the Claude Sonnet 4.5 vs Gemma 4 26B A4B comparison based on?

36 benchmarks have a result for both models as of October 21, 2026. Claude Sonnet 4.5's coding index rests on 2 independent benchmarks and Gemma 4 26B A4B's on 1. Where only one model has a result, the page says so instead of naming a winner.

Compare next