Best for coding

Best LLM for coding (November 2026)

Ranked for writing and fixing code, by coding score. 36 models qualify.

  • Data checked
  1. 1 Claude Fable 5.2Anthropic
    53.91Coding score
    • $16 / 1M
    • 109 t/s
    • 1M context

    Best of 36 on intelligence index

  2. 53.11Coding score
    • $16 / 1M
    • 49 t/s
    • 1.05M context

    #2 of 36 on intelligence index

  3. 52.71Coding score
    • $6 / 1M
    • 110 t/s
    • 1.05M context

    #2 of 36 on intelligence index

Quick picks from this list

Full ranking

36 models

  1. 1 Claude Fable 5.2Anthropic · $16/1M 53.9
  2. 2 GPT-6.2 AstraOpenAI · $16/1M 53.1
  3. 3 Gemini 4 NeonGoogle · $6/1M 52.7
  4. 4 Claude Opus 5.5Anthropic · $8/1M 51.5
  5. 5 Claude Sonnet 5.5Anthropic · $4/1M 51.1
  6. 6 Gemini 4 CarbonGoogle · $4/1M 50.8
  7. 7 GPT-6.2 SolOpenAI · $4/1M 50.7
  8. 8 GPT-6.1 TerraOpenAI · $2/1M 48.0
  9. 9 Gemini 4 HydrogenGoogle · $3/1M 45.4
  10. 10 Kimi K3.1 ProMoonshot AI (Kimi) · $4/1M · open 42.6
  11. 11 Gemini 4 ArgonGoogle · $4/1M 38.7
  12. 12 Muse WonderMeta · $8/1M 38.1
  13. 13 Qwen4 MaxAlibaba (Qwen) · $2.25/1M 34.9
  14. 14 Claude Haiku 5.5Anthropic · $0.2/1M 34.3
  15. 15 Tencent Hy4Tencent · $1.25/1M 34.0
  16. 16 Muse EmberMeta · $0.2/1M 33.1
  17. 17 DeepSeek V4.1 Flash (1017)DeepSeek · $0.525/1M · open 30.0
  18. 18 GLM-5.3Zhipu AI (Z.ai) · $2.15/1M · open 29.3
  19. 19 MiMo-V2.6-ProXiaomi · $0.544/1M · open 28.6
  20. 20 Grok 4.7xAI · $3/1M 26.9
  21. 21 Qwen3.8 Flash NextAlibaba (Qwen) · $0.23/1M · open 25.9
  22. 22 GLM-5.3 FlashZhipu AI (Z.ai) · $0.237/1M · open 23.7
  23. 23 MiniMax-M3.1-FlashMiniMax · $0.262/1M · open 22.8
  24. 24 GPT-6 LunaOpenAI · $0.2/1M 20.2
  25. 25 Mistral Large 4Mistral AI · $1.05/1M · open 18.9
  26. 26 DeepSeek V4 Pro (0813)DeepSeek · $1.98/1M · open 15.9
  27. 27 MiniMax-M3MiniMax · $0.525/1M · open 13.9
  28. 28 Qwen3.8 27BAlibaba (Qwen) · $1.13/1M · open 11.2
  29. 29 Muse Spark OpenMeta · $2/1M · open 7.8
  30. 30 Gemini 3.5 Flash-LiteGoogle · $0.85/1M 4.0
  31. 31 Nemotron 3.5 Super VLNVIDIA · $0.237/1M · open 3.7
  32. 32 Mistral Medium 3.5Mistral AI · $3/1M · open 1.1
  33. 33 Nemotron 3 Ultra 550B-A55BNVIDIA · $1.05/1M · open 0.9
  34. 34 Command A+Cohere · open 0.2
  35. 35 gpt-oss-120bOpenAI · $0.262/1M · open 0.0
  36. 36 Gemma 4 31BGoogle · open 0.0

How this list is ranked

Ranked by our coding score: the coding quarter of the Artificial Analysis Intelligence Index, rebuilt from its two published coding results with the index's own weights (FrontierCode-AA 2.0 at 60%, Terminal-Bench 4.1 at 40%). Both are run independently, the same way for every model.

Full methodology · About Coding score

Before you choose

  • Run your own prompts on the top two or three. Rankings narrow the field; they do not replace a test.
  • Check the monthly cost at your real volume. Output-heavy work changes the order.
  • For private data, look at open-weight models you can host yourself.

Head-to-heads at the top

Questions

What is the best llm for coding?
Claude Fable 5.2 from Anthropic, with 53.9. GPT-6.2 Astra is second with 53.1 and Gemini 4 Neon third with 52.7.
What is the best open-weight option for writing and fixing code?
Kimi K3.1 Pro, at number 10 with 42.6.
Which top-10 model is cheapest?
GPT-6.1 Terra at $2 per 1M tokens blended.
How is this list ranked?
Ranked by our coding score: the coding quarter of the Artificial Analysis Intelligence Index, rebuilt from its two published coding results with the index's own weights (FrontierCode-AA 2.0 at 60%, Terminal-Bench 4.1 at 40%). Both are run independently, the same way for every model.

Sources

Every figure on this page links to one of these. Checked 19 November 2026. Spotted something out of date? Tell us

  1. Artificial Analysis leaderboard · Coding score

Sign in to vote as verified

Signed-in votes count once per account and show as verified. You can still vote without an account.

We use your email only to run your account. No marketing, no sharing, no passwords. Delete your account any time. Privacy

Delete your account?

This removes your account, your email and every vote you made while signed in. It cannot be undone.