Model comparison

Gemma 4 31B IT vs Grok 4

Grok 4 is the stronger model overall, scoring 47.8 to 43.2 on the Noometry Index.

Last verified . 21 shared benchmarks.

Gemma 4 31B IT Google

43.2

Rank #85 Confirmed

Grok 4 xAI

47.8

Rank #49 Confirmed

Summary

  • They share 21 benchmarks with published results for both. Gemma 4 31B IT scores higher in 3 categories and Grok 4 in 6 categories; 9 gaps are clear of the uncertainty.
  • The widest gap is in long context, where Grok 4 leads 63.1 to 44.2.
  • The biggest single-benchmark swing is Chess Puzzles: 5% for Gemma 4 31B IT and 28% for Grok 4.
  • Gemma 4 31B IT has downloadable open weights; the other is API-only.

Side by side

Gemma 4 31B IT and Grok 4 specifications
Gemma 4 31B ITGrok 4
ProviderGooglexAI
Noometry Index43.247.8
Released2026-04-022025-07-09
WeightsOpenProprietary
Context window262K—
Max output33K—
Input $ / M tokens$0.09—
Output $ / M tokens$0.34—
Results tracked3548

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

Category by category

Coding Grok 4 leads

Gemma 4 31B IT: 41.9 (#98), Grok 4: 49.9 (#44)

Coding benchmarks
BenchmarkGemma 4 31B ITGrok 4
WeirdML52.3%45.7%
LMArena Coding14591408
Aider Polyglot—79.6%
LMArena WebDev1364—
SciCode43.4%—
ALE-Bench925.5—

Agentic & Tool Use Not comparable

Gemma 4 31B IT: —, Grok 4: 32.1 (#62)

Agentic & Tool Use benchmarks
BenchmarkGemma 4 31B ITGrok 4
Terminal-Bench—27.2%
Berkeley Function Calling Leaderboard—63%
GDPval—21.1%
Cybench—43%
DeepResearch Bench—47.3%
BALROG—43.6%
LMArena Search—1142
METR Time Horizons—66.6%

Reasoning Grok 4 leads

Gemma 4 31B IT: 26.4 (#119), Grok 4: 36.9 (#59)

Reasoning benchmarks
BenchmarkGemma 4 31B ITGrok 4
Kagi LLM Benchmark63.5%73.6%
Chess Puzzles5%28%
LMArena Hard Prompts14481409
Epoch Capabilities Index142.74146.46
ARC-AGI-2—16%
SimpleBench—60.5%
NYT Connections (extended)70.6%—
ARC-AGI-1—66.7%
CritPt1.4%—
Thematic Generalization53%—
DTBench82.7%—
LMCA39.3%—
Surface Evolver Bench30.6%—
ForecastBench—60.9

Math Grok 4 leads

Gemma 4 31B IT: 41.3 (#72), Grok 4: 46.5 (#58)

Math benchmarks
BenchmarkGemma 4 31B ITGrok 4
OTIS Mock AIME 2024-202573.3%84%
LMArena Math14641422
Omni-MATH—60.3%
FrontierMath (Feb 2025 set)—19.7%
FrontierMath Tier 4 (v1)—2.1%

Knowledge Grok 4 leads

Gemma 4 31B IT: 37.9 (#141), Grok 4: 53.7 (#50)

Knowledge benchmarks
BenchmarkGemma 4 31B ITGrok 4
GPQA Diamond75.8%87%
LMArena Expert14651417
SimpleQA Verified10.4%—
MMLU-Pro—85.1%
Confabulations—12.4%
Vectara Hallucination Rate7.4%—
GPQA (HELM)—72.7%

Multimodal Gemma 4 31B IT leads

Gemma 4 31B IT: 41.0 (#32), Grok 4: 33.1 (#89)

Multimodal benchmarks
BenchmarkGemma 4 31B ITGrok 4
LMArena Vision12781211
GeoBench—45%
LMArena Document1425—

Multilingual Gemma 4 31B IT leads

Gemma 4 31B IT: 54.0 (#52), Grok 4: 52.0 (#98)

Multilingual benchmarks
BenchmarkGemma 4 31B ITGrok 4
LMArena Non-English14311403
LMArena Chinese14781428
LMArena French14361418
LMArena Russian14621409
LMArena Spanish14431419
LMArena German—1429
LMArena Japanese—1396
LMArena Korean—1376

Instruction Following Grok 4 leads

Gemma 4 31B IT: 75.6 (#58), Grok 4: 79.4 (#4)

Instruction Following benchmarks
BenchmarkGemma 4 31B ITGrok 4
LMArena Instruction Following14331387
IFEval—94.9%

Long Context Grok 4 leads

Gemma 4 31B IT: 44.2 (#67), Grok 4: 63.1 (#4)

Long Context benchmarks
BenchmarkGemma 4 31B ITGrok 4
LMArena Longer Query14461409
Fiction.LiveBench—94.4%

Writing & Preference Gemma 4 31B IT leads

Gemma 4 31B IT: 60.7 (#92), Grok 4: 58.7 (#111)

Writing & Preference benchmarks
BenchmarkGemma 4 31B ITGrok 4
LMArena Text14431412
LMArena Creative Writing14161397
LMArena Multi-Turn14521416
Short-Story Creative Writing—76.9%
EQ-Bench Creative Writing1368—
WildBench—79.7%
EQ-Bench 41120—

Frequently asked questions

Is Gemma 4 31B IT better than Grok 4?

Grok 4 is the stronger model overall, scoring 47.8 to 43.2 on the Noometry Index.

Is Gemma 4 31B IT or Grok 4 better for coding?

Grok 4 scores higher on coding benchmarks: 49.9 versus 41.9 in the Noometry coding category.

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

21 benchmarks have published results for both models. Gemma 4 31B IT has 35 scored results on Noometry and Grok 4 has 48.

Related comparisons

Go deeper