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.

Top models

#ModelScoreOverall rank
1GPT-4 Turbo37.74#404
2Claude 226.42#761
3GPT-3.5 Turbo25.86#865
4Qwen-14B-Chat22.28#1169
5Yi Chat 34B18.93#976
6Mistral Instruct v0.1 7B18.22#1454
7Phi-29.21#1511
8vicuna-13B-v1.37.56#1447
9Phi-1.50.22#1549
10mpt-30B Instruct0.02#1470

No result here: #3 Claude Opus 5.5, #6 GPT-6 Astra, #7 GPT-6.1 Sol.

Interactive version: theaggregate.ai/benchmark?slug=nphardeval · How It Works · Data refreshed daily, snapshot 2026-10-20.