Aider Refactoring Benchmark: leaderboard
Aider benchmark for model performance on code refactoring tasks.
Metric: Percent completed correctly (imported). Source: aider.chat. Source: benchmarklist.com. Saturation forecast: Estimated already saturated. 14 models tracked. Updated 12 Aug 2026.
Top models
| # | Model | Score | Overall rank |
|---|---|---|---|
| 1 | Claude 3.5 Sonnet (20241022) | 92.1 | #697 |
| 2 | O1 Preview | 75.3 | #513 |
| 3 | Claude 3 Opus (20240229) | 72.3 | #1201 |
| 4 | Claude 3.5 Sonnet (20240620) | 64 | #712 |
| 5 | GPT-4o | 62.9 | #780 |
| 6 | GPT-4 Preview (1106) | 50.6 | #924 |
| 7 | GPT-4o (2024-08-06) | 49.4 | #795 |
| 8 | Gemini 1.5 Pro | 49.4 | #1076 |
| 9 | O1 Mini | 44.9 | #798 |
| 10 | GPT-4 Turbo Udiff | 34.1 | |
| 11 | GPT-4 Preview (0125) | 33.7 | #1144 |
| 12 | DeepSeek-Coder-V2-0724 (deprecated) | 32.6 | |
| 13 | DeepSeek V2.5 | 31.5 | #1245 |
| 14 | GPT-4 Turbo Diff | 21.4 |
No result here: #2 Claude Fable 5.2, #5 GPT-6.2 Astra, #6 Gemini 4 Neon.
Example tasks
Refactor the `check_response` method in the `BaseHandler` class to be a stand alone, top level function.
Name the new function `check_response`, exactly the same name as the existing method.
Update any existing `self.check_response` calls to work with the new `check_response` function.
Interactive version: theaggregate.ai/benchmark?slug=aider-refactoring-benchmark · How It Works · Data refreshed daily, snapshot 2026-12-04.