Model comparison

Claude 2.1 vs Llama 2-7B

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

Last verified . 2 shared benchmarks.

Claude 2.1 Anthropic

25.2

Rank #345 Reported

Llama 2-7B Meta

29.1

Rank #317 Confirmed

Summary

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

Side by side

Claude 2.1 and Llama 2-7B specifications
Claude 2.1Llama 2-7B
ProviderAnthropicMeta
Noometry Index25.229.1
Released2023-11-212023-07-18
WeightsProprietaryOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked729

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

Category by category

Coding Llama 2-7B leads

Claude 2.1: 26.2 (#327), Llama 2-7B: 29.2 (#307)

Coding benchmarks
BenchmarkClaude 2.1Llama 2-7B
WeirdML7.1%—
LMArena Coding—1002

Reasoning Claude 2.1 leads

Claude 2.1: 21.4 (#221), Llama 2-7B: 15.7 (#312)

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

Math Llama 2-7B leads

Claude 2.1: 10.2 (#315), Llama 2-7B: 30.7 (#233)

Math benchmarks
BenchmarkClaude 2.1Llama 2-7B
OTIS Mock AIME 2024-20251.9%—
LMArena Math—1042
GSM8K—16.7%

Knowledge Llama 2-7B leads

Claude 2.1: 15.4 (#292), Llama 2-7B: 28.2 (#248)

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

Multimodal Not comparable

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

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

Multilingual Not comparable

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

Multilingual benchmarks
BenchmarkClaude 2.1Llama 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.1: —, Llama 2-7B: 50.8 (#298)

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

Long Context Not comparable

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

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

Writing & Preference Not comparable

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

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

Frequently asked questions

Is Claude 2.1 better than Llama 2-7B?

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

Is Claude 2.1 or Llama 2-7B better for coding?

Llama 2-7B scores higher on coding benchmarks: 29.2 versus 26.2 in the Noometry coding category.

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

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

Related comparisons

Go deeper