Model comparison
Claude Sonnet 5 vs Gemma 2 27B
Claude Sonnet 5 is the stronger model overall, scoring 54.6 to 29.4 on the Noometry Index. Gemma 2 27B costs 6.2× less per token, which makes it the better buy when Claude Sonnet 5's lead doesn't matter for your workload.
Last verified . 22 shared benchmarks.
Summary
- They share 22 benchmarks with published results for both. Claude Sonnet 5 scores higher in 8 categories and Gemma 2 27B in 0 categories; 8 gaps are clear of the uncertainty.
- The widest gap is in math, where Claude Sonnet 5 leads 66.2 to 10.7.
- The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 94.7% for Claude Sonnet 5 and 1.4% for Gemma 2 27B.
- Gemma 2 27B is cheaper at $0.65 / $0.65 per million input/output tokens, against $2 / $10 for Claude Sonnet 5.
- Claude Sonnet 5 accepts more context: 1M tokens versus 8K.
- Gemma 2 27B has downloadable open weights; the other is API-only.
Side by side
| Claude Sonnet 5 | Gemma 2 27B | |
|---|---|---|
| Provider | Anthropic | |
| Noometry Index | 54.6 | 29.4 |
| Released | 2026-06-29 | 2024-06-24 |
| Weights | Proprietary | Open |
| Context window | 1M | 8K |
| Max output | 128K | 2K |
| Input $ / M tokens | $2 | $0.65 |
| Output $ / M tokens | $10 | $0.65 |
| Results tracked | 51 | 34 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding Claude Sonnet 5 leads
Claude Sonnet 5: 55.5 (#26), Gemma 2 27B: 34.1 (#246)
| Benchmark | Claude Sonnet 5 | Gemma 2 27B |
|---|---|---|
| LMArena Coding | 1483 | 1211 |
| DeepSWE | 53.8% | — |
| FrontierCode | 42.7% | — |
| CursorBench | 34.1% | — |
| LMArena WebDev | 1541 | — |
| SciCode | 54.3% | — |
| GSO | 37.3% | — |
| WeirdML | 68.8% | — |
| BigCodeBench Instruct | — | 42.8% |
| LiveBench Coding | — | 36% |
| BigCodeBench Complete | — | 52.5% |
| ALE-Bench | 1,463 | — |
Agentic & Tool Use Not comparable
Claude Sonnet 5: 42.8 (#18), Gemma 2 27B: —
| Benchmark | Claude Sonnet 5 | Gemma 2 27B |
|---|---|---|
| APEX-Agents | 54.5% | — |
| GBAEval | 65.3% | — |
| LMArena Search | 1194 | — |
| Vending-Bench 2 | 6,378 | — |
Reasoning Claude Sonnet 5 leads
Claude Sonnet 5: 49.1 (#39), Gemma 2 27B: 15.3 (#315)
| Benchmark | Claude Sonnet 5 | Gemma 2 27B |
|---|---|---|
| LMArena Hard Prompts | 1461 | 1198 |
| DTBench | 92.5% | 48% |
| LMCA | 50% | 7.1% |
| Epoch Capabilities Index | 156.21 | 122.08 |
| SimpleBench | 60.6% | — |
| NYT Connections (extended) | 75.1% | — |
| CritPt | 16.9% | — |
| Chess Puzzles | 35% | — |
| LiveBench Reasoning | — | 28.1% |
| Mystery Game Puzzles | 35% | — |
| LiveBench Data Analysis | — | 47.9% |
| Surface Evolver Bench | 60% | — |
| Bench to the Future 3 | 0.14 | — |
| ForecastBench | 61.1 | — |
| LiveBench | — | 38.2% |
Math Claude Sonnet 5 leads
Claude Sonnet 5: 66.2 (#27), Gemma 2 27B: 10.7 (#311)
| Benchmark | Claude Sonnet 5 | Gemma 2 27B |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 94.7% | 1.4% |
| LMArena Math | 1467 | 1212 |
| FrontierMath (Tiers 1-3) | 65.6% | — |
| FrontierMath Tier 4 | 29.3% | — |
| ProofBench | 77% | — |
| LiveBench Math | — | 26.5% |
| MATH Level 5 | — | 27.9% |
Knowledge Claude Sonnet 5 leads
Claude Sonnet 5: 55.6 (#47), Gemma 2 27B: 19.0 (#280)
| Benchmark | Claude Sonnet 5 | Gemma 2 27B |
|---|---|---|
| GPQA Diamond | 90.5% | 36.5% |
| LMArena Expert | 1490 | 1172 |
| SimpleQA Verified | 33.7% | — |
| Confabulations | — | 27.1% |
| MMLU | — | 75.7% |
Multimodal Not comparable
Claude Sonnet 5: 42.4 (#31), Gemma 2 27B: —
| Benchmark | Claude Sonnet 5 | Gemma 2 27B |
|---|---|---|
| LMArena Vision | 1274 | — |
| Blueprint-Bench 2 | 24.9% | — |
| LMArena Document | 1466 | — |
Multilingual Claude Sonnet 5 leads
Claude Sonnet 5: 53.8 (#55), Gemma 2 27B: 38.6 (#226)
| Benchmark | Claude Sonnet 5 | Gemma 2 27B |
|---|---|---|
| LMArena Non-English | 1431 | 1217 |
| LMArena Chinese | 1477 | 1221 |
| LMArena French | 1460 | 1247 |
| LMArena German | 1440 | 1209 |
| LMArena Japanese | 1422 | 1175 |
| LMArena Korean | 1411 | 1174 |
| LMArena Russian | 1451 | 1234 |
| LMArena Spanish | 1437 | 1228 |
Instruction Following Claude Sonnet 5 leads
Claude Sonnet 5: 76.3 (#41), Gemma 2 27B: 60.5 (#249)
| Benchmark | Claude Sonnet 5 | Gemma 2 27B |
|---|---|---|
| LMArena Instruction Following | 1452 | 1206 |
| LiveBench Instruction Following | — | 58.1% |
Long Context Claude Sonnet 5 leads
Claude Sonnet 5: 44.8 (#55), Gemma 2 27B: 37.3 (#218)
| Benchmark | Claude Sonnet 5 | Gemma 2 27B |
|---|---|---|
| LMArena Longer Query | 1463 | 1231 |
Writing & Preference Claude Sonnet 5 leads
Claude Sonnet 5: 69.2 (#25), Gemma 2 27B: 44.2 (#225)
| Benchmark | Claude Sonnet 5 | Gemma 2 27B |
|---|---|---|
| LMArena Text | 1442 | 1231 |
| LMArena Creative Writing | 1416 | 1241 |
| LMArena Multi-Turn | 1454 | 1224 |
| EQ-Bench Creative Writing | 1794 | — |
| EQ-Bench 4 | 1236 | — |
| LiveBench Language | — | 32.6% |
Frequently asked questions
Is Claude Sonnet 5 better than Gemma 2 27B?
Claude Sonnet 5 is the stronger model overall, scoring 54.6 to 29.4 on the Noometry Index. Gemma 2 27B costs 6.2× less per token, which makes it the better buy when Claude Sonnet 5's lead doesn't matter for your workload.
Which is cheaper, Claude Sonnet 5 or Gemma 2 27B?
Gemma 2 27B is cheaper. It lists at $0.65 per million input tokens and $0.65 per million output tokens; Claude Sonnet 5 lists at $2 and $10.
Is Claude Sonnet 5 or Gemma 2 27B better for coding?
Claude Sonnet 5 scores higher on coding benchmarks: 55.5 versus 34.1 in the Noometry coding category.
Which has the bigger context window?
Claude Sonnet 5 does, with 1M tokens against 8K.
How many benchmarks do Claude Sonnet 5 and Gemma 2 27B share?
22 benchmarks have published results for both models. Claude Sonnet 5 has 51 scored results on Noometry and Gemma 2 27B has 34.