KernelBench
The benchmark’s paper hasn’t scored a model released after o1 (December 2024). Labs report their own numbers for one newer model: MiniMax-M3 at 28.8%.
Replace PyTorch operators with faster custom GPU kernels. Scored on correctness and speedup.
KernelBench v0.1 (July 2025) fixed problem sizes and numerics, added randomized tests and a Level 4 of Hugging Face models. The HF dataset tracks v0.1. xAI reports an internal derivative, KernelBenchInternal v1.1.
- Made by
- Stanford Scaling Intelligence
- Released
- December 2024
- Kind
- GPU kernels
- Level
- Expert
- Scored
- Checked automatically
- Answers
- Code
- Tasks
- All public
- Measures
- Efficiency
- Language
- English
- Interaction
- Single turn
- Environment
- Code sandbox
- Items from
- Real work and use
- Refresh
- New versions replace it
- Run by
- Anyone
- Strongest model tested
-
MiniMax-M3 #81 on the capability index
- Last in a launch post
- June 2026
- Last model added
- June 2026
- Updated automatically
- No, from its paper
- Scores refreshed
- November 24th, 2026
In the authors’ words
Efficient GPU kernels are crucial for building performant machine learning architectures, but writing them is a time-consuming challenge that requires significant expertise; therefore, we explore using language models (LMs) to automate kernel generation. We introduce KernelBench, an open-source framework for evaluating LMs' ability to write fast and correct kernels on a suite of 250 carefully selected PyTorch ML workloads. KernelBench represents a real-world engineering environment and making progress on the introduced benchmark directly translates to faster practical kernels. We introduce a new evaluation metric fast_p, which measures the percentage of generated kernels that are functionally correct and offer a speedup greater than an adjustable threshold p over baseline. Our experiments across various state-of-the-art models and test-time methods show that frontier reasoning models perform the best out of the box but still fall short overall, matching the PyTorch baseline in less than 20% of the cases. While we show that results can improve by leveraging execution and profiling feedback during iterative refinement, KernelBench remains a challenging benchmark, with its difficulty increasing as we raise speedup threshold p.
MiniMax-M3 leads with 28.8%
Best score per model as labs report them in their own cards, drawn striped. Labs pick their own settings, so these compare less cleanly than independent runs.
o1 leads with 15.3% across all independent runs
Best score per model across the benchmark’s paper, Epoch AI’s own runs and any board Epoch AI copied. Dotted bars are reruns by Epoch AI or another board, and each row names its source.
MiniMax-M3 leads with 28.8%, claims included
Best score per model from every source, including labs’ own numbers and claims Epoch AI collected from reports and papers. Labs pick their own settings, so a claim can beat an independent run of the same model. Striped bars are claims, and dotted bars are reruns by Epoch AI or another board.
- 1
MiniMax-M3 28.8%
Source: Labs’ model cards
Source: The KernelBench paper
- 1
MiniMax-M3 28.8%
- 2 o1 Single attempt, NVIDIA L40S 15.3%
- 3
Llama 3.1-405B Single attempt, NVIDIA L40S 1.67%
- 4
Llama 3.1-70B Single attempt, NVIDIA L40S 1.00%
Sources: Labs’ model cards and the KernelBench paper
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | | 28.8% | Jun 2026 | Lab model card |
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | o1 | 15.3% | Single attempt, NVIDIA L40S | Dec 2024 | Official leaderboard |
| 2 | 1.67% | Single attempt, NVIDIA L40S | Jul 2024 | Official leaderboard | |
| 3 | 1.00% | Single attempt, NVIDIA L40S | Jul 2024 | Official leaderboard |
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | 28.8% | Jun 2026 | Lab model card | ||
| 2 | o1 | 15.3% | Single attempt, NVIDIA L40S | Dec 2024 | Official leaderboard |
| 3 | 1.67% | Single attempt, NVIDIA L40S | Jul 2024 | Official leaderboard | |
| 4 | 1.00% | Single attempt, NVIDIA L40S | Jul 2024 | Official leaderboard |
The benchmark's paper has 7 entries, 3 of them models we track. Switch the scores above to rank them together.
Rankings by part
We read 6 parts from the benchmark’s paper in 2 groups: pytorch eager and torch.compile. Each ranks models on one part of the test. o1 leads every one of them. Arrows show how far a model moved from its overall rank among the models we track.
Level 1 (PyTorch Eager)
3 models we track have a score here.
- 1 o1 10%
- 2
Llama 3.1-405B 3.00%
- 3
Llama 3.1-70B 3.00%
Level 2 (PyTorch Eager)
3 models we track have a score here.
- 1 o1 24%
- 2
Llama 3.1-405B 0%
- 3
Llama 3.1-70B 0%
Level 3 (PyTorch Eager)
3 models we track have a score here.
- 1 o1 12%
- 2
Llama 3.1-405B 2.00%
- 3
Llama 3.1-70B 0%
Level 1 (torch.compile)
3 models we track have a score here.
- 1 o1 28%
- 2
Llama 3.1-405B 16%
- 3
Llama 3.1-70B 11%
Level 2 (torch.compile)
3 models we track have a score here.
- 1 o1 19%
- 2
Llama 3.1-405B 0%
- 3
Llama 3.1-70B 0%
Level 3 (torch.compile)
3 models we track have a score here.
- 1 o1 4.00%
- 2
Llama 3.1-405B 0%
- 3
Llama 3.1-70B 0%
Everything the board measures
The benchmark’s paper publishes 7 numbers for each entry: the headline score and 6 parts of the test. Rank entries by any one, compare them all in the table, or plot any two. Each row is the entry’s best run on the headline score.
- Headline
- Headline score
- Parts
- Level 1 (PyTorch Eager)
- Level 2 (PyTorch Eager)
- Level 3 (PyTorch Eager)
- Level 1 (torch.compile)
- Level 2 (torch.compile)
- Level 3 (torch.compile)
- Headline
- Headline score
- Parts
- Level 1 (PyTorch Eager)
- Level 2 (PyTorch Eager)
- Level 3 (PyTorch Eager)
- Level 1 (torch.compile)
- Level 2 (torch.compile)
- Level 3 (torch.compile)
- Headline
- Headline score
- Parts
- Level 1 (PyTorch Eager)
- Level 2 (PyTorch Eager)
- Level 3 (PyTorch Eager)
- Level 1 (torch.compile)
- Level 2 (torch.compile)
- Level 3 (torch.compile)
- Meta
- OpenAI
- not in our model list
Number one over time 2 models have held number one across all independent runs since its release in December 2024 3 models have held number one with claims included since its release in December 2024
Lab claims count from the day the card came out, independent runs from the model’s release.
Source: The KernelBench paper
Scores over time
All the scores we have, one dot each, so a model tested at several settings appears more than once.
Sources: Official KernelBench leaderboard and labs’ model cards
One lab put it in a launch post in the last six months
Launch posts from every lab that has listed it, one tick per post. Tall colored ticks include it, and short gray ones leave it out.
| Date | Launch post | Score | As the post writes it |
|---|---|---|---|
| Jun 1, 2026 | 28.8 | KernelBench Hard |
More in AI research
- PaperBench In use Agent replicates ICML 2024 papers from scratch. LLM judge grades against author-written hierarchical rubrics.
Qwen 3.8 Max 93%
- MLS-Bench In use Agent must invent one algorithmic change in an ML research scaffold whose gain transfers across settings. Scored relative to human baselines. Claude Fable 5.1 50.3%
- PostTrainBench 1.2 In use CLI agent gets a base model, one H100 and a time budget to post-train it for a target benchmark. Scored on normalized gain. Claude Fable 5.1 44.6%
- MLE-bench In use Kaggle-style ML engineering competitions. Agent trains models and is scored against competition leaderboards. GPT-6.2 Astra 96.1%
- RSI Index (OpenAI) In use An aggregate of OpenAI's internal evaluations of progress toward recursive self-improvement. The parts are real AI research tasks such as debugging research systems, optimizing kernels and training recipes, and improving another model. GPT-5.6 Sol 57.9%
- PMPP-Hard In use Agents write GPU kernels for 69 tasks that must be correct, and on 48 of them also run within 1.25 times the reference time. The score is the area under the solved-tasks curve over a 10-hour budget, out of 690 task-hours. Kimi K3 0.71
Data audit
All 10 checks pass. Every benchmark
Catalog record 2 pass
- Pass Task access All tasks are public.
- Pass Confidence Checked against a primary source.
Scores 4 pass 1 note
- Pass Independent runs Scores from the benchmark’s paper (7 entries) and launch posts (1 score).
- Pass Models scored 4 models we track, plus 4 other entries on its leaderboard.
- Pass Newest score The newest is from June 2026, for MiniMax-M3.
- Note Frontier models None of the top 10 has a score. The strongest tested is MiniMax-M3 (#81).
- Pass Headroom The best is 28.8%, under 85%, so it still separates models.
Leaderboard import 3 pass
- Pass Importer We read the board on arxiv.org: 3 rows for models we track and 4 other entries at the last read.
- Pass Last read November 24th, 2026.
- Pass Read worked The last read worked.
Consistency 1 pass 2 notes
- Note Lab claims No model has both a lab number and an independent run.
- Pass Known issues No published audit found problems.
- Note Epoch AI review Epoch AI hasn’t reviewed it.