modelgrep

Best LLMs for Coding

Quick answer · Updated June 2026

Claude Fable 5 is the best LLM for coding, with a 62.0 Artificial Analysis Coding Index across benchmarks like SWE-bench and SciCode. Claude Opus 4.8 (56.7) and GPT-5.5 (56.2) round out the top three.

62.0Coding
64.9Intelligence
$10.00Input /M
1MContext

AI models ranked by the Artificial Analysis Coding Index, measuring real-world software engineering ability across benchmarks like SWE-bench, SciCode and terminal tasks. The best LLMs for code generation, debugging and agentic development.

  1. 1A
    claude-fable-5
    ReasoningToolsJSON+164.9 intel · $10.00/M · 1M ctx
    62.0
    Coding
  2. 2A
    claude-opus-4.8
    ReasoningToolsJSON+161.4 intel · $5.00/M · 58 t/s
    56.7
    Coding
  3. 3O
    gpt-5.5
    ReasoningToolsJSON+156.7 intel · $5.00/M · 37 t/s
    56.2
    Coding
  4. 4O
    gpt-5.3-codex
    ReasoningToolsJSON+153.6 intel · $1.75/M · 45 t/s
    53.1
    Coding
  5. 5A
    claude-opus-4.7
    ReasoningToolsJSON+157.3 intel · $5.00/M · 60 t/s
    52.5
    Coding
  6. 6Q
    qwen3.7-max
    ReasoningToolsJSON56.6 intel · $1.25/M · 39 t/s
    50.1
    Coding
  7. 7A
    claude-opus-4.6
    ReasoningToolsJSON+152.9 intel · $5.00/M · 46 t/s
    48.1
    Coding
  8. 8G
    gemini-3.5-flash
    ReasoningToolsJSON+243.3 intel · $1.50/M · 164 t/s
    47.1
    Coding
  9. 9Q
    qwen3.7-plus
    ReasoningToolsJSON+153.3 intel · $0.320/M · 29 t/s
    46.5
    Coding
  10. 10K
    kat-coder-pro-v2
    ToolsJSON43.8 intel · $0.300/M · 48 t/s
    45.6
    Coding
  11. 11X
    mimo-v2.5-pro
    ReasoningToolsJSON53.8 intel · $0.435/M · 32 t/s
    45.5
    Coding
  12. 12Q
    qwen3.6-max-preview
    ReasoningToolsJSON51.8 intel · $1.04/M · 48 t/s
    44.9
    Coding
  13. 13O
    gpt-5.1
    ReasoningToolsJSON+147.7 intel · $1.25/M · 55 t/s
    44.7
    Coding
  14. 14Z
    glm-5
    ReasoningToolsJSON49.8 intel · $0.600/M · 112 t/s
    44.2
    Coding
  15. 15O
    gpt-5.4-nano
    ReasoningToolsJSON+144.0 intel · $0.200/M · 56 t/s
    43.9
    Coding
  16. 16M
    minimax-m3
    ReasoningToolsJSON+154.7 intel · $0.300/M · 47 t/s
    43.4
    Coding
  17. 17A
    claude-sonnet-4.6
    ReasoningToolsJSON+142.6 intel · $3.00/M · 48 t/s
    43.0
    Coding
  18. 18O
    gpt-5.2-codex
    ReasoningToolsJSON+149.0 intel · $1.75/M · 85 t/s
    43.0
    Coding
  19. 19Q
    qwen3.6-plus
    ReasoningToolsJSON+150.0 intel · $0.325/M · 36 t/s
    42.9
    Coding
  20. 20A
    claude-opus-4.5
    ReasoningToolsJSON+143.1 intel · $5.00/M · 51 t/s
    42.9
    Coding
  21. 21G
    gemini-3-flash-preview
    ReasoningToolsJSON+246.4 intel · $0.500/M · 66 t/s
    42.6
    Coding
  22. 22X
    mimo-v2.5
    ReasoningToolsJSON+249.0 intel · $0.140/M · 49 t/s
    42.1
    Coding
  23. 23M
    minimax-m2.7
    ReasoningToolsJSON49.6 intel · $0.250/M · 334 t/s
    41.9
    Coding
  24. 24X
    grok-4.3
    ReasoningToolsJSON+153.2 intel · $1.25/M · 135 t/s
    41.0
    Coding
  25. 25O
    gpt-5.4
    ReasoningToolsJSON+135.4 intel · $2.50/M · 59 t/s
    41.0
    Coding

Frequently asked

What is the best LLM for coding?

Claude Fable 5 is the best LLM for coding, with a 62.0 Artificial Analysis Coding Index across benchmarks like SWE-bench and SciCode. Claude Opus 4.8 (56.7) and GPT-5.5 (56.2) round out the top three.

What's a good alternative to Claude Fable 5?

Claude Opus 4.8 (56.7) is the closest alternative on this metric, followed by GPT-5.5 (56.2). See the full ranking above for the tradeoffs.

By maker

All rankings