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

#ModelScoreOverall rank
1O10.996#420
2Claude 3.5 Sonnet0.87#792
3GPT-4o0.791#780
4deepseek-coder0.706
5Llama 3.1 405B0.702#1136
6Gemini 1.5 Flash0.641#1735
7Llama 3.1 70B0.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…

Source

Interactive version: theaggregate.ai/benchmark?slug=kernelbench · How It Works · Data refreshed daily, snapshot 2026-12-04.