Model comparison

Gemma 4 31B IT vs Grok-2 (Dec 2024)

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

Last verified . 19 shared benchmarks.

Gemma 4 31B IT Google

43.5

Rank #90 Confirmed

Grok-2 (Dec 2024) xAI

33.7

Rank #239 Confirmed

Summary

  • They share 19 benchmarks with published results for both. Gemma 4 31B IT scores higher in 8 categories and Grok-2 (Dec 2024) 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 20.8.
  • The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 73.3% for Gemma 4 31B IT and 11.5% for Grok-2 (Dec 2024).
  • Gemma 4 31B IT has downloadable open weights; the other is API-only.

Side by side

Gemma 4 31B IT and Grok-2 (Dec 2024) specifications
Gemma 4 31B ITGrok-2 (Dec 2024)
ProviderGooglexAI
Noometry Index43.533.7
Released2026-04-022024-08-13
WeightsOpenProprietary
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), Grok-2 (Dec 2024): 33.3 (#258)

Coding benchmarks
BenchmarkGemma 4 31B ITGrok-2 (Dec 2024)
WeirdML52.3%22.2%
LMArena Coding14591287
LMArena WebDev1366—
SciCode43.4%—
LiveBench Coding—46.4%
ALE-Bench925.5—

Reasoning Gemma 4 31B IT leads

Gemma 4 31B IT: 27.2 (#122), Grok-2 (Dec 2024): 16.9 (#299)

Reasoning benchmarks
BenchmarkGemma 4 31B ITGrok-2 (Dec 2024)
LMArena Hard Prompts14481272
DTBench82.7%65.2%
Epoch Capabilities Index142.74130.48
SimpleBench—22.7%
Kagi LLM Benchmark63.5%—
NYT Connections (extended)70.6%—
CritPt1.4%—
Chess Puzzles5%—
Thematic Generalization53%—
LiveBench Reasoning—54.8%
LiveBench Data Analysis—54.5%
LMCA39.3%—
Surface Evolver Bench30.6%—
LiveBench—54.3%

Math Gemma 4 31B IT leads

Gemma 4 31B IT: 43.2 (#81), Grok-2 (Dec 2024): 20.8 (#284)

Math benchmarks
BenchmarkGemma 4 31B ITGrok-2 (Dec 2024)
OTIS Mock AIME 2024-202573.3%11.5%
LMArena Math14651283
LiveBench Math—54.9%
MATH Level 5—63.5%
FrontierMath (Feb 2025 set)—0.7%

Knowledge Gemma 4 31B IT leads

Gemma 4 31B IT: 37.9 (#151), Grok-2 (Dec 2024): 29.8 (#233)

Knowledge benchmarks
BenchmarkGemma 4 31B ITGrok-2 (Dec 2024)
GPQA Diamond75.8%53.8%
LMArena Expert14651254
SimpleQA Verified10.4%—
Confabulations—20.1%
Vectara Hallucination Rate7.4%—

Multimodal Not comparable

Gemma 4 31B IT: 41.6 (#34), Grok-2 (Dec 2024): —

Multimodal benchmarks
BenchmarkGemma 4 31B ITGrok-2 (Dec 2024)
LMArena Vision1277—
LMArena Document1425—

Multilingual Gemma 4 31B IT leads

Gemma 4 31B IT: 53.8 (#57), Grok-2 (Dec 2024): 43.1 (#188)

Multilingual benchmarks
BenchmarkGemma 4 31B ITGrok-2 (Dec 2024)
LMArena Non-English14311282
LMArena Chinese14761289
LMArena French14351318
LMArena Russian14601286
LMArena Spanish14441281
LMArena German—1287
LMArena Japanese—1244
LMArena Korean—1237

Instruction Following Gemma 4 31B IT leads

Gemma 4 31B IT: 75.5 (#61), Grok-2 (Dec 2024): 66.9 (#202)

Instruction Following benchmarks
BenchmarkGemma 4 31B ITGrok-2 (Dec 2024)
LMArena Instruction Following14331270
LiveBench Instruction Following—69.6%

Long Context Gemma 4 31B IT leads

Gemma 4 31B IT: 44.2 (#71), Grok-2 (Dec 2024): 38.8 (#190)

Long Context benchmarks
BenchmarkGemma 4 31B ITGrok-2 (Dec 2024)
LMArena Longer Query14461276

Writing & Preference Gemma 4 31B IT leads

Gemma 4 31B IT: 60.5 (#96), Grok-2 (Dec 2024): 48.6 (#198)

Writing & Preference benchmarks
BenchmarkGemma 4 31B ITGrok-2 (Dec 2024)
LMArena Text14431305
LMArena Creative Writing14151284
LMArena Multi-Turn14521290
Short-Story Creative Writing—63.6%
EQ-Bench Creative Writing1368—
EQ-Bench 41120—
LiveBench Language—45.6%

Frequently asked questions

Is Gemma 4 31B IT better than Grok-2 (Dec 2024)?

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

Is Gemma 4 31B IT or Grok-2 (Dec 2024) better for coding?

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

How many benchmarks do Gemma 4 31B IT and Grok-2 (Dec 2024) share?

19 benchmarks have published results for both models. Gemma 4 31B IT has 35 scored results on Noometry and Grok-2 (Dec 2024) has 34.

Related comparisons

Go deeper