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.
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 | Llama 2-7B | |
|---|---|---|
| Provider | Anthropic | Meta |
| Noometry Index | 29.2 | 29.1 |
| 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.9 (#265), Llama 2-7B: 29.2 (#307)
| Benchmark | Claude 3.5 Haiku | Llama 2-7B |
|---|---|---|
| LMArena Coding | 1286 | 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: 28.0 (#95), 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.7 (#290), Llama 2-7B: 15.7 (#312)
| Benchmark | Claude 3.5 Haiku | Llama 2-7B |
|---|---|---|
| LMArena Hard Prompts | 1251 | 1009 |
| Epoch Capabilities Index | 127.15 | 99.06 |
| 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: 14.7 (#300), Llama 2-7B: 30.7 (#233)
| 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 (#281), Llama 2-7B: 28.2 (#248)
| 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.8 (#117), 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.0 (#218), Llama 2-7B: 23.8 (#293)
| Benchmark | Claude 3.5 Haiku | Llama 2-7B |
|---|---|---|
| LMArena Non-English | 1238 | 973 |
| LMArena Chinese | 1229 | 973 |
| LMArena French | 1264 | 970 |
| LMArena German | 1237 | 978 |
| LMArena Russian | 1253 | 995 |
| LMArena Spanish | 1261 | 1007 |
| LMArena Japanese | 1175 | — |
| LMArena Korean | 1173 | — |
Instruction Following Claude 3.5 Haiku leads
Claude 3.5 Haiku: 62.9 (#234), Llama 2-7B: 50.8 (#298)
| 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 (#200), Llama 2-7B: 30.4 (#287)
| 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.7 (#234), Llama 2-7B: 28.0 (#298)
| 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 (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.