Model comparison

Gemma 4 31B IT vs Llama 3-8B

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

Last verified . 19 shared benchmarks.

Gemma 4 31B IT Google

43.5

Rank #90 Confirmed

Llama 3-8B Meta

25.5

Rank #344 Confirmed

Summary

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

Side by side

Gemma 4 31B IT and Llama 3-8B specifications
Gemma 4 31B ITLlama 3-8B
ProviderGoogleMeta
Noometry Index43.525.5
Released2026-04-022024-04-18
WeightsOpenOpen
Context window262K—
Max output33K—
Input $ / M tokens$0.09—
Output $ / M tokens$0.34—
Results tracked3534

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

Category by category

Coding Gemma 4 31B IT leads

Gemma 4 31B IT: 42.3 (#108), Llama 3-8B: 31.0 (#289)

Coding benchmarks
BenchmarkGemma 4 31B ITLlama 3-8B
LMArena Coding14591152
LMArena WebDev1366—
SciCode43.4%—
WeirdML52.3%—
BigCodeBench Instruct—31.9%
BigCodeBench Complete—36.9%
ALE-Bench925.5—
HumanEval+—56.7%
MBPP+—54.8%

Reasoning Gemma 4 31B IT leads

Gemma 4 31B IT: 27.2 (#122), Llama 3-8B: 14.3 (#326)

Reasoning benchmarks
BenchmarkGemma 4 31B ITLlama 3-8B
Chess Puzzles5%0%
LMArena Hard Prompts14481133
DTBench82.7%43.9%
Epoch Capabilities Index142.74116.45
Kagi LLM Benchmark63.5%—
NYT Connections (extended)70.6%—
CritPt1.4%—
Thematic Generalization53%—
LMCA39.3%—
Surface Evolver Bench30.6%—
Adversarial NLI—57.3%
ForecastBench—58.6
WinoGrande—75.7%

Math Gemma 4 31B IT leads

Gemma 4 31B IT: 43.2 (#81), Llama 3-8B: 8.8 (#323)

Math benchmarks
BenchmarkGemma 4 31B ITLlama 3-8B
OTIS Mock AIME 2024-202573.3%1.9%
LMArena Math14651151
MATH Level 5—6.1%

Knowledge Gemma 4 31B IT leads

Gemma 4 31B IT: 37.9 (#151), Llama 3-8B: 7.8 (#308)

Knowledge benchmarks
BenchmarkGemma 4 31B ITLlama 3-8B
GPQA Diamond75.8%26.1%
LMArena Expert14651113
SimpleQA Verified10.4%—
Vectara Hallucination Rate7.4%—
ARC (AI2) Challenge—82.8%
MMLU—68.8%
OpenBookQA—82.6%
TriviaQA—67.7%

Multimodal Not comparable

Gemma 4 31B IT: 41.6 (#34), Llama 3-8B: —

Multimodal benchmarks
BenchmarkGemma 4 31B ITLlama 3-8B
LMArena Vision1277—
LMArena Document1425—

Multilingual Gemma 4 31B IT leads

Gemma 4 31B IT: 53.8 (#57), Llama 3-8B: 30.8 (#261)

Multilingual benchmarks
BenchmarkGemma 4 31B ITLlama 3-8B
LMArena Non-English14311098
LMArena Chinese14761076
LMArena French14351159
LMArena Russian14601109
LMArena Spanish14441173
LMArena German—1104
LMArena Japanese—967
LMArena Korean—1004

Instruction Following Gemma 4 31B IT leads

Gemma 4 31B IT: 75.5 (#61), Llama 3-8B: 58.4 (#260)

Instruction Following benchmarks
BenchmarkGemma 4 31B ITLlama 3-8B
LMArena Instruction Following14331127

Long Context Gemma 4 31B IT leads

Gemma 4 31B IT: 44.2 (#71), Llama 3-8B: 34.2 (#251)

Long Context benchmarks
BenchmarkGemma 4 31B ITLlama 3-8B
LMArena Longer Query14461128

Writing & Preference Gemma 4 31B IT leads

Gemma 4 31B IT: 60.5 (#96), Llama 3-8B: 37.5 (#256)

Writing & Preference benchmarks
BenchmarkGemma 4 31B ITLlama 3-8B
LMArena Text14431166
LMArena Creative Writing14151150
LMArena Multi-Turn14521152
EQ-Bench Creative Writing1368—
EQ-Bench 41120—

Frequently asked questions

Is Gemma 4 31B IT better than Llama 3-8B?

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

Is Gemma 4 31B IT or Llama 3-8B better for coding?

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

How many benchmarks do Gemma 4 31B IT and Llama 3-8B share?

19 benchmarks have published results for both models. Gemma 4 31B IT has 35 scored results on Noometry and Llama 3-8B has 34.

Related comparisons

Go deeper