LLM API pricing comparison · 2026
AI Model Pricing: 87 LLM APIs Compared per 1M Tokens
AI model pricing right now runs from $0.02 per 1M input tokens (Llama 3.1 8B on DeepInfra) up to $30 input and $180 output for GPT-5.5 Pro. Most production work sits between $0.10 and $5 per 1M input tokens. If you want one sensible default, GPT-6.2 Sol, Claude Sonnet 5.5 and Gemini 4 Carbon all cost $2 input and $10 output per 1M tokens today, but Gemini 4 Carbon moves to $4 and $20 on Dec 1, 2026. I put every model I could verify into one table below, with cached input, context window, max output, capabilities, release date, status and a link to the official price page on every row.
Prices checked 28 Nov 2026 on official provider pages · USD per 1M tokens · standard tier, text
- 87models in the table
- 12providers and hosts
- 77current or preview models
- 100%rows linked to an official price page
Cheapest overall
Llama 3.1 8B on DeepInfra
$0.02 input, $0.04 output per 1M tokens. Text only, 128K context.
Best value default
GPT-6.2 Sol or Claude Sonnet 5.5
$2 input, $10 output, 1M context, vision and tool calling on both.
Cheapest small model, 1M context
GPT-6 Luna or Claude Haiku 5.5
$0.10 input, $0.50 output. Gemini 2.5 Flash-Lite is $0.10 / $0.40.
AI Model Pricing at a Glance
I built this page because every pricing page I found had the same gaps. Some list 40 models and skip the cached price. Others show a context window but not the max output, or keep Claude 3 Opus and Gemini 1.5 in the table months after you can no longer build on them. So I went to the official price page of every provider, one by one, and wrote down what they publish today.
Here is what stood out on 28 Nov 2026:
- The top tier costs $8 input and $40 output per 1M tokens. That is GPT-6.2 Astra and Claude Fable 5.2. GPT-5.5 Pro is the outlier at $30 / $180.
- The middle of the market has settled on $2 input and $10 output. GPT-6.2 Sol, GPT-6.1 Sol, Claude Sonnet 5.5, Claude Sonnet 5 and Gemini 4 Carbon (until Nov 30) all sit there. Grok 4.7 is $2 / $6.
- Small models are close to free. GPT-6 Luna and Claude Haiku 5.5 are $0.10 / $0.50 with a 1M token context window.
- Cache hits are where the savings hide. GPT-6.2 Sol charges $0.10 per 1M cached tokens against $2 for fresh input, a 95% cut.
- Several prices are about to change. I flag them on each row and in the price changes section below.
LLM API Pricing Comparison Table
Prices are US dollars per 1 million tokens on each provider’s standard pay-as-you-go tier, checked on 28 Nov 2026. Sort any column, filter by provider or capability, or search a model ID. A blank cell means the provider does not publish that number on an official page, so I left it empty instead of guessing. The price link on each row takes you to the source.
| Capabilities | Status | Official price | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| OpenAI | GPT-6.2 Astragpt-6.2-astraOver 272K input tokens: 2x input, 1.5x output. | $8.00 | $0.40 | $40.00 | 1M | 128K | VisionAudio not supportedToolsReasoning | Nov 17, 2026 | GA | OpenAI pricing ↗ |
| OpenAI | GPT-6.2 Solgpt-6.2-solOver 272K input tokens: 2x input, 1.5x output. | $2.00 | $0.10 | $10.00 | 1M | 128K | VisionAudio not supportedToolsReasoning | Nov 17, 2026 | GA | OpenAI pricing ↗ |
| OpenAI | GPT-6.1 Terragpt-6.1-terraOver 272K input tokens: 2x input, 1.5x output. | $1.00 | $0.05 | $5.00 | 1M | 128K | VisionAudio not supportedToolsReasoning | Oct 26, 2026 | GA | OpenAI pricing ↗ |
| OpenAI | GPT-6.1 Solgpt-6.1-solOver 272K input tokens: 2x input, 1.5x output. | $2.00 | $0.10 | $10.00 | 1M | 128K | VisionAudio not supportedToolsReasoning | Sep 29, 2026 | GA | OpenAI pricing ↗ |
| OpenAI | GPT-6 Astragpt-6-astraOver 272K input tokens: 2x input, 1.5x output. | $10.00 | $1.00 | $50.00 | 1M | 128K | VisionAudio not supportedToolsReasoning | Sep 3, 2026 | GA | OpenAI pricing ↗ |
| OpenAI | GPT-6 Solgpt-6-solOver 272K input tokens: 2x input, 1.5x output. | $2.00 | $0.20 | $10.00 | 1M | 128K | VisionAudio not supportedToolsReasoning | Sep 22, 2026 | GA | OpenAI pricing ↗ |
| OpenAI | GPT-6 Lunagpt-6-lunaOver 272K input tokens: 2x input, 1.5x output. | $0.10 | $0.01 | $0.50 | 1M | 128K | VisionAudio not supportedToolsReasoning | Sep 22, 2026 | GA | OpenAI pricing ↗ |
| OpenAI | GPT-5.6 Solgpt-5.6-solOpenAI says this promotional price runs until Nov 30, 2026. Over 272K input tokens: 2x input, 1.5x output. | $4.00 | $0.40 | $20.00 | 1M | 128K | VisionAudio not supportedToolsReasoning | Jul 9, 2026 | GA | OpenAI pricing ↗ |
| OpenAI | GPT-5.6 Terragpt-5.6-terraOver 272K input tokens: 2x input, 1.5x output. | $2.00 | $0.20 | $12.00 | 1M | 128K | VisionAudio not supportedToolsReasoning | Jul 9, 2026 | GA | OpenAI pricing ↗ |
| OpenAI | GPT-5.6 Lunagpt-5.6-lunaOver 272K input tokens: 2x input, 1.5x output. | $0.20 | $0.02 | $1.20 | 1M | 128K | VisionAudio not supportedToolsReasoning | Jul 9, 2026 | GA | OpenAI pricing ↗ |
| OpenAI | GPT-5.5gpt-5.5Long-context rate from 272K input tokens: $10 / $45. | $5.00 | $0.50 | $30.00 | 1M | 128K | VisionAudio not supportedToolsReasoning | Apr 24, 2026 | GA | OpenAI pricing ↗ |
| OpenAI | GPT-5.5 Progpt-5.5-proNo cached-input rate listed. Long context: $60 / $270. | $30.00 | - | $180.00 | 1M | 128K | VisionAudio not supportedToolsReasoning | Apr 24, 2026 | GA | OpenAI pricing ↗ |
| OpenAI | GPT-5.4gpt-5.4Long-context rate from 272K input tokens: $5 / $22.50. | $2.50 | $0.25 | $15.00 | 1M | 128K | VisionAudio not supportedToolsReasoning | Mar 5, 2026 | GA | OpenAI pricing ↗ |
| OpenAI | GPT-5.4 minigpt-5.4-mini | $0.75 | $0.075 | $4.50 | 400K | 128K | VisionAudio not supportedToolsReasoning | Mar 17, 2026 | GA | OpenAI pricing ↗ |
| OpenAI | GPT-5.4 nanogpt-5.4-nanoMarked deprecated in the OpenAI model catalog. | $0.20 | $0.02 | $1.25 | 400K | 128K | VisionAudio not supportedToolsReasoning | Mar 17, 2026 | Deprecated | OpenAI pricing ↗ |
| OpenAI | GPT-5.2gpt-5.2 | $1.75 | $0.175 | $14.00 | 400K | 128K | VisionAudio not supportedToolsReasoning | Dec 11, 2025 | GA | OpenAI pricing ↗ |
| OpenAI | GPT-5gpt-5Marked deprecated in the OpenAI model catalog. | $1.25 | $0.125 | $10.00 | 400K | 128K | VisionAudio not supportedToolsReasoning | Aug 7, 2025 | Deprecated | OpenAI pricing ↗ |
| OpenAI | GPT-5 minigpt-5-miniMarked deprecated in the OpenAI model catalog. | $0.25 | $0.025 | $2.00 | 400K | 128K | VisionAudio not supportedToolsReasoning | Aug 7, 2025 | Deprecated | OpenAI pricing ↗ |
| OpenAI | GPT-5 nanogpt-5-nanoMarked deprecated in the OpenAI model catalog. | $0.05 | $0.005 | $0.40 | 400K | 128K | VisionAudio not supportedToolsReasoning | Aug 7, 2025 | Deprecated | OpenAI pricing ↗ |
| OpenAI | GPT-4.1gpt-4.1Non-reasoning model. Marked deprecated in the OpenAI model catalog. | $2.00 | $0.50 | $8.00 | 1M | 32.8K | VisionAudio not supportedToolsReasoning not supported | - | Deprecated | OpenAI pricing ↗ |
| OpenAI | GPT-4o minigpt-4o-miniMarked deprecated in the OpenAI model catalog. | $0.15 | $0.075 | $0.60 | 128K | 16.4K | VisionAudio not supportedToolsReasoning not supported | - | Deprecated | OpenAI pricing ↗ |
| OpenAI | chat-latestchat-latestPoints to the latest Instant model used in ChatGPT; OpenAI recommends the GPT-6.2 family for production. | $5.00 | $0.50 | $30.00 | 400K | 128K | VisionAudio not supportedTools | - | Rolling alias | OpenAI pricing ↗ |
| OpenAIvia Together AI | gpt-oss-120bgpt-oss-120bTogether AI serverless price for OpenAI open-weight model. | $0.15 | - | $0.60 | 131.1K | - | Vision not supportedAudio not supportedToolsReasoning | - | GA | Together AI pricing ↗ |
| Anthropic | Claude Fable 5.2claude-fable-5-2Full 1M context at the standard rate. | $8.00 | $0.20 | $40.00 | 1M | 128K | VisionAudio not supportedToolsReasoning | Nov 9, 2026 | GA | Anthropic pricing ↗ |
| Anthropic | Claude Mythos 5.2claude-mythos-5-2Offered to Project Glasswing participants only. | $8.00 | $0.20 | $40.00 | 1M | 128K | VisionAudio not supportedToolsReasoning | Nov 9, 2026 | Restricted | Anthropic pricing ↗ |
| Anthropic | Claude Opus 5.5claude-opus-5-5Anthropic says to start here for most workloads. | $4.00 | $0.20 | $20.00 | 1M | 128K | VisionAudio not supportedToolsReasoning | Sep 22, 2026 | GA | Anthropic pricing ↗ |
| Anthropic | Claude Sonnet 5.5claude-sonnet-5-5 | $2.00 | $0.10 | $10.00 | 1M | 128K | VisionAudio not supportedToolsReasoning | Sep 28, 2026 | GA | Anthropic pricing ↗ |
| Anthropic | Claude Haiku 5.5claude-haiku-5-5Prompts over 100K tokens cost $0.50 input / $2.50 output. | $0.10 | $0.01 | $0.50 | 1M | 128K | VisionAudio not supportedToolsReasoning | Oct 7, 2026 | GA | Anthropic pricing ↗ |
| Anthropic | Claude Fable 5.1claude-fable-5-1 | $10.00 | $0.25 | $50.00 | 1M | 128K | VisionAudio not supportedToolsReasoning | Sep 1, 2026 | GA | Anthropic pricing ↗ |
| Anthropic | Claude Fable 5claude-fable-5 | $10.00 | $1.00 | $50.00 | 1M | 128K | VisionAudio not supportedToolsReasoning | Jun 9, 2026 | GA | Anthropic pricing ↗ |
| Anthropic | Claude Opus 5claude-opus-5 | $5.00 | $0.50 | $25.00 | 1M | 128K | VisionAudio not supportedToolsReasoning | Jul 24, 2026 | GA | Anthropic pricing ↗ |
| Anthropic | Claude Sonnet 5claude-sonnet-5Intro price of $2 / $10 became the standard price on Aug 10, 2026. New tokenizer makes about 30% more tokens for the same text. | $2.00 | $0.20 | $10.00 | 1M | 128K | VisionAudio not supportedToolsReasoning | Jun 30, 2026 | GA | Anthropic pricing ↗ |
| Anthropic | Claude Opus 4.8claude-opus-4-8 | $5.00 | $0.50 | $25.00 | 1M | 128K | VisionAudio not supportedToolsReasoning | May 28, 2026 | GA | Anthropic pricing ↗ |
| Anthropic | Claude Opus 4.7claude-opus-4-7 | $5.00 | $0.50 | $25.00 | 1M | 128K | VisionAudio not supportedToolsReasoning | Apr 16, 2026 | GA | Anthropic pricing ↗ |
| Anthropic | Claude Opus 4.6claude-opus-4-6 | $5.00 | $0.50 | $25.00 | 1M | 128K | VisionAudio not supportedToolsReasoning | Feb 5, 2026 | GA | Anthropic pricing ↗ |
| Anthropic | Claude Sonnet 4.6claude-sonnet-4-6 | $3.00 | $0.30 | $15.00 | 1M | 128K | VisionAudio not supportedToolsReasoning | Feb 17, 2026 | GA | Anthropic pricing ↗ |
| Anthropic | Claude Opus 4.5claude-opus-4-5-20251101Retirement date: Jan 22, 2027. | $5.00 | $0.50 | $25.00 | 200K | 64K | VisionAudio not supportedToolsReasoning | Nov 24, 2025 | Deprecated | Anthropic pricing ↗ |
| Anthropic | Claude Sonnet 4.5claude-sonnet-4-5-20250929Retirement date: Nov 30, 2026. | $3.00 | $0.30 | $15.00 | 200K | 64K | VisionAudio not supportedToolsReasoning | Sep 29, 2025 | Deprecated | Anthropic pricing ↗ |
| Anthropic | Claude Haiku 4.5claude-haiku-4-5-20251001 | $1.00 | $0.10 | $5.00 | 200K | 64K | VisionAudio not supportedToolsReasoning | Oct 15, 2025 | GA | Anthropic pricing ↗ |
Gemini 4 Carbongemini-4-carbonIntro price through Nov 30, 2026. From Dec 1: $4 / $20, cached $0.20. | $2.00 | $0.10 | $10.00 | 1M | 65.5K | VisionAudioToolsReasoning | Nov 10, 2026 | GA | Google pricing ↗ | |
Gemini 4 Argongemini-4-argonIntro price through Nov 30, 2026. From Dec 1: $4 / $20, cached $0.20. | $2.00 | $0.10 | $10.00 | 1M | 65.5K | VisionAudioToolsReasoning | Oct 13, 2026 | GA | Google pricing ↗ | |
Gemini 4 Neongemini-4-neonImplicit caching only. Max output up to 1M with long decode. | $3.00 | $0.15 | $15.00 | 1M | 65.5K | VisionAudioToolsReasoning | Nov 18, 2026 | GA | Google pricing ↗ | |
Gemini 4 Hydrogengemini-4-hydrogenHas a free tier on the Gemini API. Implicit caching only. Long-decode output up to 1M tokens. | $1.50 | $0.075 | $7.50 | 1M | 65.5K | VisionAudioToolsReasoning | Nov 12, 2026 | GA | Google pricing ↗ | |
Gemini 3.8 Flashgemini-3.8-flashPrice through Dec 31, 2026. From Jan 1, 2027: $1.50 / $7.50. | $0.75 | $0.075 | $3.75 | 1M | 65.5K | VisionAudioToolsReasoning | Sep 2, 2026 | GA | Google pricing ↗ | |
Gemini 3.6 Flashgemini-3.6-flashPrice through Dec 31, 2026. From Jan 1, 2027: $1.50 / $7.50. | $0.75 | $0.075 | $3.75 | 1M | 65.5K | VisionAudioToolsReasoning | Jul 21, 2026 | GA | Google pricing ↗ | |
Gemini 3.5 Flash-Litegemini-3.5-flash-liteSame input price for text, image, video and audio. | $0.30 | $0.03 | $2.50 | 1M | 65.5K | VisionAudioToolsReasoning | Jul 21, 2026 | GA | Google pricing ↗ | |
Gemini 3.1 Flash-Litegemini-3.1-flash-liteAudio input is $0.50. | $0.25 | $0.025 | $1.50 | 1M | 65.5K | VisionAudioToolsReasoning | May 7, 2026 | GA | Google pricing ↗ | |
Gemini 3.1 Pro Previewgemini-3.1-pro-previewPrompts over 200K tokens: $4 / $18. | $2.00 | $0.20 | $12.00 | 1M | 65.5K | VisionAudioToolsReasoning | Feb 19, 2026 | Preview | Google pricing ↗ | |
Gemini 3 Flash Previewgemini-3-flash-previewGoogle calls it a legacy Flash model. Audio input is $1. | $0.50 | $0.05 | $3.00 | 1M | 65.5K | VisionAudioToolsReasoning | Dec 17, 2025 | Preview | Google pricing ↗ | |
Gemini 2.5 Progemini-2.5-proFrom Dec 1, 2026 requests route to Gemini 3.8 Flash and bill at its rates. Prompts over 200K: $2.50 / $15. | $1.25 | $0.125 | $10.00 | 1M | 65.5K | VisionAudioToolsReasoning | Jun 17, 2025 | Deprecated | Google pricing ↗ | |
Gemini 2.5 Flashgemini-2.5-flashFrom Dec 1, 2026 requests route to Gemini 3.5 Flash-Lite and bill at its rates. | $0.30 | $0.03 | $2.50 | 1M | 65.5K | VisionAudioToolsReasoning | - | Deprecated | Google pricing ↗ | |
Gemini 2.5 Flash-Litegemini-2.5-flash-liteAudio input is $0.30. | $0.10 | $0.01 | $0.40 | 1M | 65.5K | VisionAudioToolsReasoning | Jul 22, 2025 | GA | Google pricing ↗ | |
| xAI | Grok 4.7grok-4.7Prompts at or over 200K tokens: $4 / $12 for the whole request. | $2.00 | $0.50 | $6.00 | 500K | - | VisionAudio not supportedToolsReasoning | Sep 2026 | GA | xAI pricing ↗ |
| xAI | Grok 4.6grok-4.6Prompts at or over 200K tokens: $4 / $12. | $2.00 | $0.50 | $6.00 | 500K | - | VisionAudio not supportedToolsReasoning | Aug 2026 | GA | xAI pricing ↗ |
| xAI | Grok 4.5grok-4.5Prompts at or over 200K tokens: $4 / $12. | $2.00 | $0.30 | $6.00 | 500K | - | VisionAudio not supportedToolsReasoning | Jul 2026 | GA | xAI pricing ↗ |
| xAI | Grok 4.3grok-4.3Prompts at or over 200K tokens: $2.50 / $5. | $1.25 | $0.20 | $2.50 | 1M | - | VisionAudio not supportedToolsReasoning | - | GA | xAI pricing ↗ |
| xAI | Grok 4.20 Reasoninggrok-4.20-0309-reasoningPrompts at or over 200K tokens: $2.50 / $5. | $1.25 | $0.20 | $2.50 | 1M | - | VisionAudio not supportedToolsReasoning | Mar 2026 | GA | xAI pricing ↗ |
| xAI | Grok 4.20 Non-Reasoninggrok-4.20-0309-non-reasoningPrompts at or over 200K tokens: $2.50 / $5. | $1.25 | $0.20 | $2.50 | 1M | - | VisionAudio not supportedToolsReasoning not supported | Mar 2026 | GA | xAI pricing ↗ |
| xAI | Grok 4.20 Multi-agentgrok-4.20-multi-agent-0309Prompts at or over 200K tokens: $2.50 / $5. | $1.25 | $0.20 | $2.50 | 1M | - | VisionAudio not supportedToolsReasoning | Mar 2026 | GA | xAI pricing ↗ |
| Mistral | Mistral Large 4mistral-large-4-0Multimodal with hybrid reasoning. Regional (EU) inference adds 10%. | $0.70 | $0.07 | $2.10 | 1M | - | VisionAudio not supportedToolsReasoning | Oct 2026 | GA | Mistral pricing ↗ |
| Mistral | Mistral Small 4mistral-small-4-0-26-03Multimodal small model. | $0.15 | - | $0.60 | 256K | - | VisionAudio not supportedToolsReasoning | Mar 2026 | GA | Mistral pricing ↗ |
| Mistral | Ministral 3 (14B)ministral-3-14b-25-12 | $0.20 | - | $0.20 | 256K | - | Audio not supportedTools | Dec 2025 | GA | Mistral pricing ↗ |
| Mistral | Ministral 3 (8B)ministral-3-8b-25-12 | $0.15 | - | $0.15 | 256K | - | Audio not supportedTools | Dec 2025 | GA | Mistral pricing ↗ |
| Mistral | Ministral 3 (3B)ministral-3-3b-25-12 | $0.10 | - | $0.10 | 256K | - | Audio not supportedTools | Dec 2025 | GA | Mistral pricing ↗ |
| Mistral | Codestralcodestral-25-08Mistral coding model. | $0.30 | - | $0.90 | 128K | - | Vision not supportedAudio not supportedToolsReasoning not supported | Aug 2025 | GA | Mistral pricing ↗ |
| DeepSeek | DeepSeek V4.1 Flashdeepseek-flashPeak rate. Off-peak: $0.15 / $0.60, cache hit $0.003. | $0.30 | $0.006 | $1.20 | 1M | 384K | VisionAudio not supportedToolsReasoning | Sep 10, 2026 | GA | DeepSeek pricing ↗ |
| DeepSeek | DeepSeek V4 Prodeepseek-v4-proPeak rate. Off-peak: $0.66 / $1.98, cache hit $0.022. | $1.32 | $0.044 | $3.96 | 1M | 384K | Vision not supportedAudio not supportedToolsReasoning | Aug 13, 2026 | GA | DeepSeek pricing ↗ |
| Meta Llamavia DeepInfra | Llama 4 Scout 17B-16ELlama-4-Scout-17B-16EDeepInfra serverless price. Meta open weights, so the price depends on the host. | $0.10 | - | $0.30 | 320K | - | VisionAudio not supportedReasoning not supported | - | GA | DeepInfra pricing ↗ |
| Meta Llamavia DeepInfra | Llama 3.3 70B Instruct TurboLlama-3.3-70B-Instruct-TurboDeepInfra serverless price. | $0.10 | - | $0.32 | 128K | - | Vision not supportedAudio not supportedReasoning not supported | - | GA | DeepInfra pricing ↗ |
| Meta Llamavia DeepInfra | Llama 3.1 8B Instruct TurboMeta-Llama-3.1-8B-Instruct-TurboDeepInfra serverless price. The cheapest text row on this page. | $0.02 | - | $0.04 | 128K | - | Vision not supportedAudio not supportedReasoning not supported | - | GA | DeepInfra pricing ↗ |
| Amazon | Nova 2 Liteamazon.nova-2-lite-v1:0Bedrock on-demand, global cross-Region rate. In-Region is about 10% higher. | $0.30 | $0.075 | $2.50 | 1M | 64K | VisionToolsReasoning | Dec 2, 2025 | GA | Amazon pricing ↗ |
| Amazon | Nova 2 Proamazon.nova-2-pro-previewBedrock on-demand, global cross-Region rate. In-Region is about 10% higher. | $1.25 | - | $10.00 | - | - | VisionToolsReasoning | - | Preview | Amazon pricing ↗ |
| Amazon | Nova Premieramazon.nova-premier-v1:0Bedrock on-demand, US East (N. Virginia). | $2.50 | $0.625 | $12.50 | - | - | VisionAudio not supportedTools | - | GA | Amazon pricing ↗ |
| Amazon | Nova Proamazon.nova-pro-v1:0Bedrock on-demand, US East (N. Virginia). | $0.80 | $0.20 | $3.20 | 300K | 10K | VisionAudio not supportedToolsReasoning not supported | - | GA | Amazon pricing ↗ |
| Amazon | Nova Liteamazon.nova-lite-v1:0Bedrock on-demand, US East (N. Virginia). | $0.06 | $0.015 | $0.24 | 300K | 10K | VisionAudio not supportedToolsReasoning not supported | - | GA | Amazon pricing ↗ |
| Amazon | Nova Microamazon.nova-micro-v1:0Text-only. Bedrock on-demand, US East (N. Virginia). | $0.035 | $0.00875 | $0.14 | - | - | Vision not supportedAudio not supportedToolsReasoning not supported | - | GA | Amazon pricing ↗ |
| Alibaba Qwen | Qwen4 Maxqwen4-maxModel Studio, International (Singapore). Price covers prompts up to 1M tokens. | $1.50 | - | $4.50 | - | - | Audio not supportedReasoning | - | GA | Alibaba Qwen pricing ↗ |
| Alibaba Qwen | Qwen3.8 Maxqwen3.8-maxModel Studio, International (Singapore). | $2.00 | - | $6.00 | - | - | Audio not supportedReasoning | - | GA | Alibaba Qwen pricing ↗ |
| Alibaba Qwen | Qwen3.7 Plusqwen3.7-plusUp to 256K tokens; 256K to 1M: $1.20 / $4.80. Limited-time 20% off shown. Model Studio, International (Singapore). | $0.40 | - | $1.60 | - | - | Audio not supportedReasoning | - | GA | Alibaba Qwen pricing ↗ |
| Alibaba Qwen | Qwen3.8 Flashqwen3.8-flashModel Studio, International (Singapore). | $0.15 | - | $0.47 | - | - | Audio not supportedReasoning | - | GA | Alibaba Qwen pricing ↗ |
| Cohere | Command A+command-a-plus-05-2026Cohere lists the API key and model download as $0 / free under Apache 2.0. Check the pricing page for production terms. | - | - | - | 128K | 64K | VisionAudio not supportedToolsReasoning | May 2026 | GA | Cohere pricing ↗ |
| Cohere | Command Acommand-a-03-2025Token price not shown on the current Cohere pricing page. | - | - | - | 256K | 8K | Vision not supportedAudio not supportedTools | Mar 2025 | GA | Cohere pricing ↗ |
| Cohere | Command Rcommand-r-08-2024 | $0.15 | - | $0.60 | 128K | 4K | Vision not supportedAudio not supported | Aug 2024 | GA | Cohere pricing ↗ |
| Cohere | Command R7Bcommand-r7b-12-2024Cohere describes it as a small, fast model for RAG, tool use and agents. | $0.0375 | - | $0.15 | 128K | 4K | Vision not supportedAudio not supportedTools | Dec 2024 | GA | Cohere pricing ↗ |
| Moonshot AIvia Together AI | Kimi K3Kimi K3Together AI serverless price. | $3.00 | $0.30 | $15.00 | - | - | Audio not supported | - | GA | Together AI pricing ↗ |
| Z.aivia Mistral | GLM 5.3zai-glm-5-3Third-party model hosted by Mistral. | $1.40 | $0.14 | $4.40 | - | - | Audio not supported | - | GA | Mistral pricing ↗ |
| Z.aivia Mistral | GLM 5.3 Flashzai-glm-5-3-flashThird-party multimodal MoE (320B total, 18B active) hosted by Mistral. | $0.15 | $0.03 | $0.50 | - | - | VisionAudio not supportedTools | - | GA | Mistral pricing ↗ |
| No model matches these filters. Try a wider price or context range, or reset the filters. | ||||||||||
Capability tags come from each provider’s model docs: Vision means image input, Audio means audio input in the same model, Tools means function or tool calling, Reasoning means a thinking mode. A crossed-out tag is documented as not supported. No tag means the provider does not say. Hosted open-weight models show the host’s price, and another host can charge more or less.
How Token Pricing Works
Every LLM API in the table bills by the token. A token is a chunk of text, roughly three quarters of an English word on most tokenizers, so 1,000 words is about 1,300 to 1,400 tokens. Images, audio and PDFs get turned into tokens too, and each provider counts them its own way.
You pay three different rates:
- Input tokens are everything you send: the system prompt, the user message, chat history, retrieved documents and tool results.
- Output tokens are what the model writes back. On reasoning models, the hidden thinking tokens are billed as output too, which is why a short answer can still cost a lot.
- Cached input is input the provider has seen recently and stored. It costs a small slice of the normal input rate.
One thing that catches people out: tokenizers differ. Anthropic says Claude Sonnet 5 uses a new tokenizer that produces about 30% more tokens for the same text than older Claude models. So a lower price per token does not always mean a lower bill. Run the same prompt through two models and compare the usage numbers they return before you trust a comparison like this one.

