Model comparison

Claude Sonnet 5 vs Gemma 3 4B

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

Last verified . 19 shared benchmarks.

Claude Sonnet 5 Anthropic

54.6

Rank #29 Confirmed

Gemma 3 4B Google

28.1

Rank #326 Confirmed

Summary

  • They share 19 benchmarks with published results for both. Claude Sonnet 5 scores higher in 9 categories and Gemma 3 4B in 0 categories; 9 gaps are clear of the uncertainty.
  • The widest gap is in math, where Claude Sonnet 5 leads 66.2 to 16.8.
  • The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 94.7% for Claude Sonnet 5 and 7.5% for Gemma 3 4B.
  • Gemma 3 4B is cheaper at $0.04 / $0.08 per million input/output tokens, against $2 / $10 for Claude Sonnet 5.
  • Claude Sonnet 5 accepts more context: 1M tokens versus 131K.
  • Gemma 3 4B has downloadable open weights; the other is API-only.

Side by side

Claude Sonnet 5 and Gemma 3 4B specifications
Claude Sonnet 5Gemma 3 4B
ProviderAnthropicGoogle
Noometry Index54.628.1
Released2026-06-292025-03-12
WeightsProprietaryOpen
Context window1M131K
Max output128K4K
Input $ / M tokens$2$0.04
Output $ / M tokens$10$0.08
Results tracked5122

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 3 4B: 35.9 (#215)

Coding benchmarks
BenchmarkClaude Sonnet 5Gemma 3 4B
LMArena Coding14831230
DeepSWE53.8%—
FrontierCode42.7%—
CursorBench34.1%—
LMArena WebDev1541—
SciCode54.3%—
GSO37.3%—
WeirdML68.8%—
ALE-Bench1,463—

Agentic & Tool Use Claude Sonnet 5 leads

Claude Sonnet 5: 42.8 (#18), Gemma 3 4B: 20.9 (#142)

Agentic & Tool Use benchmarks
BenchmarkClaude Sonnet 5Gemma 3 4B
APEX-Agents54.5%—
Berkeley Function Calling Leaderboard—19.6%
GBAEval65.3%—
LMArena Search1194—
Vending-Bench 26,378—

Reasoning Claude Sonnet 5 leads

Claude Sonnet 5: 49.1 (#39), Gemma 3 4B: 13.2 (#335)

Reasoning benchmarks
BenchmarkClaude Sonnet 5Gemma 3 4B
Chess Puzzles35%0%
LMArena Hard Prompts14611253
DTBench92.5%50.9%
LMCA50%2.8%
Epoch Capabilities Index156.21116.02
SimpleBench60.6%—
Kagi LLM Benchmark—25.2%
NYT Connections (extended)75.1%—
CritPt16.9%—
Mystery Game Puzzles35%—
Surface Evolver Bench60%—
Bench to the Future 30.14—
ForecastBench61.1—

Math Claude Sonnet 5 leads

Claude Sonnet 5: 66.2 (#27), Gemma 3 4B: 16.8 (#292)

Math benchmarks
BenchmarkClaude Sonnet 5Gemma 3 4B
OTIS Mock AIME 2024-202594.7%7.5%
LMArena Math14671239
FrontierMath (Tiers 1-3)65.6%—
FrontierMath Tier 429.3%—
ProofBench77%—

Knowledge Claude Sonnet 5 leads

Claude Sonnet 5: 55.6 (#47), Gemma 3 4B: 11.8 (#299)

Knowledge benchmarks
BenchmarkClaude Sonnet 5Gemma 3 4B
GPQA Diamond90.5%23.2%
LMArena Expert14901223
SimpleQA Verified33.7%—
Vectara Hallucination Rate—6.4%

Multimodal Not comparable

Claude Sonnet 5: 42.4 (#31), Gemma 3 4B: —

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

Multilingual Claude Sonnet 5 leads

Claude Sonnet 5: 53.8 (#55), Gemma 3 4B: 42.5 (#194)

Multilingual benchmarks
BenchmarkClaude Sonnet 5Gemma 3 4B
LMArena Non-English14311273
LMArena German14401281
LMArena Russian14511294
LMArena Chinese1477—
LMArena French1460—
LMArena Japanese1422—
LMArena Korean1411—
LMArena Spanish1437—

Instruction Following Claude Sonnet 5 leads

Claude Sonnet 5: 76.3 (#41), Gemma 3 4B: 65.2 (#225)

Instruction Following benchmarks
BenchmarkClaude Sonnet 5Gemma 3 4B
LMArena Instruction Following14521239

Long Context Claude Sonnet 5 leads

Claude Sonnet 5: 44.8 (#55), Gemma 3 4B: 38.7 (#194)

Long Context benchmarks
BenchmarkClaude Sonnet 5Gemma 3 4B
LMArena Longer Query14631273

Writing & Preference Claude Sonnet 5 leads

Claude Sonnet 5: 69.2 (#25), Gemma 3 4B: 42.0 (#239)

Writing & Preference benchmarks
BenchmarkClaude Sonnet 5Gemma 3 4B
LMArena Text14421291
LMArena Creative Writing14161271
EQ-Bench Creative Writing17941068
LMArena Multi-Turn14541255
EQ-Bench 41236—

Frequently asked questions

Is Claude Sonnet 5 better than Gemma 3 4B?

Claude Sonnet 5 is the stronger model overall, scoring 54.6 to 28.1 on the Noometry Index. Gemma 3 4B costs 80× 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 3 4B?

Gemma 3 4B is cheaper. It lists at $0.04 per million input tokens and $0.08 per million output tokens; Claude Sonnet 5 lists at $2 and $10.

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

Claude Sonnet 5 scores higher on coding benchmarks: 55.5 versus 35.9 in the Noometry coding category.

Which has the bigger context window?

Claude Sonnet 5 does, with 1M tokens against 131K.

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

19 benchmarks have published results for both models. Claude Sonnet 5 has 51 scored results on Noometry and Gemma 3 4B has 22.

Related comparisons

Go deeper