Model comparison

Claude 2 vs Llama 2-7B

Llama 2-7B is the stronger model overall, scoring 29.1 to 25.0 on the Noometry Index.

Last verified . 3 shared benchmarks.

Claude 2 Anthropic

25.0

Rank #346 Reported

Llama 2-7B Meta

29.1

Rank #317 Confirmed

Summary

  • They share 3 benchmarks with published results for both. Claude 2 scores higher in 1 category and Llama 2-7B in 2 categories; 3 gaps are clear of the uncertainty.
  • The widest gap is in math, where Llama 2-7B leads 30.7 to 9.3.
  • Llama 2-7B has downloadable open weights; the other is API-only.

Side by side

Claude 2 and Llama 2-7B specifications
Claude 2Llama 2-7B
ProviderAnthropicMeta
Noometry Index25.029.1
Released2023-07-112023-07-18
WeightsProprietaryOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked829

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

Category by category

Coding Not comparable

Claude 2: —, Llama 2-7B: 29.2 (#307)

Coding benchmarks
BenchmarkClaude 2Llama 2-7B
LMArena Coding—1002
HumanEval+61.6%—

Reasoning Claude 2 leads

Claude 2: 21.7 (#216), Llama 2-7B: 15.7 (#312)

Reasoning benchmarks
BenchmarkClaude 2Llama 2-7B
Epoch Capabilities Index120.1399.06
Chess Puzzles—0%
LMArena Hard Prompts—1009
DTBench51.9%—
BIG-Bench Hard—39.2%
HellaSwag—77.2%
LAMBADA—73.3%
PIQA—78.8%
WinoGrande—69.2%

Math Llama 2-7B leads

Claude 2: 9.3 (#320), Llama 2-7B: 30.7 (#233)

Math benchmarks
BenchmarkClaude 2Llama 2-7B
OTIS Mock AIME 2024-20252.5%—
LMArena Math—1042
MATH Level 511.7%—
GSM8K—16.7%

Knowledge Llama 2-7B leads

Claude 2: 16.9 (#287), Llama 2-7B: 28.2 (#248)

Knowledge benchmarks
BenchmarkClaude 2Llama 2-7B
MMLU78.5%45.8%
TriviaQA87.5%73.7%
GPQA Diamond34.7%—
LMArena Expert—1036
ARC (AI2) Challenge—45.9%
BoolQ—77.9%
OpenBookQA—58.6%

Multimodal Not comparable

Claude 2: —, Llama 2-7B: —

Multimodal benchmarks
BenchmarkClaude 2Llama 2-7B
ScienceQA—43.1%

Multilingual Not comparable

Claude 2: —, Llama 2-7B: 23.8 (#293)

Multilingual benchmarks
BenchmarkClaude 2Llama 2-7B
LMArena Non-English—973
LMArena Chinese—973
LMArena French—970
LMArena German—978
LMArena Russian—995
LMArena Spanish—1007

Instruction Following Not comparable

Claude 2: —, Llama 2-7B: 50.8 (#298)

Instruction Following benchmarks
BenchmarkClaude 2Llama 2-7B
LMArena Instruction Following—1006

Long Context Not comparable

Claude 2: —, Llama 2-7B: 30.4 (#287)

Long Context benchmarks
BenchmarkClaude 2Llama 2-7B
LMArena Longer Query—999

Writing & Preference Not comparable

Claude 2: —, Llama 2-7B: 28.0 (#298)

Writing & Preference benchmarks
BenchmarkClaude 2Llama 2-7B
LMArena Text—1053
LMArena Creative Writing—1033
LMArena Multi-Turn—1029

Frequently asked questions

Is Claude 2 better than Llama 2-7B?

Llama 2-7B is the stronger model overall, scoring 29.1 to 25.0 on the Noometry Index.

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

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

Related comparisons

Go deeper