Prices also change with context length on some models. OpenAI bills the whole request at the long-context rate once a prompt passes 272K tokens on its newer flagship models, and xAI doubles its rates at 200K tokens. If you send big documents, check the note on the row before you pick a model.
Cheapest AI Models by Use Case
The cheapest model is rarely the right answer on its own. A $0.02 model that needs three retries costs more than a $0.10 model that gets it right the first time. Still, these are the lowest prices I found for each kind of job, using only models that are generally available or in preview:
| Use case | Cheapest pick | Input / output per 1M | Why it fits |
|---|---|---|---|
| Plain text at huge volume | Llama 3.1 8B Instruct Turbo (DeepInfra) | $0.02 / $0.04 | Lowest price in the table, 128K context |
| First-party API, text only | Amazon Nova Micro | $0.035 / $0.14 | Cached input at $0.00875 |
| Image input on a budget | Amazon Nova Lite | $0.06 / $0.24 | Vision and tools, 300K context |
| 1M token context | Gemini 2.5 Flash-Lite | $0.10 / $0.40 | Takes text, image, video and audio |
| Small model from a frontier lab | GPT-6 Luna or Claude Haiku 5.5 | $0.10 / $0.50 | Vision, tools and a thinking mode, 1M context |
| Cheap reasoning with long output | DeepSeek V4.1 Flash | $0.30 / $1.20 (half off-peak) | 384K max output, cache hits at $0.006 |
| Open-weight flagship | Mistral Large 4 | $0.70 / $2.10 | 1M context, multimodal, cached at $0.07 |
| Frontier model under $10 output | Grok 4.7 | $2 / $6 | 500K context, built-in reasoning |
Best AI Model for Coding, Chat, RAG and Vision
These are my picks, and they mix price with what each provider says the model is built for. Benchmarks change every month, so treat this as a shortlist to test, not a verdict.
Coding
OpenAI calls GPT-6.2 Sol its go-to model for everyday work, from coding to agents, and it costs $2 / $10. Anthropic positions Claude Opus 5.5 ($4 / $20) for long-running agentic coding, and says to start with it for most workloads. On the cheaper side, Google says Gemini 4 Hydrogen ($1.50 / $7.50) is built for everyday coding and agentic workflows. When a coding agent runs for hours, the 50% batch discount does not help, but caching does, so compare the cached column too.
Chat and support bots
A support bot sends the same long system prompt on every turn, which makes it a perfect fit for caching. Claude Haiku 5.5 and GPT-6 Luna both cost $0.10 / $0.50 and charge $0.01 per 1M cached tokens. Anthropic describes Haiku 5.5 as built for high-volume, latency-sensitive tasks such as classification, extraction and routing. Keep an eye on the 100K token line on Haiku 5.5, where the price goes up five times.
RAG and long documents
Retrieval-augmented generation is input-heavy. You might send 20,000 tokens of retrieved text to get a 300-token answer, so the input price matters more than the output price. Gemini 2.5 Flash-Lite ($0.10 input) and DeepSeek V4.1 Flash ($0.30 input, $0.006 cached) are strong on cost. If quality matters more, Anthropic keeps the standard rate across the full 1M context on Claude 4.6 and later (Haiku 5.5 aside), while OpenAI and xAI charge more past 272K and 200K tokens.
Vision
Most new models take images now. OpenAI says GPT-6.1 Terra ($1 / $5) is built for visual reasoning, like matching product photos to catalog entries or reading technical drawings. For video and audio as well as images, the Gemini models in the table take all of them in one API. For bulk image tagging on a tight budget, Amazon Nova Lite at $0.06 / $0.24 is the cheapest vision model I found.
Batch and Caching Discounts
If I could tell a team only one thing about AI API costs, it would be this: the list price is the most you will pay, not what you have to pay. Two discounts do most of the work.
Batch is for anything that can wait. You upload a file of requests and get the results back later, often within 24 hours, at a lower rate. Prompt caching is for anything that repeats, like a system prompt, a product catalog or a long contract you ask many questions about.
| Provider | Batch discount | Cached input vs fresh input | Other ways to save |
|---|---|---|---|
| OpenAI | 50% off | $0.10 vs $2 on GPT-6.2 Sol (95% off) | Cache writes cost 1.25x (30 minutes) or 2.5x (12 hours). Background requests on GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Terra and GPT-6 Luna are 30% off (2-hour window) or 40% off (8-hour window) |
| Anthropic | 50% off | $0.20 vs $4 on Claude Opus 5.5 (95% off) | Cache writes cost 1.25x (5 minutes) or 2x (1 hour) the input price |
| Google Gemini | 50% off | $0.10 vs $2 on Gemini 4 Carbon | Gemini 4 models use implicit caching only. Free tier on some models |
| xAI | 20% off | $0.50 vs $2 on Grok 4.7 (75% off) | Keep prompts under 200K tokens to avoid the 2x rate |
| DeepSeek | Off-peak is 50% off | $0.006 vs $0.30 on V4.1 Flash (98% off) | Off-peak hours cover weekends and most of the weekday |
| Amazon Bedrock | 50% off (Nova 2 Lite) | $0.075 vs $0.30 on Nova 2 Lite | Global cross-Region inference is about 10% cheaper than in-Region |
| Mistral | See price page | $0.07 vs $0.70 on Mistral Large 4 | EU regional inference adds 10% |
| Alibaba Qwen | 50% off | Discount listed for context cache | Some models show limited-time discounts |

