Free AI tool · dated public prices
LLM API pricing, compared and calculated.
Current OpenAI, Anthropic Claude, Google Gemini, Mistral, DeepSeek, xAI, Meta, Cohere and hosted Llama models in one sortable table, priced per 1M input, cached and output tokens. Enter your requests and token counts to see the cost per day, month and year, side by side. Each price shows the date it was checked, and every change is logged.
Side by side
Tick up to 4 models in the table. Prices checked on 18 October 2026.
91 models shown. Cheapest for this usage: Llama 3.1 8B at $4.26 a month.
| Compare | Batch in / out | Per day | Per year | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Llama 3.1 8Bllama-3.1-8b-instant | Groq (Llama) | $0.05 | - | $0.08 | - | 131K | $0.0001 | $0.140 | $4.26 | $51.10 | |
| Command R7Bcommand-r7b-12-2024 | Cohere | $0.0375 | - | $0.15 | - | 128K | $0.0002 | $0.150 | $4.56 | $54.75 | |
| Command R7B Arabiccommand-r7b-arabic-02-2025 | Cohere | $0.0375 | - | $0.15 | - | 128K | $0.0002 | $0.150 | $4.56 | $54.75 | |
| Ministral 3 3Bministral-3b-2512 | Mistral | $0.10 | $0.01 | $0.10 | - | 131K | $0.0003 | $0.250 | $7.60 | $91.25 | |
| GPT-5 Nanogpt-5-nano | OpenAI | $0.05 | $0.005 | $0.40 | $0.025 / $0.20 | 400K | $0.0003 | $0.300 | $9.13 | $109.50 | |
| Muse Spark 1.2 Contributormuse-spark-1.2-contributor | Meta | $0.10 | $0.002 | $0.20 | - | 1.05M | $0.0003 | $0.300 | $9.13 | $109.50 | |
| Muse Spark 1.3 Contributormuse-spark-1.3-contributor | Meta | $0.10 | $0.002 | $0.20 | - | 1.05M | $0.0003 | $0.300 | $9.13 | $109.50 | |
| Ministral 3 8Bministral-8b-2512 | Mistral | $0.15 | $0.015 | $0.15 | - | 262K | $0.0004 | $0.375 | $11.41 | $136.87 | |
| Gemini 2.5 Flash-Litegemini-2.5-flash-lite | $0.10 | $0.01 | $0.40 | $0.05 / $0.20 | 1.05M | $0.0004 | $0.400 | $12.17 | $146.00 | ||
| Claude Haiku 5.5claude-haiku-5-5 | Anthropic | $0.10 | $0.01 | $0.50 | $0.05 / $0.25 | 1M | $0.0005 | $0.450 | $13.69 | $164.25 | |
| GPT-6 Lunagpt-6-luna | OpenAI | $0.10 | $0.01 | $0.50 | $0.05 / $0.25 | 1.05M | $0.0005 | $0.450 | $13.69 | $164.25 | |
| Ministral 3 14Bministral-14b-2512 | Mistral | $0.20 | $0.02 | $0.20 | - | 262K | $0.0005 | $0.500 | $15.21 | $182.50 | |
| Command Rcommand-r-08-2024 | Cohere | $0.15 | - | $0.60 | - | 128K | $0.0006 | $0.600 | $18.25 | $219.00 | |
| DeepSeek V4.1 Flash 1017deepseek-flash | DeepSeek | $0.15 | $0.003 | $0.60 | - | 1M | $0.0006 | $0.600 | $18.25 | $219.00 | |
| GPT-4o minigpt-4o-mini | OpenAI | $0.15 | $0.075 | $0.60 | $0.075 / $0.30 | 128K | $0.0006 | $0.600 | $18.25 | $219.00 | |
| Mistral Small 4mistral-small-2603 | Mistral | $0.15 | $0.015 | $0.60 | - | 262K | $0.0006 | $0.600 | $18.25 | $219.00 | |
| GPT-5.6 Lunagpt-5.6-luna | OpenAI | $0.20 | $0.02 | $1.20 | $0.10 / $0.60 | 1.05M | $0.0010 | $1.00 | $30.42 | $365.00 | |
| GPT-5.4 nanogpt-5.4-nano | OpenAI | $0.20 | $0.02 | $1.25 | $0.10 / $0.63 | 400K | $0.0010 | $1.03 | $31.18 | $374.13 | |
| Codestral 25.08codestral-2508 | Mistral | $0.30 | $0.03 | $0.90 | - | 256K | $0.0011 | $1.05 | $31.94 | $383.25 | |
| Gemini 3.1 Flash Litegemini-3.1-flash-lite | $0.25 | $0.025 | $1.50 | $0.13 / $0.75 | 1.05M | $0.0013 | $1.25 | $38.02 | $456.25 | ||
| GPT-5 Minigpt-5-mini | OpenAI | $0.25 | $0.025 | $2.00 | $0.13 / $1.00 | 400K | $0.0015 | $1.50 | $45.63 | $547.50 | |
| Llama 3.3 70Bllama-3.3-70b-versatile | Groq (Llama) | $0.59 | - | $0.79 | - | 131K | $0.0016 | $1.58 | $47.91 | $574.88 | |
| GPT-4.1 minigpt-4.1-mini | OpenAI | $0.40 | $0.10 | $1.60 | $0.20 / $0.80 | 1.05M | $0.0016 | $1.60 | $48.67 | $584.00 | |
| Mistral Large 3mistral-large-2512 | Mistral | $0.50 | $0.05 | $1.50 | - | 262K | $0.0018 | $1.75 | $53.23 | $638.75 | |
| Gemini 2.5 Flashgemini-2.5-flash | $0.30 | $0.03 | $2.50 | $0.15 / $1.25 | 1.05M | $0.0019 | $1.85 | $56.27 | $675.25 | ||
| Gemini 3.5 Flash Litegemini-3.5-flash-lite | $0.30 | $0.03 | $2.50 | $0.15 / $1.25 | 1.05M | $0.0019 | $1.85 | $56.27 | $675.25 | ||
| DeepSeek V4 Prodeepseek-v4-pro | DeepSeek | $0.66 | $0.022 | $1.98 | - | 1M | $0.0023 | $2.31 | $70.26 | $843.15 | |
| Mistral Large 4mistral-large-4 · beta | Mistral | $0.68 | $0.07 | $2.09 | - | 1.05M | $0.0024 | $2.41 | $73.15 | $877.82 | |
| Gemini 3 Flash Previewgemini-3-flash-preview | $0.50 | $0.05 | $3.00 | $0.25 / $1.50 | 1.05M | $0.0025 | $2.50 | $76.04 | $912.50 | ||
| Llama 3.3 70Bmeta-llama/Llama-3.3-70B-Instruct-Turbo | Together AI (Llama) | $1.04 | - | $1.04 | - | 131K | $0.0026 | $2.60 | $79.08 | $949.00 | |
| Grok Build 0.1grok-build-0.1 | xAI | $1.00 | $0.20 | $2.00 | - | 256K | $0.0030 | $3.00 | $91.25 | $1,095.00 | |
| Gemini 3.6 Flashgemini-3.6-flash | $0.75 | $0.075 | $3.75 | $0.38 / $1.88 | 1.05M | $0.0034 | $3.38 | $102.66 | $1,231.88 | ||
| Gemini 3.7 Flashgemini-3.7-flash | $0.75 | $0.075 | $3.75 | $0.38 / $1.88 | 1.05M | $0.0034 | $3.38 | $102.66 | $1,231.88 | ||
| Gemini 3.8 Flashgemini-3.8-flash | $0.75 | $0.075 | $3.75 | $0.38 / $1.88 | 1.05M | $0.0034 | $3.38 | $102.66 | $1,231.88 | ||
| GPT-5.4 minigpt-5.4-mini | OpenAI | $0.75 | $0.075 | $4.50 | $0.38 / $2.25 | 400K | $0.0038 | $3.75 | $114.06 | $1,368.75 | |
| Grok 4.20 (Non-Reasoning)grok-4.20-0309-non-reasoning | xAI | $1.25 | $0.20 | $2.50 | $1.00 / $2.00 | 1M | $0.0038 | $3.75 | $114.06 | $1,368.75 | |
| Grok 4.20 (Reasoning)grok-4.20-0309-reasoning | xAI | $1.25 | $0.20 | $2.50 | $1.00 / $2.00 | 1M | $0.0038 | $3.75 | $114.06 | $1,368.75 | |
| Grok 4.20 Multi-Agentgrok-4.20-multi-agent-0309 | xAI | $1.25 | $0.20 | $2.50 | $1.00 / $2.00 | 1M | $0.0038 | $3.75 | $114.06 | $1,368.75 | |
| Grok 4.3grok-4.3 | xAI | $1.25 | $0.20 | $2.50 | $1.00 / $2.00 | 1M | $0.0038 | $3.75 | $114.06 | $1,368.75 | |
| Claude Haiku 4.5claude-haiku-4-5 | Anthropic | $1.00 | $0.10 | $5.00 | $0.50 / $2.50 | 200K | $0.0045 | $4.50 | $136.88 | $1,642.50 | |
| Muse Spark 1.1muse-spark-1.1 | Meta | $1.25 | $0.15 | $4.25 | - | 1.05M | $0.0046 | $4.63 | $140.68 | $1,688.13 | |
| Muse Spark 1.2muse-spark-1.2 | Meta | $1.25 | $0.15 | $4.25 | - | 1.05M | $0.0046 | $4.63 | $140.68 | $1,688.13 | |
| Muse Spark 1.3muse-spark-1.3 | Meta | $1.25 | $0.15 | $4.25 | - | 1.05M | $0.0046 | $4.63 | $140.68 | $1,688.13 | |
| Mistral Medium 3.5mistral-medium-2604 | Mistral | $1.50 | $0.15 | $7.50 | - | 262K | $0.0068 | $6.75 | $205.31 | $2,463.75 | |
| Grok 4.5grok-4.5 | xAI | $2.00 | $0.30 | $6.00 | - | 500K | $0.0070 | $7.00 | $212.92 | $2,555.00 | |
| Grok 4.6grok-4.6 | xAI | $2.00 | $0.50 | $6.00 | - | 500K | $0.0070 | $7.00 | $212.92 | $2,555.00 | |
| Grok 4.7grok-4.7 | xAI | $2.00 | $0.50 | $6.00 | - | 500K | $0.0070 | $7.00 | $212.92 | $2,555.00 | |
| Gemini 2.5 Progemini-2.5-pro | $1.25 | $0.13 | $10.00 | $0.63 / $5.00 | 1.05M | $0.0075 | $7.50 | $228.13 | $2,737.50 | ||
| Gemini 3.5 Flashgemini-3.5-flash | $1.50 | $0.15 | $9.00 | $0.75 / $4.50 | 1.05M | $0.0075 | $7.50 | $228.13 | $2,737.50 | ||
| GPT-5gpt-5 | OpenAI | $1.25 | $0.13 | $10.00 | $0.63 / $5.00 | 400K | $0.0075 | $7.50 | $228.13 | $2,737.50 | |
| GPT-5.1gpt-5.1 | OpenAI | $1.25 | $0.13 | $10.00 | $0.63 / $5.00 | 400K | $0.0075 | $7.50 | $228.13 | $2,737.50 | |
| GPT-4.1gpt-4.1 | OpenAI | $2.00 | $0.50 | $8.00 | $1.00 / $4.00 | 1.05M | $0.0080 | $8.00 | $243.33 | $2,920.00 | |
| o3o3 | OpenAI | $2.00 | $0.50 | $8.00 | $1.00 / $4.00 | 200K | $0.0080 | $8.00 | $243.33 | $2,920.00 | |
| Claude Sonnet 5claude-sonnet-5 | Anthropic | $2.00 | $0.20 | $10.00 | $1.00 / $5.00 | 1M | $0.0090 | $9.00 | $273.75 | $3,285.00 | |
| Claude Sonnet 5.5claude-sonnet-5-5 | Anthropic | $2.00 | $0.10 | $10.00 | $1.00 / $5.00 | 1M | $0.0090 | $9.00 | $273.75 | $3,285.00 | |
| Gemini 4 Argongemini-4-argon | $2.00 | $0.10 | $10.00 | $1.00 / $5.00 | 1.05M | $0.0090 | $9.00 | $273.75 | $3,285.00 | ||
| GPT-6 Solgpt-6-sol | OpenAI | $2.00 | $0.20 | $10.00 | $1.00 / $5.00 | 1.05M | $0.0090 | $9.00 | $273.75 | $3,285.00 | |
| GPT-6.1 Solgpt-6.1-sol | OpenAI | $2.00 | $0.10 | $10.00 | $1.00 / $5.00 | 1.05M | $0.0090 | $9.00 | $273.75 | $3,285.00 | |
| Command Acommand-a-03-2025 | Cohere | $2.50 | - | $10.00 | - | 256K | $0.010 | $10.00 | $304.17 | $3,650.00 | |
| Command A Pluscommand-a-plus-05-2026 | Cohere | $2.50 | - | $10.00 | - | 128K | $0.010 | $10.00 | $304.17 | $3,650.00 | |
| Command A Reasoningcommand-a-reasoning-08-2025 | Cohere | $2.50 | - | $10.00 | - | 256K | $0.010 | $10.00 | $304.17 | $3,650.00 | |
| Command A Visioncommand-a-vision-07-2025 | Cohere | $2.50 | - | $10.00 | - | 128K | $0.010 | $10.00 | $304.17 | $3,650.00 | |
| Command R+command-r-plus-08-2024 | Cohere | $2.50 | - | $10.00 | - | 128K | $0.010 | $10.00 | $304.17 | $3,650.00 | |
| Gemini 3.1 Pro Previewgemini-3.1-pro-preview | $2.00 | $0.20 | $12.00 | $1.00 / $6.00 | 1.05M | $0.010 | $10.00 | $304.17 | $3,650.00 | ||
| GPT-4ogpt-4o | OpenAI | $2.50 | $1.25 | $10.00 | $1.25 / $5.00 | 128K | $0.010 | $10.00 | $304.17 | $3,650.00 | |
| GPT-5.6 Terragpt-5.6-terra | OpenAI | $2.00 | $0.20 | $12.00 | $1.00 / $6.00 | 1.05M | $0.010 | $10.00 | $304.17 | $3,650.00 | |
| GPT-5.2gpt-5.2 | OpenAI | $1.75 | $0.18 | $14.00 | $0.88 / $7.00 | 400K | $0.011 | $10.50 | $319.38 | $3,832.50 | |
| GPT-5.3 Codexgpt-5.3-codex | OpenAI | $1.75 | $0.18 | $14.00 | - | 400K | $0.011 | $10.50 | $319.38 | $3,832.50 | |
| GPT-5.3 Codex Sparkgpt-5.3-codex-spark | OpenAI | $1.75 | $0.18 | $14.00 | - | 128K | $0.011 | $10.50 | $319.38 | $3,832.50 | |
| GPT-5.4gpt-5.4 | OpenAI | $2.50 | $0.25 | $15.00 | $1.25 / $7.50 | 1.05M | $0.013 | $12.50 | $380.21 | $4,562.50 | |
| Claude Sonnet 4.5claude-sonnet-4-5 | Anthropic | $3.00 | $0.30 | $15.00 | $1.50 / $7.50 | 200K | $0.014 | $13.50 | $410.63 | $4,927.50 | |
| Claude Sonnet 4.6claude-sonnet-4-6 | Anthropic | $3.00 | $0.30 | $15.00 | $1.50 / $7.50 | 1M | $0.014 | $13.50 | $410.63 | $4,927.50 | |
| Claude Opus 5.5claude-opus-5-5 | Anthropic | $4.00 | $0.20 | $20.00 | $2.00 / $10.00 | 1M | $0.018 | $18.00 | $547.50 | $6,570.00 | |
| GPT-5.6gpt-5.6 | OpenAI | $4.00 | $0.40 | $20.00 | $2.00 / $10.00 | 1.05M | $0.018 | $18.00 | $547.50 | $6,570.00 | |
| GPT-5.6 Solgpt-5.6-sol | OpenAI | $4.00 | $0.40 | $20.00 | $2.00 / $10.00 | 1.05M | $0.018 | $18.00 | $547.50 | $6,570.00 | |
| Muse Wondermuse-wonder-1.0 | Meta | $4.00 | $0.20 | $20.00 | - | 1.05M | $0.018 | $18.00 | $547.50 | $6,570.00 | |
| Claude Opus 4.5claude-opus-4-5 | Anthropic | $5.00 | $0.50 | $25.00 | $2.50 / $12.50 | 200K | $0.023 | $22.50 | $684.38 | $8,212.50 | |
| Claude Opus 4.6claude-opus-4-6 | Anthropic | $5.00 | $0.50 | $25.00 | $2.50 / $12.50 | 1M | $0.023 | $22.50 | $684.38 | $8,212.50 | |
| Claude Opus 4.7claude-opus-4-7 | Anthropic | $5.00 | $0.50 | $25.00 | $2.50 / $12.50 | 1M | $0.023 | $22.50 | $684.38 | $8,212.50 | |
| Claude Opus 4.8claude-opus-4-8 | Anthropic | $5.00 | $0.50 | $25.00 | $2.50 / $12.50 | 1M | $0.023 | $22.50 | $684.38 | $8,212.50 | |
| Claude Opus 5claude-opus-5 | Anthropic | $5.00 | $0.50 | $25.00 | $2.50 / $12.50 | 1M | $0.023 | $22.50 | $684.38 | $8,212.50 | |
| GPT-5.5gpt-5.5 | OpenAI | $5.00 | $0.50 | $30.00 | $2.50 / $15.00 | 1.05M | $0.025 | $25.00 | $760.42 | $9,125.00 | |
| Claude Fable 5claude-fable-5 | Anthropic | $10.00 | $1.00 | $50.00 | $5.00 / $25.00 | 1M | $0.045 | $45.00 | $1,368.75 | $16,425.00 | |
| Claude Fable 5.1claude-fable-5-1 | Anthropic | $10.00 | $0.25 | $50.00 | $5.00 / $25.00 | 1M | $0.045 | $45.00 | $1,368.75 | $16,425.00 | |
| GPT-6 Astragpt-6-astra | OpenAI | $10.00 | $1.00 | $50.00 | $5.00 / $25.00 | 1.05M | $0.045 | $45.00 | $1,368.75 | $16,425.00 | |
| Daybreak Redgpt-daybreak-red-latest | OpenAI | $12.50 | $1.25 | $75.00 | - | 400K | $0.063 | $62.50 | $1,901.04 | $22,812.50 | |
| o3-proo3-pro | OpenAI | $20.00 | - | $80.00 | $10.00 / $40.00 | 200K | $0.080 | $80.00 | $2,433.33 | $29,200.00 | |
| GPT-5 Progpt-5-pro | OpenAI | $15.00 | - | $120.00 | $7.50 / $60.00 | 400K | $0.090 | $90.00 | $2,737.50 | $32,850.00 | |
| GPT-5.2 Progpt-5.2-pro | OpenAI | $21.00 | - | $168.00 | $10.50 / $84.00 | 400K | $0.126 | $126.00 | $3,832.50 | $45,990.00 | |
| GPT-5.4 Progpt-5.4-pro | OpenAI | $30.00 | - | $180.00 | $15.00 / $90.00 | 1.05M | $0.150 | $150.00 | $4,562.50 | $54,750.00 | |
| GPT-5.5 Progpt-5.5-pro | OpenAI | $30.00 | - | $180.00 | $15.00 / $90.00 | 1.05M | $0.150 | $150.00 | $4,562.50 | $54,750.00 |
How the cost is worked out: per request = uncached input tokens × input price + cached input tokens × cached price + (output + reasoning tokens) × output price, all per 1M tokens. A day is that × requests per day, a month is 365 ÷ 12 days, a year is 365 days. Prompts over a model's long-context threshold use its long-prompt price. Cache write surcharges, cache storage, tool, search, image and audio fees are not included.
Prices checked on 18 October 2026. Public list prices in US dollars per 1M tokens, copied by script from models.dev (MIT, list prices, cached-input prices, context windows) and LiteLLM model price file (MIT, batch api prices and reranker prices). Nothing is typed by hand. Confirm a price on the provider's own page before you commit to it; providers change prices and add surcharges (long prompts, regions, priority tiers) that a summary table cannot show.
Rules applied, and where we read them
- OpenAI bills reasoning tokens as output tokens (checked 2026-10-18)
- Anthropic bills thinking tokens as output tokens (checked 2026-10-18)
- Google prices Gemini output "including thinking tokens" (checked 2026-10-18)
Price changes
No price has moved since tracking began on 18 October 2026. Every refresh compares the new prices with the last snapshot and adds a dated line here for each one that changed.
How to read the table
List prices, your usage, and what moves the bill.
01
Input, cached and output prices
Providers charge per token, and output usually costs several times more than input. A cached input token, the part of a prompt the provider has seen recently, is billed at a fraction of the full input price.
02
Batch and long prompts
The Batch API trades speed for price: requests finish within hours instead of seconds. Some models charge more per token once a prompt passes a long-context threshold, and the calculator switches to that price for you.
03
Reasoning tokens count as output
Reasoning models think before they answer, and those hidden tokens are billed as output. If your model reasons, add an estimate of reasoning tokens per request, or the monthly figure will be too low.
FAQs · LLM API pricing
LLM API pricing · frequently asked questions
Where the prices come from, how often they change and what the calculator leaves out.
Next step
Pricing an AI feature you plan to build?
QalbIT designs and builds AI features into web and mobile products: retrieval, agents and integrations with the model that fits your cost and quality target.
More free tools
More free tools
Each one opens on a worked example and shows its answer without a signup.
All free toolsLLM token counter and tokenizer
Count tokens for GPT, Claude and Gemini, see the split, and check the context window and cost.
AI agent and RAG cost calculator
What an AI agent and its RAG pipeline cost to run each month, and which line drives the bill.
AI crawler checker and robots.txt tester
Which AI crawlers your robots.txt lets in, GPTBot to PerplexityBot, with the line that decides each.
Robots.txt generator for AI crawlers
Build a robots.txt that blocks AI training crawlers, keeps AI search, or blocks every AI bot.
llms.txt generator and validator
Write an llms.txt from your site’s name, summary and key links, or check one against the proposal.
Software development cost calculator
A typical cost and timeline range for your project, by type, scope and features.
