Model comparison

Claude 2.1 vs Llama 2-7B

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

Last verified . 2 shared benchmarks.

Claude 2.1 Anthropic

24.9

Rank #340 Reported

Llama 2-7B Meta

28.6

Rank #315 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 28.2 to 9.6.
  • 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 Index24.928.6
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: 25.8 (#322), Llama 2-7B: 28.7 (#302)

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

Reasoning Claude 2.1 leads

Claude 2.1: 20.6 (#216), Llama 2-7B: 15.1 (#309)

Reasoning benchmarks
BenchmarkClaude 2.1Llama 2-7B
Epoch Capabilities Index119.2298.54
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: 9.6 (#309), Llama 2-7B: 28.2 (#231)

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.5 (#287), Llama 2-7B: 27.7 (#243)

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.9 (#288)

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

Instruction Following Not comparable

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

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

Long Context Not comparable

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

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

Writing & Preference Not comparable

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

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 28.6 to 24.9 on the Noometry Index.

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

Llama 2-7B scores higher on coding benchmarks: 28.7 versus 25.8 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