This IBM Technology video is a clear, short explainer on how prompt caching works and why it cuts both cost and latency:
DeepSeek has its own twist. It charges peak and off-peak rates, and off-peak is half price. Peak hours are 01:00 to 04:00 and 06:00 to 10:00 UTC on weekdays, which is 6:30 to 9:30 AM and 11:30 AM to 3:30 PM in India. Everything else, including weekends, is off-peak.

AI API Price Changes Coming Up
A table like this goes stale fast, so here are the changes providers have already announced. I note each one on the model row too, and the table switches to the new price on the effective date.
- Nov 30, 2026: GPT-5.6 Sol promotional pricing ends, per OpenAI. Claude Sonnet 4.5 reaches its retirement date.
- Dec 1, 2026: Gemini 4 Carbon and Gemini 4 Argon move from $2 / $10 to $4 / $20 per 1M tokens, with cached input going from $0.10 to $0.20. Requests to Gemini 2.5 Pro start routing to Gemini 3.8 Flash, and Gemini 2.5 Flash routes to Gemini 3.5 Flash-Lite, billed at the new model’s rates.
- Jan 1, 2027: Gemini 3.8 Flash and Gemini 3.6 Flash go from $0.75 / $3.75 to $1.50 / $7.50.
- Jan 22, 2027: Claude Opus 4.5 retires.

