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.

200 models
Claude Fable 5.1Sep 1, 2026 · 9 in the newsAnthropic1M$10.00 / $50.0099
Kimi K3Jul 16, 2026 · 43 in the newsMoonshot1M$2.10 / $10.9596
Claude Fable 5Jun 9, 2026 · 52 in the newsAnthropic1M$10.00 / $50.0095
GPT-6 AstraSep 3, 2026 · 21 in the newsOpenAI1.1M$10.00 / $50.0094
Muse Spark 1.3Sep 2, 2026Meta AI1M$1.25 / $4.2593
Claude Opus 5Jul 24, 2026 · 18 in the newsAnthropic1M$5.00 / $25.0092
GLM-5.3Aug 14, 2026 · 8 in the newsZ.ai (Zhipu AI)1.3M$0.95 / $4.4091
Gemini 3.7 FlashAug 13, 2026 · 1 in the newsGoogle DeepMind1M$0.75 / $3.7590
Grok 4.6Aug 12, 2026 · 2 in the newsxAI500K$2.00 / $6.0090
GPT-5.6 SolJul 9, 2026 · 24 in the newsOpenAI1.1M$4.40 / $22.0090
Claude Opus 4.8May 28, 2026 · 8 in the newsAnthropic1M$5.00 / $25.0084
Gemini 3.8 FlashSep 2, 2026 · 2 in the newsGoogle DeepMind1M$0.75 / $3.7583
Qwen 3.8 MaxJul 19, 2026 · 17 in the newsAlibaba1M$2.00 / $6.0083
Claude Opus 4.7Apr 16, 2026 · 4 in the newsAnthropic1M$5.00 / $25.0083
Muse Spark 1.1Jul 9, 2026 · 1 in the newsMeta AI1M$1.25 / $4.2581
GLM-5.3-FlashAug 20, 2026 · 5 in the newsZ.ai (Zhipu AI)1.3M$0.10 / $0.3578
Qwen3.8-2.4T-A95BAug 8, 2026 · 2 in the newsAlibaba1M$2.00 / $6.0078
Muse Spark 1.2Aug 5, 2026 · 1 in the newsMeta AI1M$1.25 / $4.2578
Grok 4.5Jul 8, 2026 · 2 in the newsxAI500K$2.00 / $6.0078
GPT-5.5Apr 23, 2026 · 32 in the newsOpenAI1.1M$5.00 / $30.0076
GLM-5.2Jun 16, 2026 · 27 in the newsZ.ai (Zhipu AI)1M$0.97 / $3.0474
GPT-5.5 InstantMay 5, 2026OpenAI73
DeepSeek-V4-Pro-0813Aug 13, 2026 · 1 in the newsDeepSeek1M$0.58 / $1.7472
GPT-5.6 TerraJul 9, 2026OpenAI1.1M$2.00 / $12.0072
Gemini 3.5 FlashMay 19, 2026 · 4 in the newsGoogle DeepMind1M$1.50 / $9.0072
Gemini 3.6 FlashJul 21, 2026 · 1 in the newsGoogle DeepMind1M$0.75 / $3.7571
Claude Opus 4.6Feb 5, 2026 · 3 in the newsAnthropic1M$5.00 / $25.0071
DeepSeek V4 Flash 0731Jul 31, 2026 · 3 in the newsDeepSeek1.3M$0.04 / $0.1069
DeepSeek V4.1 FlashSep 9, 2026 · 6 in the newsDeepSeek1M$0.15 / $0.6068
GPT-5.6 LunaJul 9, 2026 · 6 in the newsOpenAI1.1M$0.20 / $1.2068
Qwen 3.8 27BAug 14, 2026 · 10 in the newsAlibaba1M$0.42 / $3.0064
Muse SparkApr 8, 2026 · 3 in the newsMeta AI61
Claude Sonnet 5Jun 30, 2026 · 3 in the newsAnthropic1M$2.00 / $10.0059
GPT-5.4Mar 5, 2026 · 9 in the newsOpenAI1.1M$2.50 / $15.0059
Qwen 3.7 MaxMay 19, 2026 · 4 in the newsAlibaba1M$1.48 / $4.4258
DeepSeek-V4-ProApr 24, 2026 · 8 in the newsDeepSeek1M$0.87 / $1.7458
Qwen3.7-MaxMay 19, 2026Alibaba1M$1.48 / $4.4254
Kimi K2.6Apr 20, 2026 · 12 in the newsMoonshot262K$0.57 / $2.4054
MiMo-V2.5-ProApr 23, 2026Xiaomi Corp1.1M$0.43 / $0.8753
Hy3Jul 6, 2026Tencent262K$0.13 / $0.5352
Solar Open2 250BJun 28, 2026Upstage51
Claude Sonnet 4.6Feb 17, 2026 · 3 in the newsAnthropic1M$3.00 / $15.0050
GPT-5.4 NanoMar 17, 2026OpenAI400K$0.20 / $1.2549
MiniMax-M3Jun 1, 2026MiniMax1M$0.28 / $1.1048
Kimi K2.7 CodeJun 12, 2026Moonshot262K$0.86 / $3.8047
GPT-5.4 MiniMar 17, 2026OpenAI400K$0.75 / $4.5047
Qwen 3.6 Max (Preview)Apr 20, 2026 · 2 in the newsAlibaba262K$1.04 / $6.2446
GPT-5.3 CodexFeb 5, 2026 · 4 in the newsOpenAI400K$1.75 / $14.0045
Qwen3.8 27BAug 14, 2026 · 17 in the newsQwen1M$0.42 / $3.0043
Inkling-SmallJul 15, 2026 · 2 in the newsThinking Machines1M$0.50 / $1.2042
Qwen3.7-PlusJun 3, 2026 · 3 in the newsAlibaba1M$0.32 / $1.2841
Ring-2.6-1TMay 14, 2026Ant Group262K$0.07 / $0.6340
Solar Pro 4Aug 10, 2026Upstage524K$0.03 / $0.1238
InklingJul 15, 2026 · 4 in the newsThinking Machines1M$0.95 / $4.0538
GLM-5.1Apr 7, 2026 · 7 in the newsZ.ai (Zhipu AI)205K$1.19 / $3.7438
Gemini 3.1 ProFeb 19, 2026 · 3 in the newsGoogle DeepMind38
Ling 3.0 Flash VLSep 10, 2026inclusionAI131K$0.06 / $0.1837
MiniMax-M2.7Mar 18, 2026 · 1 in the newsMiniMax205K$0.30 / $1.2037
Grok 4.20Feb 17, 2026xAI2M$1.25 / $2.5037
Step 3.7 FlashMay 29, 2026StepFun262K$0.20 / $1.1536
Nex-N2-ProJun 8, 2026Nex AGI262K$0.25 / $1.0034
Qwen3.6 27BApr 22, 2026 · 3 in the newsAlibaba262K$0.30 / $2.0033
Gemini 3.5 Flash-LiteJul 21, 2026 · 1 in the newsGoogle DeepMind1M$0.30 / $2.5031
MiMo-V2-ProMar 18, 2026Xiaomi Corp31
Kimi K2.5Feb 2, 2026 · 16 in the newsMoonshot262K$0.60 / $3.0031
GLM-5Feb 12, 2026 · 25 in the newsZ.ai (Zhipu AI)205K$0.70 / $2.2430
Ling 3.0 Flash FinAug 27, 2026262K$0.06 / $0.1829
Motif-3Aug 7, 2026 · 1 in the newsMotif Technologies28
Qwen 3.5 Plus (hosted 397B-A17B)Feb 16, 2026Alibaba25
K-EXAONE 2.0Jul 31, 2026LG AI Research24
Ling-3.0-flashJul 23, 2026 · 1 in the news262K$0.06 / $0.1824
Qwen3.5-122B-A10BFeb 24, 2026Alibaba262K$0.26 / $2.0824
Qwen3.5 397B-A17BFeb 15, 2026 · 1 in the newsAlibaba262K$0.39 / $2.3424
DeepSeek-V4-FlashApr 24, 2026 · 11 in the newsDeepSeek1M$0.07 / $0.1723
A.X K2Jul 29, 2026 · 1 in the newsSK Telecom22
MiniMax-M2.5Feb 12, 2026MiniMax205K$0.27 / $0.9522
Qwen 3.6 PlusApr 1, 2026 · 3 in the newsAlibaba1M$0.33 / $1.9520
Gemini 3.1 Flash-LiteMar 3, 2026 · 2 in the newsGoogle1M$0.25 / $1.5020
Qwen3.5-Omni-PlusMar 29, 2026Alibaba18
Gemma 4 31B ITApr 2, 2026Google DeepMind262K$0.12 / $0.3516
Gemma 4 26B A4BApr 2, 2026Google DeepMind15
Qwen3.5-27BFeb 24, 2026 · 1 in the newsAlibaba262K$0.20 / $1.5614
Mistral Small 4Mar 16, 2026 · 1 in the newsMistral AI13
Command A+May 20, 2026 · 6 in the newsCohere,Cohere Labs (formerly Cohere for AI)256K$2.50 / $10.0012
Mistral Medium 3.5Apr 28, 2026 · 3 in the newsMistral AI262K$1.50 / $7.5011
Grok 4.3 BetaApr 17, 2026xAI11
Trinity Large ThinkingApr 1, 2026Arcee AI262K$0.25 / $0.8011
Qwen3.5-35B-A3BFeb 24, 2026Alibaba262K$0.14 / $1.0011
LongCat-2.0Jun 29, 2026 · 2 in the newsMeituan Inc1M$0.30 / $1.209
Laguna M.1Apr 28, 2026Poolside9
Laguna XS.2Apr 28, 2026Poolside8
Qwen3-Coder-NextFeb 2, 2026 · 1 in the newsAlibaba262K$0.12 / $0.808
Nemotron 3.5 LightningAug 11, 2026 · 1 in the newsNVIDIA262K$0.07 / $0.207
Qwen 3.6 35B-A3BApr 14, 2026 · 4 in the newsAlibaba262K$0.10 / $0.907
Granite 4.2 8BAug 31, 2026IBM131K$0.06 / $0.255
Granite 4.1 30BApr 29, 2026IBM3
Qwen3.5-Omni-FlashMar 29, 2026Alibaba2
Qwen3.5-9BFeb 24, 2026Alibaba262K$0.10 / $0.152
Qwen3.5-4BFeb 24, 2026 · 1 in the newsAlibaba1
Qwen 3.5 Flash (hosted 35B-A3B)Feb 25, 2026Alibaba0
Qwen3.5-2BFeb 24, 2026Alibaba0
Union AlphaSep 16, 2026262K
Schematron V2 TurboSep 12, 2026Inference.net128K$0.03 / $0.15
Schematron V2 SmallSep 12, 2026Inference.net128K$0.05 / $0.23
Fugu Ultra v2Sep 11, 2026 · 2 in the newsSakana1M$5.00 / $30.00
Fugu MaxSep 11, 2026 · 2 in the newsSakana1M$2.00 / $6.00
GPT-Image-2.5 FlareSep 8, 2026OpenAI
ChatGPT Images 2.5Sep 8, 2026 · 2 in the newsOpenAI
GPT-Image-2.5 SunburstSep 8, 2026OpenAI
Mercury 2.5Sep 8, 2026Inception260K$0.04 / $0.15
GPT-6 Astra ProSep 4, 2026 · 1 in the newsOpenAI1.1M$10.00 / $50.00
GPT-6 Astra (batch)Sep 4, 2026OpenAI1.1M$5.00 / $25.00
GPT-6 Astra Pro (batch)Sep 4, 2026OpenAI1.1M$5.00 / $25.00
Qwen3.8 Max (0902)Sep 3, 2026 · 1 in the newsQwen1M$2.00 / $6.00
OpenEvidence DarwinSep 3, 2026OpenEvidence
WeatherNext 3Sep 3, 2026 · 2 in the newsGoogle DeepMind,Google Research
Gemini 3.8 Flash (batch)Sep 2, 2026Google1M$0.38 / $1.88
Muse Spark 1.3 ContributorSep 2, 2026Meta1M$0.10 / $0.20
Claude Fable 5.1 (batch)Sep 1, 2026Anthropic1M$5.00 / $25.00
Mercury 2.5 PreviewAug 31, 2026Inception260K$0.04 / $0.15
Hy4 previewAug 28, 2026Tencent1M$0.83 / $2.50
Qwen3.8 FlashAug 26, 2026 · 3 in the newsQwen1M$0.15 / $0.47
GLM 5.3 Flash (batch)Aug 26, 2026Z.ai1M$0.07 / $0.25
DeepSeek V4 Flash Vision ExpAug 21, 2026 · 1 in the newsDeepSeek1M$0.22 / $0.66
Muse Spark 1.2 ContributorAug 21, 2026Meta1M$0.10 / $0.20
DeepSeek V4 Flash Vision Exp (batch)Aug 21, 2026DeepSeek1M$0.11 / $0.33
Hy-MT2-1.8BAug 20, 2026Tencent8K$0.04 / $0.18
Hy-MT2-30B-A3BAug 20, 2026Tencent8K$0.07 / $0.29
Ox AlphaAug 20, 2026 · 3 in the news1M
Hy-MT2-7BAug 19, 2026Tencent8K$0.07 / $0.29
GEN-1.5Aug 19, 2026 · 2 in the newsGeneralist
GLM 5.3 (batch)Aug 18, 2026Z.ai1M$0.70 / $2.20
Gemini 3.7 Flash (batch)Aug 13, 2026Google1M$0.19 / $0.94
Seed 2.1 TurboAug 12, 2026ByteDance Seed262K$0.50 / $2.50
Qwen3.8 2.4T A95B (batch)Aug 12, 2026Qwen1M$2.00 / $6.00
DeepSeek V4 Pro 0813 (batch)Aug 12, 2026DeepSeek1M$0.66 / $1.98
NamazuAug 11, 2026 · 3 in the newsSakana262K$0.95 / $4.00
GPT-5.6 CyberAug 11, 2026OpenAI
Sakana NamazuAug 11, 2026 · 1 in the newsSakana262K$0.95 / $4.00
Muse Glimmer 30BAug 9, 2026Meta131K$0.30 / $1.10
Muse Glimmer 30B (batch)Aug 9, 2026Meta131K$0.17 / $0.75
DeepSeek V4 Flash 0731 (batch)Jul 31, 2026DeepSeek1M$0.11 / $0.33
Inkling Small (batch)Jul 30, 2026Thinking Machines524K$0.50 / $1.20
Seed-2.0-CodeJul 30, 2026ByteDance Seed262K$0.50 / $3.00
Qwen3.7 FlashJul 27, 2026Alibaba1M$0.03 / $0.13
Claude Opus 5 (batch)Jul 24, 20261M$2.50 / $12.50
Gemini 3.6 Flash (batch)Jul 21, 2026Google1M$0.38 / $1.88
Laguna S 2.1Jul 21, 2026 · 1 in the newsPoolside1M$0.10 / $0.20
Gemini 3.5 Flash Lite (batch)Jul 21, 2026Google1M$0.15 / $1.25
Inkling (batch)Jul 17, 2026Thinking Machines524K$1.00 / $4.05
Kimi K3 (batch)Jul 16, 2026MoonshotAI1M$3.00 / $15.00
KAT-Coder-Air V2.5Jul 10, 2026Kwaipilot256K$0.15 / $0.60
KAT-Coder-Pro V2.5Jul 10, 2026Kwaipilot262K$0.74 / $2.96
GPT-5.6 Terra Pro (batch)Jul 9, 2026OpenAI1.1M$1.00 / $6.00
GPT-5.6 Luna Pro (batch)Jul 9, 2026OpenAI1.1M$0.10 / $0.60
GPT-5.6 Terra (batch)Jul 9, 2026OpenAI1.1M$1.00 / $6.00
GPT-5.6 Luna (batch)Jul 9, 2026OpenAI1.1M$0.10 / $0.60
GPT-5.6 Terra ProJul 9, 2026OpenAI1.1M$2.00 / $12.00
GPT-5.6 Sol (batch)Jul 9, 2026OpenAI1.1M$2.50 / $15.00
GPT-5.6 Luna ProJul 9, 2026OpenAI1.1M$0.20 / $1.20
GPT-5.6 Sol Pro (batch)Jul 9, 2026OpenAI1.1M$2.50 / $15.00
GPT-5.6 Sol ProJul 9, 2026 · 1 in the newsOpenAI1.1M$5.00 / $30.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
Tencent Hy3Jul 6, 2026Tencent
Laguna XS 2.1Jul 2, 2026Poolside262K$0.06 / $0.12
Claude Sonnet 5 (batch)Jun 30, 2026Anthropic1M$1.00 / $5.00
Fugu UltraJun 24, 2026 · 4 in the newsSakana1M$5.00 / $30.00
Nex-N2-MiniJun 24, 2026Nex AGI262K$0.03 / $0.10
GLM 5.2 (batch)Jun 16, 2026Z.ai1M$0.70 / $2.20
Kimi K2.7 Code (batch)Jun 12, 2026MoonshotAI262K$0.95 / $4.00
Claude Fable 5 (batch)Jun 9, 2026Anthropic1M$5.00 / $25.00
Claude Mythos 5Jun 9, 2026 · 7 in the newsAnthropic
Nemotron 3 UltraJun 4, 2026 · 1 in the newsNVIDIA
MAI-Code-1-FlashJun 2, 2026Microsoft
MAI-Image-2.5Jun 2, 2026Microsoft
MiniMax M3 (batch)May 31, 2026MiniMax524K$0.30 / $1.20
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
GPT-5.5 CyberMay 7, 2026OpenAI
Qwen 3.6 FlashApr 27, 2026Alibaba1M$0.19 / $1.13
Tencent Hy3 previewApr 23, 2026Tencent
GPT-5.5 ProApr 23, 2026 · 2 in the newsOpenAI1.1M$30.00 / $180.00
GPT Image 2Apr 21, 2026 · 3 in the newsOpenAI
Gemini Flash 3.1 TTSApr 15, 2026Google DeepMind
Gemini Robotics-ER 1.6Apr 14, 2026 · 2 in the newsGoogle
GPT-5.4-CyberApr 14, 2026OpenAI
EXAONE 4.5Apr 9, 2026LG AI Research
Claude Mythos PreviewApr 7, 2026 · 3 in the newsAnthropic
MolmoAct 2Apr 5, 2026Allen Institute for AI,University of Washington,National University of Singapore,University of Pennsylvania,Johns Hopkins University,Amazon,Cortex AI
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 · 5 in the newsByteDance
GPT-5.3-Codex-SparkFeb 12, 2026OpenAI

Frequently asked questions

What is the best AI model for coding?

Claude Fable 5.1 (Anthropic) currently ranks first for coding on Model Beat, followed by Kimi K3 and Claude Fable 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, Gemini 3.7 Flash is the cheapest at $0.75 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.