Model comparison

Claude 3.5 Haiku vs Llama 2-7B

Claude 3.5 Haiku and Llama 2-7B score almost the same on the Noometry Index (29.2 vs 29.1), so choose on price, context window or the category you care about most.

Last verified . 17 shared benchmarks.

Claude 3.5 Haiku Anthropic

29.2

Rank #315 Confirmed

Llama 2-7B Meta

29.1

Rank #317 Confirmed

Summary

  • They share 17 benchmarks with published results for both. Claude 3.5 Haiku scores higher in 6 categories and Llama 2-7B in 2 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in multilingual, where Claude 3.5 Haiku leads 40.0 to 23.8.
  • Llama 2-7B has downloadable open weights; the other is API-only.

Side by side

Claude 3.5 Haiku and Llama 2-7B specifications
Claude 3.5 HaikuLlama 2-7B
ProviderAnthropicMeta
Noometry Index29.229.1
Released2024-10-222023-07-18
WeightsProprietaryOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked4929

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

Category by category

Coding Claude 3.5 Haiku leads

Claude 3.5 Haiku: 32.9 (#265), Llama 2-7B: 29.2 (#307)

Coding benchmarks
BenchmarkClaude 3.5 HaikuLlama 2-7B
LMArena Coding12861002
Aider Polyglot28%—
SciCode27.4%—
WeirdML30.7%—
BigCodeBench Instruct46.1%—
LiveBench Coding51.4%—
BigCodeBench Complete59%—
CadEval32%—

Agentic & Tool Use Not comparable

Claude 3.5 Haiku: 28.0 (#95), Llama 2-7B: —

Agentic & Tool Use benchmarks
BenchmarkClaude 3.5 HaikuLlama 2-7B
BALROG19.3%—

Reasoning Claude 3.5 Haiku leads

Claude 3.5 Haiku: 17.7 (#290), Llama 2-7B: 15.7 (#312)

Reasoning benchmarks
BenchmarkClaude 3.5 HaikuLlama 2-7B
LMArena Hard Prompts12511009
Epoch Capabilities Index127.1599.06
CritPt0%—
Chess Puzzles—0%
LiveBench Reasoning28.1%—
DTBench56.7%—
LiveBench Data Analysis48.5%—
BIG-Bench Hard—39.2%
HellaSwag—77.2%
LAMBADA—73.3%
LiveBench43.5%—
PIQA—78.8%
WinoGrande—69.2%

Math Llama 2-7B leads

Claude 3.5 Haiku: 14.7 (#300), Llama 2-7B: 30.7 (#233)

Math benchmarks
BenchmarkClaude 3.5 HaikuLlama 2-7B
LMArena Math12441042
OTIS Mock AIME 2024-20254.3%—
Omni-MATH22.4%—
LiveBench Math35.5%—
MATH Level 546.4%—
FrontierMath (Feb 2025 set)0.3%—
GSM8K—16.7%

Knowledge Llama 2-7B leads

Claude 3.5 Haiku: 18.7 (#281), Llama 2-7B: 28.2 (#248)

Knowledge benchmarks
BenchmarkClaude 3.5 HaikuLlama 2-7B
LMArena Expert12081036
MMLU74.3%45.8%
GPQA Diamond38.1%—
MMLU-Pro60.5%—
Confabulations36.7%—
GPQA (HELM)36.3%—
ARC (AI2) Challenge—45.9%
BoolQ—77.9%
OpenBookQA—58.6%
TriviaQA—73.7%

Multimodal Not comparable

Claude 3.5 Haiku: 26.8 (#117), Llama 2-7B: —

Multimodal benchmarks
BenchmarkClaude 3.5 HaikuLlama 2-7B
LMArena Vision1092—
GeoBench34%—
ScienceQA—43.1%

Multilingual Claude 3.5 Haiku leads

Claude 3.5 Haiku: 40.0 (#218), Llama 2-7B: 23.8 (#293)

Multilingual benchmarks
BenchmarkClaude 3.5 HaikuLlama 2-7B
LMArena Non-English1238973
LMArena Chinese1229973
LMArena French1264970
LMArena German1237978
LMArena Russian1253995
LMArena Spanish12611007
LMArena Japanese1175—
LMArena Korean1173—

Instruction Following Claude 3.5 Haiku leads

Claude 3.5 Haiku: 62.9 (#234), Llama 2-7B: 50.8 (#298)

Instruction Following benchmarks
BenchmarkClaude 3.5 HaikuLlama 2-7B
LMArena Instruction Following12411006
LiveBench Instruction Following61.9%—
IFEval79.2%—

Long Context Claude 3.5 Haiku leads

Claude 3.5 Haiku: 38.3 (#200), Llama 2-7B: 30.4 (#287)

Long Context benchmarks
BenchmarkClaude 3.5 HaikuLlama 2-7B
LMArena Longer Query1261999

Writing & Preference Claude 3.5 Haiku leads

Claude 3.5 Haiku: 42.7 (#234), Llama 2-7B: 28.0 (#298)

Writing & Preference benchmarks
BenchmarkClaude 3.5 HaikuLlama 2-7B
LMArena Text12551053
LMArena Creative Writing12331033
LMArena Multi-Turn12651029
Short-Story Creative Writing73.5%—
EQ-Bench Creative Writing1146—
WildBench76%—
LiveBench Language35.4%—

Frequently asked questions

Is Claude 3.5 Haiku better than Llama 2-7B?

Claude 3.5 Haiku and Llama 2-7B score almost the same on the Noometry Index (29.2 vs 29.1), so choose on price, context window or the category you care about most.

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

Claude 3.5 Haiku scores higher on coding benchmarks: 32.9 versus 29.2 in the Noometry coding category.

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

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

Related comparisons

Go deeper