Model comparison

Gemma 3 4B vs Llama 2-34B

Gemma 3 4B has enough public results to be ranked (#326); Llama 2-34B does not yet, so treat this comparison as directional.

Last verified . 1 shared benchmarks.

Gemma 3 4B Google

28.1

Rank #326 Confirmed

Llama 2-34B Meta

—

Unranked

Summary

  • They share 1 benchmark with published results for both.
  • Gemma 3 4B has downloadable open weights; the other is API-only.

Side by side

Gemma 3 4B and Llama 2-34B specifications
Gemma 3 4BLlama 2-34B
ProviderGoogleMeta
Noometry Index28.1—
Released2025-03-122023-07-18
WeightsOpenProprietary
Context window131K—
Max output4K—
Input $ / M tokens$0.04—
Output $ / M tokens$0.08—
Results tracked2210

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

Category by category

Coding Not comparable

Gemma 3 4B: 35.9 (#215), Llama 2-34B: —

Coding benchmarks
BenchmarkGemma 3 4BLlama 2-34B
LMArena Coding1230—

Agentic & Tool Use Not comparable

Gemma 3 4B: 20.9 (#142), Llama 2-34B: —

Agentic & Tool Use benchmarks
BenchmarkGemma 3 4BLlama 2-34B
Berkeley Function Calling Leaderboard19.6%—

Reasoning Not comparable

Gemma 3 4B: 13.2 (#335), Llama 2-34B: —

Reasoning benchmarks
BenchmarkGemma 3 4BLlama 2-34B
Epoch Capabilities Index116.02105.2
Kagi LLM Benchmark25.2%—
Chess Puzzles0%—
LMArena Hard Prompts1253—
DTBench50.9%—
LMCA2.8%—
BIG-Bench Hard—44.1%
PIQA—81.9%
WinoGrande—76.7%

Math Not comparable

Gemma 3 4B: 16.8 (#292), Llama 2-34B: —

Math benchmarks
BenchmarkGemma 3 4BLlama 2-34B
OTIS Mock AIME 2024-20257.5%—
LMArena Math1239—
GSM8K—42.2%

Knowledge Not comparable

Gemma 3 4B: 11.8 (#299), Llama 2-34B: —

Knowledge benchmarks
BenchmarkGemma 3 4BLlama 2-34B
GPQA Diamond23.2%—
Vectara Hallucination Rate6.4%—
LMArena Expert1223—
ARC (AI2) Challenge—54.5%
BoolQ—83.7%
MMLU—62.6%
OpenBookQA—58.2%
TriviaQA—84.6%

Multilingual Not comparable

Gemma 3 4B: 42.5 (#194), Llama 2-34B: —

Multilingual benchmarks
BenchmarkGemma 3 4BLlama 2-34B
LMArena Non-English1273—
LMArena German1281—
LMArena Russian1294—

Instruction Following Not comparable

Gemma 3 4B: 65.2 (#225), Llama 2-34B: —

Instruction Following benchmarks
BenchmarkGemma 3 4BLlama 2-34B
LMArena Instruction Following1239—

Long Context Not comparable

Gemma 3 4B: 38.7 (#194), Llama 2-34B: —

Long Context benchmarks
BenchmarkGemma 3 4BLlama 2-34B
LMArena Longer Query1273—

Writing & Preference Not comparable

Gemma 3 4B: 42.0 (#239), Llama 2-34B: —

Writing & Preference benchmarks
BenchmarkGemma 3 4BLlama 2-34B
LMArena Text1291—
LMArena Creative Writing1271—
EQ-Bench Creative Writing1068—
LMArena Multi-Turn1255—

Frequently asked questions

Is Gemma 3 4B better than Llama 2-34B?

Gemma 3 4B has enough public results to be ranked (#326); Llama 2-34B does not yet, so treat this comparison as directional.

How many benchmarks do Gemma 3 4B and Llama 2-34B share?

1 benchmark has published results for both models. Gemma 3 4B has 22 scored results on Noometry and Llama 2-34B has 10.

Related comparisons

Go deeper