Model comparison

Gemma 2 27B vs Llama 13b

Gemma 2 27B is the stronger model overall, scoring 29.4 to 24.4 on the Noometry Index.

Last verified . 10 shared benchmarks.

Gemma 2 27B Google

29.4

Rank #312 Confirmed

Llama 13b Meta

24.4

Rank #348 Confirmed

Summary

  • They share 10 benchmarks with published results for both. Gemma 2 27B scores higher in 5 categories and Llama 13b in 1 category; 6 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where Gemma 2 27B leads 44.2 to 13.8.

Side by side

Gemma 2 27B and Llama 13b specifications
Gemma 2 27BLlama 13b
ProviderGoogleMeta
Noometry Index29.424.4
Released2024-06-242023-02-24
WeightsOpenOpen
Context window8K—
Max output2K—
Input $ / M tokens$0.65—
Output $ / M tokens$0.65—
Results tracked3421

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

Category by category

Coding Gemma 2 27B leads

Gemma 2 27B: 34.1 (#246), Llama 13b: 21.4 (#337)

Coding benchmarks
BenchmarkGemma 2 27BLlama 13b
LMArena Coding1211683
BigCodeBench Instruct42.8%—
LiveBench Coding36%—
BigCodeBench Complete52.5%—

Reasoning Gemma 2 27B leads

Gemma 2 27B: 15.3 (#315), Llama 13b: 14.0 (#329)

Reasoning benchmarks
BenchmarkGemma 2 27BLlama 13b
LMArena Hard Prompts1198728
Epoch Capabilities Index122.08100.58
LiveBench Reasoning28.1%—
DTBench48%—
LiveBench Data Analysis47.9%—
LMCA7.1%—
BIG-Bench Hard—37.9%
HellaSwag—79.2%
LAMBADA—75.2%
LiveBench38.2%—
PIQA—80.1%
WinoGrande—73%

Math Llama 13b leads

Gemma 2 27B: 10.7 (#311), Llama 13b: 26.7 (#256)

Math benchmarks
BenchmarkGemma 2 27BLlama 13b
LMArena Math1212838
OTIS Mock AIME 2024-20251.4%—
LiveBench Math26.5%—
MATH Level 527.9%—
GSM8K—20.6%

Knowledge Not comparable

Gemma 2 27B: 19.0 (#280), Llama 13b: —

Knowledge benchmarks
BenchmarkGemma 2 27BLlama 13b
MMLU75.7%47.7%
GPQA Diamond36.5%—
Confabulations27.1%—
LMArena Expert1172—
ARC (AI2) Challenge—52.7%
BoolQ—78.7%
OpenBookQA—56.4%
TriviaQA—77.9%

Multimodal Not comparable

Gemma 2 27B: —, Llama 13b: —

Multimodal benchmarks
BenchmarkGemma 2 27BLlama 13b
ScienceQA—43.3%

Multilingual Gemma 2 27B leads

Gemma 2 27B: 38.6 (#226), Llama 13b: 16.6 (#297)

Multilingual benchmarks
BenchmarkGemma 2 27BLlama 13b
LMArena Non-English1217819
LMArena Chinese1221—
LMArena French1247—
LMArena German1209—
LMArena Japanese1175—
LMArena Korean1174—
LMArena Russian1234—
LMArena Spanish1228—

Instruction Following Gemma 2 27B leads

Gemma 2 27B: 60.5 (#249), Llama 13b: 36.7 (#305)

Instruction Following benchmarks
BenchmarkGemma 2 27BLlama 13b
LMArena Instruction Following1206781
LiveBench Instruction Following58.1%—

Long Context Not comparable

Gemma 2 27B: 37.3 (#218), Llama 13b: —

Long Context benchmarks
BenchmarkGemma 2 27BLlama 13b
LMArena Longer Query1231—

Writing & Preference Gemma 2 27B leads

Gemma 2 27B: 44.2 (#225), Llama 13b: 13.8 (#312)

Writing & Preference benchmarks
BenchmarkGemma 2 27BLlama 13b
LMArena Text1231834
LMArena Creative Writing1241794
LMArena Multi-Turn1224753
LiveBench Language32.6%—

Frequently asked questions

Is Gemma 2 27B better than Llama 13b?

Gemma 2 27B is the stronger model overall, scoring 29.4 to 24.4 on the Noometry Index.

Is Gemma 2 27B or Llama 13b better for coding?

Gemma 2 27B scores higher on coding benchmarks: 34.1 versus 21.4 in the Noometry coding category.

How many benchmarks do Gemma 2 27B and Llama 13b share?

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

Related comparisons

Go deeper