Skip to content
benchtopia
  • Fetching the field guide…

Code · Best AI for

Competitive programming

Contest-style problems: clever algorithms under tight time limits, like Codeforces or AtCoder.

Answer: GPT-6.2 Sol (OpenAI)

GPT-6.2 Sol from OpenAI is the best pick today (100/100), followed by GPT-6.2 Astra and GPT-6 Astra. ALE-Bench runs models on real AtCoder heuristic contests and gives them a rating like a human contestant. Speed-up and optimisation tests (GSO, AlgoTune) and a little contest math count too.

Top 15 for competitive programming

Score = share of today's AI models it beats on the tests below (100 = best of all).

  1. 1GPT-6.2 SolOpenAI · a few tests100
  2. 2GPT-6.2 AstraOpenAI · a few tests98
  3. 3GPT-6 AstraOpenAI · plenty of tests98
  4. 4GPT-6.1 SolOpenAI · a few tests97
  5. 5GPT-6.1 TerraOpenAI · a few tests97
  6. 6GPT-6 SolOpenAI · a few tests95
  7. 7Claude Fable 5.2Anthropic · a few tests95
  8. 8Gemini 4 CarbonGoogle · a few tests95
  9. 9Claude Fable 5.1Anthropic · plenty of tests94
  10. 10GPT-5.6 SolOpenAI · plenty of tests93
  11. 11Claude Opus 5.5Anthropic · a few tests93
  12. 12Gemini 4 ArgonGoogle · a few tests91
  13. 13Claude Opus 5Anthropic · a few tests91
  14. 14Claude Fable 5Anthropic · plenty of tests91
  15. 15GPT-5.6 TerraOpenAI · a few tests89

Best overall

GPT-6.2 Sol

Score 100 · OpenAI · $0.206 per job

Best under $1

GPT-5.6 Luna

Score 83 · OpenAI · $0.025 per job

Best open source

Kimi K3.1 Pro

Score 89 · Moonshot AI (Kimi) · $0.206 per job

What it costs to solve one hard contest problem

≈ 3K tokens read and 20K written per job, at each model's list API price. Monthly chat-app plans don't charge per job.

ModelScorePer jobPer 1,000 jobsMemory
GPT-6.2 Sol100$0.206$2061.1M
GPT-6.2 Astra98$0.824$8241.1M
GPT-6 Astra98$1.03$1,0301.1M
GPT-6.1 Sol97$0.206$2061.1M
GPT-6.1 Terrabest value97$0.103$1031.1M
GPT-6 Sol95$0.206$2061.1M
Claude Fable 5.295$0.824$8241M
Gemini 4 Carbon95$0.206$2061M
Claude Fable 5.194$1.03$1,0301M
GPT-5.6 Sol93$0.412$4121.1M
Claude Opus 5.593$0.412$4121M
Gemini 4 Argon91$0.206$2061M
Claude Opus 591$0.515$5151M
Claude Fable 591$1.03$1,0301M
GPT-5.6 Terra89$0.246$2461.1M

Highlighted: the cheapest model within 15% of the top score.

Tests behind this ranking

Share = how much each test counts towards the score.

ALE-BenchHow does it stack up against people in long coding contests?56%
GSO-BenchCan it make real software run faster, like an expert would?18%
AlgoTuneCan it make math and science code run faster?16%
OTIS Mock AIME 2024-2025Can it ace a hard practice test for a top math contest?11%

Tips

  • Reasoning ('thinking') modes matter a lot here. They write long scratch work before answering, which costs more tokens.

Quick answers

Which AI is best at competitive programming?

GPT-6.2 Sol from OpenAI is the best pick today (100/100), followed by GPT-6.2 Astra and GPT-6 Astra.

About GPT-6.2 Sol →
What's the best cheap AI for competitive programming?

GPT-5.6 Luna: 83/100 for about $0.45 per million tokens. One job (solve one hard contest problem) costs about $0.025.

See the details →
What's the best open-source AI for competitive programming?

Kimi K3.1 Pro from Moonshot AI (Kimi), scoring 89/100. You can download it and run it yourself.

See the details →
How much does it cost to solve one hard contest problem with AI?

With GPT-6.2 Sol, about $0.206 (≈ 3K tokens read, 20K written, at list API prices). GPT-6.1 Terra scores nearly as well for $0.103. Chat apps on a monthly plan don't charge per job.

How is this decided?

ALE-Bench runs models on real AtCoder heuristic contests and gives them a rating like a human contestant. Speed-up and optimisation tests (GSO, AlgoTune) and a little contest math count too.

How scores work →

Related