For background on the newest launches, Google’s own post on Gemini 4 Carbon becoming available covers what the model is for, and 9to5Google has a good write-up of OpenAI releasing GPT-6.2 Astra and Sol a week after Claude Fable 5.2.
How to Estimate Your AI API Cost
The math is simple once you know your token counts:
monthly cost = requests x ((input tokens x input price) + (output tokens x output price)) / 1,000,000
Take a support assistant with 100,000 requests a month, 2,000 input tokens and 500 output tokens per request. That is 200M input tokens and 50M output tokens a month. Here is what that costs on a few models from the table:
| Model | Input / output per 1M | Monthly cost | With 1,500 tokens cached per request |
|---|---|---|---|
| GPT-6.2 Sol | $2 / $10 | $900 | $615 |
| Claude Sonnet 5.5 | $2 / $10 | $900 | $615 |
| Gemini 4 Carbon (from Dec 1) | $4 / $20 | $1,800 | $1,230 |
| Grok 4.7 | $2 / $6 | $700 | $475 |
| Mistral Large 4 | $0.70 / $2.10 | $245 | $150.50 |
| DeepSeek V4.1 Flash (peak) | $0.30 / $1.20 | $120 | $75.90 |
| GPT-6 Luna | $0.10 / $0.50 | $45 | $31.50 |
Two habits make the estimate far more accurate. First, measure real token counts from the API response for a day instead of guessing. Second, remember that reasoning models bill their thinking as output, so turn the reasoning effort down on simple tasks.
Want the math done for you? The free AI API Cost Calculator lets you enter your request volume and token counts, then compares the monthly, annual and per-1K-call bill across a long list of models in one table.
OpenAI’s own Build Hour on prompt caching walks through how to structure prompts so more of them hit the cache:
How I Check These Prices
Every price in the table comes from the provider’s official pricing page or model docs, and each row links to its source. I do not copy numbers from other comparison sites. While building this page I found one comparison site showing Mistral Large 4 at nearly double the $0.70 input price on Mistral’s own page, which is exactly the kind of error I want to keep out.
- Prices are in US dollars per 1M tokens on the standard, pay-as-you-go tier, for text. Image, audio and video input can cost more.
- Where a provider prices by region, I use the global or default rate and say so on the row. Amazon Nova prices are Bedrock on-demand in US East.
- Open-weight models like Llama, gpt-oss and Kimi K3 show the price of one named host. Other hosts charge different rates.
- If a provider does not publish a number, the cell stays blank. Cohere’s Command A, for example, has no token price on its current pricing page.
- Deprecated models stay in the table, marked as such, because people are still paying for them. The default view hides them.
Spot a price that has changed? The official link on each row is the fastest way to check, and I update the table when providers change their rates.
FAQs
What is the cheapest AI model API right now?
On the official pages I checked on 28 Nov 2026, the lowest token price is Llama 3.1 8B Instruct Turbo on DeepInfra at $0.02 per 1M input tokens and $0.04 per 1M output tokens. Among first-party APIs, Amazon Nova Micro ($0.035 / $0.14) and Cohere Command R7B ($0.0375 / $0.15) are the cheapest. If you need a 1M token context window, Gemini 2.5 Flash-Lite at $0.10 / $0.40 is the lowest.
How is AI API pricing calculated?
Providers bill per token, and almost all of them quote the price per 1 million tokens. You pay one rate for input tokens (your prompt, files and chat history), a usually higher rate for output tokens (the reply, including thinking tokens on reasoning models), and a lower rate for input tokens served from a cache. Your cost is input tokens times the input rate, plus output tokens times the output rate, plus cached tokens times the cached rate.
Why are output tokens more expensive than input tokens?
The model has to generate output one token at a time, which takes far more compute than reading the prompt. That is why output usually costs 3x to 6x the input price. For example, GPT-6.2 Sol is $2 input and $10 output, and Claude Sonnet 5.5 is the same $2 and $10.
What does cached input mean in LLM API pricing?
Cached input is the price for prompt tokens the provider has already processed and stored, such as a long system prompt or a document you send on every call. Cache hits cost a fraction of the normal input rate: $0.10 instead of $2 on GPT-6.2 Sol, $0.20 instead of $4 on Claude Opus 5.5, and $0.006 instead of $0.30 on DeepSeek V4.1 Flash at peak rates. Both OpenAI and Anthropic charge a little extra to write to the cache: 1.25x the input price for a short-lived cache on both, and 2x (Anthropic, 1 hour) or 2.5x (OpenAI, 12 hours) for a longer one.
How much does the Batch API save?
OpenAI, Anthropic and Google all take 50% off for batch requests that can wait for a result. Amazon Bedrock batch for Nova 2 Lite is also half price, Alibaba Model Studio lists 50% off batch calls, and xAI takes 20% off. Batch is the easiest discount to get for evals, backfills, tagging and any job that does not need an instant answer.
Which AI model is best for coding on a budget?
For most coding work I would start with GPT-6.2 Sol or Claude Sonnet 5.5, both at $2 input and $10 output per 1M tokens. If price matters more, Gemini 4 Hydrogen ($1.50 / $7.50) is positioned by Google for everyday coding and agentic work, and DeepSeek V4.1 Flash costs $0.30 / $1.20 at peak and half that off-peak. Test two or three of them on your own repo before you commit.
Do long prompts cost more?
With several providers, yes. OpenAI charges double input and 1.5x output on its GPT-5.4 and newer flagship models when a prompt goes over 272K tokens. Google charges more above 200K tokens on Gemini 3.1 Pro Preview and Gemini 2.5 Pro. xAI doubles the price for prompts of 200K tokens or more, and Claude Haiku 5.5 moves from $0.10 / $0.50 to $0.50 / $2.50 above 100K tokens. Anthropic charges its standard rate across the full 1M context on Claude 4.6 and later models, except Claude Haiku 5.5.
Are AI model prices going up or down?
Both, depending on the model. New small models keep getting cheaper: GPT-6 Luna and Claude Haiku 5.5 both cost $0.10 input and $0.50 output. But some launch prices are temporary. Gemini 4 Carbon and Gemini 4 Argon go from $2 / $10 to $4 / $20 on Dec 1, 2026, and Gemini 3.8 Flash and Gemini 3.6 Flash move from $0.75 / $3.75 to $1.50 / $7.50 on Jan 1, 2027.
How do I estimate my monthly AI API cost?
Multiply your monthly requests by the average input and output tokens per request, then by the price per 1M tokens. 100,000 requests a month at 2,000 input and 500 output tokens is 200M input and 50M output tokens, which comes to $900 on GPT-6.2 Sol and $45 on GPT-6 Luna. The free AI API Cost Calculator on Kreative Media does this math across many models at once.
How often is this AI model pricing table updated?
I check the official pricing pages and update the table whenever a provider changes a price, launches a model or retires one. The date at the top of the page shows the last full check. Scheduled changes that a provider has already announced, like the Gemini 4 Carbon price rise on Dec 1, 2026, are noted on the row.

About the author
Jitendra Vaswani
Jitendra Vaswani is the founder of Kreative Media and the author of Inside A Hustler’s Brain. He keeps this AI model pricing table so a team can compare token rates in one place, then confirm the vendor rate and test the model on real work before the number goes into a budget. For a bill estimate, use the AI API Cost Calculator.
