Model comparison

Grok 4 vs Llama 3.1-8B

Grok 4 is the stronger model overall, scoring 48.1 to 23.0 on the Noometry Index.

Last verified . 29 shared benchmarks.

Grok 4 xAI

48.1

Rank #56 Confirmed

Llama 3.1-8B Meta

23.0

Rank #352 Confirmed

Summary

  • They share 29 benchmarks with published results for both. Grok 4 scores higher in 9 categories and Llama 3.1-8B in 0 categories; 9 gaps are clear of the uncertainty.
  • The widest gap is in knowledge, where Grok 4 leads 53.8 to 8.0.
  • The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 84% for Grok 4 and 1.7% for Llama 3.1-8B.
  • Llama 3.1-8B has downloadable open weights; the other is API-only.

Side by side

Grok 4 and Llama 3.1-8B specifications
Grok 4Llama 3.1-8B
ProviderxAIMeta
Noometry Index48.123.0
Released2025-07-092024-07-23
WeightsProprietaryOpen
Context window—128K
Max output—4K
Input $ / M tokens—$0.05
Output $ / M tokens—$0.08
Results tracked4843

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

Category by category

Coding Grok 4 leads

Grok 4: 50.3 (#46), Llama 3.1-8B: 20.2 (#340)

Coding benchmarks
BenchmarkGrok 4Llama 3.1-8B
WeirdML45.7%1.7%
LMArena Coding14081195
Aider Polyglot79.6%—
SciCode—13.2%
BigCodeBench Instruct—32.8%
BigCodeBench Complete—40.5%
HumanEval+—62.8%
MBPP+—55.6%

Agentic & Tool Use Grok 4 leads

Grok 4: 32.3 (#68), Llama 3.1-8B: 22.5 (#131)

Agentic & Tool Use benchmarks
BenchmarkGrok 4Llama 3.1-8B
Berkeley Function Calling Leaderboard63%25.8%
BALROG43.6%15.1%
Terminal-Bench27.2%—
GDPval21.1%—
Cybench43%—
DeepResearch Bench47.3%—
LMArena Search1142—
METR Time Horizons66.6%—

Reasoning Grok 4 leads

Grok 4: 36.7 (#65), Llama 3.1-8B: 14.9 (#321)

Reasoning benchmarks
BenchmarkGrok 4Llama 3.1-8B
Chess Puzzles28%0%
LMArena Hard Prompts14091175
Epoch Capabilities Index146.44116.57
ARC-AGI-216%—
SimpleBench60.5%—
Kagi LLM Benchmark73.6%—
ARC-AGI-166.7%—
CritPt—0%
DTBench—50.9%
LMCA—5.4%
ForecastBench60.9—
PIQA—81.2%

Math Grok 4 leads

Grok 4: 48.4 (#64), Llama 3.1-8B: 10.2 (#317)

Math benchmarks
BenchmarkGrok 4Llama 3.1-8B
OTIS Mock AIME 2024-202584%1.7%
Omni-MATH60.3%13.7%
LMArena Math14221179
MATH Level 5—22.9%
FrontierMath (Feb 2025 set)19.7%—
FrontierMath Tier 4 (v1)2.1%—
GSM8K—82.4%

Knowledge Grok 4 leads

Grok 4: 53.8 (#55), Llama 3.1-8B: 8.0 (#307)

Knowledge benchmarks
BenchmarkGrok 4Llama 3.1-8B
GPQA Diamond87%27%
MMLU-Pro85.1%40.6%
GPQA (HELM)72.7%24.7%
LMArena Expert14151144
Confabulations12.4%—
BoolQ—82.8%
MMLU—56.1%

Multimodal Not comparable

Grok 4: 33.7 (#94), Llama 3.1-8B: —

Multimodal benchmarks
BenchmarkGrok 4Llama 3.1-8B
LMArena Vision1210—
GeoBench45%—

Multilingual Grok 4 leads

Grok 4: 51.8 (#103), Llama 3.1-8B: 34.0 (#249)

Multilingual benchmarks
BenchmarkGrok 4Llama 3.1-8B
LMArena Non-English14031148
LMArena Chinese14271151
LMArena French14181177
LMArena German14291144
LMArena Japanese13941061
LMArena Korean13771053
LMArena Russian14101158
LMArena Spanish14201169

Instruction Following Grok 4 leads

Grok 4: 79.2 (#5), Llama 3.1-8B: 58.9 (#258)

Instruction Following benchmarks
BenchmarkGrok 4Llama 3.1-8B
IFEval94.9%74.3%
LMArena Instruction Following13871159

Long Context Grok 4 leads

Grok 4: 63.1 (#4), Llama 3.1-8B: 35.8 (#238)

Long Context benchmarks
BenchmarkGrok 4Llama 3.1-8B
LMArena Longer Query14091182
Fiction.LiveBench94.4%—

Writing & Preference Grok 4 leads

Grok 4: 58.5 (#116), Llama 3.1-8B: 29.7 (#290)

Writing & Preference benchmarks
BenchmarkGrok 4Llama 3.1-8B
LMArena Text14111187
LMArena Creative Writing13971154
WildBench79.7%68.7%
LMArena Multi-Turn14161172
Short-Story Creative Writing76.9%—
EQ-Bench Creative Writing—713

Frequently asked questions

Is Grok 4 better than Llama 3.1-8B?

Grok 4 is the stronger model overall, scoring 48.1 to 23.0 on the Noometry Index.

Is Grok 4 or Llama 3.1-8B better for coding?

Grok 4 scores higher on coding benchmarks: 50.3 versus 20.2 in the Noometry coding category.

How many benchmarks do Grok 4 and Llama 3.1-8B share?

29 benchmarks have published results for both models. Grok 4 has 48 scored results on Noometry and Llama 3.1-8B has 43.

Related comparisons

Go deeper