KernelBench: leaderboard
250 PyTorch workloads (operators, fusions, full architectures) where LLMs generate CUDA kernels. Measures average speedup over PyTorch baseline on Nvidia L40S. From Stanford Scaling Intelligence Lab.
Metric: Avg Speedup vs PyTorch. Source: scalingintelligence.stanford.edu. Saturation forecast: Estimated already saturated. 7 models tracked. Updated 3 Mar 2026.
Top models
| # | Model | Score | Overall rank |
|---|---|---|---|
| 1 | O1 | 0.996 | #420 |
| 2 | Claude 3.5 Sonnet | 0.87 | #792 |
| 3 | GPT-4o | 0.791 | #780 |
| 4 | deepseek-coder | 0.706 | |
| 5 | Llama 3.1 405B | 0.702 | #1136 |
| 6 | Gemini 1.5 Flash | 0.641 | #1735 |
| 7 | Llama 3.1 70B | 0.54 | #1507 |
No result here: #2 Claude Fable 5.2, #5 GPT-6.2 Astra, #6 Gemini 4 Neon.
Example tasks
import torch import torch.nn as nn class Model(nn.Module): """ Simple model that performs a ReLU activation. """ def __init__(self): super(Model, self).__init__() def forward(self, x: torch.Tensor) -> torch.Tensor: """ Applies ReLU activation to the input tensor. Args: x (torch.Tensor): Input tensor of any shape…
Interactive version: theaggregate.ai/benchmark?slug=kernelbench · How It Works · Data refreshed daily, snapshot 2026-12-04.