Model comparison

Claude 3.7 Sonnet vs Gemma 4 31B IT

Gemma 4 31B IT is the stronger model overall, scoring 43.2 to 39.4 on the Noometry Index.

Last verified . 19 shared benchmarks.

Claude 3.7 Sonnet Anthropic

39.4

Rank #154 Confirmed

Gemma 4 31B IT Google

43.2

Rank #85 Confirmed

Summary

  • They share 19 benchmarks with published results for both. Claude 3.7 Sonnet scores higher in 2 categories and Gemma 4 31B IT in 7 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in multilingual, where Gemma 4 31B IT leads 54.0 to 44.3.
  • The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 57.8% for Claude 3.7 Sonnet and 73.3% for Gemma 4 31B IT.
  • Gemma 4 31B IT has downloadable open weights; the other is API-only.

Side by side

Claude 3.7 Sonnet and Gemma 4 31B IT specifications
Claude 3.7 SonnetGemma 4 31B IT
ProviderAnthropicGoogle
Noometry Index39.443.2
Released2025-02-242026-04-02
WeightsProprietaryOpen
Context window—262K
Max output—33K
Input $ / M tokens—$0.09
Output $ / M tokens—$0.34
Results tracked5835

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

Category by category

Coding Too close to call

Claude 3.7 Sonnet: 41.1 (#120), Gemma 4 31B IT: 41.9 (#98)

Coding benchmarks
BenchmarkClaude 3.7 SonnetGemma 4 31B IT
LMArena Coding13611459
SWE-bench Verified61%—
SWE-bench Verified (bash only)52.8%—
Aider Polyglot64.9%—
LMArena WebDev—1364
SciCode—43.4%
GSO3.8%—
WeirdML—52.3%
LiveBench Coding74.5%—
CadEval54%—
ALE-Bench—925.5

Agentic & Tool Use Not comparable

Claude 3.7 Sonnet: 33.9 (#46), Gemma 4 31B IT: —

Agentic & Tool Use benchmarks
BenchmarkClaude 3.7 SonnetGemma 4 31B IT
TheAgentCompany30.9%—
Cybench20%—
DeepResearch Bench43.6%—
OSWorld35.8%—
METR Time Horizons60%—

Reasoning Gemma 4 31B IT leads

Claude 3.7 Sonnet: 18.7 (#252), Gemma 4 31B IT: 26.4 (#119)

Reasoning benchmarks
BenchmarkClaude 3.7 SonnetGemma 4 31B IT
LMArena Hard Prompts13331448
Epoch Capabilities Index141.16142.74
ARC-AGI-20.9%—
SimpleBench46.4%—
Kagi LLM Benchmark—63.5%
NYT Connections (extended)—70.6%
ARC-AGI-128.6%—
CritPt—1.4%
Chess Puzzles—5%
EnigmaEval4.2%—
Thematic Generalization—53%
LiveBench Reasoning87.8%—
DTBench—82.7%
LiveBench Data Analysis74%—
LMCA—39.3%
Surface Evolver Bench—30.6%
ForecastBench61.8—
LiveBench76.1%—

Math Gemma 4 31B IT leads

Claude 3.7 Sonnet: 35.7 (#137), Gemma 4 31B IT: 41.3 (#72)

Math benchmarks
BenchmarkClaude 3.7 SonnetGemma 4 31B IT
OTIS Mock AIME 2024-202557.8%73.3%
LMArena Math13361464
Omni-MATH33%—
LiveBench Math79%—
MATH Level 591.2%—
FrontierMath (Feb 2025 set)4.1%—

Knowledge Claude 3.7 Sonnet leads

Claude 3.7 Sonnet: 39.7 (#117), Gemma 4 31B IT: 37.9 (#141)

Knowledge benchmarks
BenchmarkClaude 3.7 SonnetGemma 4 31B IT
GPQA Diamond79.7%75.8%
LMArena Expert13211465
Humanity's Last Exam8%—
SimpleQA Verified—10.4%
MMLU-Pro78.4%—
Confabulations14.7%—
Vectara Hallucination Rate—7.4%
GPQA (HELM)60.8%—

Multimodal Gemma 4 31B IT leads

Claude 3.7 Sonnet: 33.1 (#90), Gemma 4 31B IT: 41.0 (#32)

Multimodal benchmarks
BenchmarkClaude 3.7 SonnetGemma 4 31B IT
LMArena Vision11691278
GeoBench68%—
VPCT39%—
LMArena Document—1425
SpatialViz-Bench33.9%—

Multilingual Gemma 4 31B IT leads

Claude 3.7 Sonnet: 44.3 (#174), Gemma 4 31B IT: 54.0 (#52)

Multilingual benchmarks
BenchmarkClaude 3.7 SonnetGemma 4 31B IT
LMArena Non-English12961431
LMArena Chinese12991478
LMArena French13021436
LMArena Russian13111462
LMArena Spanish12991443
LMArena German1301—
LMArena Japanese1268—
LMArena Korean1249—

Instruction Following Gemma 4 31B IT leads

Claude 3.7 Sonnet: 73.1 (#120), Gemma 4 31B IT: 75.6 (#58)

Instruction Following benchmarks
BenchmarkClaude 3.7 SonnetGemma 4 31B IT
LMArena Instruction Following13521433
LiveBench Instruction Following81.3%—
IFEval83.4%—

Long Context Claude 3.7 Sonnet leads

Claude 3.7 Sonnet: 50.2 (#10), Gemma 4 31B IT: 44.2 (#67)

Long Context benchmarks
BenchmarkClaude 3.7 SonnetGemma 4 31B IT
LMArena Longer Query13731446
Fiction.LiveBench83.3%—

Writing & Preference Gemma 4 31B IT leads

Claude 3.7 Sonnet: 54.6 (#145), Gemma 4 31B IT: 60.7 (#92)

Writing & Preference benchmarks
BenchmarkClaude 3.7 SonnetGemma 4 31B IT
LMArena Text13141443
LMArena Creative Writing13321416
EQ-Bench Creative Writing14121368
LMArena Multi-Turn13391452
Short-Story Creative Writing81.1%—
WildBench81.4%—
EQ-Bench 4—1120
LiveBench Language59.9%—

Frequently asked questions

Is Claude 3.7 Sonnet better than Gemma 4 31B IT?

Gemma 4 31B IT is the stronger model overall, scoring 43.2 to 39.4 on the Noometry Index.

Is Claude 3.7 Sonnet or Gemma 4 31B IT better for coding?

They score almost the same on coding (41.1 vs 41.9); test both on your own repository before choosing.

How many benchmarks do Claude 3.7 Sonnet and Gemma 4 31B IT share?

19 benchmarks have published results for both models. Claude 3.7 Sonnet has 58 scored results on Noometry and Gemma 4 31B IT has 35.

Related comparisons

Go deeper