FlashInfer-Bench
Agents generate GPU kernels for LLM inference that are benchmarked on workloads from real serving traces and can be deployed into the FlashInfer stack.
Repo opened in June 2025 and the paper followed in January 2026. 301 GitHub stars.
- Made by
- FlashInfer team
- Released
- June 2025
- Kind
- GPU kernels
- Level
- Expert
- Scored
- Checked automatically
- Answers
- Code
- Tasks
- All public
- Strongest model tested
- GPT-5 #70 on the capability index
- Last model added
- August 2025
- Scores refreshed
- November 12th, 2026
In the authors’ words
Recent advances show that large language models (LLMs) can act as autonomous agents capable of generating GPU kernels, but integrating these AI-generated kernels into real-world inference systems remains challenging. FlashInfer-Bench addresses this gap by establishing a standardized, closed-loop framework that connects kernel generation, benchmarking, and deployment. At its core, FlashInfer Trace provides a unified schema describing kernel definitions, workloads, implementations, and evaluations, enabling consistent communication between agents and systems. Built on real serving traces, FlashInfer-Bench includes a curated dataset, a robust correctness- and performance-aware benchmarking framework, a public leaderboard to track LLM agents' GPU programming capabilities, and a dynamic substitution mechanism (apply()) that seamlessly injects the best-performing kernels into production LLM engines such as SGLang and vLLM. Using FlashInfer-Bench, we further evaluate the performance and limitations of LLM agents, compare the trade-offs among different GPU programming languages, and provide insights for future agent design. FlashInfer-Bench thus establishes a practical, reproducible pathway for continuously improving AI-generated kernels and deploying them into large-scale LLM inference.
gemini-2.5-pro (snapshot unspecified) tops the leaderboard with 0.63×
Best score per entry from the benchmark's own leaderboard, read on November 12th, 2026. Where a model ran with several settings or harnesses, we keep its best. Names in gray aren't in our model list: fine-tunes, agent systems, products and older models. They don't count toward leaders. The best model we track is GPT-5, at 0.47×.
- 1 gemini-2.5-pro (snapshot unspecified) 0.63×
- 2 GPT-5 0.47×
- 3 Claude Opus 4.1 0.46×
- 4 gpt-o3 0.45×
Source: Official FlashInfer-Bench leaderboard
| # | Entry | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | gemini-2.5-pro (snapshot unspecified) | 0.63× | Official leaderboard | ||
| 2 | GPT-5 | 0.47× | Aug 2025 | Official leaderboard | |
| 3 | Claude Opus 4.1 | 0.46× | Aug 2025 | Official leaderboard | |
| 4 | gpt-o3 | 0.45× | Official leaderboard |
Scores over time
All the scores we have, one dot each, so a model tested at several settings appears more than once.
Source: Official FlashInfer-Bench leaderboard
No lab model card reports it yet
We read the headline results of 522 launch posts from 52 labs, and none of them list this benchmark.
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 Astra 93.8%
- KernelBench In use Replace PyTorch operators with faster custom GPU kernels. Scored on correctness and speedup.
MiniMax-M3 28.8%
- 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.
Inkling 2 Small 494.3