Model comparison

Gemma 2 27B vs Llama 3.1-70B

Gemma 2 27B and Llama 3.1-70B score almost the same on the Noometry Index (29.4 vs 29.6), so choose on price, context window or the category you care about most.

Last verified . 26 shared benchmarks.

Gemma 2 27B Google

29.4

Rank #312 Confirmed

Llama 3.1-70B Meta

29.6

Rank #308 Confirmed

Summary

  • They share 26 benchmarks with published results for both. Gemma 2 27B scores higher in 2 categories and Llama 3.1-70B in 6 categories; 6 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where Gemma 2 27B leads 44.2 to 35.4.
  • The biggest single-benchmark swing is DTBench: 48% for Gemma 2 27B and 60% for Llama 3.1-70B.
  • Llama 3.1-70B is cheaper at $0.40 / $0.40 per million input/output tokens, against $0.65 / $0.65 for Gemma 2 27B.
  • Llama 3.1-70B accepts more context: 128K tokens versus 8K.

Side by side

Gemma 2 27B and Llama 3.1-70B specifications
Gemma 2 27BLlama 3.1-70B
ProviderGoogleMeta
Noometry Index29.429.6
Released2024-06-242024-07-23
WeightsOpenOpen
Context window8K128K
Max output2K4K
Input $ / M tokens$0.65$0.40
Output $ / M tokens$0.65$0.40
Results tracked3435

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 3.1-70B: 30.3 (#296)

Coding benchmarks
BenchmarkGemma 2 27BLlama 3.1-70B
BigCodeBench Instruct42.8%46.1%
LMArena Coding12111260
BigCodeBench Complete52.5%54.8%
WeirdML—9%
LiveBench Coding36%—

Agentic & Tool Use Not comparable

Gemma 2 27B: —, Llama 3.1-70B: 25.1 (#112)

Agentic & Tool Use benchmarks
BenchmarkGemma 2 27BLlama 3.1-70B
TheAgentCompany—6.9%
BALROG—27.9%

Reasoning Llama 3.1-70B leads

Gemma 2 27B: 15.3 (#315), Llama 3.1-70B: 21.6 (#220)

Reasoning benchmarks
BenchmarkGemma 2 27BLlama 3.1-70B
LMArena Hard Prompts11981241
DTBench48%60%
LMCA7.1%14.8%
Epoch Capabilities Index122.08125.92
LiveBench Reasoning28.1%—
LiveBench Data Analysis47.9%—
LiveBench38.2%—

Math Llama 3.1-70B leads

Gemma 2 27B: 10.7 (#311), Llama 3.1-70B: 13.5 (#304)

Math benchmarks
BenchmarkGemma 2 27BLlama 3.1-70B
OTIS Mock AIME 2024-20251.4%3.6%
LMArena Math12121252
MATH Level 527.9%36.7%
Omni-MATH—21%
LiveBench Math26.5%—

Knowledge Llama 3.1-70B leads

Gemma 2 27B: 19.0 (#280), Llama 3.1-70B: 24.2 (#269)

Knowledge benchmarks
BenchmarkGemma 2 27BLlama 3.1-70B
GPQA Diamond36.5%44.2%
LMArena Expert11721209
MMLU75.7%80.1%
MMLU-Pro—65.3%
Confabulations27.1%—
GPQA (HELM)—42.6%

Multilingual Too close to call

Gemma 2 27B: 38.6 (#226), Llama 3.1-70B: 38.8 (#225)

Multilingual benchmarks
BenchmarkGemma 2 27BLlama 3.1-70B
LMArena Non-English12171219
LMArena Chinese12211215
LMArena French12471261
LMArena German12091222
LMArena Japanese11751132
LMArena Korean11741140
LMArena Russian12341234
LMArena Spanish12281253

Instruction Following Llama 3.1-70B leads

Gemma 2 27B: 60.5 (#249), Llama 3.1-70B: 65.3 (#223)

Instruction Following benchmarks
BenchmarkGemma 2 27BLlama 3.1-70B
LMArena Instruction Following12061231
LiveBench Instruction Following58.1%—
IFEval—82.1%

Long Context Too close to call

Gemma 2 27B: 37.3 (#218), Llama 3.1-70B: 37.6 (#214)

Long Context benchmarks
BenchmarkGemma 2 27BLlama 3.1-70B
LMArena Longer Query12311241

Writing & Preference Gemma 2 27B leads

Gemma 2 27B: 44.2 (#225), Llama 3.1-70B: 35.4 (#267)

Writing & Preference benchmarks
BenchmarkGemma 2 27BLlama 3.1-70B
LMArena Text12311261
LMArena Creative Writing12411232
LMArena Multi-Turn12241256
EQ-Bench Creative Writing—784
WildBench—75.8%
LiveBench Language32.6%—

Frequently asked questions

Is Gemma 2 27B better than Llama 3.1-70B?

Gemma 2 27B and Llama 3.1-70B score almost the same on the Noometry Index (29.4 vs 29.6), so choose on price, context window or the category you care about most.

Which is cheaper, Gemma 2 27B or Llama 3.1-70B?

Llama 3.1-70B is cheaper. It lists at $0.40 per million input tokens and $0.40 per million output tokens; Gemma 2 27B lists at $0.65 and $0.65.

Is Gemma 2 27B or Llama 3.1-70B better for coding?

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

Which has the bigger context window?

Llama 3.1-70B does, with 128K tokens against 8K.

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

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

Related comparisons

Go deeper