Model comparison

Gemma 4 31B IT vs Llama 3.1-70B

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

Last verified . 21 shared benchmarks.

Gemma 4 31B IT Google

43.2

Rank #85 Confirmed

Llama 3.1-70B Meta

29.4

Rank #299 Confirmed

Summary

  • They share 21 benchmarks with published results for both. Gemma 4 31B IT scores higher in 8 categories and Llama 3.1-70B in 0 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in math, where Gemma 4 31B IT leads 41.3 to 12.7.
  • The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 73.3% for Gemma 4 31B IT and 3.6% for Llama 3.1-70B.
  • Gemma 4 31B IT is cheaper at $0.09 / $0.34 per million input/output tokens, against $0.40 / $0.40 for Llama 3.1-70B.
  • Gemma 4 31B IT accepts more context: 262K tokens versus 128K.

Side by side

Gemma 4 31B IT and Llama 3.1-70B specifications
Gemma 4 31B ITLlama 3.1-70B
ProviderGoogleMeta
Noometry Index43.229.4
Released2026-04-022024-07-23
WeightsOpenOpen
Context window262K128K
Max output33K4K
Input $ / M tokens$0.09$0.40
Output $ / M tokens$0.34$0.40
Results tracked3535

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: 41.9 (#98), Llama 3.1-70B: 29.8 (#292)

Coding benchmarks
BenchmarkGemma 4 31B ITLlama 3.1-70B
WeirdML52.3%9%
LMArena Coding14591260
LMArena WebDev1364—
SciCode43.4%—
BigCodeBench Instruct—46.1%
BigCodeBench Complete—54.8%
ALE-Bench925.5—

Agentic & Tool Use Not comparable

Gemma 4 31B IT: —, Llama 3.1-70B: 24.9 (#104)

Agentic & Tool Use benchmarks
BenchmarkGemma 4 31B ITLlama 3.1-70B
TheAgentCompany—6.9%
BALROG—27.9%

Reasoning Gemma 4 31B IT leads

Gemma 4 31B IT: 26.4 (#119), Llama 3.1-70B: 20.8 (#215)

Reasoning benchmarks
BenchmarkGemma 4 31B ITLlama 3.1-70B
LMArena Hard Prompts14481241
DTBench82.7%60%
LMCA39.3%14.8%
Epoch Capabilities Index142.74125.91
Kagi LLM Benchmark63.5%—
NYT Connections (extended)70.6%—
CritPt1.4%—
Chess Puzzles5%—
Thematic Generalization53%—
Surface Evolver Bench30.6%—

Math Gemma 4 31B IT leads

Gemma 4 31B IT: 41.3 (#72), Llama 3.1-70B: 12.7 (#298)

Math benchmarks
BenchmarkGemma 4 31B ITLlama 3.1-70B
OTIS Mock AIME 2024-202573.3%3.6%
LMArena Math14641252
Omni-MATH—21%
MATH Level 5—36.7%

Knowledge Gemma 4 31B IT leads

Gemma 4 31B IT: 37.9 (#141), Llama 3.1-70B: 24.1 (#264)

Knowledge benchmarks
BenchmarkGemma 4 31B ITLlama 3.1-70B
GPQA Diamond75.8%44.2%
LMArena Expert14651209
SimpleQA Verified10.4%—
MMLU-Pro—65.3%
Vectara Hallucination Rate7.4%—
GPQA (HELM)—42.6%
MMLU—80.1%

Multimodal Not comparable

Gemma 4 31B IT: 41.0 (#32), Llama 3.1-70B: —

Multimodal benchmarks
BenchmarkGemma 4 31B ITLlama 3.1-70B
LMArena Vision1278—
LMArena Document1425—

Multilingual Gemma 4 31B IT leads

Gemma 4 31B IT: 54.0 (#52), Llama 3.1-70B: 38.9 (#220)

Multilingual benchmarks
BenchmarkGemma 4 31B ITLlama 3.1-70B
LMArena Non-English14311219
LMArena Chinese14781215
LMArena French14361260
LMArena Russian14621234
LMArena Spanish14431253
LMArena German—1222
LMArena Japanese—1132
LMArena Korean—1140

Instruction Following Gemma 4 31B IT leads

Gemma 4 31B IT: 75.6 (#58), Llama 3.1-70B: 65.5 (#218)

Instruction Following benchmarks
BenchmarkGemma 4 31B ITLlama 3.1-70B
LMArena Instruction Following14331231
IFEval—82.1%

Long Context Gemma 4 31B IT leads

Gemma 4 31B IT: 44.2 (#67), Llama 3.1-70B: 37.6 (#208)

Long Context benchmarks
BenchmarkGemma 4 31B ITLlama 3.1-70B
LMArena Longer Query14461241

Writing & Preference Gemma 4 31B IT leads

Gemma 4 31B IT: 60.7 (#92), Llama 3.1-70B: 35.6 (#262)

Writing & Preference benchmarks
BenchmarkGemma 4 31B ITLlama 3.1-70B
LMArena Text14431261
LMArena Creative Writing14161232
EQ-Bench Creative Writing1368784
LMArena Multi-Turn14521256
WildBench—75.8%
EQ-Bench 41120—

Frequently asked questions

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

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

Which is cheaper, Gemma 4 31B IT or Llama 3.1-70B?

Gemma 4 31B IT is cheaper. It lists at $0.09 per million input tokens and $0.34 per million output tokens; Llama 3.1-70B lists at $0.40 and $0.40.

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

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

Which has the bigger context window?

Gemma 4 31B IT does, with 262K tokens against 128K.

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

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

Related comparisons

Go deeper