Model comparison

Claude Sonnet 4 vs Gemma 3 27B

Claude Sonnet 4 is the stronger model overall, scoring 40.8 to 30.8 on the Noometry Index. Gemma 3 27B costs 60× less per token, which makes it the better buy when Claude Sonnet 4's lead doesn't matter for your workload.

Last verified . 34 shared benchmarks.

Claude Sonnet 4 Anthropic

40.8

Rank #145 Confirmed

Gemma 3 27B Google

30.8

Rank #284 Confirmed

Summary

  • They share 34 benchmarks with published results for both. Claude Sonnet 4 scores higher in 8 categories and Gemma 3 27B in 2 categories; 9 gaps are clear of the uncertainty.
  • The widest gap is in coding, where Claude Sonnet 4 leads 43.5 to 22.5.
  • The biggest single-benchmark swing is Aider Polyglot: 61.3% for Claude Sonnet 4 and 4.9% for Gemma 3 27B.
  • Gemma 3 27B is cheaper at $0.08 / $0.16 per million input/output tokens, against $3 / $15 for Claude Sonnet 4.
  • Claude Sonnet 4 accepts more context: 200K tokens versus 131K.
  • Gemma 3 27B has downloadable open weights; the other is API-only.

Side by side

Claude Sonnet 4 and Gemma 3 27B specifications
Claude Sonnet 4Gemma 3 27B
ProviderAnthropicGoogle
Noometry Index40.830.8
Released2025-05-222025-03-11
WeightsProprietaryOpen
Context window200K131K
Max output64K8K
Input $ / M tokens$3$0.08
Output $ / M tokens$15$0.16
Results tracked5843

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Claude Sonnet 4 leads

Claude Sonnet 4: 43.5 (#88), Gemma 3 27B: 22.5 (#334)

Coding benchmarks
BenchmarkClaude Sonnet 4Gemma 3 27B
Aider Polyglot61.3%4.9%
SciCode40%21.2%
LMArena Coding14141322
SWE-bench Verified (bash only)64.9%—
GSO4.9%—
WeirdML46.1%—
LiveBench Coding—39.9%
ALE-Bench655.35—

Agentic & Tool Use Claude Sonnet 4 leads

Claude Sonnet 4: 38.5 (#31), Gemma 3 27B: 25.1 (#110)

Agentic & Tool Use benchmarks
BenchmarkClaude Sonnet 4Gemma 3 27B
Berkeley Function Calling Leaderboard—29.5%
TheAgentCompany33.1%—
Cybench35%—
DeepResearch Bench46.6%—
OSWorld43.9%—
METR Time Horizons62%—

Reasoning Claude Sonnet 4 leads

Claude Sonnet 4: 22.9 (#187), Gemma 3 27B: 16.7 (#301)

Reasoning benchmarks
BenchmarkClaude Sonnet 4Gemma 3 27B
Kagi LLM Benchmark73%40.4%
CritPt0.3%0%
LMArena Hard Prompts13721340
DTBench77.1%52.5%
LMCA29%12.3%
Epoch Capabilities Index141.69130.04
ARC-AGI-25.9%—
SimpleBench45.5%—
ARC-AGI-140%—
Chess Puzzles—0%
EnigmaEval3.1%—
LiveBench Reasoning—43.8%
LiveBench Data Analysis—51.5%
ForecastBench60.2—
LiveBench—50%

Math Claude Sonnet 4 leads

Claude Sonnet 4: 43.3 (#80), Gemma 3 27B: 25.9 (#265)

Math benchmarks
BenchmarkClaude Sonnet 4Gemma 3 27B
OTIS Mock AIME 2024-202571.1%22.5%
LMArena Math13751312
MATH Level 584.4%74%
Omni-MATH60.2%—
LiveBench Math—55.4%
FrontierMath (Feb 2025 set)4.1%—
FrontierMath Tier 4 (v1)0%—

Knowledge Claude Sonnet 4 leads

Claude Sonnet 4: 41.8 (#108), Gemma 3 27B: 25.5 (#261)

Knowledge benchmarks
BenchmarkClaude Sonnet 4Gemma 3 27B
GPQA Diamond79.2%47.7%
Confabulations13.2%40.3%
Vectara Hallucination Rate10.3%7.4%
LMArena Expert13721304
Humanity's Last Exam7.8%—
MMLU-Pro84.3%—
GPQA (HELM)70.6%—

Multimodal Gemma 3 27B leads

Claude Sonnet 4: 26.2 (#121), Gemma 3 27B: 32.6 (#100)

Multimodal benchmarks
BenchmarkClaude Sonnet 4Gemma 3 27B
LMArena Vision11911164
GeoBench37%52%
VPCT34%—
MindCube44.8%—

Multilingual Too close to call

Claude Sonnet 4: 46.7 (#156), Gemma 3 27B: 46.9 (#155)

Multilingual benchmarks
BenchmarkClaude Sonnet 4Gemma 3 27B
LMArena Non-English13331334
LMArena Chinese13501346
LMArena French13631368
LMArena German13311362
LMArena Japanese13021287
LMArena Korean12911308
LMArena Russian13551349
LMArena Spanish13571349

Instruction Following Claude Sonnet 4 leads

Claude Sonnet 4: 71.7 (#145), Gemma 3 27B: 70.6 (#160)

Instruction Following benchmarks
BenchmarkClaude Sonnet 4Gemma 3 27B
LMArena Instruction Following13761321
LiveBench Instruction Following—74.9%
IFEval84%—

Long Context Claude Sonnet 4 leads

Claude Sonnet 4: 33.7 (#259), Gemma 3 27B: 27.6 (#293)

Long Context benchmarks
BenchmarkClaude Sonnet 4Gemma 3 27B
Fiction.LiveBench46.9%33.3%
LMArena Longer Query13981333

Writing & Preference Claude Sonnet 4 leads

Claude Sonnet 4: 57.1 (#132), Gemma 3 27B: 52.5 (#168)

Writing & Preference benchmarks
BenchmarkClaude Sonnet 4Gemma 3 27B
LMArena Text13511358
LMArena Creative Writing13451346
Short-Story Creative Writing81.4%79.9%
EQ-Bench Creative Writing14831266
LMArena Multi-Turn13761345
WildBench83.8%—
LiveBench Language—34.6%

Frequently asked questions

Is Claude Sonnet 4 better than Gemma 3 27B?

Claude Sonnet 4 is the stronger model overall, scoring 40.8 to 30.8 on the Noometry Index. Gemma 3 27B costs 60× less per token, which makes it the better buy when Claude Sonnet 4's lead doesn't matter for your workload.

Which is cheaper, Claude Sonnet 4 or Gemma 3 27B?

Gemma 3 27B is cheaper. It lists at $0.08 per million input tokens and $0.16 per million output tokens; Claude Sonnet 4 lists at $3 and $15.

Is Claude Sonnet 4 or Gemma 3 27B better for coding?

Claude Sonnet 4 scores higher on coding benchmarks: 43.5 versus 22.5 in the Noometry coding category.

Which has the bigger context window?

Claude Sonnet 4 does, with 200K tokens against 131K.

How many benchmarks do Claude Sonnet 4 and Gemma 3 27B share?

34 benchmarks have published results for both models. Claude Sonnet 4 has 58 scored results on Noometry and Gemma 3 27B has 43.

Related comparisons

Go deeper