Model comparison

Gemma 2 27B vs Llama 2-34B

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

Last verified . 2 shared benchmarks.

Gemma 2 27B Google

29.4

Rank #312 Confirmed

Llama 2-34B Meta

—

Unranked

Summary

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

Side by side

Gemma 2 27B and Llama 2-34B specifications
Gemma 2 27BLlama 2-34B
ProviderGoogleMeta
Noometry Index29.4—
Released2024-06-242023-07-18
WeightsOpenProprietary
Context window8K—
Max output2K—
Input $ / M tokens$0.65—
Output $ / M tokens$0.65—
Results tracked3410

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

Category by category

Coding Not comparable

Gemma 2 27B: 34.1 (#246), Llama 2-34B: —

Coding benchmarks
BenchmarkGemma 2 27BLlama 2-34B
BigCodeBench Instruct42.8%—
LiveBench Coding36%—
LMArena Coding1211—
BigCodeBench Complete52.5%—

Reasoning Not comparable

Gemma 2 27B: 15.3 (#315), Llama 2-34B: —

Reasoning benchmarks
BenchmarkGemma 2 27BLlama 2-34B
Epoch Capabilities Index122.08105.2
LiveBench Reasoning28.1%—
LMArena Hard Prompts1198—
DTBench48%—
LiveBench Data Analysis47.9%—
LMCA7.1%—
BIG-Bench Hard—44.1%
LiveBench38.2%—
PIQA—81.9%
WinoGrande—76.7%

Math Not comparable

Gemma 2 27B: 10.7 (#311), Llama 2-34B: —

Math benchmarks
BenchmarkGemma 2 27BLlama 2-34B
OTIS Mock AIME 2024-20251.4%—
LiveBench Math26.5%—
LMArena Math1212—
MATH Level 527.9%—
GSM8K—42.2%

Knowledge Not comparable

Gemma 2 27B: 19.0 (#280), Llama 2-34B: —

Knowledge benchmarks
BenchmarkGemma 2 27BLlama 2-34B
MMLU75.7%62.6%
GPQA Diamond36.5%—
Confabulations27.1%—
LMArena Expert1172—
ARC (AI2) Challenge—54.5%
BoolQ—83.7%
OpenBookQA—58.2%
TriviaQA—84.6%

Multilingual Not comparable

Gemma 2 27B: 38.6 (#226), Llama 2-34B: —

Multilingual benchmarks
BenchmarkGemma 2 27BLlama 2-34B
LMArena Non-English1217—
LMArena Chinese1221—
LMArena French1247—
LMArena German1209—
LMArena Japanese1175—
LMArena Korean1174—
LMArena Russian1234—
LMArena Spanish1228—

Instruction Following Not comparable

Gemma 2 27B: 60.5 (#249), Llama 2-34B: —

Instruction Following benchmarks
BenchmarkGemma 2 27BLlama 2-34B
LiveBench Instruction Following58.1%—
LMArena Instruction Following1206—

Long Context Not comparable

Gemma 2 27B: 37.3 (#218), Llama 2-34B: —

Long Context benchmarks
BenchmarkGemma 2 27BLlama 2-34B
LMArena Longer Query1231—

Writing & Preference Not comparable

Gemma 2 27B: 44.2 (#225), Llama 2-34B: —

Writing & Preference benchmarks
BenchmarkGemma 2 27BLlama 2-34B
LMArena Text1231—
LMArena Creative Writing1241—
LMArena Multi-Turn1224—
LiveBench Language32.6%—

Frequently asked questions

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

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

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

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

Related comparisons

Go deeper