Model comparison

Llama 2-70B vs Llama 3.1-8B

Llama 2-70B is the stronger model overall, scoring 24.4 to 23.0 on the Noometry Index.

Last verified . 26 shared benchmarks.

Llama 2-70B Meta

24.4

Rank #349 Confirmed

Llama 3.1-8B Meta

23.0

Rank #352 Confirmed

Summary

  • They share 26 benchmarks with published results for both. Llama 2-70B scores higher in 2 categories and Llama 3.1-8B in 6 categories; 6 gaps are clear of the uncertainty.
  • The widest gap is in coding, where Llama 2-70B leads 31.4 to 20.2.
  • The biggest single-benchmark swing is MATH Level 5: 3.3% for Llama 2-70B and 22.9% for Llama 3.1-8B.

Side by side

Llama 2-70B and Llama 3.1-8B specifications
Llama 2-70BLlama 3.1-8B
ProviderMetaMeta
Noometry Index24.423.0
Released2023-07-182024-07-23
WeightsOpenOpen
Context window—128K
Max output—4K
Input $ / M tokens—$0.05
Output $ / M tokens—$0.08
Results tracked3543

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

Category by category

Coding Llama 2-70B leads

Llama 2-70B: 31.4 (#286), Llama 3.1-8B: 20.2 (#340)

Coding benchmarks
BenchmarkLlama 2-70BLlama 3.1-8B
LMArena Coding10791195
SciCode—13.2%
WeirdML—1.7%
BigCodeBench Instruct—32.8%
BigCodeBench Complete—40.5%
HumanEval+—62.8%
MBPP+—55.6%

Agentic & Tool Use Not comparable

Llama 2-70B: —, Llama 3.1-8B: 22.5 (#131)

Agentic & Tool Use benchmarks
BenchmarkLlama 2-70BLlama 3.1-8B
Berkeley Function Calling Leaderboard—25.8%
BALROG—15.1%

Reasoning Too close to call

Llama 2-70B: 14.4 (#325), Llama 3.1-8B: 14.9 (#321)

Reasoning benchmarks
BenchmarkLlama 2-70BLlama 3.1-8B
LMArena Hard Prompts10731175
DTBench41.6%50.9%
Epoch Capabilities Index113.79116.57
PIQA82.8%81.2%
CritPt—0%
Chess Puzzles—0%
LMCA—5.4%
BIG-Bench Hard64.9%—
CommonsenseQA 2.050%—
ForecastBench51.4—
HellaSwag85.3%—
LAMBADA78.9%—
WinoGrande80.2%—

Math Llama 3.1-8B leads

Llama 2-70B: 8.1 (#326), Llama 3.1-8B: 10.2 (#317)

Math benchmarks
BenchmarkLlama 2-70BLlama 3.1-8B
OTIS Mock AIME 2024-20250%1.7%
LMArena Math10911179
MATH Level 53.3%22.9%
GSM8K69.6%82.4%
Omni-MATH—13.7%

Knowledge Too close to call

Llama 2-70B: 7.4 (#310), Llama 3.1-8B: 8.0 (#307)

Knowledge benchmarks
BenchmarkLlama 2-70BLlama 3.1-8B
GPQA Diamond26.3%27%
LMArena Expert10391144
BoolQ88.6%82.8%
MMLU69.9%56.1%
MMLU-Pro—40.6%
GPQA (HELM)—24.7%
ARC (AI2) Challenge78.3%—
OpenBookQA60.2%—
TriviaQA87.6%—

Multilingual Llama 3.1-8B leads

Llama 2-70B: 27.7 (#274), Llama 3.1-8B: 34.0 (#249)

Multilingual benchmarks
BenchmarkLlama 2-70BLlama 3.1-8B
LMArena Non-English10451148
LMArena Chinese9951151
LMArena French10901177
LMArena German10411144
LMArena Japanese9271061
LMArena Korean9641053
LMArena Russian10831158
LMArena Spanish11431169

Instruction Following Llama 3.1-8B leads

Llama 2-70B: 54.9 (#278), Llama 3.1-8B: 58.9 (#258)

Instruction Following benchmarks
BenchmarkLlama 2-70BLlama 3.1-8B
LMArena Instruction Following10711159
IFEval—74.3%

Long Context Llama 3.1-8B leads

Llama 2-70B: 32.3 (#270), Llama 3.1-8B: 35.8 (#238)

Long Context benchmarks
BenchmarkLlama 2-70BLlama 3.1-8B
LMArena Longer Query10621182

Writing & Preference Llama 2-70B leads

Llama 2-70B: 32.3 (#279), Llama 3.1-8B: 29.7 (#290)

Writing & Preference benchmarks
BenchmarkLlama 2-70BLlama 3.1-8B
LMArena Text11151187
LMArena Creative Writing10751154
LMArena Multi-Turn10881172
EQ-Bench Creative Writing—713
WildBench—68.7%

Frequently asked questions

Is Llama 2-70B better than Llama 3.1-8B?

Llama 2-70B is the stronger model overall, scoring 24.4 to 23.0 on the Noometry Index.

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

Llama 2-70B scores higher on coding benchmarks: 31.4 versus 20.2 in the Noometry coding category.

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

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

Related comparisons

Go deeper