Model comparison

Claude Sonnet 4 vs Gemma 2B

Claude Sonnet 4 is the stronger model overall, scoring 40.8 to 29.6 on the Noometry Index.

Last verified . 12 shared benchmarks.

Claude Sonnet 4 Anthropic

40.8

Rank #145 Confirmed

Gemma 2B Google

29.6

Rank #307 Confirmed

Summary

  • They share 12 benchmarks with published results for both. Claude Sonnet 4 scores higher in 7 categories and Gemma 2B in 0 categories; 7 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where Claude Sonnet 4 leads 57.1 to 24.0.
  • Gemma 2B has downloadable open weights; the other is API-only.

Side by side

Claude Sonnet 4 and Gemma 2B specifications
Claude Sonnet 4Gemma 2B
ProviderAnthropicGoogle
Noometry Index40.829.6
Released2025-05-222024-02-21
WeightsProprietaryOpen
Context window200K—
Max output64K—
Input $ / M tokens$3—
Output $ / M tokens$15—
Results tracked5823

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 2B: 29.4 (#305)

Coding benchmarks
BenchmarkClaude Sonnet 4Gemma 2B
LMArena Coding14141010
SWE-bench Verified (bash only)64.9%—
Aider Polyglot61.3%—
SciCode40%—
GSO4.9%—
WeirdML46.1%—
ALE-Bench655.35—
HumanEval+—20.7%
MBPP+—34.1%

Agentic & Tool Use Not comparable

Claude Sonnet 4: 38.5 (#31), Gemma 2B: —

Agentic & Tool Use benchmarks
BenchmarkClaude Sonnet 4Gemma 2B
TheAgentCompany33.1%—
Cybench35%—
DeepResearch Bench46.6%—
OSWorld43.9%—
METR Time Horizons62%—

Reasoning Claude Sonnet 4 leads

Claude Sonnet 4: 22.9 (#187), Gemma 2B: 18.8 (#275)

Reasoning benchmarks
BenchmarkClaude Sonnet 4Gemma 2B
LMArena Hard Prompts1372989
Epoch Capabilities Index141.6994.2
ARC-AGI-25.9%—
SimpleBench45.5%—
Kagi LLM Benchmark73%—
ARC-AGI-140%—
CritPt0.3%—
EnigmaEval3.1%—
DTBench77.1%—
LMCA29%—
BIG-Bench Hard—35.2%
ForecastBench60.2—
HellaSwag—71.4%
PIQA—77.3%
WinoGrande—65.4%

Math Claude Sonnet 4 leads

Claude Sonnet 4: 43.3 (#80), Gemma 2B: 30.0 (#239)

Math benchmarks
BenchmarkClaude Sonnet 4Gemma 2B
LMArena Math13751009
OTIS Mock AIME 2024-202571.1%—
Omni-MATH60.2%—
MATH Level 584.4%—
FrontierMath (Feb 2025 set)4.1%—
FrontierMath Tier 4 (v1)0%—
GSM8K—17.7%

Knowledge Not comparable

Claude Sonnet 4: 41.8 (#108), Gemma 2B: —

Knowledge benchmarks
BenchmarkClaude Sonnet 4Gemma 2B
GPQA Diamond79.2%—
Humanity's Last Exam7.8%—
MMLU-Pro84.3%—
Confabulations13.2%—
Vectara Hallucination Rate10.3%—
GPQA (HELM)70.6%—
LMArena Expert1372—
ARC (AI2) Challenge—42.1%
BoolQ—69.4%
MMLU—42.3%
TriviaQA—53.2%

Multimodal Not comparable

Claude Sonnet 4: 26.2 (#121), Gemma 2B: —

Multimodal benchmarks
BenchmarkClaude Sonnet 4Gemma 2B
LMArena Vision1191—
GeoBench37%—
VPCT34%—
MindCube44.8%—

Multilingual Claude Sonnet 4 leads

Claude Sonnet 4: 46.7 (#156), Gemma 2B: 23.0 (#294)

Multilingual benchmarks
BenchmarkClaude Sonnet 4Gemma 2B
LMArena Non-English1333958
LMArena Chinese1350986
LMArena Russian1355937
LMArena French1363—
LMArena German1331—
LMArena Japanese1302—
LMArena Korean1291—
LMArena Spanish1357—

Instruction Following Claude Sonnet 4 leads

Claude Sonnet 4: 71.7 (#145), Gemma 2B: 48.5 (#302)

Instruction Following benchmarks
BenchmarkClaude Sonnet 4Gemma 2B
LMArena Instruction Following1376970
IFEval84%—

Long Context Claude Sonnet 4 leads

Claude Sonnet 4: 33.7 (#259), Gemma 2B: 29.9 (#291)

Long Context benchmarks
BenchmarkClaude Sonnet 4Gemma 2B
LMArena Longer Query1398981
Fiction.LiveBench46.9%—

Writing & Preference Claude Sonnet 4 leads

Claude Sonnet 4: 57.1 (#132), Gemma 2B: 24.0 (#308)

Writing & Preference benchmarks
BenchmarkClaude Sonnet 4Gemma 2B
LMArena Text13511002
LMArena Creative Writing1345987
LMArena Multi-Turn1376945
Short-Story Creative Writing81.4%—
EQ-Bench Creative Writing1483—
WildBench83.8%—

Frequently asked questions

Is Claude Sonnet 4 better than Gemma 2B?

Claude Sonnet 4 is the stronger model overall, scoring 40.8 to 29.6 on the Noometry Index.

Is Claude Sonnet 4 or Gemma 2B better for coding?

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

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

12 benchmarks have published results for both models. Claude Sonnet 4 has 58 scored results on Noometry and Gemma 2B has 23.

Related comparisons

Go deeper