Enterprise DNAEnterprise DNA
← Back to the Model Guide

Best model / job

Coding: the best models

Write, review and refactor code.

How this page ranks

  • Ranked by the Coding Index (Artificial Analysis, through OpenRouter), highest first. Ties go to the lower blended price.
  • A model counts for this job when its taxonomy v2 classification names coding, or its old category maps to it.
  • Each model must list text output on OpenRouter or on its own record.
  • Prices and scores come from the market tables only, each with the day it is for. The price on a model's own record is not used.
  • Missing data never ranks. A model with no confirmed score in the last 30 days or unknown inputs and outputs is listed apart, with the reason. Price is shown when one is confirmed, and is not needed to rank.

Market data as of 25 Nov 2026. Prices: OpenRouter models API (official). Score: Artificial Analysis, through OpenRouter (third-party).

Ranked: 174 of 985 models

Cheapest for coding →
#ModelCoding IndexScore dateBlended / 1MPrice date
1Anthropic logoClaude Fable 5.1Anthropic81.617 Nov 2026$20.0025 Nov 2026
2OpenAI logoGPT-5.6 SolOpenAI78.317 Nov 2026$8.0025 Nov 2026
3Anthropic logoClaude Opus 5Anthropic78.017 Nov 2026$10.0025 Nov 2026
4OpenAI logoGPT-6 AstraOpenAI77.117 Nov 2026$20.0025 Nov 2026
5xAI logoGrok 4.6xAI76.817 Nov 2026$3.0025 Nov 2026
6OpenAI logoGPT-5.6 TerraOpenAI76.717 Nov 2026$4.5025 Nov 2026
7Meta logoMuse Spark 1.3Meta76.517 Nov 2026$2.0025 Nov 2026
8Anthropic logoClaude Fable 5Anthropic76.517 Nov 2026$20.0025 Nov 2026
9Google logoGemini 3.8 FlashGoogle76.317 Nov 2026$1.6525 Nov 2026
10Qwen logoQwen3.8 Max (0902)Qwen76.217 Nov 2026$3.0025 Nov 2026
11Moonshot AI logoKimi K3Moonshotai76.217 Nov 2026$4.1425 Nov 2026
12Google logoGemini 3.7 FlashGoogle76.117 Nov 2026$1.5025 Nov 2026
13OpenAI logoGPT-5.5OpenAI74.917 Nov 2026$11.2525 Nov 2026
14Z.ai (Zhipu) logoGLM 5.3Z Ai74.817 Nov 2026$0.40225 Nov 2026
15Anthropic logoClaude Opus 4.8Anthropic74.317 Nov 2026$10.0025 Nov 2026
16Anthropic logoClaude Opus 4.7Anthropic73.617 Nov 2026$10.0025 Nov 2026
17Qwen logoQwen3.8 FlashQwen73.117 Nov 2026$0.23025 Nov 2026
18xAI logoGrok 4.5xAI72.417 Nov 2026$3.0025 Nov 2026
19Meta logoMuse Spark 1.2Meta72.217 Nov 2026$2.0025 Nov 2026
20Qwen logoQwen3.8 2.4T A95BQwen71.917 Nov 2026$3.0025 Nov 2026
21Z.ai (Zhipu) logoGLM 5.3 FlashZ Ai71.517 Nov 2026$0.18525 Nov 2026
22Anthropic logoClaude Sonnet 5Anthropic71.517 Nov 2026$4.0025 Nov 2026
23OpenAI logoGPT-5.6 LunaOpenAI71.417 Nov 2026$0.45025 Nov 2026
24OpenAI logoGPT-5.4OpenAI71.117 Nov 2026$5.6325 Nov 2026
25Google logoGemini 3.5 FlashGoogle70.117 Nov 2026$3.3825 Nov 2026

Showing the top 25 of 174 ranked models.

Not ranked, and why (811)

No confirmed score in the market tables in the last 30 days 803

And 683 more.

What the model takes in and puts out is not known 8
  • Granite 4.1 8B No input or output list from OpenRouter or the record
  • KAT-Coder-Pro V2 No input or output list from OpenRouter or the record
  • Ling 3.0 Flash Fin No input or output list from OpenRouter or the record
  • Ling-2.6-flash No input or output list from OpenRouter or the record
  • Nex-N2-Pro No input or output list from OpenRouter or the record
  • Qwen3.8 Max No input or output list from OpenRouter or the record
  • R1 No input or output list from OpenRouter or the record
  • Ring-2.6-1T No input or output list from OpenRouter or the record

Automated from dated market data, not Enterprise DNA tested picks. Check the price and terms with the provider before you commit. Methodology: how the model numbers work.