Rankings

Best AI models for coding

Ranked by a 0–100 composite of coding benchmarks (SWE-bench Verified, Terminal-Bench, GSO (code optimization), WebDev Arena), scored as percentile rank against every model released in the past year.

Coding score is a 0–100 percentile composite across that area’s benchmarks. Open a model for the raw scores.

182 models
Kimi K3Jul 16, 2026 · 19 in the newsMoonshot1M$3.00 / $15.0099
Claude Fable 5Jun 9, 2026 · 40 in the newsAnthropic1M$10.00 / $50.0099
Claude Opus 5Jul 24, 2026 · 9 in the newsAnthropic1M$5.00 / $25.0097
Claude Opus 4.7Apr 16, 2026 · 4 in the newsAnthropic1M$5.00 / $25.0096
GPT-5.6 SolJul 9, 2026 · 13 in the newsOpenAI1.1M$5.00 / $30.0095
Claude Opus 4.8May 28, 2026 · 4 in the newsAnthropic1M$5.00 / $25.0093
Muse Spark 1.1Jul 9, 2026 · 1 in the newsMeta AI1M$1.25 / $4.2592
Grok 4.5Jul 8, 2026 · 2 in the newsxAI500K$2.00 / $6.0091
GPT-5.6 TerraJul 9, 2026OpenAI1.1M$2.50 / $15.0090
GPT-5.5Apr 23, 2026 · 25 in the newsOpenAI1.1M$5.00 / $30.0088
Claude Opus 4.6Feb 5, 2026 · 1 in the newsAnthropic1M$5.00 / $25.0088
GLM-5.2Jun 16, 2026 · 16 in the newsZ.ai (Zhipu AI)1M$1.10 / $4.1086
Gemini 3.6 FlashJul 21, 2026 · 1 in the newsGoogle DeepMind1M$1.50 / $7.5084
Claude Sonnet 5Jun 30, 2026 · 3 in the newsAnthropic1M$2.00 / $10.0084
Gemini 3.5 FlashMay 19, 2026 · 4 in the newsGoogle1M$1.50 / $9.0084
GPT-5.6 LunaJul 9, 2026OpenAI1.1M$1.00 / $6.0083
Muse SparkApr 8, 2026 · 1 in the newsMeta AI79
Qwen 3.7 MaxMay 19, 2026 · 4 in the newsAlibaba1M$1.25 / $3.7578
GPT-5.4Mar 5, 2026 · 9 in the newsOpenAI1.1M$2.50 / $15.0078
Kimi K2.6Apr 20, 2026 · 11 in the newsMoonshot262K$0.70 / $3.5076
DeepSeek-V4-ProApr 24, 2026 · 6 in the newsDeepSeek1M$0.43 / $0.8774
MiMo-V2.5-ProApr 23, 2026Xiaomi Corp1.1M$0.43 / $0.8773
MiniMax-M3Jun 1, 2026MiniMax1M$0.30 / $1.2072
Claude Opus 4.5Nov 24, 2025Anthropic200K$5.00 / $25.0072
Hy3Jul 6, 2026Tencent262K$0.13 / $0.5371
Kimi K2.7 CodeJun 12, 2026Moonshot262K$0.86 / $3.8070
GPT-5.2Dec 11, 2025 · 7 in the newsOpenAI400K$1.75 / $14.0070
GPT-5.1-Codex-MaxNov 19, 2025 · 2 in the newsOpenAI400K$1.25 / $10.0070
GPT-5.4 NanoMar 17, 2026OpenAI400K$0.20 / $1.2567
GPT-5.3 CodexFeb 5, 2026 · 4 in the newsOpenAI400K$1.75 / $14.0067
Qwen 3.6 Max (Preview)Apr 20, 2026 · 2 in the newsAlibaba262K$1.04 / $6.2466
GPT-5.2 CodexDec 18, 2025 · 3 in the newsOpenAI400K$1.75 / $14.0066
Gemini 3.1 ProFeb 19, 2026 · 3 in the newsGoogle DeepMind65
Claude Sonnet 4.6Feb 17, 2026 · 3 in the newsAnthropic1M$3.00 / $15.0064
Qwen3.7-PlusJun 2, 2026 · 3 in the newsAlibaba1M$0.32 / $1.2863
GPT-5.4 MiniMar 17, 2026OpenAI400K$0.75 / $4.5062
GLM-5.1Apr 7, 2026 · 7 in the newsZ.ai (Zhipu AI)205K$0.98 / $3.0861
DeepSeek-V4-FlashApr 24, 2026DeepSeek1M$0.13 / $0.2860
GLM-4.7Dec 22, 2025 · 7 in the newsZ.ai (Zhipu AI)205K$0.60 / $2.2060
InklingJul 15, 2026 · 2 in the newsThinking Machines1M$1.00 / $4.0558
MiniMax-M2.7Mar 18, 2026 · 1 in the newsMiniMax205K$0.25 / $1.0055
Grok 4.20Feb 17, 2026xAI2M$1.25 / $2.5055
Qwen3-Max-ThinkingJan 25, 2026 · 2 in the newsAlibaba262K$0.78 / $3.9055
GPT‑5-CodexSep 15, 2025OpenAI400K$1.25 / $10.0054
Gemini 3 ProNov 18, 2025 · 1 in the newsGoogle DeepMind53
MiMo-V2-ProMar 18, 2026Xiaomi Corp52
Gemini 3 FlashDec 17, 2025 · 2 in the newsGoogle DeepMind52
Kimi K2.5Feb 2, 2026 · 15 in the newsMoonshot262K$0.38 / $2.0251
GPT-5.1-CodexNov 12, 2025 · 2 in the newsOpenAI400K$1.25 / $10.0051
GPT-5.1-Codex-miniNov 12, 2025OpenAI400K$0.25 / $2.0051
Gemini 3.5 Flash-LiteJul 21, 2026 · 1 in the newsGoogle DeepMind1M$0.30 / $2.5049
GLM-5Feb 17, 2026 · 25 in the newsZ.ai (Zhipu AI)205K$0.70 / $2.2449
Ring-2.6-1TMay 14, 2026Ant Group262K$0.07 / $0.6348
Kimi K2 ThinkingNov 6, 2025 · 6 in the newsMoonshot262K$0.60 / $2.5047
Qwen3.5-122B-A10BFeb 24, 2026Alibaba262K$0.26 / $2.0846
Qwen3.5 397B-A17BFeb 13, 2026 · 1 in the newsAlibaba262K$0.39 / $2.4546
GPT-5.1Nov 13, 2025 · 7 in the newsOpenAI400K$1.25 / $10.0045
GPT-5Aug 7, 2025 · 41 in the newsOpenAI400K$1.25 / $10.0045
Nex-N2-ProJun 8, 2026Nex AGI262K$0.25 / $1.0044
Nova 2.0 Pro PreviewDec 2, 2025Amazon44
MiniMax-M2.5Feb 12, 2026MiniMax205K$0.15 / $0.9043
MiniMax-M2.1Dec 23, 2025MiniMax205K$0.30 / $1.2043
gpt-oss-120bAug 5, 2025 · 2 in the newsOpenAI131K$0.04 / $0.1743
Qwen 3.5 Plus (hosted 397B-A17B)Feb 16, 2026Alibaba42
DeepSeek-V3.2Dec 1, 2025 · 1 in the newsDeepSeek164K$0.25 / $0.4242
Grok 4 FastSep 19, 2025xAI42
Grok 4.1 FastNov 19, 2025xAI41
Qwen3.5-Omni-PlusMar 29, 2026Alibaba37
Magistral Medium 1.2Sep 18, 2025Mistral AI36
DeepSeek-V3.2-ExpSep 29, 2025DeepSeek164K$0.27 / $0.4135
Qwen3-MaxSep 5, 2025 · 3 in the newsAlibaba262K$0.78 / $3.9035
Step 3.7 FlashMay 29, 2026StepFun262K$0.20 / $1.1534
Gemma 4 31B ITApr 2, 2026Google DeepMind262K$0.10 / $0.3534
Claude Sonnet 4.5Sep 29, 2025 · 4 in the newsAnthropic1M$3.00 / $15.0034
Qwen 3.6 PlusApr 1, 2026 · 3 in the newsAlibaba1M$0.33 / $1.9533
Claude Opus 4.1Aug 5, 2025Anthropic200K$15.00 / $75.0033
Grok 4.3 BetaApr 17, 2026xAI32
Cogito v2.1Nov 19, 2025Deep Cogito32
Gemma 4 26B A4BApr 2, 2026Google DeepMind31
K-EXAONEDec 31, 2025LG AI Research31
MiniMax-M2Oct 27, 2025MiniMax205K$0.30 / $1.2031
Qwen3.5-27BFeb 24, 2026 · 1 in the newsAlibaba262K$0.20 / $1.5630
Gemini 3.1 Flash-LiteMar 3, 2026 · 2 in the newsGoogle1M$0.25 / $1.5028
GPT-5 nanoAug 7, 2025OpenAI400K$0.05 / $0.4028
Laguna M.1Apr 28, 2026Poolside25
Claude Haiku 4.5Oct 15, 2025 · 1 in the newsAnthropic200K$1.00 / $5.0025
GPT-5 miniAug 7, 2025 · 1 in the newsOpenAI400K$0.25 / $2.0025
GLM-4.5Aug 5, 2025 · 9 in the newsZ.ai (Zhipu AI),Tsinghua University131K$0.60 / $2.2025
Mistral Small 4Mar 16, 2026 · 1 in the newsMistral AI24
GLM-4.6Sep 30, 2025 · 4 in the newsZ.ai (Zhipu AI),Tsinghua University205K$0.55 / $2.2024
Command A+May 20, 2026 · 4 in the newsCohere256K$2.50 / $10.0023
Mistral Medium 3.5Apr 28, 2026 · 2 in the newsMistral AI262K$1.50 / $7.5023
Magistral Small 1.2Sep 18, 2025Mistral AI22
Gemini 2.5 FlashSep 25, 2025 · 2 in the newsGoogle DeepMind1M$0.30 / $2.5021
gpt-oss-20bAug 5, 2025 · 1 in the newsOpenAI131K$0.03 / $0.1420
Laguna XS.2Apr 28, 2026Poolside17
DeepSeek-V3.1Aug 21, 2025DeepSeek15
LongCat 2.0Jul 20, 2026 · 2 in the newsMeituan1M$0.30 / $1.2014
Qwen 3.6 35B-A3BApr 14, 2026 · 3 in the newsAlibaba262K$0.10 / $1.0014
Ling-1TOct 10, 2025Ant Group14
Qwen3-Omni-30B-A3BSep 22, 2025Alibaba13
Trinity Large ThinkingApr 1, 2026Arcee AI262K$0.25 / $0.8012
Qwen3-Coder-480B-A35BJul 31, 2025Alibaba11
Mistral Large 3Dec 2, 2025 · 2 in the newsMistral AI9
Kimi K2Sep 5, 2025 · 17 in the newsMoonshot131K$0.57 / $2.309
Qwen3-Coder-NextFeb 2, 2026 · 1 in the newsAlibaba262K$0.12 / $0.808
Qwen 3.5 Flash (hosted 35B-A3B)Feb 25, 2026Alibaba6
Gemini 2.5 Flash-LiteSep 25, 2025 · 1 in the newsGoogle DeepMind1M$0.10 / $0.406
Qwen3.5-9BFeb 24, 2026Alibaba262K$0.10 / $0.154
Solar Open 100BDec 31, 2025Upstage4
Granite 4.1 30BApr 29, 2026IBM3
Devstral Small 2Dec 9, 2025Mistral AI3
Qwen3.5-Omni-FlashMar 29, 2026Alibaba2
Solar Pro 3Jan 27, 2026Upstage128K$0.15 / $0.601
Grok 4.1Nov 17, 2025xAI1
Qwen3.7 FlashJul 27, 2026Qwen1M$0.03 / $0.13
Claude Opus 5 (batch)Jul 24, 20261M$2.50 / $12.50
Ling-3.0-flashJul 23, 2026262K
Laguna S 2.1Jul 21, 2026 · 1 in the newsPoolside1M$0.10 / $0.20
Gemini 3.6 Flash (batch)Jul 21, 2026Google1M$0.75 / $3.75
Gemini 3.5 Flash Lite (batch)Jul 21, 2026Google1M$0.15 / $1.25
KAT-Coder-Air V2.5Jul 10, 2026Kwaipilot256K$0.15 / $0.60
KAT-Coder-Pro V2.5Jul 10, 2026Kwaipilot256K$0.74 / $2.96
GPT-5.6 Luna ProJul 9, 2026OpenAI1.1M$1.00 / $6.00
GPT-5.6 Sol ProJul 9, 2026 · 1 in the newsOpenAI1.1M$5.00 / $30.00
GPT-5.6 Terra ProJul 9, 2026OpenAI1.1M$2.50 / $15.00
SWE-1.7Jul 8, 2026Cognition
Aion-3.0-MiniJul 7, 2026AionLabs131K$0.70 / $1.40
Aion-3.0Jul 7, 2026AionLabs131K$3.00 / $6.00
Laguna XS 2.1Jul 2, 2026Poolside262K$0.06 / $0.12
Claude Sonnet 5 (batch)Jun 30, 2026Anthropic1M$1.00 / $5.00
Solar Open2 250BJun 28, 2026Upstage
Fugu UltraJun 24, 2026 · 2 in the newsSakana1M$5.00 / $30.00
Nex-N2-MiniJun 24, 2026Nex AGI262K$0.03 / $0.10
Claude Mythos 5Jun 9, 2026 · 4 in the newsAnthropic
Claude Fable 5 (batch)Jun 9, 2026Anthropic1M$5.00 / $25.00
Nemotron 3 UltraJun 4, 2026 · 1 in the newsNVIDIA
MAI-Image-2.5Jun 2, 2026Microsoft
MiniMax M3 (batch)May 31, 2026MiniMax524K$0.15 / $0.60
Grok Build 0.1May 29, 2026xAI256K$1.00 / $2.00
Composer 2.5May 18, 2026Cursor
Perceptron Mk1May 12, 2026Perceptron33K$0.15 / $1.50
TML-Interaction-SmallMay 11, 2026Thinking Machines
Qwen 3.6 FlashApr 27, 2026Alibaba1M$0.19 / $1.13
Tencent Hy3 previewApr 23, 2026Tencent
GPT-5.5 ProApr 23, 2026 · 1 in the newsOpenAI1.1M$30.00 / $180.00
GPT Image 2Apr 21, 2026 · 1 in the newsOpenAI
Gemini Flash 3.1 TTSApr 15, 2026Google DeepMind
Gemini Robotics-ER 1.6Apr 14, 2026 · 2 in the newsGoogle
EXAONE 4.5Apr 9, 2026LG AI Research
Composer 2Mar 19, 2026Cursor
Nemotron 3 SuperMar 11, 2026 · 1 in the newsNVIDIA
GPT-5.4 ProMar 5, 2026OpenAI1.1M$30.00 / $180.00
Gemini 3.0 Flash-liteMar 3, 2026Google DeepMind
SWE 1.6Mar 1, 2026Cognition
Seedance 2.0Feb 12, 2026 · 4 in the newsByteDance
VAETKIDec 30, 2025NC AI
A.X K1Dec 30, 2025SK Telecom
HyperCLOVA X SEED 32B ThinkDec 29, 2025NAVER
Nemotron 3-Nano-30B-A3BDec 15, 2025 · 1 in the newsNVIDIA262K$0.05 / $0.20
GPT-5.2 ProDec 11, 2025OpenAI400K$21.00 / $168.00
SIMA 2Dec 4, 2025 · 1 in the newsGoogle DeepMind
DeepSeekMath-V2Nov 27, 2025DeepSeek
Gemini 3 Pro Image (Nano Banana Pro)Nov 20, 2025Google DeepMind
Olmo 3Nov 20, 2025 · 1 in the newsAllen Institute for AI
π0.6 (pi-0.6)Nov 17, 2025Physical Intelligence
P1-235B-A22BNov 17, 2025Shanghai AI Lab
GPT-5.1 InstantNov 13, 2025 · 1 in the newsOpenAI
Meta's Generative Ads Model (GEM)Nov 10, 2025Meta AI
Tongyi DeepResearchOct 28, 2025Alibaba
Veo 3.1Oct 15, 2025 · 2 in the newsGoogle DeepMind
GPT-5 ProOct 7, 2025OpenAI400K$15.00 / $120.00
Sora 2.0Sep 30, 2025OpenAI
Gemini Robotics-ER 1.5Sep 25, 2025Google DeepMind
AgentFounder-30BSep 16, 2025Alibaba
LongCat-FlashSep 1, 2025Meituan Inc
Qwen3-235B-A22B (Jul 2025)Sep 1, 2025Alibaba
Gemini 2.5 Flash Image (Nano Banana)Aug 26, 2025Google
Qwen ImageAug 4, 2025 · 7 in the newsAlibaba
Hierarchical Reasoning Model (HPM)Aug 4, 2025Sapient Intelligence
MindLink-72BAug 1, 2025Kunlun Inc.
Gemini 2.5 Deep ThinkAug 1, 2025Google,Google DeepMind

Frequently asked questions

What is the best AI model for coding?

Kimi K3 (Moonshot) currently ranks first for coding on Model Beat, followed by Claude Fable 5 and Claude Opus 5. Ranked by a 0–100 composite of coding benchmarks (SWE-bench Verified, Terminal-Bench, GSO (code optimization), WebDev Arena), scored as percentile rank against every model released in the past year.

Which is the most affordable strong coding model?

Among the top-ranked coding models, Muse Spark 1.1 is the cheapest at $1.25 per million input tokens.

How are these coding rankings calculated?

Ranked by a 0–100 composite of coding benchmarks (SWE-bench Verified, Terminal-Bench, GSO (code optimization), WebDev Arena), scored as percentile rank against every model released in the past year.

Benchmarks & model data from Epoch AI (CC BY); pricing & specs from OpenRouter. ECI = Epoch Capabilities Index.