Skip to content
llmmodels

Best LLM for Coding (2026)

The best large language models for writing, editing and debugging code, ranked by agentic and code-editing benchmarks.

As of Nov 22, 2026, the best llm for coding is Claude Opus 5.5 by Anthropic, followed by GPT-6 Astra and Claude Sonnet 5.5. Ranked by the average of SWE-bench Verified, Terminal-Bench, Aider Polyglot and WebDev Arena (normalized), falling back to the Epoch Capabilities Index.

Best LLM for Coding
#ModelProviderSWE-benchTerminal-BenchAiderWebDev EloInput $/1MOutput $/1M
1Claude Opus 5.5Anthropic———1820$4$20
2GPT-6 AstraOpenAI———1800$10$50
3Claude Sonnet 5.5Anthropic———1786$2$10
4GPT-6.1 SolOpenAI———1759$2$10
5Claude Fable 5.1Anthropic———1758$10$50
6GPT-6 SolOpenAI———1689$2$10
7Claude Opus 5Anthropic———1687$5$25
8Gemini 4 ArgonGoogle DeepMind———1680$2$10
9Kimi K3openMoonshot AI———1674$3$15
10Qwen3.8 MaxAlibaba (Qwen)———1671$2$6
11Muse Spark 1.3 ContributorMeta———1652$0.1$0.2
12Grok 4.7xAI———1638$2$6
13Claude Fable 5Anthropic———1628$10$50
14MiMo-V2.6-ProopenXiaomi———1618$0.435$0.87
15Grok 4.6xAI———1618$2$6
16GPT-5.6 SolOpenAI———1617$4$20
17GLM-5.3openZhipu AI (Z.ai)———1615$1.20$4.18
18DeepSeek V4.1 FlashopenDeepSeek———1614$0.15$0.6
19GLM-5.3-FlashopenZhipu AI (Z.ai)———1607$0.12$0.418
20Qwen3.8 27BopenAlibaba (Qwen)———1593$0.035$1.50
21Gemini 3.7 FlashGoogle DeepMind———1587$0.75$3.75
22GPT-6 LunaOpenAI———1582$0.1$0.5
23Step 5 PreviewopenStepFun———1570$1.05$2.99
24Gemini 3.8 FlashGoogle DeepMind———1568$0.75$3.75
25Claude Opus 4.8Anthropic———1559$5$25

Top picks explained

  1. 1. Claude Opus 5.5

    Claude Opus 5.5 is a proprietary reasoning llm from Anthropic, released Sep 22, 2026. It has a 1M-token context window and accepts text, image, pdf, file input. API pricing starts at $4 per million input tokens and $20 per million output tokens. It is available from 60 API providers. It scores 168.7 on the Epoch Capabilities Index.

  2. 2. GPT-6 Astra

    GPT-6 Astra is a proprietary reasoning llm from OpenAI, released Sep 4, 2026. It has a 1.1M-token context window and accepts text, image, pdf, file input. API pricing starts at $10 per million input tokens and $50 per million output tokens. It is available from 57 API providers. It scores 169.2 on the Epoch Capabilities Index.

  3. 3. Claude Sonnet 5.5

    Claude Sonnet 5.5 is a proprietary reasoning llm from Anthropic, released Sep 28, 2026. It has a 1M-token context window and accepts text, image, pdf, file input. API pricing starts at $2 per million input tokens and $10 per million output tokens. It is available from 58 API providers. It scores 166.6 on the Epoch Capabilities Index.

  4. 4. GPT-6.1 Sol

    GPT-6.1 Sol is a proprietary reasoning llm from OpenAI, released Sep 29, 2026. It has a 1.1M-token context window and accepts text, image, pdf, file input. API pricing starts at $2 per million input tokens and $10 per million output tokens. It is available from 52 API providers. It scores 168.6 on the Epoch Capabilities Index.

  5. 5. Claude Fable 5.1

    Claude Fable 5.1 is a proprietary reasoning llm from Anthropic, released Sep 1, 2026. It has a 1M-token context window and accepts text, image, pdf, file input. API pricing starts at $10 per million input tokens and $50 per million output tokens. It is available from 52 API providers. It scores 167.1 on the Epoch Capabilities Index.

Head-to-head

Methodology

Ranked by the average of SWE-bench Verified, Terminal-Bench, Aider Polyglot and WebDev Arena (normalized), falling back to the Epoch Capabilities Index. Benchmark scores come from the Epoch AI Benchmarking Hub; prices are list prices per million tokens from the model's own provider or the cheapest major host. More on our methodology.

Other rankings

FAQ

What is the best llm for coding?

As of Nov 22, 2026, the best llm for coding is Claude Opus 5.5 by Anthropic, followed by GPT-6 Astra and Claude Sonnet 5.5. Ranked by the average of SWE-bench Verified, Terminal-Bench, Aider Polyglot and WebDev Arena (normalized), falling back to the Epoch Capabilities Index.