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.

Claude Sonnet 5 Anthropic

54.6

Rank #29 Confirmed

Gemma 2 27B Google

29.4

Rank #312 Confirmed

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 and Gemma 2 27B specifications
Claude Sonnet 5Gemma 2 27B
ProviderAnthropicGoogle
Noometry Index54.629.4
Released2026-06-292024-06-24
WeightsProprietaryOpen
Context window1M8K
Max output128K2K
Input $ / M tokens$2$0.65
Output $ / M tokens$10$0.65
Results tracked5134

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)

Coding benchmarks
BenchmarkClaude Sonnet 5Gemma 2 27B
LMArena Coding14831211
DeepSWE53.8%—
FrontierCode42.7%—
CursorBench34.1%—
LMArena WebDev1541—
SciCode54.3%—
GSO37.3%—
WeirdML68.8%—
BigCodeBench Instruct—42.8%
LiveBench Coding—36%
BigCodeBench Complete—52.5%
ALE-Bench1,463—

Agentic & Tool Use Not comparable

Claude Sonnet 5: 42.8 (#18), Gemma 2 27B: —

Agentic & Tool Use benchmarks
BenchmarkClaude Sonnet 5Gemma 2 27B
APEX-Agents54.5%—
GBAEval65.3%—
LMArena Search1194—
Vending-Bench 26,378—

Reasoning Claude Sonnet 5 leads

Claude Sonnet 5: 49.1 (#39), Gemma 2 27B: 15.3 (#315)

Reasoning benchmarks
BenchmarkClaude Sonnet 5Gemma 2 27B
LMArena Hard Prompts14611198
DTBench92.5%48%
LMCA50%7.1%
Epoch Capabilities Index156.21122.08
SimpleBench60.6%—
NYT Connections (extended)75.1%—
CritPt16.9%—
Chess Puzzles35%—
LiveBench Reasoning—28.1%
Mystery Game Puzzles35%—
LiveBench Data Analysis—47.9%
Surface Evolver Bench60%—
Bench to the Future 30.14—
ForecastBench61.1—
LiveBench—38.2%

Math Claude Sonnet 5 leads

Claude Sonnet 5: 66.2 (#27), Gemma 2 27B: 10.7 (#311)

Math benchmarks
BenchmarkClaude Sonnet 5Gemma 2 27B
OTIS Mock AIME 2024-202594.7%1.4%
LMArena Math14671212
FrontierMath (Tiers 1-3)65.6%—
FrontierMath Tier 429.3%—
ProofBench77%—
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)

Knowledge benchmarks
BenchmarkClaude Sonnet 5Gemma 2 27B
GPQA Diamond90.5%36.5%
LMArena Expert14901172
SimpleQA Verified33.7%—
Confabulations—27.1%
MMLU—75.7%

Multimodal Not comparable

Claude Sonnet 5: 42.4 (#31), Gemma 2 27B: —

Multimodal benchmarks
BenchmarkClaude Sonnet 5Gemma 2 27B
LMArena Vision1274—
Blueprint-Bench 224.9%—
LMArena Document1466—

Multilingual Claude Sonnet 5 leads

Claude Sonnet 5: 53.8 (#55), Gemma 2 27B: 38.6 (#226)

Multilingual benchmarks
BenchmarkClaude Sonnet 5Gemma 2 27B
LMArena Non-English14311217
LMArena Chinese14771221
LMArena French14601247
LMArena German14401209
LMArena Japanese14221175
LMArena Korean14111174
LMArena Russian14511234
LMArena Spanish14371228

Instruction Following Claude Sonnet 5 leads

Claude Sonnet 5: 76.3 (#41), Gemma 2 27B: 60.5 (#249)

Instruction Following benchmarks
BenchmarkClaude Sonnet 5Gemma 2 27B
LMArena Instruction Following14521206
LiveBench Instruction Following—58.1%

Long Context Claude Sonnet 5 leads

Claude Sonnet 5: 44.8 (#55), Gemma 2 27B: 37.3 (#218)

Long Context benchmarks
BenchmarkClaude Sonnet 5Gemma 2 27B
LMArena Longer Query14631231

Writing & Preference Claude Sonnet 5 leads

Claude Sonnet 5: 69.2 (#25), Gemma 2 27B: 44.2 (#225)

Writing & Preference benchmarks
BenchmarkClaude Sonnet 5Gemma 2 27B
LMArena Text14421231
LMArena Creative Writing14161241
LMArena Multi-Turn14541224
EQ-Bench Creative Writing1794—
EQ-Bench 41236—
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.

Related comparisons

Go deeper