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

#ModelScoreOverall rank
1GPT-4 Turbo37.74#1060
2Claude 226.42#2498
3GPT-3.5 Turbo25.86#3109
4Claude Instant23.94#4948
5Qwen-14B-Chat22.28#5081
6Yi Chat 34B18.93#3842
7Mistral Instruct v0.1 7B18.22#8410
8PaLM 216.46#7221
9Phi-29.21#8899
10vicuna-13B-v1.37.56#8211
11Phi-1.50.22#9423
12mpt-30B Instruct0.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.