Model comparison
GPT-4.1 vs Llama 2-7B
GPT-4.1 is the stronger model overall, scoring 35.9 to 29.1 on the Noometry Index.
Last verified . 17 shared benchmarks.
Summary
- They share 17 benchmarks with published results for both. GPT-4.1 scores higher in 6 categories and Llama 2-7B in 2 categories; 8 gaps are clear of the uncertainty.
- The widest gap is in writing & preference, where GPT-4.1 leads 57.6 to 28.0.
- The biggest single-benchmark swing is Chess Puzzles: 6% for GPT-4.1 and 0% for Llama 2-7B.
- Llama 2-7B has downloadable open weights; the other is API-only.
Side by side
| GPT-4.1 | Llama 2-7B | |
|---|---|---|
| Provider | OpenAI | Meta |
| Noometry Index | 35.9 | 29.1 |
| Released | 2025-04-14 | 2023-07-18 |
| Weights | Proprietary | Open |
| Context window | 1.05M | — |
| Max output | 33K | — |
| Input $ / M tokens | $2 | — |
| Output $ / M tokens | $8 | — |
| Results tracked | 52 | 29 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding GPT-4.1 leads
GPT-4.1: 34.4 (#238), Llama 2-7B: 29.2 (#307)
| Benchmark | GPT-4.1 | Llama 2-7B |
|---|---|---|
| LMArena Coding | 1391 | 1002 |
| SWE-bench Verified | 48.5% | — |
| SWE-bench Verified (bash only) | 39.6% | — |
| Aider Polyglot | 52.4% | — |
| WeirdML | 39% | — |
| CadEval | 42% | — |
| ALE-Bench | 558.1 | — |
Agentic & Tool Use Not comparable
GPT-4.1: 34.7 (#43), Llama 2-7B: —
| Benchmark | GPT-4.1 | Llama 2-7B |
|---|---|---|
| Berkeley Function Calling Leaderboard | 54% | — |
Reasoning Llama 2-7B leads
GPT-4.1: 11.7 (#339), Llama 2-7B: 15.7 (#312)
| Benchmark | GPT-4.1 | Llama 2-7B |
|---|---|---|
| Chess Puzzles | 6% | 0% |
| LMArena Hard Prompts | 1384 | 1009 |
| Epoch Capabilities Index | 136.78 | 99.06 |
| ARC-AGI-2 | 0.4% | — |
| SimpleBench | 27% | — |
| Kagi LLM Benchmark | 52.3% | — |
| ARC-AGI-1 | 5.5% | — |
| EnigmaEval | 2.2% | — |
| DTBench | 68.3% | — |
| LMCA | 25.6% | — |
| BIG-Bench Hard | — | 39.2% |
| ForecastBench | 61.5 | — |
| HellaSwag | — | 77.2% |
| LAMBADA | — | 73.3% |
| PIQA | — | 78.8% |
| WinoGrande | — | 69.2% |
Math Llama 2-7B leads
GPT-4.1: 22.3 (#280), Llama 2-7B: 30.7 (#233)
| Benchmark | GPT-4.1 | Llama 2-7B |
|---|---|---|
| LMArena Math | 1370 | 1042 |
| FrontierMath (Tiers 1-3) | 6% | — |
| OTIS Mock AIME 2024-2025 | 38.3% | — |
| Omni-MATH | 47.1% | — |
| MATH Level 5 | 83% | — |
| FrontierMath (Feb 2025 set) | 5.5% | — |
| FrontierMath Tier 4 (v1) | 0% | — |
| GSM8K | — | 16.7% |
Knowledge GPT-4.1 leads
GPT-4.1: 37.1 (#160), Llama 2-7B: 28.2 (#248)
| Benchmark | GPT-4.1 | Llama 2-7B |
|---|---|---|
| LMArena Expert | 1364 | 1036 |
| GPQA Diamond | 66.9% | — |
| Humanity's Last Exam | 5.4% | — |
| SimpleQA Verified | 31.1% | — |
| MMLU-Pro | 81.1% | — |
| Vectara Hallucination Rate | 5.6% | — |
| GPQA (HELM) | 65.9% | — |
| ARC (AI2) Challenge | — | 45.9% |
| BoolQ | — | 77.9% |
| MMLU | — | 45.8% |
| OpenBookQA | — | 58.6% |
| TriviaQA | — | 73.7% |
Multimodal Not comparable
GPT-4.1: 38.2 (#67), Llama 2-7B: —
| Benchmark | GPT-4.1 | Llama 2-7B |
|---|---|---|
| LMArena Vision | 1211 | — |
| GeoBench | 72% | — |
| ScienceQA | — | 43.1% |
Multilingual GPT-4.1 leads
GPT-4.1: 49.4 (#133), Llama 2-7B: 23.8 (#293)
| Benchmark | GPT-4.1 | Llama 2-7B |
|---|---|---|
| LMArena Non-English | 1370 | 973 |
| LMArena Chinese | 1382 | 973 |
| LMArena French | 1382 | 970 |
| LMArena German | 1381 | 978 |
| LMArena Russian | 1377 | 995 |
| LMArena Spanish | 1376 | 1007 |
| LMArena Japanese | 1319 | — |
| LMArena Korean | 1339 | — |
Instruction Following GPT-4.1 leads
GPT-4.1: 71.3 (#153), Llama 2-7B: 50.8 (#298)
| Benchmark | GPT-4.1 | Llama 2-7B |
|---|---|---|
| LMArena Instruction Following | 1367 | 1006 |
| IFEval | 83.8% | — |
Long Context GPT-4.1 leads
GPT-4.1: 40.0 (#163), Llama 2-7B: 30.4 (#287)
| Benchmark | GPT-4.1 | Llama 2-7B |
|---|---|---|
| LMArena Longer Query | 1385 | 999 |
| Fiction.LiveBench | 63.9% | — |
Writing & Preference GPT-4.1 leads
GPT-4.1: 57.6 (#125), Llama 2-7B: 28.0 (#298)
| Benchmark | GPT-4.1 | Llama 2-7B |
|---|---|---|
| LMArena Text | 1383 | 1053 |
| LMArena Creative Writing | 1363 | 1033 |
| LMArena Multi-Turn | 1398 | 1029 |
| EQ-Bench Creative Writing | 1420 | — |
| WildBench | 85.4% | — |
Frequently asked questions
Is GPT-4.1 better than Llama 2-7B?
GPT-4.1 is the stronger model overall, scoring 35.9 to 29.1 on the Noometry Index.
Is GPT-4.1 or Llama 2-7B better for coding?
GPT-4.1 scores higher on coding benchmarks: 34.4 versus 29.2 in the Noometry coding category.
How many benchmarks do GPT-4.1 and Llama 2-7B share?
17 benchmarks have published results for both models. GPT-4.1 has 52 scored results on Noometry and Llama 2-7B has 29.