Model comparison

Codellama 34b Instruct vs Gemma 2 9B

Codellama 34b Instruct is the stronger model overall, scoring 30.2 to 25.7 on the Noometry Index.

Last verified . 12 shared benchmarks.

Codellama 34b Instruct Meta

30.2

Rank #285 Confirmed

Gemma 2 9B Google

25.7

Rank #334 Confirmed

Summary

  • They share 12 benchmarks with published results for both. Codellama 34b Instruct scores higher in 2 categories and Gemma 2 9B in 5 categories; 7 gaps are clear of the uncertainty.
  • The widest gap is in math, where Codellama 34b Instruct leads 28.5 to 9.3.
  • The biggest single-benchmark swing is BigCodeBench Instruct: 29% for Codellama 34b Instruct and 34.7% for Gemma 2 9B.

Side by side

Codellama 34b Instruct and Gemma 2 9B specifications
Codellama 34b InstructGemma 2 9B
ProviderMetaGoogle
Noometry Index30.225.7
Released—2024-06-24
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked1435

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

Category by category

Coding Gemma 2 9B leads

Codellama 34b Instruct: 28.0 (#310), Gemma 2 9B: 29.0 (#299)

Coding benchmarks
BenchmarkCodellama 34b InstructGemma 2 9B
BigCodeBench Instruct29%34.7%
LMArena Coding10461174
BigCodeBench Complete37.1%40.6%
LiveBench Coding—22.5%
HumanEval+43.9%—
MBPP+56.3%—

Reasoning Codellama 34b Instruct leads

Codellama 34b Instruct: 18.8 (#250), Gemma 2 9B: 15.3 (#306)

Reasoning benchmarks
BenchmarkCodellama 34b InstructGemma 2 9B
LMArena Hard Prompts10321172
LiveBench Reasoning—15.2%
LiveBench Data Analysis—36.4%
Epoch Capabilities Index—119.78
LiveBench—28.7%
PIQA—83.7%

Math Codellama 34b Instruct leads

Codellama 34b Instruct: 28.5 (#227), Gemma 2 9B: 9.3 (#312)

Math benchmarks
BenchmarkCodellama 34b InstructGemma 2 9B
LMArena Math10561183
OTIS Mock AIME 2024-2025—0.6%
LiveBench Math—19.8%
MATH Level 5—21%
GSM8K—84.9%

Knowledge Not comparable

Codellama 34b Instruct: —, Gemma 2 9B: 9.7 (#300)

Knowledge benchmarks
BenchmarkCodellama 34b InstructGemma 2 9B
GPQA Diamond—27.5%
LMArena Expert—1147
BoolQ—85.7%
MMLU—72.1%

Multilingual Gemma 2 9B leads

Codellama 34b Instruct: 25.9 (#279), Gemma 2 9B: 36.8 (#233)

Multilingual benchmarks
BenchmarkCodellama 34b InstructGemma 2 9B
LMArena Non-English10111188
LMArena Chinese9761185
LMArena French—1189
LMArena German—1186
LMArena Japanese—1144
LMArena Korean—1137
LMArena Russian—1200
LMArena Spanish—1200

Instruction Following Gemma 2 9B leads

Codellama 34b Instruct: 52.4 (#286), Gemma 2 9B: 57.8 (#264)

Instruction Following benchmarks
BenchmarkCodellama 34b InstructGemma 2 9B
LMArena Instruction Following10281178
LiveBench Instruction Following—52.6%

Long Context Gemma 2 9B leads

Codellama 34b Instruct: 30.8 (#279), Gemma 2 9B: 36.3 (#228)

Long Context benchmarks
BenchmarkCodellama 34b InstructGemma 2 9B
LMArena Longer Query10141197

Writing & Preference Gemma 2 9B leads

Codellama 34b Instruct: 28.4 (#292), Gemma 2 9B: 32.3 (#276)

Writing & Preference benchmarks
BenchmarkCodellama 34b InstructGemma 2 9B
LMArena Text10661207
LMArena Creative Writing10321206
LMArena Multi-Turn10151193
EQ-Bench Creative Writing—841
LiveBench Language—25.5%

Frequently asked questions

Is Codellama 34b Instruct better than Gemma 2 9B?

Codellama 34b Instruct is the stronger model overall, scoring 30.2 to 25.7 on the Noometry Index.

Is Codellama 34b Instruct or Gemma 2 9B better for coding?

Gemma 2 9B scores higher on coding benchmarks: 29.0 versus 28.0 in the Noometry coding category.

How many benchmarks do Codellama 34b Instruct and Gemma 2 9B share?

12 benchmarks have published results for both models. Codellama 34b Instruct has 14 scored results on Noometry and Gemma 2 9B has 35.

Related comparisons

Go deeper