Ranking · AI models

Best AI models for coding by price

How many LLM Stats coding-index points each dollar buys: useful for agents that make many calls per task.

Criteria the LLM Stats coding index divided by the blended 3:1 (input:output) price, only for models with a coding index of 35 or higher.

Data reviewed on Oct 29, 2026 · 13 of 34 models publish this figure.

  1. 01
    26.2Coding points per USD
  2. 02
    19.3Coding points per USD
  3. 03
    GLM-5.3Z.ai (Zhipu AI)
    18.7Coding points per USD
#ModelCoding points per USDBlended priceContext
01Gemini 3.8 FlashGoogle26.2$1.501.05M
02Muse Spark 1.3Meta19.3$2.00—
03GLM-5.3Z.ai (Zhipu AI)18.7$2.15—
04Qwen3.8 MaxAlibaba Cloud12.5$3.00—
05Claude Sonnet 5.5Anthropic11.9$4.001.00M
06Gemini 4 ArgonGoogle10.8$4.001.05M
07GPT-6.1 SolOpenAI9.7$4.001.05M
08GPT-5.6 TerraOpenAI9.4$4.501.05M
09Kimi K3Moonshot AI6.8$6.001.05M
10Claude Opus 5.5Anthropic6.2$8.001.00M
11GPT-5.6 SolOpenAI5.4$8.001.05M
12Claude Opus 5Anthropic3.9$10.001.00M
13GPT-6 AstraOpenAI2.3$20.001.05M

How it is calculated

  • The indexes (overall, reasoning, coding) are the ones LLM Stats publishes; Codifly does not run these tests.
  • Prices are each provider's official standard API prices, without caching or batching.
  • The blended price weighs 3 input tokens per output token; cost-benefit divides the overall index by that price.
Methodology and sources

Which one fits your case?

The top of a ranking is not always the most cost-effective at your volume. Estimate your cost or ask us for a written recommendation.

Frequently asked questions

Which is the best AI model for coding per dollar?

Gemini 3.8 Flash (26.2 pts/USD) leads this ranking, followed by Muse Spark 1.3 (19.3 pts/USD) · GLM-5.3 (18.7 pts/USD). Data reviewed on Oct 29, 2026.

Which model in this ranking has the best price-performance?

Gemini 3.8 Flash: 34.0 LLM Stats index points per dollar, at a blended price of $1.50 per million tokens.

How is this ranking calculated?

the LLM Stats coding index divided by the blended 3:1 (input:output) price, only for models with a coding index of 35 or higher. The indexes (overall, reasoning, coding) are the ones LLM Stats publishes; Codifly does not run these tests. Prices are each provider's official standard API prices, without caching or batching. The blended price weighs 3 input tokens per output token; cost-benefit divides the overall index by that price.

The Codifly brief

A clearer perspective.
In your inbox.

Analysis, guides and new technology comparisons.

You can unsubscribe whenever you like.