Short answer: LLM API pricing as of October 21, 2026: the top models from Anthropic, OpenAI and Google cost $2 to $10 per million input tokens and $10 to $50 per million output tokens. Gemini 4 Argon is $2 and $10 at its introductory price (rising to $4 and $20 on December 1, 2026), Claude Opus 5.5 is $4 and $20, and GPT-6 Astra and Claude Fable 5.1 are $10 and $50. The cheapest current models from those three labs, Claude Haiku 5.5 and GPT-6 Luna, cost $0.10 and $0.50, and DeepSeek’s Flash model costs $0.15 and $0.60 off-peak. Compare the cost of a finished task, not the price per token: tokenizers, reasoning tokens and caching move the real bill more than the list price does.
Key takeaways
- Every price on this page was read on the provider’s own pricing or model page on October 21, 2026, in US dollars per million tokens (1M tokens), standard tier.
- Same list price, different bill: Claude Sonnet 5.5 and GPT-6.1 Sol both cost $2 and $10, and Claude Haiku 5.5 and GPT-6 Luna both cost $0.10 and $0.50, but each company’s tokenizer counts the same text differently.
- Among Anthropic, OpenAI and Google, the lowest list price is OpenAI’s older GPT-5 nano ($0.05 in, $0.40 out), which OpenAI shuts down on December 11, 2026. Google’s Gemini 2.5 Flash-Lite ($0.10 and $0.40) has been open only to past users since September 18, 2026.
- Caching and batching cut real workloads by about half in the examples below; DeepSeek charges half price outside its weekday peak hours.
- Two price rises are already scheduled: Gemini 4 Argon on December 1, 2026, and Gemini 3.8 Flash and 3.6 Flash on January 1, 2027. OpenAI also shuts down a group of older models on October 23, 2026, including GPT-4.1 nano, GPT-4 and o1.
Prices checked October 21, 2026. All prices are US dollars per million tokens (1M tokens) at each provider’s standard tier for short prompts, read on the provider’s own pricing or model page that day, unless a row says otherwise. “Cached input” is the price of reading a prompt prefix from the provider’s cache.
In this article: Prices at a glance | Claude | GPT-6 | Gemini | DeepSeek and Grok | Cheapest LLM API | Why price per token misleads | Caching and batch | Real workload costs | Price tiers | Decentralized inference | AI agent costs | Hidden costs | Older models | Price changes in 2026 | FAQ
LLM API pricing at a glance (checked October 21, 2026)
The table lists the current general-purpose text models from Anthropic, OpenAI, Google, DeepSeek and xAI that a new account can buy through the provider’s own API, plus Mistral’s largest model, Mistral Large 4, with each model’s price per million tokens and context window. Older models that are still on the price lists are in a separate table.
| Provider and model (API ID) | Input ($ per 1M tokens) | Cached input ($ per 1M) | Output ($ per 1M tokens) | Context window (tokens) | Price notes | Source, date checked |
|---|---|---|---|---|---|---|
Anthropic Claude Fable 5.1 (claude-fable-5-1) |
$10.00 | $0.25 | $50.00 | 1M | For demanding reasoning and long-horizon agent work. Batch: $5 / $25 | Anthropic, Oct 21, 2026 |
Anthropic Claude Opus 5.5 (claude-opus-5-5) |
$4.00 | $0.20 | $20.00 | 1M | Anthropic’s suggested starting model. Batch: $2 / $10. Fast mode: $8 / $40 | Anthropic, Oct 21, 2026 |
Anthropic Claude Sonnet 5.5 (claude-sonnet-5-5) |
$2.00 | $0.10 | $10.00 | 1M | Batch: $1 / $5 | Anthropic, Oct 21, 2026 |
Anthropic Claude Haiku 5.5 (claude-haiku-5-5) |
$0.10 | $0.01 | $0.50 | 1M | Prompts over 100,000 tokens: $0.50 / $0.05 / $2.50. Batch: $0.05 / $0.25 | Anthropic, Oct 21, 2026 |
OpenAI GPT-6 Astra (gpt-6-astra) |
$10.00 | $1.00 | $50.00 | 1.05M (922K max input) | Prompts over 272K tokens: $20 / $2 / $75. Batch: $5 / $25 | OpenAI, Oct 21, 2026 |
OpenAI GPT-6.1 Sol (gpt-6.1-sol) |
$2.00 | $0.10 | $10.00 | 1.05M (922K max input) | Prompts over 272K tokens: $4 / $0.20 / $15. Batch: $1 / $5 | OpenAI, Oct 21, 2026 |
OpenAI GPT-6 Luna (gpt-6-luna) |
$0.10 | $0.01 | $0.50 | 1.05M (922K max input) | Prompts over 272K tokens: $0.20 / $0.02 / $0.75. Batch: $0.05 / $0.25 | OpenAI, Oct 21, 2026 |
Google Gemini 4 Argon (gemini-4-argon) |
$2.00 | $0.10 (implicit caching only) | $10.00 | 1M (input and output combined) | Introductory price through November 30, 2026; $4 / $20 from December 1, 2026. Not on the free tier. Batch: $1 / $5, then $2 / $10 | Google, Oct 21, 2026 |
Google Gemini 3.1 Pro Preview (gemini-3.1-pro-preview) |
$2.00 | $0.20 | $12.00 | 1M | Prompts over 200K tokens: $4 / $0.40 / $18. Preview model | Google, Oct 21, 2026 |
Google Gemini 3.8 Flash (gemini-3.8-flash) |
$0.75 | $0.075 | $3.75 | 1M | $1.50 / $7.50 from January 1, 2027. Also on the free tier. Batch: $0.375 / $1.875 | Google, Oct 21, 2026 |
Google Gemini 3.5 Flash-Lite (gemini-3.5-flash-lite) |
$0.30 | $0.03 | $2.50 | 1M | Also on the free tier. Batch: $0.15 / $1.25 | Google, Oct 21, 2026 |
Google Gemini 3.1 Flash-Lite (gemini-3.1-flash-lite) |
$0.25 | $0.025 | $1.50 | 1M | Also on the free tier. Batch: $0.125 / $0.75 | Google, Oct 21, 2026 |
DeepSeek Flash (deepseek-flash, served by DeepSeek-V4.1-Flash-1017) |
$0.30 peak; $0.15 off-peak | $0.006 peak; $0.003 off-peak | $1.20 peak; $0.60 off-peak | 1M | Peak: 01:00 to 04:00 and 06:00 to 10:00 UTC, Monday to Friday. All other hours are off-peak | DeepSeek, Oct 21, 2026 |
DeepSeek V4 Pro (deepseek-v4-pro, DeepSeek-V4-Pro-0813) |
$1.32 peak; $0.66 off-peak | $0.044 peak; $0.022 off-peak | $3.96 peak; $1.98 off-peak | 1M | Maximum output 384K tokens | DeepSeek, Oct 21, 2026 |
xAI Grok 4.7 (grok-4.7) |
$2.00 | $0.50 | $6.00 | 500K | Prompts of 200K tokens or more: $4 / $1 / $12 on every token in the request. Batch: 20% off | xAI, Oct 21, 2026 |
xAI Grok 4.3 (grok-4.3) |
$1.25 | $0.20 | $2.50 | 1M | Prompts of 200K tokens or more: $2.50 / $0.40 / $5. Batch: 20% off | xAI, Oct 21, 2026 |
xAI Grok Build 0.1 (grok-build-0.1) |
$1.00 | $0.20 | $2.00 | 256K | Coding model. Prompts of 200K tokens or more: $2 / $0.40 / $4. Batch API not supported | xAI, Oct 21, 2026 |
Mistral Large 4 (mistral-large-4) |
$1.36 | $0.14 | $4.18 | 1M | Open-weight. Public preview since October 6, 2026 (version 26.10) | Mistral, Oct 21, 2026 |
How much does the Claude API cost in 2026?
Claude Opus 5.5, the model Anthropic suggests starting with, costs $4 per million input tokens and $20 per million output tokens. Claude Sonnet 5.5 costs $2 and $10, Claude Haiku 5.5 costs $0.10 and $0.50, and Claude Fable 5.1, which Anthropic recommends for demanding reasoning and long-horizon agent work, costs $10 and $50 (Anthropic’s pricing page, October 21, 2026).
All four current models have a 1M-token context window and up to 128K tokens of output, by Anthropic’s models overview. Opus 5.5, released on September 22, 2026, is priced below Claude Opus 5 ($5 and $25), which stays on the price list. Three details change the real bill:
- Cache reads are cheap. Reading a cached prompt costs 5 percent of the input price on Opus 5.5 and Sonnet 5.5 ($0.20 and $0.10), 2.5 percent on Fable 5.1 ($0.25) and 10 percent on other Claude models. Writing to the cache costs 1.25 times the input price for a 5-minute cache and 2 times for a 1-hour cache.
- Haiku 5.5 has a prompt-length threshold. A request whose prompt exceeds 100,000 tokens, counting cache reads and writes, pays $0.50 and $2.50 instead of $0.10 and $0.50. The other current Claude models charge the same rate across their full 1M-token window.
- The tokenizer changed. Anthropic says Claude 4.7 and later models use a tokenizer that produces about 30 percent more tokens for the same text than earlier Claude models.
The Batch API takes 50 percent off input and output, and the discounts stack with caching. Requesting US-only inference through the inference_geo setting adds 10 percent to every token price on Claude 4.6 and later models. Claude Mythos 5.1 is listed at the same $10 and $50 as Fable 5.1, but only for organizations in Anthropic’s verification programs.
How much does the GPT-6 API cost?
GPT-6 Astra costs $10 per million input tokens and $50 per million output tokens, GPT-6.1 Sol costs $2 and $10, and GPT-6 Luna costs $0.10 and $0.50, for prompts up to 272,000 tokens (OpenAI’s pricing page, October 21, 2026).
OpenAI released GPT-6 Astra on September 3, 2026, GPT-6 Sol and GPT-6 Luna on September 22, and GPT-6.1 Sol on September 29, by its API changelog. All three current models have a 1.05M-token context window (up to 922K tokens of input) and up to 128K tokens of output. OpenAI’s model pages describe Astra as its most capable model, GPT-6.1 Sol as near-Astra performance for complex work at a lower cost, and Luna as its most efficient model for focused, high-volume tasks. Luna is also the only one of the three that offers a “none” reasoning setting.
- Long prompts cost more. Above 272,000 input tokens, GPT-6 input prices double and output prices rise by half (Astra: $20 and $75).
- Cached input costs $1 on Astra, $0.10 on GPT-6.1 Sol and $0.01 on Luna. On all three, a 30-minute cache write costs 1.25 times the input price; OpenAI added a 12-hour cache in the Responses API on October 20, 2026, with writes at 2.5 times the input price.
- Batch and Flex processing cost half the standard price. Fast mode, the tier OpenAI called Priority processing until July 30, 2026, costs twice the standard price on the GPT-6 models. Ultrafast mode, offered on Astra and GPT-6.1 Sol, costs six times the standard price.
- Data residency: regional processing endpoints carry a 10 percent uplift for models released on or after March 5, 2026.
How much does the Gemini API cost, and why does Gemini 4 Argon double on December 1?
Gemini 4 Argon, Google’s flagship reasoning model, costs $2 per million input tokens and $10 per million output tokens through November 30, 2026, and $4 and $20 from December 1, 2026. Google’s Gemini 4 Argon guide calls $2 and $10 an introductory price that runs through November 30, 2026, and its pricing page (last updated October 19, 2026) lists both dated prices. Neither page gives any other reason for the change.
Gemini 4 Argon became generally available on October 13, 2026, by Google’s Gemini API changelog, with a 1,048,576-token window shared by input and output. It is not on the free tier, and its cache discount is implicit only (95 percent off input, or $0.10 per million cached tokens, rising to $0.20). The rest of the paid lineup, at standard prices:
- Gemini 3.1 Pro Preview: $2 and $12 up to 200,000 prompt tokens; $4 and $18 above that.
- Gemini 3.8 Flash (generally available since September 2, 2026) and Gemini 3.6 Flash: $0.75 and $3.75 through December 31, 2026, then $1.50 and $7.50 from January 1, 2027.
- Gemini 3.5 Flash-Lite: $0.30 and $2.50. Gemini 3.1 Flash-Lite: $0.25 and $1.50. Neither has a scheduled change.
The Flash and Flash-Lite models also appear on the Gemini API’s free tier; Gemini 4 Argon and Gemini 3.1 Pro Preview do not. Batch prices are half the standard rate. For new projects, Google’s models page points developers to Gemini 3.5 Flash-Lite or Gemini 3.8 Flash. Since September 18, 2026, Google has limited the Gemini 2.5 models to users who have actively used them before, so their low prices (see the legacy table) are not open to new accounts.
What do the DeepSeek and Grok APIs cost?
DeepSeek’s API sells two models: deepseek-flash at $0.30 per million input tokens and $1.20 per million output tokens at peak, half that off-peak, and deepseek-v4-pro at $1.32 and $3.96 at peak, $0.66 and $1.98 off-peak. xAI’s Grok 4.7 costs $2 and $6, and Grok 4.3 costs $1.25 and $2.50 (both checked October 21, 2026).
DeepSeek’s peak hours are 01:00 to 04:00 and 06:00 to 10:00 UTC, Monday to Friday, excluding Chinese public holidays; every other hour, including weekends, is billed at half price. Cache hits cost $0.006 per million tokens on Flash at peak, which is 2 percent of the uncached input price. Both models have a 1M-token context and up to 384K tokens of output, and both think by default with a non-thinking mode available. The deepseek-flash name is now served by DeepSeek-V4.1-Flash-1017, which DeepSeek released on October 17, 2026 with open weights. The older deepseek-chat and deepseek-reasoner names no longer appear on DeepSeek’s pricing page, and neither do the R1 and V3 models this page priced in February. DeepSeek publishes the V4-Pro and V4.1-Flash-1017 weights on Hugging Face under the MIT license, so other hosts can sell DeepSeek models too.
xAI’s API documentation, now published under the name SpaceX Super Intelligence (SpaceXSI), calls Grok 4.7 the most capable model it has built. It has a 500K-token context window, and a request whose prompt reaches 200,000 tokens is billed at the higher rate ($4 and $12) for every token in it. Grok 4.3 trades capability for a lower price and a 1M-token window. xAI’s Batch API takes 20 percent off both.
What is the cheapest LLM API right now?
For a new account on October 21, 2026, the cheapest current models from Anthropic, OpenAI and Google are Claude Haiku 5.5 and GPT-6 Luna, at $0.10 per million input tokens and $0.50 per million output tokens, and DeepSeek’s Flash model costs $0.15 and $0.60 off-peak. OpenAI’s older GPT-5 nano lists lower, at $0.05 and $0.40, but OpenAI shuts it down on December 11, 2026.
The ranking comes with five caveats:
- Google’s cheapest model is closed to new users. Gemini 2.5 Flash-Lite lists at $0.10 and $0.40, but since September 18, 2026 it is open only to users who used the 2.5 models before. Google’s cheapest model for a new project is Gemini 3.1 Flash-Lite at $0.25 and $1.50.
- GPT-5 nano reasons before it answers, and reasoning tokens are billed as output. GPT-6 Luna accepts a “none” reasoning setting, so for short classification jobs it can cost less per request than GPT-5 nano despite the higher list price. OpenAI’s GPT-5 nano page points new cost-sensitive work to GPT-5.6 Luna ($0.20 and $1.20), and GPT-4.1 nano ($0.10 and $0.40), which answers without a reasoning step, shuts down on October 23, 2026.
- Cache-heavy work changes the order. DeepSeek Flash cache hits cost $0.003 per million tokens off-peak, a third of Claude Haiku 5.5’s $0.01.
- Other labs list lower prices on some small models. On October 21, 2026, Mistral listed Ministral 3 3B at $0.10 per million input tokens and $0.10 per million output tokens, Xiaomi listed MiMo V2.6 Flash at $0.14 and $0.28 (its overseas price), and Z.ai listed GLM-4.7-Flash and GLM-4.5-Flash as free. None of these is in the tables on this page.
- Cheapest per token is not cheapest per task. A cheap model that needs two attempts, or writes twice as many tokens, can cost more than a mid-priced model that gets it right once.
On the sample chatbot workload below (1 million requests of 300 input and 150 output tokens), the bill runs from $75 a month on GPT-5 nano to $105 on Claude Haiku 5.5 or GPT-6 Luna and $300 on Gemini 3.1 Flash-Lite, before reasoning tokens.
Why is price per token misleading?
Because a “token” is not the same unit across models, and the number of tokens a model spends on a task depends on how hard it thinks. The same model can cost ten times more per task at its highest effort setting than at its lowest.
- Tokenizers differ. Anthropic estimates that 1M tokens hold about 555,000 English words on the tokenizer it introduced with Claude Opus 4.7, against about 750,000 words on older Claude models. A 750-word answer is about 1,000 tokens on the old tokenizer and about 1,350 on the new one.
- Reasoning tokens are billed as output. OpenAI’s reasoning guide says reasoning tokens are not visible through the API but are billed as output tokens. Anthropic reports thinking tokens as part of the billed output, and Google’s Gemini output prices include thinking tokens. The current flagships from Anthropic, OpenAI, Google and DeepSeek are all reasoning models.
- Effort settings can move the bill as much as the model choice. Artificial Analysis, which runs the same benchmark tasks through each model and prices the tokens each provider reports, listed Claude Opus 5.5, in the configuration it labels “with fallback”, at $0.55 per task at low effort and $5.98 at maximum effort, and GPT-6 Astra at $0.82 and $3.26 (leaderboard read October 21, 2026). Our comparison of AI reasoning models explains how reasoning models spend extra tokens on thinking.
- Long prompts move to higher tiers. OpenAI charges more above 272,000 input tokens, Google above 200,000 on Gemini 3.1 Pro Preview and Gemini 2.5 Pro, xAI from 200,000, and Claude Haiku 5.5 above 100,000.
The reliable number is the one in your own logs: run a sample of real requests through each candidate, record the usage fields the API returns, and multiply by the prices above.
How much do caching, batch and off-peak pricing save?
Batch processing halves the price at Anthropic, OpenAI and Google and takes 20 percent off at xAI, cache reads cost 2 to 25 percent of the normal input price depending on the provider and model, and DeepSeek halves its prices outside weekday peak hours. On a workload that repeats a long prompt prefix, caching alone cut the bill by about half in the examples below.
| Lever (checked October 21, 2026) | Anthropic | OpenAI (GPT-6) | Google (Gemini) | DeepSeek | xAI |
|---|---|---|---|---|---|
| Cache read, share of input price | 10%; 5% on Opus 5.5 and Sonnet 5.5; 2.5% on Fable 5.1 | 10% on Astra and Luna; 5% on GPT-6.1 Sol | 10% on current Flash, Flash-Lite and Pro models; 5% on Gemini 4 Argon (implicit caching only) | 2% on Flash; about 3% on V4 Pro | 25% on Grok 4.7; 16% on Grok 4.3 |
| Cache write | 1.25x input (5 minutes) or 2x (1 hour) | 1.25x input (30 minutes) or 2.5x (12 hours) | Hourly storage fee on explicit caches, for example $0.50 per 1M tokens per hour on Gemini 3.8 Flash | None listed | None listed |
| Batch or deferred processing | 50% off (Batch API) | 50% off (Batch and Flex) | 50% off (Batch) | No batch tier listed; off-peak hours 50% off | 20% off (Batch API) on Grok 4.7, 4.3 and other Grok 4 models |
| Long-prompt surcharge | Only Haiku 5.5, above 100K tokens | Above 272K input tokens | Gemini 3.1 Pro Preview and 2.5 Pro, above 200K | None listed | From 200K tokens, on every token |
Caching pays when many requests share the same opening: a system prompt, tool definitions, a contract or a codebase. Batch pays for anything that can wait for results, such as overnight document processing or evaluation runs. Neither helps a short, unique, real-time chat message much.
What does a real workload cost?
Multiply each request’s input and output tokens by the per-million prices, divide by one million, and multiply by the number of requests. The three examples use list prices checked October 21, 2026 and count visible tokens only; reasoning tokens, which bill as output, come on top.
Formula: monthly cost = requests × (input tokens × input price + output tokens × output price) ÷ 1,000,000.
Workload 1: customer-support chatbot, 1 million requests a month, 300 input and 150 output tokens each
| Model | Input / output price ($ per 1M tokens) | Cost per request | Monthly cost |
|---|---|---|---|
| GPT-5 nano (shuts down December 11, 2026) | $0.05 / $0.40 | $0.000075 | $75 |
| Claude Haiku 5.5 | $0.10 / $0.50 | $0.000105 | $105 |
| GPT-6 Luna | $0.10 / $0.50 | $0.000105 | $105 |
| DeepSeek Flash, off-peak | $0.15 / $0.60 | $0.000135 | $135 |
| DeepSeek Flash, peak | $0.30 / $1.20 | $0.00027 | $270 |
| Gemini 3.1 Flash-Lite | $0.25 / $1.50 | $0.0003 | $300 |
| Gemini 3.5 Flash-Lite | $0.30 / $2.50 | $0.000465 | $465 |
| Claude Sonnet 5.5 | $2 / $10 | $0.0021 | $2,100 |
Reasoning can reorder this table. If GPT-5 nano thought for 500 tokens on each request (an illustrative figure, not a measurement), its bill would rise from $75 to $275, while GPT-6 Luna with reasoning set to “none” would stay at $105.
Workload 2: coding or research agent with a cached prompt, 100,000 requests a month
Each request sends 20,000 input tokens, of which 16,000 are a repeated prefix (instructions, tool definitions and reference documents) read from the cache, and gets 2,000 output tokens back. The “with caching” column prices the 16,000 cached tokens at the cache-read rate; cache-write charges, which recur each time the cache is stored again, are left out.
| Model | Input / cached / output price ($ per 1M) | Monthly cost with caching | Monthly cost without caching |
|---|---|---|---|
| DeepSeek V4 Pro, off-peak | $0.66 / $0.022 / $1.98 | $695 | $1,716 |
| DeepSeek V4 Pro, peak | $1.32 / $0.044 / $3.96 | $1,390 | $3,432 |
| Grok 4.7 | $2 / $0.50 / $6 | $2,800 | $5,200 |
| Claude Sonnet 5.5 | $2 / $0.10 / $10 | $2,960 | $6,000 |
| GPT-6.1 Sol | $2 / $0.10 / $10 | $2,960 | $6,000 |
| Gemini 4 Argon, through November 30, 2026 | $2 / $0.10 / $10 | $2,960 | $6,000 |
| Gemini 4 Argon, from December 1, 2026 | $4 / $0.20 / $20 | $5,920 | $12,000 |
| Claude Opus 5.5 | $4 / $0.20 / $20 | $5,920 | $12,000 |
| Claude Fable 5.1 | $10 / $0.25 / $50 | $14,400 | $30,000 |
| GPT-6 Astra | $10 / $1 / $50 | $15,600 | $30,000 |
Output dominates agent bills: on Claude Opus 5.5, the 2,000 output tokens per request cost $4,000 of the $5,920 total. Agents that think before every tool call spend far more output than this example assumes, which is why the effort setting matters. For agent use cases, see our guides to AI coding agents and AI agents for biotech research.
Workload 3: document extraction, 100,000 documents a month, batched overnight
Each document sends 5,000 input tokens and returns 500 output tokens, and the job can wait for batch results.
| Model | Batch input / output price ($ per 1M) | Cost per document | Monthly cost |
|---|---|---|---|
| Claude Haiku 5.5 (Batch API) | $0.05 / $0.25 | $0.000375 | $37.50 |
| GPT-6 Luna (Batch) | $0.05 / $0.25 | $0.000375 | $37.50 |
| Gemini 3.1 Flash-Lite (Batch) | $0.125 / $0.75 | $0.001 | $100 |
| DeepSeek Flash (off-peak standard price; no batch tier listed) | $0.15 / $0.60 | $0.00105 | $105 |
| Gemini 3.8 Flash (Batch, through December 31, 2026) | $0.375 / $1.875 | $0.0028 | $281 |
| Claude Sonnet 5.5 or GPT-6.1 Sol (Batch) | $1 / $5 | $0.0075 | $750 |
| Gemini 4 Argon (Batch, through November 30, 2026) | $1 / $5 | $0.0075 | $750 |
| Claude Opus 5.5 (Batch API) | $2 / $10 | $0.015 | $1,500 |
Simple extraction rarely needs a flagship. The useful test is whether the small model’s error rate on a few hundred real documents is acceptable; if it is, the batch price gap to Sonnet-class models is 20 times, and to Claude Opus 5.5 it is 40 times.
Which price tier fits which job?
The current models fall into three bands by output price. The makers describe the cheapest band as built for high-volume work such as classification, extraction and routing, and the most expensive band for the hardest reasoning and long agent runs.
| Output price band ($ per 1M tokens) | Models (input / output, $ per 1M tokens) |
|---|---|
| Under $3 | Claude Haiku 5.5 ($0.10 / $0.50); GPT-6 Luna ($0.10 / $0.50); DeepSeek Flash ($0.30 / $1.20 at peak); Gemini 3.1 Flash-Lite ($0.25 / $1.50); Grok Build 0.1 ($1 / $2); Gemini 3.5 Flash-Lite ($0.30 / $2.50); Grok 4.3 ($1.25 / $2.50) |
| $3 to $12 | Gemini 3.8 Flash ($0.75 / $3.75); DeepSeek V4 Pro ($1.32 / $3.96 at peak); Mistral Large 4 ($1.36 / $4.18); Grok 4.7 ($2 / $6); Claude Sonnet 5.5 ($2 / $10); GPT-6.1 Sol ($2 / $10); Gemini 4 Argon through November 30 ($2 / $10); Gemini 3.1 Pro Preview ($2 / $12) |
| $20 and up | Claude Opus 5.5 ($4 / $20); Gemini 4 Argon from December 1 ($4 / $20); Claude Fable 5.1 ($10 / $50); GPT-6 Astra ($10 / $50) |
In the makers’ own descriptions, Claude Haiku 5.5 is for high-volume, latency-sensitive tasks such as classification, extraction and routing; Sonnet 5.5 is Anthropic’s best mix of speed and intelligence; Opus 5.5 is for long-running agentic coding and knowledge work; and Fable 5.1 is for demanding reasoning and long-horizon agent work. OpenAI positions GPT-6 Luna for focused, high-volume tasks, GPT-6.1 Sol as close to Astra on complex work at lower cost, and Astra as its most capable model. Google calls Gemini 4 Argon its flagship reasoning model, built for complex software engineering and scientific problem solving.
For new work, Anthropic suggests starting with Claude Opus 5.5, OpenAI suggests GPT-6 Astra for complex reasoning and coding, and Google points new projects to Gemini 3.5 Flash-Lite or Gemini 3.8 Flash. Price is one input; our LLM comparison guide covers model choice by job.
Is decentralized inference cheaper?
Sometimes, but not by default. On October 21, 2026, Chutes, the inference service that runs as Subnet 64 on the Bittensor network, sold open-weight models pay-as-you-go, with no free tier and optional $10 and $20 monthly plans. It said all its featured models run on confidential (TEE) hardware, a claim this page does not test. Its cheapest models cost less than every model in this page’s main and legacy tables: Mistral-Nemo-Instruct-2407 was $0.0245 per million input tokens and $0.0978 per million output tokens. Qwen3-32B cost about as much as the cheapest current Claude and GPT-6 models: $0.104 and $0.416, against $0.10 and $0.50 for Claude Haiku 5.5 and GPT-6 Luna. The same page priced an older DeepSeek-V4-Flash version (0731) at $0.44 and $1.32, more than DeepSeek’s own API charges for its current Flash model even at peak ($0.30 and $1.20), and Chutes lists only open-weight models, so Claude, GPT-6 and Gemini are not on the menu. Our explainer on Bittensor subnets covers how Chutes fits into that network.
What does an AI agent cost per action?
Agent products are increasingly priced by the action rather than the token. Microsoft has metered its agents in Copilot Credits since September 1, 2025: five credits per action, or about four cents at the price of its $200 pack of 25,000 credits. Salesforce’s Agentforce price list charged about ten cents an action by October 2026, and Intercom bills $0.99 per resolved outcome for its Fin agent.
Agents that pay for themselves can use x402, which answers an unpaid web request with HTTP’s 402 “Payment Required” code and settles a stablecoin payment per call. By Coinbase’s count, x402 had carried roughly 235 million payments, together worth roughly $56 million, from May 2025 to October 2026, and most were for pennies. How software came to hold money and pay by the call is the subject of AGENT: AI, Money and the Rise of the Non-Human Economy, Chapters Five and Eight.
What costs are not on the price sheet?
Output length, retries, rate limits and engineering time. The per-token price is only one term in the bill, and on many workloads it is not the largest.
- Output length. Models write answers of different lengths for the same prompt. A model priced at $10 per million output tokens that writes 1,000 tokens costs $0.01 per answer; a model priced at $6 that writes 2,000 tokens costs $0.012, 20 percent more despite a 40 percent lower price.
- Retries and failures. A cheap model that fails one task in five, and sends those tasks to a bigger model, pays for both attempts.
- Latency and rate limits. Real-time products may need faster, pricier tiers such as Anthropic’s fast mode or OpenAI’s Fast mode, both at twice the standard rate or more, and high volumes run into usage-tier limits.
- Routing. Sending easy requests to a small model and hard ones to a large model saves money, but the routing logic needs monitoring and tests of its own.
- Fine-tuning and self-hosting. Training a smaller model on narrow, repetitive work can cut per-request costs, at the price of data preparation and evaluation time. OpenAI’s pricing page says its own fine-tuning platform is no longer open to new users. Our guides to fine-tuning open-source LLMs and to open-source LLMs cover the trade-offs of training and running open-weight models yourself.
List prices are not always final. Anthropic’s pricing page says volume discounts may be available to high-volume users and are negotiated case by case, and its enterprise terms include custom rate limits. For most teams, caching and batching are the faster savings.
Which older models are still on the price lists?
Most of the models this page compared in February 2026 are still sold, usually at their old prices: GPT-4o is $2.50 and $10, GPT-4o mini is $0.15 and $0.60, Claude Opus 4.5 is $5 and $25, and Gemini 2.5 Pro is $1.25 and $10 for past users. Several are on their way out: OpenAI shuts down GPT-4, GPT-3.5 Turbo, o1 and GPT-4.1 nano on October 23, 2026, GPT-5 nano, o3 and o3-pro on December 11, 2026, and GPT-4o, GPT-4o mini and GPT-4.1 on January 14, 2027. DeepSeek’s R1 and V3 no longer appear on its price list.
| Model (API ID) | Input ($ per 1M) | Cached input ($ per 1M) | Output ($ per 1M) | Status on October 21, 2026 |
|---|---|---|---|---|
Claude Fable 5 (claude-fable-5) |
$10.00 | $1.00 | $50.00 | Legacy, still available; Fable 5.1 has the cheaper cache |
Claude Opus 5 (claude-opus-5) |
$5.00 | $0.50 | $25.00 | Legacy, still available |
| Claude Opus 4.8, 4.7, 4.6 and 4.5 | $5.00 | $0.50 | $25.00 | Legacy, still available |
Claude Sonnet 5 (claude-sonnet-5) |
$2.00 | $0.20 | $10.00 | Legacy; introductory price made standard on August 10, 2026 |
Claude Sonnet 4.6 (claude-sonnet-4-6) |
$3.00 | $0.30 | $15.00 | Legacy, still available |
Claude Sonnet 4.5 (claude-sonnet-4-5-20250929) |
$3.00 | $0.30 | $15.00 | Deprecated; retires November 30, 2026 |
Claude Haiku 4.5 (claude-haiku-4-5) |
$1.00 | $0.10 | $5.00 | Legacy, still available |
GPT-6 Sol (gpt-6-sol) |
$2.00 | $0.20 | $10.00 | Listed; GPT-6.1 Sol has the cheaper cache |
GPT-5.6 Sol (gpt-5.6-sol) |
$4.00 | $0.40 | $20.00 | Promotional price, at least through November 21, 2026 |
GPT-5.6 Terra (gpt-5.6-terra) |
$2.00 | $0.20 | $12.00 | Listed |
GPT-5.6 Luna (gpt-5.6-luna) |
$0.20 | $0.02 | $1.20 | Listed; OpenAI’s suggested replacement for GPT-5 nano |
GPT-5.5 (gpt-5.5) |
$5.00 | $0.50 | $30.00 | Listed |
GPT-5.4 mini (gpt-5.4-mini) |
$0.75 | $0.075 | $4.50 | Listed |
GPT-5 nano (gpt-5-nano) |
$0.05 | $0.005 | $0.40 | Shuts down December 11, 2026; 400K context; reasoning model |
GPT-4.1 nano (gpt-4.1-nano) |
$0.10 | $0.025 | $0.40 | Shuts down October 23, 2026; no reasoning step |
GPT-4.1 (gpt-4.1) |
$2.00 | $0.50 | $8.00 | Shuts down January 14, 2027 |
GPT-4o (gpt-4o) |
$2.50 | $1.25 | $10.00 | Shuts down January 14, 2027 |
GPT-4o mini (gpt-4o-mini) |
$0.15 | $0.075 | $0.60 | Shuts down January 14, 2027 |
o3 (o3) |
$2.00 | $0.50 | $8.00 | Shuts down December 11, 2026 |
o3-pro (o3-pro) |
$20.00 | Not listed | $80.00 | Shuts down December 11, 2026 |
o1 (o1) |
$15.00 | $7.50 | $60.00 | Shuts down October 23, 2026 |
GPT-4 (gpt-4-0613) |
$30.00 | Not listed | $60.00 | Shuts down October 23, 2026 |
GPT-3.5 Turbo (gpt-3.5-turbo) |
$0.50 | Not listed | $1.50 | Shuts down October 23, 2026 |
Gemini 3.6 Flash (gemini-3.6-flash) |
$0.75 | $0.075 | $3.75 | $1.50 / $7.50 from January 1, 2027 |
Gemini 3 Pro Preview (gemini-3-pro-preview) |
Shut down March 9, 2026 | Requests now go to gemini-3.1-pro-preview |
||
Gemini 3 Flash Preview (gemini-3-flash-preview) |
$0.50 | $0.05 | $3.00 | Listed as Google’s legacy Flash model |
Gemini 2.5 Pro (gemini-2.5-pro) |
$1.25 (up to 200K); $2.50 above | $0.125 | $10.00; $15.00 above 200K | Past users only since September 18, 2026 |
Gemini 2.5 Flash (gemini-2.5-flash) |
$0.30 | $0.03 | $2.50 | Past users only since September 18, 2026 |
Gemini 2.5 Flash-Lite (gemini-2.5-flash-lite) |
$0.10 | $0.01 | $0.40 | Past users only since September 18, 2026 |
xAI Grok 4.6 (grok-4.6) and Grok 4.5 (grok-4.5) |
$2.00 | $0.50 (4.6); $0.30 (4.5) | $6.00 | Listed; 500K context |
xAI Grok 4.20 (grok-4.20-0309-reasoning, -non-reasoning and grok-4.20-multi-agent-0309) |
$1.25 | $0.20 | $2.50 | Listed; 1M context |
DeepSeek R1 and V3, and the deepseek-chat and deepseek-reasoner names |
Not on DeepSeek’s pricing page | Use deepseek-flash or deepseek-v4-pro |
||
Price changes in 2026
LLM prices and lineups changed every few weeks in 2026, mostly through new models at new price points rather than cuts to old ones. This log lists the changes that matter for API bills, dated from each provider’s own changelog or pricing page.
| Date | Provider | Change |
|---|---|---|
| March 9, 2026 | Gemini 3 Pro Preview shut down; requests now go to Gemini 3.1 Pro Preview (listed at $2 / $12 up to 200K tokens) | |
| April 16, 2026 | Anthropic | Claude Opus 4.7 released at $5 / $25, with a new tokenizer that produces about 30% more tokens for the same text |
| June 30, 2026 | Anthropic | Claude Sonnet 5 released at an introductory $2 / $10 |
| July 9, 2026 | OpenAI | GPT-5.6 Sol, Terra and Luna released |
| July 21, 2026 | Gemini 3.6 Flash released at a lower price than Gemini 3.5 Flash; Gemini 3.5 Flash-Lite generally available | |
| July 24, 2026 | Anthropic | Claude Opus 5 released at $5 / $25 |
| July 30, 2026 | OpenAI | GPT-5.6 Luna cut by 80% and GPT-5.6 Terra by 20%; Priority processing renamed Fast mode |
| August 10, 2026 | Anthropic | Sonnet 5’s $2 / $10 made the standard price; the planned September 1 rise to $3 / $15 cancelled |
| August 21, 2026 | OpenAI | GPT-5.6 Sol cut to $4 / $20, a promotional price available at least through November 21, 2026 |
| September 1, 2026 | Anthropic | Claude Fable 5.1 released at $10 / $50, with cache reads at $0.25 |
| September 2, 2026 | Gemini 3.8 Flash generally available (listed at $0.75 / $3.75 through December 31, 2026) | |
| September 3, 2026 | OpenAI | GPT-6 Astra released (listed at $10 / $50) |
| September 18, 2026 | Gemini 2.5 models limited to users who used them before | |
| September 22, 2026 | Anthropic and OpenAI | Claude Opus 5.5 released at $4 / $20, below Opus 5; GPT-6 Sol ($2 / $10) and GPT-6 Luna ($0.10 / $0.50) released |
| September 28, 2026 | Anthropic | Claude Sonnet 5.5 released (listed at $2 / $10) |
| September 29, 2026 | OpenAI | GPT-6.1 Sol released at $2 / $10, with cached input at $0.10 |
| October 7, 2026 | Anthropic | Claude Haiku 5.5 released ($0.10 / $0.50 for prompts up to 100,000 tokens); Sonnet 5.5 cache reads cut from $0.20 to $0.10 |
| October 8, 2026 | Gemini 3.7 Flash and 3.5 Flash deprecated; requests routed to Gemini 3.8 Flash and 3.6 Flash | |
| October 13, 2026 | Gemini 4 Argon generally available at an introductory $2 / $10 | |
| October 17, 2026 | DeepSeek | DeepSeek-V4.1-Flash-1017 released with open weights; it now serves the deepseek-flash API name ($0.30 / $1.20 at peak, half off-peak, as listed October 21) |
| October 20, 2026 | OpenAI | 12-hour prompt caching added, with cache writes at 2.5 times the input price |
| October 23, 2026 (scheduled) | OpenAI | GPT-4, GPT-3.5 Turbo, o1, o1-pro, o3-mini, o4-mini and GPT-4.1 nano shut down (announced April 22, 2026) |
| November 21, 2026 (scheduled) | OpenAI | Earliest end of GPT-5.6 Sol’s promotional price |
| November 30, 2026 (scheduled) | Anthropic | Claude Sonnet 4.5 retires |
| December 1, 2026 (scheduled) | Gemini 4 Argon rises to $4 / $20 | |
| December 11, 2026 (scheduled) | OpenAI | GPT-5, GPT-5 mini, GPT-5 nano, o3 and o3-pro snapshots shut down |
| January 1, 2027 (scheduled) | Gemini 3.8 Flash and Gemini 3.6 Flash rise to $1.50 / $7.50 | |
| January 14, 2027 (scheduled) | OpenAI | GPT-4o, GPT-4o mini, GPT-4.1 and GPT-4.1 mini shut down (announced October 14, 2026) |
Frequently asked questions
Which LLM API is cheapest in 2026?
By list price on October 21, 2026, the cheapest current models from Anthropic, OpenAI and Google are Claude Haiku 5.5 and GPT-6 Luna, at $0.10 per million input tokens and $0.50 per million output tokens. OpenAI’s older GPT-5 nano lists lower ($0.05 and $0.40) but shuts down on December 11, 2026. DeepSeek’s Flash model costs $0.15 and $0.60 off-peak. Smaller models from other labs can cost less, such as Mistral’s Ministral 3 3B at $0.10 and $0.10 and Xiaomi’s MiMo V2.6 Flash at $0.14 and $0.28.
Is Claude cheaper than GPT-6?
As of October 21, 2026, at list price the two match in two tiers: Claude Sonnet 5.5 and GPT-6.1 Sol both cost $2 per million input tokens and $10 per million output tokens, and Claude Haiku 5.5 and GPT-6 Luna both cost $0.10 and $0.50. At the top, Claude Opus 5.5 at $4 and $20 costs less than GPT-6 Astra at $10 and $50, while Claude Fable 5.1 matches Astra. Each company’s tokenizer counts the same text differently, so the cost per request can still differ.
Is there a free LLM API?
Of Anthropic, OpenAI, Google, DeepSeek and xAI, only Google lists a free API tier for its language models: on October 21, 2026, the Gemini API’s free tier covered Gemini 3.8 Flash, 3.5 Flash-Lite, 3.1 Flash-Lite and other models, but not Gemini 4 Argon or Gemini 3.1 Pro Preview. Anthropic gives new API users a small amount of free credit for testing, OpenAI’s pricing page lists no free tier for its language models, and Chutes says it offers no free tier. Among other labs, Z.ai’s pricing page listed GLM-4.7-Flash and GLM-4.5-Flash as free on October 21, 2026.
Do reasoning or thinking tokens cost extra?
They have no separate price, but they are billed. OpenAI bills reasoning tokens as output tokens, Anthropic counts thinking tokens in the billed output, and Google’s Gemini output prices include thinking tokens. A model that thinks for 2,000 tokens before a 200-token answer is billed for 2,200 output tokens.
How many words are in a million tokens?
About 555,000 English words on the tokenizer Anthropic introduced with Claude Opus 4.7, and about 750,000 on older Claude models, by Anthropic’s own estimate. Other companies use other tokenizers, so the same document can come to a different number of tokens on each API.
When does Gemini 4 Argon’s price go up?
On December 1, 2026. Google lists Gemini 4 Argon at an introductory $2 per million input tokens and $10 per million output tokens through November 30, 2026, and $4 and $20 from December 1, 2026. Batch prices move from $1 and $5 to $2 and $10.
How often do LLM API prices change?
Often. The log on this page records 18 dated price or lineup changes from Anthropic, OpenAI and Google between June 30 and October 20, 2026, and more are scheduled: Gemini 4 Argon rises on December 1, 2026, Gemini 3.8 Flash and 3.6 Flash rise on January 1, 2027, and OpenAI shuts down older models on October 23 and December 11, 2026 and January 14, 2027. Each table caption on this page gives the date its prices were checked.
What does an AI agent cost per action?
Between about four cents and 99 cents at three large vendors’ list prices in October 2026. Microsoft charged five Copilot Credits per agent action, about four cents at the price of its $200 pack of 25,000 credits; Salesforce’s Agentforce price list charged about ten cents an action; and Intercom billed $0.99 per resolved outcome for its Fin agent. Payments that agents make for themselves over x402 are smaller: by Coinbase’s count, most were for pennies.
Sources
- Anthropic, “Pricing” (model prices, cache multipliers, batch, long-context, fast mode, data residency and volume discounts), read October 21, 2026. platform.claude.com
- Anthropic, “Models overview” (model IDs, context windows, recommended starting model, words per million tokens), read October 21, 2026. platform.claude.com
- Anthropic, Claude Platform release notes (2026 launch, price and retirement dates), read October 21, 2026. platform.claude.com
- Anthropic, “Model deprecations” (Claude Sonnet 4.5 retirement on November 30, 2026), read October 21, 2026. platform.claude.com
- Anthropic, “Thinking” (thinking tokens billed as output tokens), read October 21, 2026. platform.claude.com
- OpenAI, “Pricing” (Standard, Batch, Flex and Fast tiers, long-context and cache-write rates), read October 21, 2026. developers.openai.com
- OpenAI, “Models” and the GPT-6 Astra, GPT-6.1 Sol and GPT-6 Luna model pages (context windows, reasoning settings, descriptions), read October 21, 2026. developers.openai.com
- OpenAI, API changelog (2026 release and price-change dates), read October 21, 2026. developers.openai.com
- OpenAI, “Deprecations” (shutdown dates for GPT-4.1 nano, GPT-5 nano, GPT-4o, o3 and other older models), read October 21, 2026. developers.openai.com
- OpenAI, “Reasoning models” guide (reasoning tokens billed as output), read October 21, 2026. developers.openai.com
- OpenAI, GPT-5 nano and GPT-4.1 nano model pages, read October 21, 2026. GPT-5 nano; GPT-4.1 nano
- Google, “Gemini Developer API pricing” (last updated October 19, 2026), read October 21, 2026. ai.google.dev
- Google, “Gemini models” and the Gemini 4 Argon and Gemini 2.5 Flash-Lite model pages (status, context windows, 2.5 access limit), read October 21, 2026. ai.google.dev
- Google, Gemini API changelog (2026 release, deprecation and access dates), read October 21, 2026. ai.google.dev
- Google, “What’s new in Gemini 4 Argon” (introductory price through November 30, 2026; 95 percent implicit cache discount), read October 21, 2026. ai.google.dev
- DeepSeek, “Models & Pricing” (peak and off-peak prices, model versions), read October 21, 2026. api-docs.deepseek.com
- DeepSeek, “DeepSeek-V4.1-Flash-1017 Release” (October 17, 2026), read October 21, 2026. api-docs.deepseek.com
- DeepSeek, DeepSeek-V4-Pro and DeepSeek-V4.1-Flash-1017 model cards (MIT license), read October 21, 2026. V4-Pro; V4.1-Flash-1017
- xAI API documentation (branded SpaceXSI), “Pricing” and “Models” (Grok prices, context windows, long-prompt rule, batch discounts), read October 21, 2026. Pricing; Models
- Mistral AI, “Mistral Large 4” and “Ministral 3 3B” model pages (version, status, prices, context window), “Models overview” and “Pricing”, read October 21, 2026. Mistral Large 4; Ministral 3 3B; docs.mistral.ai; mistral.ai
- Xiaomi MiMo, “API Pricing” (pay-as-you-go, overseas prices in US dollars), read October 21, 2026. mimo.mi.com
- Z.ai, “Pricing” (GLM model prices, free Flash models), read October 21, 2026. docs.z.ai
- Chutes, “Pricing” (no free tier, plans, per-token prices, TEE statement), read October 21, 2026. chutes.ai
- Taostats, Subnet 64 (Chutes), read October 21, 2026. taostats.io
- Artificial Analysis, LLM leaderboard (cost per task by effort setting and configuration) and intelligence benchmarking methodology, read October 21, 2026. artificialanalysis.ai; methodology
More on Grey Area Labs
- AI and technology: all Grey Area Labs guides
- LLM comparison guide: which model for which job
- AI reasoning models compared
- Open-source LLMs in 2026
- Bittensor subnets explained
Updated October 21, 2026: rebuilt with every price re-checked on the providers’ own pages on October 21, 2026 (Claude 5.5, GPT-6, Gemini 4 Argon, DeepSeek V4, Grok 4.7 and Mistral Large 4), with a legacy table and OpenAI’s shutdown dates, a 2026 price-change log, a decentralized-inference section and an FAQ, and with the February cost examples recomputed and corrected.
First published February 22, 2026.
Pingback: LLM Comparison 2026: Claude vs GPT-6 vs Gemini vs DeepSeek