Model comparison
GPT-5 Nano vs Llama 2-7B
GPT-5 Nano is the stronger model overall, scoring 33.5 to 29.1 on the Noometry Index.
Last verified . 16 shared benchmarks.
Summary
- They share 16 benchmarks with published results for both. GPT-5 Nano scores higher in 7 categories and Llama 2-7B in 1 category; 6 gaps are clear of the uncertainty.
- The widest gap is in instruction following, where GPT-5 Nano leads 75.0 to 50.8.
- The biggest single-benchmark swing is Chess Puzzles: 27% for GPT-5 Nano and 0% for Llama 2-7B.
- Llama 2-7B has downloadable open weights; the other is API-only.
Side by side
| GPT-5 Nano | Llama 2-7B | |
|---|---|---|
| Provider | OpenAI | Meta |
| Noometry Index | 33.5 | 29.1 |
| Released | 2025-08-07 | 2023-07-18 |
| Weights | Proprietary | Open |
| Context window | 400K | — |
| Max output | 128K | — |
| Input $ / M tokens | $0.05 | — |
| Output $ / M tokens | $0.40 | — |
| Results tracked | 49 | 29 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding GPT-5 Nano leads
GPT-5 Nano: 33.6 (#254), Llama 2-7B: 29.2 (#307)
| Benchmark | GPT-5 Nano | Llama 2-7B |
|---|---|---|
| LMArena Coding | 1351 | 1002 |
| SWE-bench Verified (bash only) | 34.8% | — |
| WeirdML | 38.1% | — |
| ALE-Bench | 718.67 | — |
Agentic & Tool Use Not comparable
GPT-5 Nano: 25.8 (#106), Llama 2-7B: —
| Benchmark | GPT-5 Nano | Llama 2-7B |
|---|---|---|
| Terminal-Bench | 21.8% | — |
| Berkeley Function Calling Leaderboard | 51.5% | — |
Reasoning Too close to call
GPT-5 Nano: 16.3 (#306), Llama 2-7B: 15.7 (#312)
| Benchmark | GPT-5 Nano | Llama 2-7B |
|---|---|---|
| Chess Puzzles | 27% | 0% |
| LMArena Hard Prompts | 1328 | 1009 |
| Epoch Capabilities Index | 139.38 | 99.06 |
| ARC-AGI-2 | 2.6% | — |
| Kagi LLM Benchmark | 62.2% | — |
| ARC-AGI-1 | 20.7% | — |
| Mystery Game Puzzles | 9% | — |
| DTBench | 62.7% | — |
| LMCA | 7.9% | — |
| BIG-Bench Hard | — | 39.2% |
| ForecastBench | 59.1 | — |
| HellaSwag | — | 77.2% |
| LAMBADA | — | 73.3% |
| PIQA | — | 78.8% |
| WinoGrande | — | 69.2% |
Math Llama 2-7B leads
GPT-5 Nano: 29.4 (#241), Llama 2-7B: 30.7 (#233)
| Benchmark | GPT-5 Nano | Llama 2-7B |
|---|---|---|
| LMArena Math | 1317 | 1042 |
| FrontierMath (Tiers 1-3) | 20% | — |
| FrontierMath Tier 4 | 2.4% | — |
| OTIS Mock AIME 2024-2025 | 81.1% | — |
| ProofBench | 12% | — |
| Omni-MATH | 54.6% | — |
| MATH Level 5 | 95.2% | — |
| FrontierMath (Feb 2025 set) | 8.3% | — |
| FrontierMath Tier 4 (v1) | 2.1% | — |
| GSM8K | — | 16.7% |
Knowledge GPT-5 Nano leads
GPT-5 Nano: 35.9 (#178), Llama 2-7B: 28.2 (#248)
| Benchmark | GPT-5 Nano | Llama 2-7B |
|---|---|---|
| LMArena Expert | 1321 | 1036 |
| GPQA Diamond | 69.4% | — |
| SimpleQA Verified | 11.7% | — |
| MMLU-Pro | 77.8% | — |
| Vectara Hallucination Rate | 10.5% | — |
| GPQA (HELM) | 67.9% | — |
| ARC (AI2) Challenge | — | 45.9% |
| BoolQ | — | 77.9% |
| MMLU | — | 45.8% |
| OpenBookQA | — | 58.6% |
| TriviaQA | — | 73.7% |
Multimodal Not comparable
GPT-5 Nano: 31.3 (#108), Llama 2-7B: —
| Benchmark | GPT-5 Nano | Llama 2-7B |
|---|---|---|
| LMArena Vision | 1159 | — |
| VPCT | 37.2% | — |
| ScienceQA | — | 43.1% |
Multilingual GPT-5 Nano leads
GPT-5 Nano: 45.3 (#172), Llama 2-7B: 23.8 (#293)
| Benchmark | GPT-5 Nano | Llama 2-7B |
|---|---|---|
| LMArena Non-English | 1313 | 973 |
| LMArena Chinese | 1356 | 973 |
| LMArena German | 1327 | 978 |
| LMArena Russian | 1296 | 995 |
| LMArena Spanish | 1360 | 1007 |
| LMArena French | — | 970 |
| LMArena Japanese | 1226 | — |
| LMArena Korean | 1269 | — |
Instruction Following GPT-5 Nano leads
GPT-5 Nano: 75.0 (#79), Llama 2-7B: 50.8 (#298)
| Benchmark | GPT-5 Nano | Llama 2-7B |
|---|---|---|
| LMArena Instruction Following | 1306 | 1006 |
| IFEval | 93.2% | — |
Long Context Too close to call
GPT-5 Nano: 31.3 (#281), Llama 2-7B: 30.4 (#287)
| Benchmark | GPT-5 Nano | Llama 2-7B |
|---|---|---|
| LMArena Longer Query | 1312 | 999 |
| Fiction.LiveBench | 44.4% | — |
Writing & Preference GPT-5 Nano leads
GPT-5 Nano: 39.1 (#249), Llama 2-7B: 28.0 (#298)
| Benchmark | GPT-5 Nano | Llama 2-7B |
|---|---|---|
| LMArena Text | 1320 | 1053 |
| LMArena Creative Writing | 1249 | 1033 |
| LMArena Multi-Turn | 1311 | 1029 |
| EQ-Bench Creative Writing | 705 | — |
| WildBench | 80.6% | — |
Frequently asked questions
Is GPT-5 Nano better than Llama 2-7B?
GPT-5 Nano is the stronger model overall, scoring 33.5 to 29.1 on the Noometry Index.
Is GPT-5 Nano or Llama 2-7B better for coding?
GPT-5 Nano scores higher on coding benchmarks: 33.6 versus 29.2 in the Noometry coding category.
How many benchmarks do GPT-5 Nano and Llama 2-7B share?
16 benchmarks have published results for both models. GPT-5 Nano has 49 scored results on Noometry and Llama 2-7B has 29.