AlgoTune
Agents rewrite code for 154 math, physics, and computer science functions to run faster and stay correct. Scoring is harmonic mean speedup over reference code.
- Made by
- University of Tübingen and Princeton University
- Released
- July 2025
- Kind
- Speed and optimization
- Level
- Expert
- Scored
- Checked automatically
- Answers
- Code
- Tasks
- All public
- Strongest model tested
- GPT-5.4 #27 on the capability index
- Last model added
- March 2026
- Scores refreshed
- November 12th, 2026
In the authors’ words
Despite progress in language model (LM) capabilities, evaluations have thus far focused on models' performance on tasks that humans have previously solved, including in programming (Jimenez et al., 2024) and mathematics (Glazer et al., 2024). We therefore propose testing models' ability to design and implement algorithms in an open-ended benchmark: We task LMs with writing code that efficiently solves computationally challenging problems in computer science, physics, and mathematics. Our AlgoTune benchmark consists of 154 coding tasks collected from domain experts and a framework for validating and timing LM-synthesized solution code, which is compared to reference implementations from popular open-source packages. In addition, we develop a baseline LM agent, AlgoTuner, and evaluate its performance across a suite of frontier models. AlgoTuner uses a simple, budgeted loop that edits code, compiles and runs it, profiles performance, verifies correctness on tests, and selects the fastest valid version. AlgoTuner achieves an average 1.72x speedup against our reference solvers, which use libraries such as SciPy, sk-learn and CVXPY. However, we find that current models fail to discover algorithmic innovations, instead preferring surface-level optimizations. We hope that AlgoTune catalyzes the development of LM agents exhibiting creative problem solving beyond state-of-the-art human performance.
GPT-5.2 leads with 2.05× among models released by March 2026
Best score per model from the benchmark's own leaderboard, read on November 12th, 2026. Where a model ran with several settings or harnesses, we keep its best.
The newest model with a score here came out in March 2026, and nobody has tested a newer one. Among the 20 highest-ranked models on the capability index, these have no score yet:
- Claude Fable 5.2
-
Gemini 4 Carbon
- GPT-6 Astra
- Claude Opus 5.5
- and 16 more
- 2.05× GPT-5.2
- 2.02×
Gemini 3.1 Pro
- 1.85× GPT-5.4
- 1.83×
Gemini 3 Pro
- 1.77× Claude Opus 4.5
- 1.72× o4-mini
- 1.70×
DeepSeek-R1
- 1.67× GPT-5
- 1.52× GLM-4.5
- 1.52× Claude Sonnet 4.5
- 1.51×
Gemini 2.5 Pro
- 1.47× Claude Opus 4.6
- 1.44×
Qwen3-Coder-480B-A35B
- 1.41× gpt-oss-120b
- 1.38× GPT-5 mini
- 1.34× Claude Opus 4.1
- 1.33× Claude Opus 4
- 1.31× GPT-5 Pro
- 1 GPT-5.2 high 2.05×
- 2
Gemini 3.1 Pro high 2.02×
- 3 GPT-5.4 high 1.85×
- 4
Gemini 3 Pro high 1.83×
- 5 Claude Opus 4.5 high 1.77×
- 6 o4-mini high 1.72×
- 7
DeepSeek-R1 May 2025, high 1.70×
- 8 GPT-5 high 1.67×
- 9 GLM-4.5 high 1.52×
- 10 Claude Sonnet 4.5 high 1.52×
- 11
Gemini 2.5 Pro Jun 2025, high 1.51×
- 12 Claude Opus 4.6 high 1.47×
- 13
Qwen3-Coder-480B-A35B high 1.44×
- 14 gpt-oss-120b high 1.41×
- 15 GPT-5 mini high 1.38×
- 16 Claude Opus 4.1 high 1.34×
- 17 Claude Opus 4 high 1.33×
- 18 GPT-5 Pro medium 1.31×
Source: Official AlgoTune leaderboard
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | GPT-5.2 | 2.05× | high | Dec 2025 | Official leaderboard |
| 2 | | 2.02× | high | Feb 2026 | Official leaderboard |
| 3 | GPT-5.4 | 1.85× | high | Mar 2026 | Official leaderboard |
| 4 | | 1.83× | high | Nov 2025 | Official leaderboard |
| 5 | Claude Opus 4.5 | 1.77× | high | Nov 2025 | Official leaderboard |
| 6 | o4-mini | 1.72× | high | Apr 2025 | Official leaderboard |
| 7 | | 1.70× | high | May 2025 | Official leaderboard |
| 8 | GPT-5 | 1.67× | high | Aug 2025 | Official leaderboard |
| 9 | GLM-4.5 | 1.52× | high | Aug 2025 | Official leaderboard |
| 10 | Claude Sonnet 4.5 | 1.52× | high | Sep 2025 | Official leaderboard |
| 11 | | 1.51× | high | Jun 2025 | Official leaderboard |
| 12 | Claude Opus 4.6 | 1.47× | high | Feb 2026 | Official leaderboard |
| 13 | | 1.44× | high | Jul 2025 | Official leaderboard |
| 14 | gpt-oss-120b | 1.41× | high | Aug 2025 | Official leaderboard |
| 15 | GPT-5 mini | 1.38× | high | Aug 2025 | Official leaderboard |
| 16 | Claude Opus 4.1 | 1.34× | high | Aug 2025 | Official leaderboard |
| 17 | Claude Opus 4 | 1.33× | high | May 2025 | Official leaderboard |
| 18 | GPT-5 Pro | 1.31× | medium | Oct 2025 | Official leaderboard |
3 models have held number one on the official leaderboard since its release in July 2025
Lab claims count from the day the card came out, independent runs from the model’s release.
Source: Official AlgoTune 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 AlgoTune 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 Coding
- SWE-bench Verified In use 500 human-validated GitHub issues from 12 Python repos. Agent writes a patch that must pass hidden tests. Claude Opus 4.7 83.5%
- LiveCodeBench v6 In use Competitive programming problems collected after model cutoffs from LeetCode, AtCoder, Codeforces. Scored pass@1 on hidden tests.
DeepSeek-V4-Pro 93.5%
- SWE-bench Multilingual In use 300 GitHub-issue tasks across nine programming languages in SWE-bench format. Patch graded by repository tests. Claude Fable 5.2 96.6%
- DeepSWE In use 113 original long-horizon engineering tasks across 91 repos and five languages, written from scratch. Hand-written verifiers accept alternative solutions. GPT-6 Astra 74.1%
- SciCode In use Scientist-curated research coding problems split into subproblems across natural sciences. Code checked against test cases.
Seed2.1 Pro 59.8%
- Codeforces rating In use Model solves recent Codeforces contest problems. An Elo-style rating is computed from simulated contest performance.
DeepSeek V4.1 Flash 3,471