Model comparison

Codellama 34b Instruct vs Grok 4

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

Last verified . 10 shared benchmarks.

Codellama 34b Instruct Meta

30.8

Rank #287 Confirmed

Grok 4 xAI

48.1

Rank #56 Confirmed

Summary

  • They share 10 benchmarks with published results for both. Codellama 34b Instruct scores higher in 0 categories and Grok 4 in 7 categories; 7 gaps are clear of the uncertainty.
  • The widest gap is in long context, where Grok 4 leads 63.1 to 30.9.
  • Codellama 34b Instruct has downloadable open weights; the other is API-only.

Side by side

Codellama 34b Instruct and Grok 4 specifications
Codellama 34b InstructGrok 4
ProviderMetaxAI
Noometry Index30.848.1
Released—2025-07-09
WeightsOpenProprietary
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked1448

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

Category by category

Coding Grok 4 leads

Codellama 34b Instruct: 28.5 (#314), Grok 4: 50.3 (#46)

Coding benchmarks
BenchmarkCodellama 34b InstructGrok 4
LMArena Coding10461408
Aider Polyglot—79.6%
WeirdML—45.7%
BigCodeBench Instruct29%—
BigCodeBench Complete37.1%—
HumanEval+43.9%—
MBPP+56.3%—

Agentic & Tool Use Not comparable

Codellama 34b Instruct: —, Grok 4: 32.3 (#68)

Agentic & Tool Use benchmarks
BenchmarkCodellama 34b InstructGrok 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

Codellama 34b Instruct: 19.6 (#255), Grok 4: 36.7 (#65)

Reasoning benchmarks
BenchmarkCodellama 34b InstructGrok 4
LMArena Hard Prompts10321409
ARC-AGI-2—16%
SimpleBench—60.5%
Kagi LLM Benchmark—73.6%
ARC-AGI-1—66.7%
Chess Puzzles—28%
Epoch Capabilities Index—146.44
ForecastBench—60.9

Math Grok 4 leads

Codellama 34b Instruct: 31.0 (#230), Grok 4: 48.4 (#64)

Math benchmarks
BenchmarkCodellama 34b InstructGrok 4
LMArena Math10561422
OTIS Mock AIME 2024-2025—84%
Omni-MATH—60.3%
FrontierMath (Feb 2025 set)—19.7%
FrontierMath Tier 4 (v1)—2.1%

Knowledge Not comparable

Codellama 34b Instruct: —, Grok 4: 53.8 (#55)

Knowledge benchmarks
BenchmarkCodellama 34b InstructGrok 4
GPQA Diamond—87%
MMLU-Pro—85.1%
Confabulations—12.4%
GPQA (HELM)—72.7%
LMArena Expert—1415

Multimodal Not comparable

Codellama 34b Instruct: —, Grok 4: 33.7 (#94)

Multimodal benchmarks
BenchmarkCodellama 34b InstructGrok 4
LMArena Vision—1210
GeoBench—45%

Multilingual Grok 4 leads

Codellama 34b Instruct: 25.8 (#284), Grok 4: 51.8 (#103)

Multilingual benchmarks
BenchmarkCodellama 34b InstructGrok 4
LMArena Non-English10111403
LMArena Chinese9761427
LMArena French—1418
LMArena German—1429
LMArena Japanese—1394
LMArena Korean—1377
LMArena Russian—1410
LMArena Spanish—1420

Instruction Following Grok 4 leads

Codellama 34b Instruct: 52.2 (#291), Grok 4: 79.2 (#5)

Instruction Following benchmarks
BenchmarkCodellama 34b InstructGrok 4
LMArena Instruction Following10281387
IFEval—94.9%

Long Context Grok 4 leads

Codellama 34b Instruct: 30.9 (#284), Grok 4: 63.1 (#4)

Long Context benchmarks
BenchmarkCodellama 34b InstructGrok 4
LMArena Longer Query10131409
Fiction.LiveBench—94.4%

Writing & Preference Grok 4 leads

Codellama 34b Instruct: 28.2 (#297), Grok 4: 58.5 (#116)

Writing & Preference benchmarks
BenchmarkCodellama 34b InstructGrok 4
LMArena Text10661411
LMArena Creative Writing10321397
LMArena Multi-Turn10151416
Short-Story Creative Writing—76.9%
WildBench—79.7%

Frequently asked questions

Is Codellama 34b Instruct better than Grok 4?

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

Is Codellama 34b Instruct or Grok 4 better for coding?

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

How many benchmarks do Codellama 34b Instruct and Grok 4 share?

10 benchmarks have published results for both models. Codellama 34b Instruct has 14 scored results on Noometry and Grok 4 has 48.

Related comparisons

Go deeper