Model comparison

Codellama 34b Instruct vs Grok-2 (Dec 2024)

Grok-2 (Dec 2024) is the stronger model overall, scoring 33.7 to 30.8 on the Noometry Index.

Last verified . 10 shared benchmarks.

Codellama 34b Instruct Meta

30.8

Rank #287 Confirmed

Grok-2 (Dec 2024) xAI

33.7

Rank #239 Confirmed

Summary

  • They share 10 benchmarks with published results for both. Codellama 34b Instruct scores higher in 2 categories and Grok-2 (Dec 2024) in 5 categories; 7 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where Grok-2 (Dec 2024) leads 48.6 to 28.2.
  • Codellama 34b Instruct has downloadable open weights; the other is API-only.

Side by side

Codellama 34b Instruct and Grok-2 (Dec 2024) specifications
Codellama 34b InstructGrok-2 (Dec 2024)
ProviderMetaxAI
Noometry Index30.833.7
Released—2024-08-13
WeightsOpenProprietary
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked1434

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

Category by category

Coding Grok-2 (Dec 2024) leads

Codellama 34b Instruct: 28.5 (#314), Grok-2 (Dec 2024): 33.3 (#258)

Coding benchmarks
BenchmarkCodellama 34b InstructGrok-2 (Dec 2024)
LMArena Coding10461287
WeirdML—22.2%
BigCodeBench Instruct29%—
LiveBench Coding—46.4%
BigCodeBench Complete37.1%—
HumanEval+43.9%—
MBPP+56.3%—

Reasoning Codellama 34b Instruct leads

Codellama 34b Instruct: 19.6 (#255), Grok-2 (Dec 2024): 16.9 (#299)

Reasoning benchmarks
BenchmarkCodellama 34b InstructGrok-2 (Dec 2024)
LMArena Hard Prompts10321272
SimpleBench—22.7%
LiveBench Reasoning—54.8%
DTBench—65.2%
LiveBench Data Analysis—54.5%
Epoch Capabilities Index—130.48
LiveBench—54.3%

Math Codellama 34b Instruct leads

Codellama 34b Instruct: 31.0 (#230), Grok-2 (Dec 2024): 20.8 (#284)

Math benchmarks
BenchmarkCodellama 34b InstructGrok-2 (Dec 2024)
LMArena Math10561283
OTIS Mock AIME 2024-2025—11.5%
LiveBench Math—54.9%
MATH Level 5—63.5%
FrontierMath (Feb 2025 set)—0.7%

Knowledge Not comparable

Codellama 34b Instruct: —, Grok-2 (Dec 2024): 29.8 (#233)

Knowledge benchmarks
BenchmarkCodellama 34b InstructGrok-2 (Dec 2024)
GPQA Diamond—53.8%
Confabulations—20.1%
LMArena Expert—1254

Multilingual Grok-2 (Dec 2024) leads

Codellama 34b Instruct: 25.8 (#284), Grok-2 (Dec 2024): 43.1 (#188)

Multilingual benchmarks
BenchmarkCodellama 34b InstructGrok-2 (Dec 2024)
LMArena Non-English10111282
LMArena Chinese9761289
LMArena French—1318
LMArena German—1287
LMArena Japanese—1244
LMArena Korean—1237
LMArena Russian—1286
LMArena Spanish—1281

Instruction Following Grok-2 (Dec 2024) leads

Codellama 34b Instruct: 52.2 (#291), Grok-2 (Dec 2024): 66.9 (#202)

Instruction Following benchmarks
BenchmarkCodellama 34b InstructGrok-2 (Dec 2024)
LMArena Instruction Following10281270
LiveBench Instruction Following—69.6%

Long Context Grok-2 (Dec 2024) leads

Codellama 34b Instruct: 30.9 (#284), Grok-2 (Dec 2024): 38.8 (#190)

Long Context benchmarks
BenchmarkCodellama 34b InstructGrok-2 (Dec 2024)
LMArena Longer Query10131276

Writing & Preference Grok-2 (Dec 2024) leads

Codellama 34b Instruct: 28.2 (#297), Grok-2 (Dec 2024): 48.6 (#198)

Writing & Preference benchmarks
BenchmarkCodellama 34b InstructGrok-2 (Dec 2024)
LMArena Text10661305
LMArena Creative Writing10321284
LMArena Multi-Turn10151290
Short-Story Creative Writing—63.6%
LiveBench Language—45.6%

Frequently asked questions

Is Codellama 34b Instruct better than Grok-2 (Dec 2024)?

Grok-2 (Dec 2024) is the stronger model overall, scoring 33.7 to 30.8 on the Noometry Index.

Is Codellama 34b Instruct or Grok-2 (Dec 2024) better for coding?

Grok-2 (Dec 2024) scores higher on coding benchmarks: 33.3 versus 28.5 in the Noometry coding category.

How many benchmarks do Codellama 34b Instruct and Grok-2 (Dec 2024) share?

10 benchmarks have published results for both models. Codellama 34b Instruct has 14 scored results on Noometry and Grok-2 (Dec 2024) has 34.

Related comparisons

Go deeper