Model comparison

Gemma 2 9B vs Gemma 4 31B IT

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

Last verified . 18 shared benchmarks.

Gemma 2 9B Google

25.9

Rank #341 Confirmed

Gemma 4 31B IT Google

43.5

Rank #90 Confirmed

Summary

  • They share 18 benchmarks with published results for both. Gemma 2 9B scores higher in 0 categories and Gemma 4 31B IT in 8 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in math, where Gemma 4 31B IT leads 43.2 to 9.9.
  • The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 0.6% for Gemma 2 9B and 73.3% for Gemma 4 31B IT.

Side by side

Gemma 2 9B and Gemma 4 31B IT specifications
Gemma 2 9BGemma 4 31B IT
ProviderGoogleGoogle
Noometry Index25.943.5
Released2024-06-242026-04-02
WeightsOpenOpen
Context window—262K
Max output—33K
Input $ / M tokens—$0.09
Output $ / M tokens—$0.34
Results tracked3535

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

Category by category

Coding Gemma 4 31B IT leads

Gemma 2 9B: 29.4 (#304), Gemma 4 31B IT: 42.3 (#108)

Coding benchmarks
BenchmarkGemma 2 9BGemma 4 31B IT
LMArena Coding11731459
LMArena WebDev—1366
SciCode—43.4%
WeirdML—52.3%
BigCodeBench Instruct34.7%—
LiveBench Coding22.5%—
BigCodeBench Complete40.6%—
ALE-Bench—925.5

Reasoning Gemma 4 31B IT leads

Gemma 2 9B: 15.9 (#309), Gemma 4 31B IT: 27.2 (#122)

Reasoning benchmarks
BenchmarkGemma 2 9BGemma 4 31B IT
LMArena Hard Prompts11711448
Epoch Capabilities Index119.83142.74
Kagi LLM Benchmark—63.5%
NYT Connections (extended)—70.6%
CritPt—1.4%
Chess Puzzles—5%
Thematic Generalization—53%
LiveBench Reasoning15.2%—
DTBench—82.7%
LiveBench Data Analysis36.4%—
LMCA—39.3%
Surface Evolver Bench—30.6%
LiveBench28.7%—
PIQA83.7%—

Math Gemma 4 31B IT leads

Gemma 2 9B: 9.9 (#318), Gemma 4 31B IT: 43.2 (#81)

Math benchmarks
BenchmarkGemma 2 9BGemma 4 31B IT
OTIS Mock AIME 2024-20250.6%73.3%
LMArena Math11831465
LiveBench Math19.8%—
MATH Level 521%—
GSM8K84.9%—

Knowledge Gemma 4 31B IT leads

Gemma 2 9B: 9.7 (#305), Gemma 4 31B IT: 37.9 (#151)

Knowledge benchmarks
BenchmarkGemma 2 9BGemma 4 31B IT
GPQA Diamond27.5%75.8%
LMArena Expert11471465
SimpleQA Verified—10.4%
Vectara Hallucination Rate—7.4%
BoolQ85.7%—
MMLU72.1%—

Multimodal Not comparable

Gemma 2 9B: —, Gemma 4 31B IT: 41.6 (#34)

Multimodal benchmarks
BenchmarkGemma 2 9BGemma 4 31B IT
LMArena Vision—1277
LMArena Document—1425

Multilingual Gemma 4 31B IT leads

Gemma 2 9B: 36.6 (#238), Gemma 4 31B IT: 53.8 (#57)

Multilingual benchmarks
BenchmarkGemma 2 9BGemma 4 31B IT
LMArena Non-English11881431
LMArena Chinese11851476
LMArena French11901435
LMArena Russian12001460
LMArena Spanish12001444
LMArena German1186—
LMArena Japanese1144—
LMArena Korean1137—

Instruction Following Gemma 4 31B IT leads

Gemma 2 9B: 57.6 (#269), Gemma 4 31B IT: 75.5 (#61)

Instruction Following benchmarks
BenchmarkGemma 2 9BGemma 4 31B IT
LMArena Instruction Following11781433
LiveBench Instruction Following52.6%—

Long Context Gemma 4 31B IT leads

Gemma 2 9B: 36.3 (#233), Gemma 4 31B IT: 44.2 (#71)

Long Context benchmarks
BenchmarkGemma 2 9BGemma 4 31B IT
LMArena Longer Query11971446

Writing & Preference Gemma 4 31B IT leads

Gemma 2 9B: 32.1 (#281), Gemma 4 31B IT: 60.5 (#96)

Writing & Preference benchmarks
BenchmarkGemma 2 9BGemma 4 31B IT
LMArena Text12071443
LMArena Creative Writing12061415
EQ-Bench Creative Writing8411368
LMArena Multi-Turn11931452
EQ-Bench 4—1120
LiveBench Language25.5%—

Frequently asked questions

Is Gemma 2 9B better than Gemma 4 31B IT?

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

Is Gemma 2 9B or Gemma 4 31B IT better for coding?

Gemma 4 31B IT scores higher on coding benchmarks: 42.3 versus 29.4 in the Noometry coding category.

How many benchmarks do Gemma 2 9B and Gemma 4 31B IT share?

18 benchmarks have published results for both models. Gemma 2 9B has 35 scored results on Noometry and Gemma 4 31B IT has 35.

Related comparisons

Go deeper