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.
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 | Llama 2-7B | |
|---|---|---|
| Provider | Anthropic | Meta |
| Noometry Index | 28.9 | 28.6 |
| Released | 2024-10-22 | 2023-07-18 |
| Weights | Proprietary | Open |
| Context window | — | — |
| Max output | — | — |
| Input $ / M tokens | — | — |
| Output $ / M tokens | — | — |
| Results tracked | 49 | 29 |
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)
| Benchmark | Claude 3.5 Haiku | Llama 2-7B |
|---|---|---|
| LMArena Coding | 1287 | 1002 |
| Aider Polyglot | 28% | — |
| SciCode | 27.4% | — |
| WeirdML | 30.7% | — |
| BigCodeBench Instruct | 46.1% | — |
| LiveBench Coding | 51.4% | — |
| BigCodeBench Complete | 59% | — |
| CadEval | 32% | — |
Agentic & Tool Use Not comparable
Claude 3.5 Haiku: 27.7 (#90), Llama 2-7B: —
| Benchmark | Claude 3.5 Haiku | Llama 2-7B |
|---|---|---|
| BALROG | 19.3% | — |
Reasoning Claude 3.5 Haiku leads
Claude 3.5 Haiku: 17.1 (#286), Llama 2-7B: 15.1 (#309)
| Benchmark | Claude 3.5 Haiku | Llama 2-7B |
|---|---|---|
| LMArena Hard Prompts | 1251 | 1009 |
| Epoch Capabilities Index | 127.15 | 98.54 |
| CritPt | 0% | — |
| Chess Puzzles | — | 0% |
| LiveBench Reasoning | 28.1% | — |
| DTBench | 56.7% | — |
| LiveBench Data Analysis | 48.5% | — |
| BIG-Bench Hard | — | 39.2% |
| HellaSwag | — | 77.2% |
| LAMBADA | — | 73.3% |
| LiveBench | 43.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)
| Benchmark | Claude 3.5 Haiku | Llama 2-7B |
|---|---|---|
| LMArena Math | 1244 | 1042 |
| OTIS Mock AIME 2024-2025 | 4.3% | — |
| Omni-MATH | 22.4% | — |
| LiveBench Math | 35.5% | — |
| MATH Level 5 | 46.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)
| Benchmark | Claude 3.5 Haiku | Llama 2-7B |
|---|---|---|
| LMArena Expert | 1208 | 1036 |
| MMLU | 74.3% | 45.8% |
| GPQA Diamond | 38.1% | — |
| MMLU-Pro | 60.5% | — |
| Confabulations | 36.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: —
| Benchmark | Claude 3.5 Haiku | Llama 2-7B |
|---|---|---|
| LMArena Vision | 1092 | — |
| GeoBench | 34% | — |
| ScienceQA | — | 43.1% |
Multilingual Claude 3.5 Haiku leads
Claude 3.5 Haiku: 40.2 (#213), Llama 2-7B: 23.9 (#288)
| Benchmark | Claude 3.5 Haiku | Llama 2-7B |
|---|---|---|
| LMArena Non-English | 1238 | 973 |
| LMArena Chinese | 1229 | 973 |
| LMArena French | 1262 | 969 |
| LMArena German | 1237 | 978 |
| LMArena Russian | 1253 | 995 |
| LMArena Spanish | 1261 | 1007 |
| LMArena Japanese | 1175 | — |
| LMArena Korean | 1172 | — |
Instruction Following Claude 3.5 Haiku leads
Claude 3.5 Haiku: 63.1 (#229), Llama 2-7B: 51.0 (#293)
| Benchmark | Claude 3.5 Haiku | Llama 2-7B |
|---|---|---|
| LMArena Instruction Following | 1241 | 1006 |
| LiveBench Instruction Following | 61.9% | — |
| IFEval | 79.2% | — |
Long Context Claude 3.5 Haiku leads
Claude 3.5 Haiku: 38.3 (#195), Llama 2-7B: 30.4 (#282)
| Benchmark | Claude 3.5 Haiku | Llama 2-7B |
|---|---|---|
| LMArena Longer Query | 1261 | 999 |
Writing & Preference Claude 3.5 Haiku leads
Claude 3.5 Haiku: 42.9 (#228), Llama 2-7B: 28.1 (#293)
| Benchmark | Claude 3.5 Haiku | Llama 2-7B |
|---|---|---|
| LMArena Text | 1255 | 1053 |
| LMArena Creative Writing | 1233 | 1033 |
| LMArena Multi-Turn | 1265 | 1029 |
| Short-Story Creative Writing | 73.5% | — |
| EQ-Bench Creative Writing | 1146 | — |
| WildBench | 76% | — |
| LiveBench Language | 35.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.