Code · Best AI for
Algorithms and speed-ups
Solving contest-style programming puzzles and making slow code run much faster.
Answer: GPT-6.2 Sol (OpenAI)

Top 15 for algorithms and speed-ups
Score = share of today's AI models it beats on this job's tests (100 = best of all).
- 1GPT-6.2 SolOpenAI · 1 test100
- 2GPT-6.2 AstraOpenAI · 1 test99
- 3GPT-6.1 SolOpenAI · 1 test98
- 4GPT-6 AstraOpenAI · 2 tests97
- 5GPT-6.1 TerraOpenAI · 1 test97
- 6Claude Fable 5.2Anthropic · 1 test96
- 7GPT-6 SolOpenAI · 1 test95
- 8Claude Fable 5.1Anthropic · 2 tests95
- 9Gemini 4 CarbonGoogle · 1 test95
- 10Claude Opus 5Anthropic · 1 test93
- 11Claude Opus 5.5Anthropic · 1 test92
- 12GPT-5.6 SolOpenAI · 2 tests92
- 13Claude Fable 5Anthropic · 2 tests91
- 14Gemini 4 ArgonGoogle · 1 test91
- 15GPT-5.6 TerraOpenAI · 1 test89
Best on a budget
Under $1 per million tokens
Score 84 · $0.45 per 1M tokens
Best free to download
Open weights
Score 88 · Moonshot AI (Kimi)
Tests used for this ranking
Weight = how much each test counts.
| ALE-BenchHow does it stack up against people in long coding contests? | weight 1 |
| GSO-BenchCan it make real software run faster, like an expert would? | weight 0.8 |
| AlgoTuneCan it make math and science code run faster? | weight 0.7 |
Quick answers
Which AI is best at clever algorithms?
Right now it's GPT-6.2 Sol from OpenAI: it beats 100% of current models on the 1 test that measure algorithms and speed-ups. GPT-6.2 Astra is next.
What's the best cheap AI for algorithms and speed-ups?
GPT-5.6 Luna: under $1 per million tokens, with a score of 84.
See the details →What's the best open-source AI for algorithms and speed-ups?
Kimi K3.1 Pro, with a score of 88.
See the details →How is the best AI for algorithms and speed-ups decided?
From 3 tests (ALE-Bench, GSO-Bench, AlgoTune). On each test we check what share of current models a model beats, then average, giving fresher and harder tests more weight.
How scores work →