SWE-Perf
The official leaderboard hasn’t scored a model released after Claude Sonnet 4 (May 2025). Labs report their own numbers for one newer model: MiniMax-M2.1 at 3.10%.
Agents speed up code in 140 tasks drawn from performance pull requests in real GitHub repos. Scored on correctness and runtime gain.
- Made by
- TikTok and Xi'an Jiaotong University
- Released
- July 2025
- Kind
- Speed and optimization
- Level
- Expert
- Scored
- Checked automatically
- Answers
- Code
- Tasks
- All public
- Measures
- Capability
- Language
- English
- Interaction
- Agentic
- Environment
- Terminal
- Items from
- Real work and use
- Refresh
- One fixed set
- Run by
- Anyone
- In views
- Agents
- Strongest model tested
- o3 #85 on the capability index
- Last in a launch post
- December 2025, dropped before it saturated
- Last model added
- December 2025
- Updated automatically
- Yes, daily
- Scores refreshed
- November 24th, 2026
In the authors’ words
Code performance optimization is paramount in real-world software engineering and critical for production-level systems. While Large Language Models (LLMs) have demonstrated impressive capabilities in code generation and bug fixing, their proficiency in enhancing code performance at the repository level remains largely unexplored. To address this gap, we introduce SWE-Perf, the first benchmark specifically designed to systematically evaluate LLMs on code performance optimization tasks within authentic repository contexts. SWE-Perf comprises 140 carefully curated instances, each derived from performance-improving pull requests from popular GitHub repositories. Each benchmark instance includes the relevant codebase, target functions, performance-related tests, expert-authored patches, and executable environments. Through a comprehensive evaluation of representative methods that span file-level and repo-level approaches (e.g., Agentless and OpenHands), we reveal a substantial capability gap between existing LLMs and expert-level optimization performance, highlighting critical research opportunities in this emerging field.
Qwen3-Coder (size unspecified) tops the leaderboard with 2.61% Claude 3.7 Sonnet leads with 2.26% among models released by May 2025
Best score per entry from the benchmark's own leaderboard, read on November 24th, 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 Claude 3.7 Sonnet, at 2.26%. This view shows only models we track, each at its best.
MiniMax-M2.1 leads with 3.10%, 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.
The newest model with a score here came out in May 2025, 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
- GPT-6.2 Astra
-
Gemini 4 Carbon
- GPT-6 Astra
- and 16 more
- 1 Qwen3-Coder (size unspecified) Realistic 2.61%
- 2 Claude 3.7 Sonnet Realistic 2.26%
- 3 Claude Sonnet 4 Oracle 1.76%
- 4 Gemini-2.5-pro (snapshot unspecified) Oracle 1.48%
- 5 o3 Oracle 1.37%
- 6 Claude Opus 4 Oracle 1.28%
- 7
Qwen3-235B-A22B Oracle 0.68%
- 8 GPT-4o (snapshot unspecified) Oracle 0.60%
- 9 DeepSeek-V3 (snapshot unspecified) Oracle 0.54%
- 10 DeepSeek-R1 (snapshot unspecified) Oracle 0.51%
- 11 o1 Oracle 0.41%
Source: Official SWE-Perf leaderboard
- 1 Claude 3.7 Sonnet Realistic 2.26%
- 2 Claude Sonnet 4 Oracle 1.76%
- 3 o3 Oracle 1.37%
- 4 Claude Opus 4 Oracle 1.28%
- 5
Qwen3-235B-A22B Oracle 0.68%
- 6 o1 Oracle 0.41%
Source: Official SWE-Perf leaderboard
- 1
MiniMax-M2.1 3.10%
- 2 Claude 3.7 Sonnet Realistic 2.26%
- 3 Claude Sonnet 4 Oracle 1.76%
- 4 o3 Oracle 1.37%
- 5 Claude Opus 4 Oracle 1.28%
- 6
Qwen3-235B-A22B Oracle 0.68%
- 7 o1 Oracle 0.41%
Sources: Labs’ model cards and official SWE-Perf leaderboard
| # | Entry | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | Qwen3-Coder (size unspecified) | 2.61% | Realistic, OpenHands | Official leaderboard | |
| 2 | Claude 3.7 Sonnet | 2.26% | Realistic, OpenHands | Feb 2025 | Official leaderboard |
| 3 | Claude Sonnet 4 | 1.76% | Oracle | May 2025 | Official leaderboard |
| 4 | Gemini-2.5-pro (snapshot unspecified) | 1.48% | Oracle | Official leaderboard | |
| 5 | o3 | 1.37% | Oracle | Apr 2025 | Official leaderboard |
| 6 | Claude Opus 4 | 1.28% | Oracle | May 2025 | Official leaderboard |
| 7 | | 0.68% | Oracle | Apr 2025 | Official leaderboard |
| 8 | GPT-4o (snapshot unspecified) | 0.60% | Oracle | Official leaderboard | |
| 9 | DeepSeek-V3 (snapshot unspecified) | 0.54% | Oracle | Official leaderboard | |
| 10 | DeepSeek-R1 (snapshot unspecified) | 0.51% | Oracle | Official leaderboard | |
| 11 | o1 | 0.41% | Oracle | Dec 2024 | Official leaderboard |
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | Claude 3.7 Sonnet | 2.26% | Realistic, OpenHands | Feb 2025 | Official leaderboard |
| 2 | Claude Sonnet 4 | 1.76% | Oracle | May 2025 | Official leaderboard |
| 3 | o3 | 1.37% | Oracle | Apr 2025 | Official leaderboard |
| 4 | Claude Opus 4 | 1.28% | Oracle | May 2025 | Official leaderboard |
| 5 | | 0.68% | Oracle | Apr 2025 | Official leaderboard |
| 6 | o1 | 0.41% | Oracle | Dec 2024 | Official leaderboard |
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | 3.10% | Dec 2025 | Lab model card | ||
| 2 | Claude 3.7 Sonnet | 2.26% | Realistic, OpenHands | Feb 2025 | Official leaderboard |
| 3 | Claude Sonnet 4 | 1.76% | Oracle | May 2025 | Official leaderboard |
| 4 | o3 | 1.37% | Oracle | Apr 2025 | Official leaderboard |
| 5 | Claude Opus 4 | 1.28% | Oracle | May 2025 | Official leaderboard |
| 6 | 0.68% | Oracle | Apr 2025 | Official leaderboard | |
| 7 | o1 | 0.41% | Oracle | Dec 2024 | Official leaderboard |
Labs report scores for 1 model in their cards. Switch the scores above to rank them together.
Everything the board measures
The benchmark’s own leaderboard publishes 3 numbers for each entry: the headline score and 2 other measures. 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
- Other measures
- Patch application rate
- Patch correctness
- Headline
- Headline score
- Other measures
- Patch application rate
- Patch correctness
- Headline
- Headline score
- Other measures
- Patch application rate
- Patch correctness
- OpenAI
- Anthropic
- Qwen
- not in our model list
Number one over time 2 models have held number one with claims included 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 SWE-Perf leaderboard
Scores over time
All the scores we have, one dot each, so a model tested at several settings appears more than once.
Sources: Official SWE-Perf leaderboard and labs’ model cards
Labs headline it less often now, last in December 2025
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 |
|---|---|---|---|
| Dec 23, 2025 | 3.1 | SWE-Perf |
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
Data audit
9 of 10 checks pass, 1 warning. Look first at the Newest score check. The newest came 11 months ago, in December 2025, for MiniMax-M2.1. Every benchmark
Catalog record 2 pass
- Pass Task access All tasks are public.
- Pass Confidence Checked against a primary source.
Scores 1 warning 3 pass 1 note
- Pass Independent runs Scores from the official leaderboard (11 entries) and launch posts (1 score).
- Pass Models scored 7 models we track, plus 5 other entries on its leaderboard.
- Warning Newest score The newest came 11 months ago, in December 2025, for MiniMax-M2.1.
- Note Frontier models None of the top 10 has a score. The strongest tested is o3 (#85).
- Pass Headroom The best is 3.10%, under 85%, so it still separates models.
Leaderboard import 3 pass
- Pass Importer We read the board on swe-perf.github.io: 7 rows for models we track and 5 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.