Model comparison

Gemma 2 9B vs Llama 2-34B

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

Last verified . 5 shared benchmarks.

Gemma 2 9B Google

25.9

Rank #341 Confirmed

Llama 2-34B Meta

—

Unranked

Summary

  • They share 5 benchmarks with published results for both.
  • Gemma 2 9B has downloadable open weights; the other is API-only.

Side by side

Gemma 2 9B and Llama 2-34B specifications
Gemma 2 9BLlama 2-34B
ProviderGoogleMeta
Noometry Index25.9—
Released2024-06-242023-07-18
WeightsOpenProprietary
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked3510

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

Category by category

Coding Not comparable

Gemma 2 9B: 29.4 (#304), Llama 2-34B: —

Coding benchmarks
BenchmarkGemma 2 9BLlama 2-34B
BigCodeBench Instruct34.7%—
LiveBench Coding22.5%—
LMArena Coding1173—
BigCodeBench Complete40.6%—

Reasoning Not comparable

Gemma 2 9B: 15.9 (#309), Llama 2-34B: —

Reasoning benchmarks
BenchmarkGemma 2 9BLlama 2-34B
Epoch Capabilities Index119.83105.2
PIQA83.7%81.9%
LiveBench Reasoning15.2%—
LMArena Hard Prompts1171—
LiveBench Data Analysis36.4%—
BIG-Bench Hard—44.1%
LiveBench28.7%—
WinoGrande—76.7%

Math Not comparable

Gemma 2 9B: 9.9 (#318), Llama 2-34B: —

Math benchmarks
BenchmarkGemma 2 9BLlama 2-34B
GSM8K84.9%42.2%
OTIS Mock AIME 2024-20250.6%—
LiveBench Math19.8%—
LMArena Math1183—
MATH Level 521%—

Knowledge Not comparable

Gemma 2 9B: 9.7 (#305), Llama 2-34B: —

Knowledge benchmarks
BenchmarkGemma 2 9BLlama 2-34B
BoolQ85.7%83.7%
MMLU72.1%62.6%
GPQA Diamond27.5%—
LMArena Expert1147—
ARC (AI2) Challenge—54.5%
OpenBookQA—58.2%
TriviaQA—84.6%

Multilingual Not comparable

Gemma 2 9B: 36.6 (#238), Llama 2-34B: —

Multilingual benchmarks
BenchmarkGemma 2 9BLlama 2-34B
LMArena Non-English1188—
LMArena Chinese1185—
LMArena French1190—
LMArena German1186—
LMArena Japanese1144—
LMArena Korean1137—
LMArena Russian1200—
LMArena Spanish1200—

Instruction Following Not comparable

Gemma 2 9B: 57.6 (#269), Llama 2-34B: —

Instruction Following benchmarks
BenchmarkGemma 2 9BLlama 2-34B
LiveBench Instruction Following52.6%—
LMArena Instruction Following1178—

Long Context Not comparable

Gemma 2 9B: 36.3 (#233), Llama 2-34B: —

Long Context benchmarks
BenchmarkGemma 2 9BLlama 2-34B
LMArena Longer Query1197—

Writing & Preference Not comparable

Gemma 2 9B: 32.1 (#281), Llama 2-34B: —

Writing & Preference benchmarks
BenchmarkGemma 2 9BLlama 2-34B
LMArena Text1207—
LMArena Creative Writing1206—
EQ-Bench Creative Writing841—
LMArena Multi-Turn1193—
LiveBench Language25.5%—

Frequently asked questions

Is Gemma 2 9B better than Llama 2-34B?

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

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

5 benchmarks have published results for both models. Gemma 2 9B has 35 scored results on Noometry and Llama 2-34B has 10.

Related comparisons

Go deeper