LLM API prices
What the data shows
- As of November 10, 2026, output prices from the labs themselves run from $0.10 per million tokens (Ministral 3 3B) to $180 (gpt-5.5-pro and gpt-5.4-pro), a spread of 1,800 times.
- DeepSeek V4.1 Flash 1017 is listed by 38 sellers, the most of any model here. Its output price runs from $0.15 (Sail Research) to $1.20 (Together, Makora, Phala, Crusoe, CoreWeave, Near AI, Venice, Nebius, BaseTen, and Parasail).
- Output costs a median of 5 times as much as input across the 82 lab models compared.
- A cached input token costs from 2 percent of the full input price (deepseek-flash) to 50 percent (gpt-4o and gpt-4o-mini).
- 132 of the 140 official batch rates are exactly half the standard input and output prices.
- Gemini 4 Argon rises to $4 input and $20 output on December 1, 2026.
- Gemini 3.8 Flash and Gemini 3.6 Flash rise to $1.50 input and $7.50 output on January 1, 2027.
Every rate
1433 rates
| Model | ||||||
|---|---|---|---|---|---|---|
| Claude Fable 5.2Anthropic | $8 | $0.20 | $40 | $4 | $20 | 1M |
| Claude Mythos 5.2AnthropicLimited access | $8 | $0.20 | $40 | $4 | $20 | n/a |
| Claude Fable 5.1Anthropic | $10 | $0.25 | $50 | $5 | $25 | 1M |
| Claude Mythos 5.1AnthropicLimited access | $10 | $0.25 | $50 | $5 | $25 | n/a |
| Claude Fable 5Anthropic | $10 | $1 | $50 | $5 | $25 | 1M |
| Claude Mythos 5AnthropicLimited access | $10 | $1 | $50 | $5 | $25 | n/a |
| Claude Opus 5.5Anthropic | $4 | $0.20 | $20 | $2 | $10 | 1M |
| Claude Opus 5Anthropic | $5 | $0.50 | $25 | $2.50 | $12.50 | 1M |
| Claude Opus 4.8Anthropic | $5 | $0.50 | $25 | $2.50 | $12.50 | 1M |
| Claude Opus 4.7Anthropic | $5 | $0.50 | $25 | $2.50 | $12.50 | 1M |
| Claude Opus 4.6Anthropic | $5 | $0.50 | $25 | $2.50 | $12.50 | 1M |
| Claude Opus 4.5Anthropic | $5 | $0.50 | $25 | $2.50 | $12.50 | 200K |
| Claude Sonnet 5.5Anthropic | $2 | $0.10 | $10 | $1 | $5 | 1M |
| Claude Sonnet 5Anthropic | $2 | $0.20 | $10 | $1 | $5 | 1M |
| Claude Sonnet 4.6Anthropic | $3 | $0.30 | $15 | $1.50 | $7.50 | 1M |
| Claude Sonnet 4.5Anthropic | $3 | $0.30 | $15 | $1.50 | $7.50 | 1M |
| Claude Haiku 5.5AnthropicPrompts up to 100,000 tokens | $0.10 | $0.01 | $0.50 | $0.05 | $0.25 | 1M |
| Claude Haiku 5.5AnthropicPrompts over 100,000 tokens | $0.50 | $0.05 | $2.50 | $0.25 | $1.25 | 1M |
| Claude Haiku 4.5Anthropic | $1 | $0.10 | $5 | $0.50 | $2.50 | 200K |
| Gemini 4 ArgonGoogleRises to $4 input and $20 output on December 1, 2026 | $2 | $0.10 | $10 | $1 | $5 | 1M |
| Gemini 3.8 FlashGoogleRises to $1.50 input and $7.50 output on January 1, 2027 | $0.75 | $0.075 | $3.75 | $0.375 | $1.875 | 1M |
| Gemini 3.6 FlashGoogleRises to $1.50 input and $7.50 output on January 1, 2027 | $0.75 | $0.075 | $3.75 | $0.375 | $1.875 | 1M |
| Gemini 3.5 Flash-LiteGoogle | $0.30 | $0.03 | $2.50 | $0.15 | $1.25 | 1M |
| Gemini 3.1 Flash-LiteGoogle | $0.25 | $0.025 | $1.50 | $0.125 | $0.75 | 1M |
| Gemini 3.1 Pro PreviewGooglePrompts up to 200K tokensPreview | $2 | $0.20 | $12 | $1 | $6 | 1M |
| Gemini 3.1 Pro PreviewGooglePrompts over 200K tokensPreview | $4 | $0.40 | $18 | $2 | $9 | 1M |
| Gemini 3 Flash PreviewGooglePreview | $0.50 | $0.05 | $3 | $0.25 | $1.50 | 1M |
| Gemini 2.5 ProGooglePrompts up to 200K tokensDeprecated | $1.25 | $0.125 | $10 | $0.625 | $5 | 1M |
| Gemini 2.5 ProGooglePrompts over 200K tokensDeprecated | $2.50 | $0.25 | $15 | $1.25 | $7.50 | 1M |
| Gemini 2.5 FlashGoogleDeprecated | $0.30 | $0.03 | $2.50 | $0.15 | $1.25 | 1M |
| Gemini 2.5 Flash-LiteGoogle | $0.10 | $0.01 | $0.40 | $0.05 | $0.20 | 1M |
| gpt-6-astraOpenAIShort context | $10 | $1 | $50 | $5 | $25 | 1.1M |
| gpt-6-astraOpenAILong context | $20 | $2 | $75 | $10 | $37.50 | 1.1M |
| gpt-6.1-solOpenAIShort context | $2 | $0.10 | $10 | $1 | $5 | 1.1M |
| gpt-6.1-solOpenAILong context | $4 | $0.20 | $15 | $2 | $7.50 | 1.1M |
| gpt-6.1-terraOpenAIShort context | $1 | $0.05 | $5 | $0.50 | $2.50 | 1.1M |
| gpt-6.1-terraOpenAILong context | $2 | $0.10 | $7.50 | $1 | $3.75 | 1.1M |
| gpt-6-lunaOpenAIShort context | $0.10 | $0.01 | $0.50 | $0.05 | $0.25 | 1.1M |
| gpt-6-lunaOpenAILong context | $0.20 | $0.02 | $0.75 | $0.10 | $0.375 | 1.1M |
| gpt-6-solOpenAIShort context | $2 | $0.20 | $10 | $1 | $5 | 1.1M |
| gpt-6-solOpenAILong context | $4 | $0.40 | $15 | $2 | $7.50 | 1.1M |
| gpt-5.6-solOpenAIShort context | $4 | $0.40 | $20 | $2 | $10 | 1.1M |
| gpt-5.6-solOpenAILong context | $8 | $0.80 | $30 | $4 | $15 | 1.1M |
| gpt-5.6-terraOpenAIShort context | $2 | $0.20 | $12 | $1 | $6 | 1.1M |
| gpt-5.6-terraOpenAILong context | $4 | $0.40 | $18 | $2 | $9 | 1.1M |
| gpt-5.6-lunaOpenAIShort context | $0.20 | $0.02 | $1.20 | $0.10 | $0.60 | 1.1M |
| gpt-5.6-lunaOpenAILong context | $0.40 | $0.04 | $1.80 | $0.20 | $0.90 | 1.1M |
| gpt-5.5OpenAIShort context (under 272K) | $5 | $0.50 | $30 | $2.50 | $15 | 1.1M |
| gpt-5.5OpenAILong context (272K or more) | $10 | $1 | $45 | $5 | $22.50 | 1.1M |
| gpt-5.5-proOpenAIShort context (under 272K) | $30 | n/a | $180 | $15 | $90 | 1.1M |
| gpt-5.5-proOpenAILong context (272K or more) | $60 | n/a | $270 | n/a | n/a | 1.1M |
| gpt-5.4OpenAIShort context (under 272K) | $2.50 | $0.25 | $15 | $1.25 | $7.50 | 1.1M |
| gpt-5.4OpenAILong context (272K or more) | $5 | $0.50 | $22.50 | $2.50 | $11.25 | 1.1M |
| gpt-5.4-proOpenAIShort context (under 272K) | $30 | n/a | $180 | $15 | $90 | 1.1M |
| gpt-5.4-proOpenAILong context (272K or more) | $60 | n/a | $270 | $30 | $135 | 1.1M |
| gpt-5.4-miniOpenAI | $0.75 | $0.075 | $4.50 | $0.375 | $2.25 | 400K |
| gpt-5.4-nanoOpenAI | $0.20 | $0.02 | $1.25 | $0.10 | $0.625 | 400K |
| gpt-5.2OpenAI | $1.75 | $0.175 | $14 | $0.875 | $7 | 400K |
| gpt-5.2-proOpenAI | $21 | n/a | $168 | $10.50 | $84 | 400K |
| gpt-5.1OpenAI | $1.25 | $0.125 | $10 | $0.625 | $5 | 400K |
| gpt-5OpenAI | $1.25 | $0.125 | $10 | $0.625 | $5 | 400K |
| gpt-5-miniOpenAI | $0.25 | $0.025 | $2 | $0.125 | $1 | 400K |
| gpt-5-nanoOpenAI | $0.05 | $0.005 | $0.40 | $0.025 | $0.20 | 400K |
| gpt-5-proOpenAI | $15 | n/a | $120 | $7.50 | $60 | 400K |
| gpt-4.1OpenAI | $2 | $0.50 | $8 | $1 | $4 | 1M |
| gpt-4.1-miniOpenAI | $0.40 | $0.10 | $1.60 | $0.20 | $0.80 | 1M |
| gpt-4oOpenAI | $2.50 | $1.25 | $10 | $1.25 | $5 | 128K |
| gpt-4o-miniOpenAI | $0.15 | $0.075 | $0.60 | $0.075 | $0.30 | 128K |
| o3-proOpenAI | $20 | n/a | $80 | $10 | $40 | 200K |
| o3OpenAI | $2 | $0.50 | $8 | $1 | $4 | 200K |
| grok-4.7xAIUnder 200K prompt tokens | $2 | $0.50 | $6 | n/a | n/a | 500K |
| grok-4.7xAI200K prompt tokens or more | $4 | $1 | $12 | n/a | n/a | 500K |
| grok-4.6xAIUnder 200K prompt tokens | $2 | $0.50 | $6 | n/a | n/a | 500K |
| grok-4.6xAI200K prompt tokens or more | $4 | $1 | $12 | n/a | n/a | 500K |
| grok-4.5xAIUnder 200K prompt tokens | $2 | $0.30 | $6 | n/a | n/a | 500K |
| grok-4.5xAI200K prompt tokens or more | $4 | $0.60 | $12 | n/a | n/a | 500K |
| grok-4.3xAIUnder 200K prompt tokens | $1.25 | $0.20 | $2.50 | n/a | n/a | 1M |
| grok-4.3xAI200K prompt tokens or more | $2.50 | $0.40 | $5 | n/a | n/a | 1M |
| grok-4.20-0309-reasoningxAIUnder 200K prompt tokens | $1.25 | $0.20 | $2.50 | n/a | n/a | 1M |
| grok-4.20-0309-reasoningxAI200K prompt tokens or more | $2.50 | $0.40 | $5 | n/a | n/a | 1M |
| grok-4.20-0309-non-reasoningxAIUnder 200K prompt tokens | $1.25 | $0.20 | $2.50 | n/a | n/a | 1M |
| grok-4.20-0309-non-reasoningxAI200K prompt tokens or more | $2.50 | $0.40 | $5 | n/a | n/a | 1M |
| grok-build-0.1xAIUnder 200K prompt tokens | $1 | $0.20 | $2 | n/a | n/a | 256K |
| grok-build-0.1xAI200K prompt tokens or more | $2 | $0.40 | $4 | n/a | n/a | 256K |
| grok-4.20-multi-agent-0309xAIUnder 200K prompt tokens | $1.25 | $0.20 | $2.50 | n/a | n/a | 1M |
| grok-4.20-multi-agent-0309xAI200K prompt tokens or more | $2.50 | $0.40 | $5 | n/a | n/a | 1M |
| deepseek-flashDeepSeekPeak hours | $0.30 | $0.006 | $1.20 | n/a | n/a | 1M |
| deepseek-v4-proDeepSeekPeak hours | $1.32 | $0.044 | $3.96 | n/a | n/a | 1M |
| deepseek-flashDeepSeekOff-peak hours | $0.15 | $0.003 | $0.60 | n/a | n/a | 1M |
| deepseek-v4-proDeepSeekOff-peak hours | $0.66 | $0.022 | $1.98 | n/a | n/a | 1M |
| Mistral Large 4Mistral AI | $0.70 | $0.07 | $2.10 | n/a | n/a | 1M |
| Mistral Small 4Mistral AI | $0.15 | $0.015 | $0.60 | n/a | n/a | 262.1K |
| Ministral 3 14BMistral AI | $0.20 | $0.02 | $0.20 | n/a | n/a | n/a |
| Ministral 3 8BMistral AI | $0.15 | $0.015 | $0.15 | n/a | n/a | n/a |
| Ministral 3 3BMistral AI | $0.10 | $0.01 | $0.10 | n/a | n/a | n/a |
| CodestralMistral AI | $0.30 | $0.03 | $0.90 | n/a | n/a | n/a |
| GLM-5.3Z.ai | $1.40 | $0.26 | $4.4 | n/a | n/a | 1M |
| GLM-5.3-FlashZ.ai | $0.15 | $0.03 | $0.50 | n/a | n/a | 1M |
| GLM-5.3-FlashXZ.ai | $0.37 | $0.075 | $1.25 | n/a | n/a | 1M |
| GLM-5.3-FlashX-LegalZ.ai | $0.37 | $0.075 | $1.25 | n/a | n/a | 1M |
How it is built
- Scope. Text models, priced in US dollars per million tokens. Image, audio, video, embedding, and OCR models bill in other units and are left out.
- Official sources. Rows for Anthropic, Google, OpenAI, xAI, DeepSeek, Mistral AI, Z.ai, MiniMax, Inception Labs, and Together come from each company's own pricing page. Amazon Bedrock rows come from the AWS Price List API, for US East (N. Virginia).
- Other hosts. Every other seller's rate is the price listed on OpenRouter, which is the source for those rows and is marked on each one. A host's price on its own site can differ. When a host lists several deployments of a model, this keeps the cheapest.
- Generation. A script reads these sources, respects each site's robots.txt, and stops if a table changes shape. Each refresh is reviewed before it ships.
- Tiers. A model with more than one rate has one row per rate. The base tier is the rate for the shortest prompts, or DeepSeek's peak rate, the higher of its two. On Bedrock it is the global endpoint where one exists. The findings and the chart use the base tiers of models bought from the lab that made them.
- Service tiers. The downloads add flex and priority rates where a seller publishes them. Priority covers OpenAI's Fast tier, Anthropic's fast mode, and the Priority tiers from Google and AWS.
- Caching. Cached input is the price of a cache hit. The downloads list the shortest and longest cache write periods a seller publishes, and Google's storage price per million tokens per hour.
- Context limits. A seller's own figure is used where its price page gives one. Otherwise the value is OpenRouter's listing for that exact model name.
- Not included. Regional and data-residency premiums, Azure's own price list, free tiers, and tool fees. Azure rows here are OpenRouter's listings.
- Blank cells. n/a means the source publishes no such rate. Mistral AI's page has a batch view, but those rates are not in its static content.
- Availability. This column reports only what the seller's pricing page states. A listed model can still be scheduled for retirement. See the model retirement calendar.
- Token counts. Equal rates do not mean equal bills, because tokenizers differ. Anthropic says Claude 4.7 and later models produce about 30 percent more tokens for the same text.
Questions
Which LLM API is the cheapest?
Among models bought directly from the lab that made them, as of November 10, 2026, the lowest input price is $0.05 per million tokens (gpt-5-nano), and the lowest output price is $0.10 (Ministral 3 3B). Hosts can be cheaper for open-weight models. The cheapest rate is not the cheapest bill, because token counts and output length differ by model and task.
Why does the same model have several prices?
Open-weight models are sold by many hosts, each setting its own price. Some sellers also charge more above a prompt-length threshold, and DeepSeek charges different rates at peak and off-peak hours. Each rate gets its own row.
How current are the prices?
Every rate was read from its source on November 10, 2026. Prices change often, so give the checked date when you quote one.
Sources
- Anthropic pricingplatform.claude.com
- Google pricingaistudio.google.com
- OpenAI pricingdevelopers.openai.com
- xAI pricingdocs.x.ai
- DeepSeek pricingapi-docs.deepseek.com
- Mistral AI pricingdocs.mistral.ai
- Z.ai pricingdocs.z.ai
- MiniMax pricingplatform.minimax.io
- Inception Labs pricingdocs.inceptionlabs.ai
- Together pricingdocs.together.ai
- Amazon Bedrock pricingaws.amazon.com
- AWS Price List API, Amazon Bedrockpricing.us-east-1.amazonaws.com
- OpenRouter models APIopenrouter.ai
Cite this dataset
AI for Devs. "LLM API prices." Published November 10, 2026. https://aifordevs.org/data/llm-pricing
- Reuse
- Free to reuse under CC BY 4.0 with a link to this page.
- Publisher
- AI for Devs
- Published
- Sources
- 13 sources listed above
Give the checked date with any price you quote, because these rates change.