NPHardEval: leaderboard
Evaluates LLMs on 9 NP-hard computational problems (TSP, graph coloring, knapsack, etc.) spanning P, NP-complete, and NP-hard complexity classes.
Metric: Average Accuracy (%). Source: huggingface.co. Saturation forecast: Estimated already saturated. 12 models tracked. Updated 14 Apr 2026.
Top models
| # | Model | Score | Overall rank |
|---|---|---|---|
| 1 | GPT-4 Turbo | 37.74 | #1060 |
| 2 | Claude 2 | 26.42 | #2498 |
| 3 | GPT-3.5 Turbo | 25.86 | #3109 |
| 4 | Claude Instant | 23.94 | #4948 |
| 5 | Qwen-14B-Chat | 22.28 | #5081 |
| 6 | Yi Chat 34B | 18.93 | #3842 |
| 7 | Mistral Instruct v0.1 7B | 18.22 | #8410 |
| 8 | PaLM 2 | 16.46 | #7221 |
| 9 | Phi-2 | 9.21 | #8899 |
| 10 | vicuna-13B-v1.3 | 7.56 | #8211 |
| 11 | Phi-1.5 | 0.22 | #9423 |
| 12 | mpt-30B Instruct | 0.02 | #8552 |
No result here: #2 Claude Fable 5.2, #5 GPT-6.2 Astra, #6 Gemini 4 Neon.
Interactive version: theaggregate.ai/benchmark?slug=nphardeval · How It Works · Data refreshed daily, snapshot 2026-12-04.