Model comparison

Codellama 34b Instruct vs Gemma 3 4B

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

Last verified . 9 shared benchmarks.

Codellama 34b Instruct Meta

30.8

Rank #287 Confirmed

Gemma 3 4B Google

28.1

Rank #326 Confirmed

Summary

  • They share 9 benchmarks with published results for both. Codellama 34b Instruct scores higher in 2 categories and Gemma 3 4B in 5 categories; 7 gaps are clear of the uncertainty.
  • The widest gap is in multilingual, where Gemma 3 4B leads 42.5 to 25.8.

Side by side

Codellama 34b Instruct and Gemma 3 4B specifications
Codellama 34b InstructGemma 3 4B
ProviderMetaGoogle
Noometry Index30.828.1
Released—2025-03-12
WeightsOpenOpen
Context window—131K
Max output—4K
Input $ / M tokens—$0.04
Output $ / M tokens—$0.08
Results tracked1422

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

Category by category

Coding Gemma 3 4B leads

Codellama 34b Instruct: 28.5 (#314), Gemma 3 4B: 35.9 (#215)

Coding benchmarks
BenchmarkCodellama 34b InstructGemma 3 4B
LMArena Coding10461230
BigCodeBench Instruct29%—
BigCodeBench Complete37.1%—
HumanEval+43.9%—
MBPP+56.3%—

Agentic & Tool Use Not comparable

Codellama 34b Instruct: —, Gemma 3 4B: 20.9 (#142)

Agentic & Tool Use benchmarks
BenchmarkCodellama 34b InstructGemma 3 4B
Berkeley Function Calling Leaderboard—19.6%

Reasoning Codellama 34b Instruct leads

Codellama 34b Instruct: 19.6 (#255), Gemma 3 4B: 13.2 (#335)

Reasoning benchmarks
BenchmarkCodellama 34b InstructGemma 3 4B
LMArena Hard Prompts10321253
Kagi LLM Benchmark—25.2%
Chess Puzzles—0%
DTBench—50.9%
LMCA—2.8%
Epoch Capabilities Index—116.02

Math Codellama 34b Instruct leads

Codellama 34b Instruct: 31.0 (#230), Gemma 3 4B: 16.8 (#292)

Math benchmarks
BenchmarkCodellama 34b InstructGemma 3 4B
LMArena Math10561239
OTIS Mock AIME 2024-2025—7.5%

Knowledge Not comparable

Codellama 34b Instruct: —, Gemma 3 4B: 11.8 (#299)

Knowledge benchmarks
BenchmarkCodellama 34b InstructGemma 3 4B
GPQA Diamond—23.2%
Vectara Hallucination Rate—6.4%
LMArena Expert—1223

Multilingual Gemma 3 4B leads

Codellama 34b Instruct: 25.8 (#284), Gemma 3 4B: 42.5 (#194)

Multilingual benchmarks
BenchmarkCodellama 34b InstructGemma 3 4B
LMArena Non-English10111273
LMArena Chinese976—
LMArena German—1281
LMArena Russian—1294

Instruction Following Gemma 3 4B leads

Codellama 34b Instruct: 52.2 (#291), Gemma 3 4B: 65.2 (#225)

Instruction Following benchmarks
BenchmarkCodellama 34b InstructGemma 3 4B
LMArena Instruction Following10281239

Long Context Gemma 3 4B leads

Codellama 34b Instruct: 30.9 (#284), Gemma 3 4B: 38.7 (#194)

Long Context benchmarks
BenchmarkCodellama 34b InstructGemma 3 4B
LMArena Longer Query10131273

Writing & Preference Gemma 3 4B leads

Codellama 34b Instruct: 28.2 (#297), Gemma 3 4B: 42.0 (#239)

Writing & Preference benchmarks
BenchmarkCodellama 34b InstructGemma 3 4B
LMArena Text10661291
LMArena Creative Writing10321271
LMArena Multi-Turn10151255
EQ-Bench Creative Writing—1068

Frequently asked questions

Is Codellama 34b Instruct better than Gemma 3 4B?

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

Is Codellama 34b Instruct or Gemma 3 4B better for coding?

Gemma 3 4B scores higher on coding benchmarks: 35.9 versus 28.5 in the Noometry coding category.

How many benchmarks do Codellama 34b Instruct and Gemma 3 4B share?

9 benchmarks have published results for both models. Codellama 34b Instruct has 14 scored results on Noometry and Gemma 3 4B has 22.

Related comparisons

Go deeper