Model comparison

Llama 2-34B vs Llama 3.1-8B

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

Last verified . 5 shared benchmarks.

Llama 2-34B Meta

—

Unranked

Llama 3.1-8B Meta

22.8

Rank #347 Confirmed

Summary

  • They share 5 benchmarks with published results for both.
  • Llama 3.1-8B has downloadable open weights; the other is API-only.

Side by side

Llama 2-34B and Llama 3.1-8B specifications
Llama 2-34BLlama 3.1-8B
ProviderMetaMeta
Noometry Index—22.8
Released2023-07-182024-07-23
WeightsProprietaryOpen
Context window—128K
Max output—4K
Input $ / M tokens—$0.05
Output $ / M tokens—$0.08
Results tracked1043

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

Category by category

Coding Not comparable

Llama 2-34B: —, Llama 3.1-8B: 19.9 (#335)

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

Agentic & Tool Use Not comparable

Llama 2-34B: —, Llama 3.1-8B: 22.3 (#123)

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

Reasoning Not comparable

Llama 2-34B: —, Llama 3.1-8B: 14.5 (#316)

Reasoning benchmarks
BenchmarkLlama 2-34BLlama 3.1-8B
Epoch Capabilities Index104.81116.48
PIQA81.9%81.2%
CritPt—0%
Chess Puzzles—0%
LMArena Hard Prompts—1175
DTBench—50.9%
LMCA—5.4%
BIG-Bench Hard44.1%—
WinoGrande76.7%—

Math Not comparable

Llama 2-34B: —, Llama 3.1-8B: 9.5 (#311)

Math benchmarks
BenchmarkLlama 2-34BLlama 3.1-8B
GSM8K42.2%82.4%
OTIS Mock AIME 2024-2025—1.7%
Omni-MATH—13.7%
LMArena Math—1179
MATH Level 5—22.9%

Knowledge Not comparable

Llama 2-34B: —, Llama 3.1-8B: 8.0 (#302)

Knowledge benchmarks
BenchmarkLlama 2-34BLlama 3.1-8B
BoolQ83.7%82.8%
MMLU62.6%56.1%
GPQA Diamond—27%
MMLU-Pro—40.6%
GPQA (HELM)—24.7%
LMArena Expert—1144
ARC (AI2) Challenge54.5%—
OpenBookQA58.2%—
TriviaQA84.6%—

Multilingual Not comparable

Llama 2-34B: —, Llama 3.1-8B: 34.2 (#244)

Multilingual benchmarks
BenchmarkLlama 2-34BLlama 3.1-8B
LMArena Non-English—1148
LMArena Chinese—1151
LMArena French—1176
LMArena German—1144
LMArena Japanese—1061
LMArena Korean—1053
LMArena Russian—1158
LMArena Spanish—1169

Instruction Following Not comparable

Llama 2-34B: —, Llama 3.1-8B: 59.1 (#253)

Instruction Following benchmarks
BenchmarkLlama 2-34BLlama 3.1-8B
IFEval—74.3%
LMArena Instruction Following—1159

Long Context Not comparable

Llama 2-34B: —, Llama 3.1-8B: 35.8 (#233)

Long Context benchmarks
BenchmarkLlama 2-34BLlama 3.1-8B
LMArena Longer Query—1182

Writing & Preference Not comparable

Llama 2-34B: —, Llama 3.1-8B: 29.9 (#285)

Writing & Preference benchmarks
BenchmarkLlama 2-34BLlama 3.1-8B
LMArena Text—1187
LMArena Creative Writing—1154
EQ-Bench Creative Writing—713
WildBench—68.7%
LMArena Multi-Turn—1172

Frequently asked questions

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

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

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

5 benchmarks have published results for both models. Llama 2-34B has 10 scored results on Noometry and Llama 3.1-8B has 43.

Related comparisons

Go deeper