# Claude Sonnet 5 vs Gemma 2 27B

> Claude Sonnet 5 is the stronger model overall, scoring 54.5 to 29.2 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.

- Canonical page: https://noometry.com/compare/claude-sonnet-5-vs-gemma-2-27b
- Last updated: 2026-10-10
- Shared benchmarks: 22

## 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.1 to 10.0.
- 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.

## Snapshot

| | Claude Sonnet 5 | Gemma 2 27B |
|---|---|---|
| Provider | Anthropic | Google |
| Noometry Index | 54.5 | 29.2 |
| Rank | 26 | 302 |
| Context | 1M | 8K |
| Input $/M | $2 | $0.65 |
| Output $/M | $10 | $0.65 |
| Weights | Proprietary | Open |

## Coding

- Claude Sonnet 5: 55.5 (#20)
- Gemma 2 27B: 33.5 (#243)

| Benchmark | Claude Sonnet 5 | Gemma 2 27B |
|---|---|---|
| LMArena Coding | 1483 | 1211 |
| DeepSWE | 53.8% | — |
| FrontierCode | 42.7% | — |
| CursorBench | 34.1% | — |
| LMArena WebDev | 1540 | — |
| SciCode | 53.6% | — |
| GSO | 37.3% | — |
| WeirdML | 68.8% | — |
| BigCodeBench Instruct | — | 42.8% |
| LiveBench Coding | — | 36% |
| BigCodeBench Complete | — | 52.5% |
| ALE-Bench | 1,463 | — |

## Agentic & Tool Use

- Claude Sonnet 5: 42.7 (#16)
- 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: 48.2 (#37)
- Gemma 2 27B: 14.8 (#313)

| Benchmark | Claude Sonnet 5 | Gemma 2 27B |
|---|---|---|
| LMArena Hard Prompts | 1461 | 1199 |
| DTBench | 92.5% | 48% |
| LMCA | 50% | 7.1% |
| Epoch Capabilities Index | 156.34 | 122.06 |
| 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: 66.1 (#21)
- Gemma 2 27B: 10.0 (#306)

| 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: 55.7 (#42)
- Gemma 2 27B: 18.9 (#275)

| Benchmark | Claude Sonnet 5 | Gemma 2 27B |
|---|---|---|
| GPQA Diamond | 90.5% | 36.5% |
| LMArena Expert | 1491 | 1172 |
| SimpleQA Verified | 33.7% | — |
| Confabulations | — | 27.1% |
| MMLU | — | 75.7% |

## Multimodal

- Claude Sonnet 5: 42.4 (#26)
- Gemma 2 27B: —

| Benchmark | Claude Sonnet 5 | Gemma 2 27B |
|---|---|---|
| LMArena Vision | 1275 | — |
| Blueprint-Bench 2 | 24.9% | — |
| LMArena Document | 1466 | — |

## Multilingual

- Claude Sonnet 5: 54.0 (#55)
- Gemma 2 27B: 38.8 (#221)

| Benchmark | Claude Sonnet 5 | Gemma 2 27B |
|---|---|---|
| LMArena Non-English | 1431 | 1217 |
| LMArena Chinese | 1475 | 1221 |
| LMArena French | 1457 | 1246 |
| LMArena German | 1448 | 1209 |
| LMArena Japanese | 1422 | 1175 |
| LMArena Korean | 1411 | 1174 |
| LMArena Russian | 1452 | 1234 |
| LMArena Spanish | 1436 | 1228 |

## Instruction Following

- Claude Sonnet 5: 76.6 (#39)
- Gemma 2 27B: 60.7 (#244)

| Benchmark | Claude Sonnet 5 | Gemma 2 27B |
|---|---|---|
| LMArena Instruction Following | 1453 | 1206 |
| LiveBench Instruction Following | — | 58.1% |

## Long Context

- Claude Sonnet 5: 44.8 (#53)
- Gemma 2 27B: 37.3 (#213)

| Benchmark | Claude Sonnet 5 | Gemma 2 27B |
|---|---|---|
| LMArena Longer Query | 1464 | 1231 |

## Writing & Preference

- Claude Sonnet 5: 69.4 (#24)
- Gemma 2 27B: 44.4 (#220)

| Benchmark | Claude Sonnet 5 | Gemma 2 27B |
|---|---|---|
| LMArena Text | 1443 | 1231 |
| LMArena Creative Writing | 1416 | 1241 |
| LMArena Multi-Turn | 1454 | 1224 |
| EQ-Bench Creative Writing | 1794 | — |
| EQ-Bench 4 | 1236 | — |
| LiveBench Language | — | 32.6% |

## FAQ

### Is Claude Sonnet 5 better than Gemma 2 27B?

Claude Sonnet 5 is the stronger model overall, scoring 54.5 to 29.2 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 33.5 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.
