Claude Haiku 4.5 vs Gemma 3 27B
Updated October 21, 2026. 37 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Pick Claude Haiku 4.5 for coding: it scores 49.8 on the Vibe Coding Index against 4.9 for Gemma 3 27B.
Pick Gemma 3 27B when output tokens cost 14.3x less, or when the benchmark that matters is LMArena Text: Polish, where it leads.
- Shared results
- 37
- Claude Haiku 4.5 only
- 57
- Gemma 3 27B only
- 25
- 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.
Coding
Vibe Coding Index, four public coding benchmarks
Claude Haiku 4.5
Claude Haiku 4.5 scores 49.8 against 4.9.
3 and 1 benchmarks behind the scores
Intelligence
AA Intelligence Index
Claude Haiku 4.5
Claude Haiku 4.5 leads, 16.9 against 4.9.
Same board, both measured
Agentic work
AA Agentic Index
Claude Haiku 4.5
Claude Haiku 4.5 leads, 8.0 against 0.1.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only Claude Haiku 4.5 has a GPQA Diamond result, 72.2%.
Directional only
Math
AIME
No call
Only Claude Haiku 4.5 has a AIME result, 82.7%.
Directional only
Knowledge
MMLU Pro
No call
Only Claude Haiku 4.5 has a MMLU Pro result, 78.7%.
Directional only
Web design
Design Arena: websites
No call
Only Claude Haiku 4.5 has a Design Arena: websites result, 1122.
Directional only
Long documents
Listed context window
Claude Haiku 4.5
Claude Haiku 4.5 takes 200K tokens against 131K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemma 3 27B
Claude Haiku 4.5 $0.0035, Gemma 3 27B $0.0003 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only Claude Haiku 4.5 has the number, $0.56.
Directional only
At a glance
- Coding index
- Claude Haiku 4.5 49.8 from 3 benchmarks, Gemma 3 27B 4.9 from 1 benchmark.
- Widest category
- Math, 24.5 points apart on average over 4 shared benchmarks.
- Widest single gap
- OTIS Mock AIME: Claude Haiku 4.5 66.7% against Gemma 3 27B 22.5%, 44.2 points apart on a 0 to 100 scale.
- Output price
- Claude Haiku 4.5 $5.00 against Gemma 3 27B $0.35 per million output tokens, 14.3x apart.
- Context window
- Claude Haiku 4.5 takes 200K tokens, Gemma 3 27B 131K.
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 Haiku 4.5 | Bars | Gemma 3 27B | Ties |
|---|---|---|---|---|
| Coding | 3 | 0 | ||
| Intelligence | 2 | 0 | ||
| Agentic work | 1 | 0 | ||
| Reasoning | 4 | 0 | ||
| Math | 4 | 0 | ||
| Knowledge | 4 | 0 | ||
| General | 18 | 1 | ||
| All shared boards | 36 | 1 |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index30
| Benchmark | Claude Haiku 4.5 | Gemma 3 27B | Leader |
|---|---|---|---|
| Aider polyglot | Not measured | 4.9% | Only Gemma 3 27B measured |
| SWE-bench Verified | 66.6% | Not measured | Only Claude Haiku 4.5 measured |
| SWE-bench Multilingual | 64.7% | Not measured | Only Claude Haiku 4.5 measured |
| LiveBench coding | 48.1% | Not measured | Only Claude Haiku 4.5 measured |
| LMArena WebDev | 1330 | Not measured | Only Claude Haiku 4.5 measured |
| AA Coding Index | 43.9 | 10.1 | Claude Haiku 4.5 |
| LiveCodeBench (Vals AI) | 41.2% | Not measured | Only Claude Haiku 4.5 measured |
| SWE-bench Verified (Vals AI) | 66.6% | Not measured | Only Claude Haiku 4.5 measured |
| Vibe Code Bench (Vals AI) | 11.4% | Not measured | Only Claude Haiku 4.5 measured |
| Code migration (Vals AI) | 7.5% | Not measured | Only Claude Haiku 4.5 measured |
| ProgramBench (Vals AI) | 0.0% | Not measured | Only Claude Haiku 4.5 measured |
| Terminal-Bench 2.1 (Vals AI) | 43.8% | Not measured | Only Claude Haiku 4.5 measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 13.7% | Only Gemma 3 27B measured |
| SciCode | Not measured | 23.3% | Only Gemma 3 27B measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 3.8% | Only Gemma 3 27B measured |
| Terminal-Bench | 35.5% | Not measured | Only Claude Haiku 4.5 measured |
| WeirdML | 45.4% | Not measured | Only Claude Haiku 4.5 measured |
| LMArena Text: coding | 1454 | 1322 | Claude Haiku 4.5 |
| LMArena Text: software and IT | 1439 | 1354 | Claude Haiku 4.5 |
| LMArena WebDev: React | 1326 | Not measured | Only Claude Haiku 4.5 measured |
| LMArena WebDev: HTML | 1318 | Not measured | Only Claude Haiku 4.5 measured |
| Neither model has a result on the other 17 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Claude Haiku 4.5 | Gemma 3 27B | Leader |
|---|---|---|---|
| AA Intelligence Index | 16.9 | 4.9 | Claude Haiku 4.5 |
| Epoch Capabilities Index | 142.2 | 130.0 | Claude Haiku 4.5 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | Claude Haiku 4.5 | Gemma 3 27B | Leader |
|---|---|---|---|
| AA Agentic Index | 8.0 | 0.1 | Claude Haiku 4.5 |
| LiveBench research | 42.2% | Not measured | Only Claude Haiku 4.5 measured |
| LiveBench browser | 40.0% | Not measured | Only Claude Haiku 4.5 measured |
| LiveBench long agentic | 11.1% | Not measured | Only Claude Haiku 4.5 measured |
| Finance Agent (Vals AI) | 31.0% | Not measured | Only Claude Haiku 4.5 measured |
| Tax Agent Bench (Vals AI) | 5.9% | Not measured | Only Claude Haiku 4.5 measured |
| Legal Research Bench (Vals AI) | 10.6% | Not measured | Only Claude Haiku 4.5 measured |
| Excel Modeling Benchmark (Vals AI) | 22.7% | Not measured | Only Claude Haiku 4.5 measured |
| τ²-Bench Telecom | Not measured | 10.5% | Only Gemma 3 27B measured |
| BALROG | 31.2% | Not measured | Only Claude Haiku 4.5 measured |
| DeepResearch Bench | 45.5% | Not measured | Only Claude Haiku 4.5 measured |
| Vending-Bench 2 | $459 | Not measured | Only Claude Haiku 4.5 measured |
| Neither model has a result on the other 27 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index40
| Benchmark | Claude Haiku 4.5 | Gemma 3 27B | Leader |
|---|---|---|---|
| GPQA Diamond | 72.2% | Not measured | Only Claude Haiku 4.5 measured |
| LiveBench reasoning | 61.7% | Not measured | Only Claude Haiku 4.5 measured |
| MMMU Pro (Vals AI) | 46.1% | Not measured | Only Claude Haiku 4.5 measured |
| GPQA Diamond (Artificial Analysis run) | Not measured | 42.8% | Only Gemma 3 27B measured |
| Humanity's Last Exam (Artificial Analysis run) | Not measured | 4.4% | Only Gemma 3 27B measured |
| GPQA Diamond (Epoch AI run) | 71.2% | 47.7% | Claude Haiku 4.5 |
| ARC-AGI | 47.7% | Not measured | Only Claude Haiku 4.5 measured |
| ARC-AGI-2 | 4.0% | Not measured | Only Claude Haiku 4.5 measured |
| Chess puzzles | 8.0% | Not measured | Only Claude Haiku 4.5 measured |
| LMArena Text: hard prompts | 1421 | 1340 | Claude Haiku 4.5 |
| LMArena Text: expert | 1443 | 1304 | Claude Haiku 4.5 |
| LMArena Text: hard prompts in English | 1435 | 1353 | Claude Haiku 4.5 |
| LMArena Vision: diagrams | Not measured | 1156 | Only Gemma 3 27B measured |
| LMArena Vision: homework | Not measured | 1160 | Only Gemma 3 27B measured |
| Neither model has a result on the other 7 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index40
| Benchmark | Claude Haiku 4.5 | Gemma 3 27B | Leader |
|---|---|---|---|
| AIME | 82.7% | Not measured | Only Claude Haiku 4.5 measured |
| MGSM (Vals AI) | 92.2% | Not measured | Only Claude Haiku 4.5 measured |
| AA Math Index | Not measured | 20.7 | Only Gemma 3 27B measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 20.7% | Only Gemma 3 27B measured |
| OTIS Mock AIME | 66.7% | 22.5% | Claude Haiku 4.5 |
| MATH level 5 | 96.4% | 74.0% | Claude Haiku 4.5 |
| LMArena Text: math | 1398 | 1312 | Claude Haiku 4.5 |
| LMArena Text: mathematical work | 1430 | 1327 | Claude Haiku 4.5 |
| Neither model has a result on the other 5 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index40
| Benchmark | Claude Haiku 4.5 | Gemma 3 27B | Leader |
|---|---|---|---|
| MMLU Pro | 78.7% | Not measured | Only Claude Haiku 4.5 measured |
| LegalBench (Vals AI) | 81.2% | Not measured | Only Claude Haiku 4.5 measured |
| CaseLaw (Vals AI) | 56.5% | Not measured | Only Claude Haiku 4.5 measured |
| CorpFin (Vals AI) | 60.6% | Not measured | Only Claude Haiku 4.5 measured |
| TaxEval (Vals AI) | 67.5% | Not measured | Only Claude Haiku 4.5 measured |
| MortgageTax (Vals AI) | 62.2% | Not measured | Only Claude Haiku 4.5 measured |
| MedQA (Vals AI) | 79.6% | Not measured | Only Claude Haiku 4.5 measured |
| MedCode (Vals AI) | 32.7% | Not measured | Only Claude Haiku 4.5 measured |
| MMLU Pro (Artificial Analysis run) | Not measured | 66.9% | Only Gemma 3 27B measured |
| SimpleQA Verified | 13.2% | Not measured | Only Claude Haiku 4.5 measured |
| GeoBench | Not measured | 52.0% | Only Gemma 3 27B measured |
| LMArena Text: science | 1406 | 1383 | Claude Haiku 4.5 |
| LMArena Text: medicine and healthcare | 1394 | 1391 | Claude Haiku 4.5 |
| LMArena Text: legal and government | 1400 | 1375 | Claude Haiku 4.5 |
| LMArena Text: business and finance | 1400 | 1360 | Claude Haiku 4.5 |
| Neither model has a result on the other 2 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
| Benchmark | Claude Haiku 4.5 | Gemma 3 27B | Leader |
|---|---|---|---|
| Design Arena: websites | 1122 | Not measured | Only Claude Haiku 4.5 measured |
| Design Arena: UI components | 1100 | Not measured | Only Claude Haiku 4.5 measured |
| Design Arena: game dev | 1097 | Not measured | Only Claude Haiku 4.5 measured |
| Design Arena: data viz | 1124 | Not measured | Only Claude Haiku 4.5 measured |
| Design Arena: 3D | 1072 | Not measured | Only Claude Haiku 4.5 measured |
| Design Arena: all code categories | 1115 | Not measured | Only Claude Haiku 4.5 measured |
| Design Arena: SVG | 1025 | Not measured | Only Claude Haiku 4.5 measured |
| Design Arena: ASCII art | 1139 | Not measured | Only Claude Haiku 4.5 measured |
| LiveBench design | 59.9% | Not measured | Only Claude Haiku 4.5 measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index181
| Benchmark | Claude Haiku 4.5 | Gemma 3 27B | Leader |
|---|---|---|---|
| LiveBench data analysis | 59.3% | Not measured | Only Claude Haiku 4.5 measured |
| Public Benefits Bench (Vals AI) | 54.3% | Not measured | Only Claude Haiku 4.5 measured |
| SAGE (Vals AI) | 31.8% | Not measured | Only Claude Haiku 4.5 measured |
| MedScribe (Vals AI) | 85.2% | Not measured | Only Claude Haiku 4.5 measured |
| Vals Multimodal Index | 42.9% | Not measured | Only Claude Haiku 4.5 measured |
| IFBench | Not measured | 31.8% | Only Gemma 3 27B measured |
| Long context reasoning (AA-LCR) | Not measured | 7.3% | Only Gemma 3 27B measured |
| DTBench | 73.6% | 52.5% | Claude Haiku 4.5 |
| LMCA | 30.9% | 12.3% | Claude Haiku 4.5 |
| Fiction.LiveBench | Not measured | 33.3% | Only Gemma 3 27B measured |
| Creative writing (Lech Mazur) | Not measured | 79.9% | Only Gemma 3 27B measured |
| ExploitBench | 13.7% | Not measured | Only Claude Haiku 4.5 measured |
| LMArena Text | 1397 | 1358 | Claude Haiku 4.5 |
| LMArena Text: instruction following | 1414 | 1321 | Claude Haiku 4.5 |
| LMArena Text: creative writing | 1371 | 1345 | Claude Haiku 4.5 |
| LMArena Vision | Not measured | 1165 | Only Gemma 3 27B measured |
| LMArena Text: English | 1414 | 1377 | Claude Haiku 4.5 |
| LMArena Text: non-English | 1377 | 1334 | Claude Haiku 4.5 |
| LMArena Text: Chinese | 1418 | 1346 | Claude Haiku 4.5 |
| LMArena Text: German | 1374 | 1362 | Claude Haiku 4.5 |
| LMArena Text: Japanese | 1338 | 1287 | Claude Haiku 4.5 |
| LMArena Text: Korean | 1346 | 1308 | Claude Haiku 4.5 |
| LMArena Text: French | 1411 | 1368 | Claude Haiku 4.5 |
| LMArena Text: Spanish | 1421 | 1349 | Claude Haiku 4.5 |
| LMArena Text: Russian | 1381 | 1349 | Claude Haiku 4.5 |
| LMArena Text: Polish | 1343 | 1345 | Gemma 3 27B |
| LMArena Text: multi-turn | 1409 | 1345 | Claude Haiku 4.5 |
| LMArena Text: longer queries | 1427 | 1333 | Claude Haiku 4.5 |
| LMArena Text: writing and language | 1386 | 1347 | Claude Haiku 4.5 |
| LMArena Text: entertainment and media | 1369 | 1320 | Claude Haiku 4.5 |
| LMArena Vision: English | Not measured | 1188 | Only Gemma 3 27B measured |
| LMArena Vision: Chinese | Not measured | 1164 | Only Gemma 3 27B measured |
| LMArena Vision: reading text | Not measured | 1156 | Only Gemma 3 27B measured |
| LMArena Vision: humor | Not measured | 1166 | Only Gemma 3 27B measured |
| LMArena Vision: captioning | Not measured | 1151 | Only Gemma 3 27B measured |
| LMArena Vision: recognizing things | Not measured | 1196 | Only Gemma 3 27B measured |
| LMArena Vision: creative writing | Not measured | 1177 | Only Gemma 3 27B measured |
| LMArena Document | 1420 | Not measured | Only Claude Haiku 4.5 measured |
| Neither model has a result on the other 8 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Claude Haiku 4.5 | Gemma 3 27B | 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
Gemma 3 27B costs less
Repository review
50K input + 3K output tokens
Gemma 3 27B costs less
Agent loop
200K input + 10K output tokens
Gemma 3 27B 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 Haiku 4.5 | Google Gemma 3 27B |
|---|---|---|
| Maker | Anthropic | |
| Weights | No public weights listed | Open weights |
| Released | October 15, 2025 | March 12, 2025 |
| Context window | 200K | 131K |
| Input $/Mtok | $1.00 | $0.08 |
| Output $/Mtok | $5.00 | $0.35 |
| Coding index | 49.8 | 4.9 |
| Independent measurements behind it | 3 | 1 |
| Cost per solved task | $0.56 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Haiku 4.5 better than Gemma 3 27B for coding?
Pick Claude Haiku 4.5 for coding: it scores 49.8 on the Vibe Coding Index against 4.9 for Gemma 3 27B. Pick Gemma 3 27B when output tokens cost 14.3x less, or when the benchmark that matters is LMArena Text: Polish, where it leads.
Which is cheaper, Claude Haiku 4.5 or Gemma 3 27B?
Claude Haiku 4.5 costs $1.00 per million input tokens and $5.00 per million output tokens; Gemma 3 27B costs $0.08 and $0.35. Cost per solved task is known for Claude Haiku 4.5 only.
Which has the bigger context window, Claude Haiku 4.5 or Gemma 3 27B?
Claude Haiku 4.5, with 200K tokens against 131K.
How many benchmarks is the Claude Haiku 4.5 vs Gemma 3 27B comparison based on?
37 benchmarks have a result for both models as of October 21, 2026. Claude Haiku 4.5's coding index rests on 3 independent benchmarks and Gemma 3 27B's on 1. Where only one model has a result, the page says so instead of naming a winner.