Model comparison

Claude 2 vs Llama 3.1-8B

Claude 2 is the stronger model overall, scoring 25.0 to 23.0 on the Noometry Index.

Last verified . 7 shared benchmarks.

Claude 2 Anthropic

25.0

Rank #346 Reported

Llama 3.1-8B Meta

23.0

Rank #352 Confirmed

Summary

  • They share 7 benchmarks with published results for both. Claude 2 scores higher in 2 categories and Llama 3.1-8B in 1 category; 2 gaps are clear of the uncertainty.
  • The widest gap is in knowledge, where Claude 2 leads 16.9 to 8.0.
  • The biggest single-benchmark swing is MATH Level 5: 11.7% for Claude 2 and 22.9% for Llama 3.1-8B.
  • Llama 3.1-8B has downloadable open weights; the other is API-only.

Side by side

Claude 2 and Llama 3.1-8B specifications
Claude 2Llama 3.1-8B
ProviderAnthropicMeta
Noometry Index25.023.0
Released2023-07-112024-07-23
WeightsProprietaryOpen
Context window—128K
Max output—4K
Input $ / M tokens—$0.05
Output $ / M tokens—$0.08
Results tracked843

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

Category by category

Coding Not comparable

Claude 2: —, Llama 3.1-8B: 20.2 (#340)

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

Agentic & Tool Use Not comparable

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

Agentic & Tool Use benchmarks
BenchmarkClaude 2Llama 3.1-8B
Berkeley Function Calling Leaderboard—25.8%
BALROG—15.1%

Reasoning Claude 2 leads

Claude 2: 21.7 (#216), Llama 3.1-8B: 14.9 (#321)

Reasoning benchmarks
BenchmarkClaude 2Llama 3.1-8B
DTBench51.9%50.9%
Epoch Capabilities Index120.13116.57
CritPt—0%
Chess Puzzles—0%
LMArena Hard Prompts—1175
LMCA—5.4%
PIQA—81.2%

Math Too close to call

Claude 2: 9.3 (#320), Llama 3.1-8B: 10.2 (#317)

Math benchmarks
BenchmarkClaude 2Llama 3.1-8B
OTIS Mock AIME 2024-20252.5%1.7%
MATH Level 511.7%22.9%
Omni-MATH—13.7%
LMArena Math—1179
GSM8K—82.4%

Knowledge Claude 2 leads

Claude 2: 16.9 (#287), Llama 3.1-8B: 8.0 (#307)

Knowledge benchmarks
BenchmarkClaude 2Llama 3.1-8B
GPQA Diamond34.7%27%
MMLU78.5%56.1%
MMLU-Pro—40.6%
GPQA (HELM)—24.7%
LMArena Expert—1144
BoolQ—82.8%
TriviaQA87.5%—

Multilingual Not comparable

Claude 2: —, Llama 3.1-8B: 34.0 (#249)

Multilingual benchmarks
BenchmarkClaude 2Llama 3.1-8B
LMArena Non-English—1148
LMArena Chinese—1151
LMArena French—1177
LMArena German—1144
LMArena Japanese—1061
LMArena Korean—1053
LMArena Russian—1158
LMArena Spanish—1169

Instruction Following Not comparable

Claude 2: —, Llama 3.1-8B: 58.9 (#258)

Instruction Following benchmarks
BenchmarkClaude 2Llama 3.1-8B
IFEval—74.3%
LMArena Instruction Following—1159

Long Context Not comparable

Claude 2: —, Llama 3.1-8B: 35.8 (#238)

Long Context benchmarks
BenchmarkClaude 2Llama 3.1-8B
LMArena Longer Query—1182

Writing & Preference Not comparable

Claude 2: —, Llama 3.1-8B: 29.7 (#290)

Writing & Preference benchmarks
BenchmarkClaude 2Llama 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 Claude 2 better than Llama 3.1-8B?

Claude 2 is the stronger model overall, scoring 25.0 to 23.0 on the Noometry Index.

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

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

Related comparisons

Go deeper