Cheapest LLM API in October 2026, and the cheapest for coding

As of Oct 26, 2026, the cheapest language-model API in our data is Ministral 3 14B at $0.20 / $0.20 per million input / output tokens (USD list price, 41 priced models). For coding, the cheapest models in the top 10 of the LMArena WebDev board (Oct 22, 2026) are Claude Sonnet 5.5, GPT-6.1 Sol, Kimi K3.1 Pro and GPT-6 Sol at $2 / $10 per million tokens. Claude Sonnet 5.5 ranks #3. Cheapest is not best: we have not measured quality per dollar.

Free weekly brief: email newsletter · RSS

Evidence: Reported. Prices are vendor list prices from our model records; the coding ranking is the LMArena WebDev crowd-vote snapshot of Oct 22, 2026, which is a third-party preference score, not our test read from the sources listed below on 2026-10-27 (America/Chicago). We did not run these products or models for this page.

Cite this: Agentic Weekly, "Cheapest LLM API in October 2026, and the cheapest for coding", https://theagenticweekly.com/what-is/cheapest-llm-api, read Oct 27, 2026.

Method: Prices are vendor list prices in USD per 1M tokens, standard processing; the coding cut uses the LMArena WebDev crowd-vote snapshot of Oct 22, 2026, a third-party preference score. Each fact is copied from the vendor page linked in its row into our model records with the date we read it. Reported means read from that page, not run by us; Tested would mean we ran it and logged a dated run, and no model on this page is Tested. 64 language models are in our data: 41 have a sourced USD list price, 2 are priced in another currency and 21 have no verified price. Only models with a sourced price are listed; we do not estimate or pad.

Data: models.csv · models.json · answers.json

The 8 cheapest language-model APIs (USD)

Ranked by input price plus output price per 1M tokens, standard processing, free tiers ignored. Full list: LLM pricing comparison.

Eight cheapest LLM APIs by input plus output price, USD per 1M tokens
ModelVendorInput / outputLicenceSourceRead
Ministral 3 14BMistral AI$0.20 / $0.20Apache 2.0vendor page2026-10-26
Mercury 3Inception$0.10 / $0.35Proprietary (API)vendor page2026-10-26
Claude Haiku 5.5Anthropic$0.10 / $0.50Proprietary (API)vendor page2026-10-26
GPT-6 LunaOpenAI$0.10 / $0.50Proprietary (API)vendor page2026-10-26
MiniMax M3.1 FlashMiniMax$0.15 / $0.60MiniMax Community Licensevendor page2026-10-26
Mistral Small 4Mistral AI$0.15 / $0.60Apache 2.0vendor page2026-10-26
GPT-5.6 LunaOpenAI$0.20 / $1.20Proprietary (API)vendor page2026-10-26
Grok Build 0.1xAI$1 / $2Proprietary (API)vendor page2026-10-26

Cheapest for coding: the top 10 of LMArena WebDev

LMArena WebDev ranks models on front-end web-development tasks by crowd vote. Scores are Elo-style, snapshot Oct 22, 2026. Prices come from our model records where the model has one, otherwise from the leaderboard row.

LMArena WebDev top 10 with list price per 1M tokens
RankModelScoreInput / output (USD)Price source
1Claude Opus 5.5 (Max)1807$4 / $20vendor page
2GPT-6 Astra (Max)1774$10 / $50vendor page
3Claude Sonnet 5.5 (xHigh)1769$2 / $10vendor page
4GPT-6.1 Sol (Max)1749$2 / $10vendor page
5Claude Fable 5.1 (Max)1742$10 / $50LMArena row
6Muse Wonder Full (Max)1726N/ALMArena row
7Claude Sonnet 5.5 (High)1709$2 / $10vendor page
8Kimi K3.1 Pro (Max)1692$2 / $10vendor page
9Claude Opus 5 (Max)1691$5 / $25LMArena row
10GPT-6 Sol (Max)1681$2 / $10vendor page

Just outside the top 10, DeepSeek-V4.1-Flash-20261017 (Max) is #14 at $0.15 / $0.60 per the leaderboard row. We list that model in Chinese yuan on its model page and do not convert, so the dollar figure is LMArena's, not DeepSeek's.

Cheapest open-weights options

  • Ministral 3 14B: $0.20 / $0.20 per 1M tokens, licence Apache 2.0.
  • MiniMax M3.1 Flash: $0.15 / $0.60 per 1M tokens, licence MiniMax Community License.
  • Mistral Small 4: $0.15 / $0.60 per 1M tokens, licence Apache 2.0.
  • GLM-5.3: $1.40 / $4.4 per 1M tokens, licence GLM-5.3 License (MIT-style plus a MaaS condition).

Open weights can also run on your own hardware, where the cost is compute, not tokens. See best open-source LLM.

FAQ

What is the cheapest LLM API?

Ministral 3 14B at $0.20 / $0.20 per 1M input / output tokens, the lowest USD list price among 41 models in our data (read Oct 26, 2026). DeepSeek lists lower yuan prices but we do not convert currencies.

What is the cheapest LLM for coding?

Among the top 10 on LMArena WebDev (Oct 22, 2026), Claude Sonnet 5.5, GPT-6.1 Sol, Kimi K3.1 Pro and GPT-6 Sol cost the least at $2 / $10 per 1M tokens; Claude Sonnet 5.5 is the best-ranked of them at #3. DeepSeek-V4.1-Flash-20261017 (Max) is #14 at $0.15 / $0.60 per the leaderboard. These are preference scores from a third party, not our tests.

Is a cheaper model worse?

Not necessarily, and we have not measured it. Price per token ignores how many tokens a model spends on a task and how often it needs a retry. Check a model's own page for vendor claims, labelled as claims.

Sources

Page history

  • : First published. Facts read from the sources listed below on this date.

Markdown version for agents: /what-is/cheapest-llm-api.md