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 (28.9 vs 28.6), so choose on price, context window or the category you care about most.

Last verified . 17 shared benchmarks.

Claude 3.5 Haiku Anthropic

28.9

Rank #309 Confirmed

Llama 2-7B Meta

28.6

Rank #315 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.2 to 23.9.
  • 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 Index28.928.6
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.6 (#258), Llama 2-7B: 28.7 (#302)

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

Agentic & Tool Use Not comparable

Claude 3.5 Haiku: 27.7 (#90), 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.1 (#286), Llama 2-7B: 15.1 (#309)

Reasoning benchmarks
BenchmarkClaude 3.5 HaikuLlama 2-7B
LMArena Hard Prompts12511009
Epoch Capabilities Index127.1598.54
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: 13.7 (#294), Llama 2-7B: 28.2 (#231)

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

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.3 (#113), 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.2 (#213), Llama 2-7B: 23.9 (#288)

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

Instruction Following Claude 3.5 Haiku leads

Claude 3.5 Haiku: 63.1 (#229), Llama 2-7B: 51.0 (#293)

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 (#195), Llama 2-7B: 30.4 (#282)

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

Writing & Preference Claude 3.5 Haiku leads

Claude 3.5 Haiku: 42.9 (#228), Llama 2-7B: 28.1 (#293)

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 (28.9 vs 28.6), 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.6 versus 28.7 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