Model comparison

Gemma 4 31B IT vs Llama 3.1-405B

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

Last verified . 21 shared benchmarks.

Gemma 4 31B IT Google

43.5

Rank #90 Confirmed

Llama 3.1-405B Meta

30.7

Rank #288 Confirmed

Summary

  • They share 21 benchmarks with published results for both. Gemma 4 31B IT scores higher in 8 categories and Llama 3.1-405B 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 18.4.
  • The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 73.3% for Gemma 4 31B IT and 9.7% for Llama 3.1-405B.

Side by side

Gemma 4 31B IT and Llama 3.1-405B specifications
Gemma 4 31B ITLlama 3.1-405B
ProviderGoogleMeta
Noometry Index43.530.7
Released2026-04-022024-07-23
WeightsOpenOpen
Context window262K—
Max output33K—
Input $ / M tokens$0.09—
Output $ / M tokens$0.34—
Results tracked3542

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.1-405B: 33.1 (#262)

Coding benchmarks
BenchmarkGemma 4 31B ITLlama 3.1-405B
WeirdML52.3%21.4%
LMArena Coding14591291
LMArena WebDev1366—
SciCode43.4%—
ALE-Bench925.5—

Agentic & Tool Use Not comparable

Gemma 4 31B IT: —, Llama 3.1-405B: 21.0 (#140)

Agentic & Tool Use benchmarks
BenchmarkGemma 4 31B ITLlama 3.1-405B
TheAgentCompany—7.4%
Cybench—7.5%

Reasoning Gemma 4 31B IT leads

Gemma 4 31B IT: 27.2 (#122), Llama 3.1-405B: 16.8 (#300)

Reasoning benchmarks
BenchmarkGemma 4 31B ITLlama 3.1-405B
Kagi LLM Benchmark63.5%45%
LMArena Hard Prompts14481269
DTBench82.7%61.4%
Epoch Capabilities Index142.74128.75
SimpleBench—23%
NYT Connections (extended)70.6%—
CritPt1.4%—
Chess Puzzles5%—
Thematic Generalization53%—
LMCA39.3%—
Surface Evolver Bench30.6%—
BIG-Bench Hard—82.9%
ForecastBench—59.9
HellaSwag—89.2%
PIQA—85.9%
WinoGrande—89.2%

Math Gemma 4 31B IT leads

Gemma 4 31B IT: 43.2 (#81), Llama 3.1-405B: 18.4 (#290)

Math benchmarks
BenchmarkGemma 4 31B ITLlama 3.1-405B
OTIS Mock AIME 2024-202573.3%9.7%
LMArena Math14651281
Omni-MATH—24.9%
MATH Level 5—49.8%

Knowledge Gemma 4 31B IT leads

Gemma 4 31B IT: 37.9 (#151), Llama 3.1-405B: 30.4 (#227)

Knowledge benchmarks
BenchmarkGemma 4 31B ITLlama 3.1-405B
GPQA Diamond75.8%50.9%
LMArena Expert14651243
SimpleQA Verified10.4%—
MMLU-Pro—72.3%
Confabulations—17.6%
Vectara Hallucination Rate7.4%—
GPQA (HELM)—52.2%
ARC (AI2) Challenge—95.3%
MMLU—84.5%
TriviaQA—82.7%

Multimodal Not comparable

Gemma 4 31B IT: 41.6 (#34), Llama 3.1-405B: —

Multimodal benchmarks
BenchmarkGemma 4 31B ITLlama 3.1-405B
LMArena Vision1277—
LMArena Document1425—

Multilingual Gemma 4 31B IT leads

Gemma 4 31B IT: 53.8 (#57), Llama 3.1-405B: 40.7 (#214)

Multilingual benchmarks
BenchmarkGemma 4 31B ITLlama 3.1-405B
LMArena Non-English14311248
LMArena Chinese14761242
LMArena French14351279
LMArena Russian14601265
LMArena Spanish14441260
LMArena German—1252
LMArena Japanese—1208
LMArena Korean—1184

Instruction Following Gemma 4 31B IT leads

Gemma 4 31B IT: 75.5 (#61), Llama 3.1-405B: 65.9 (#214)

Instruction Following benchmarks
BenchmarkGemma 4 31B ITLlama 3.1-405B
LMArena Instruction Following14331259
IFEval—81.1%

Long Context Gemma 4 31B IT leads

Gemma 4 31B IT: 44.2 (#71), Llama 3.1-405B: 38.4 (#197)

Long Context benchmarks
BenchmarkGemma 4 31B ITLlama 3.1-405B
LMArena Longer Query14461266

Writing & Preference Gemma 4 31B IT leads

Gemma 4 31B IT: 60.5 (#96), Llama 3.1-405B: 38.9 (#251)

Writing & Preference benchmarks
BenchmarkGemma 4 31B ITLlama 3.1-405B
LMArena Text14431284
LMArena Creative Writing14151262
EQ-Bench Creative Writing1368870
LMArena Multi-Turn14521297
WildBench—78.3%
EQ-Bench 41120—

Frequently asked questions

Is Gemma 4 31B IT better than Llama 3.1-405B?

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

Is Gemma 4 31B IT or Llama 3.1-405B better for coding?

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

How many benchmarks do Gemma 4 31B IT and Llama 3.1-405B share?

21 benchmarks have published results for both models. Gemma 4 31B IT has 35 scored results on Noometry and Llama 3.1-405B has 42.

Related comparisons

Go deeper