Your workload
Official prices per million tokens
In US dollars, standard (non-batch) rates, as published by each provider and checked on 2026-10-26. Each “official” link opens the provider's pricing page.
| Model | Input | Cached input | Output | Context | Source |
|---|---|---|---|---|---|
| OpenAI | |||||
GPT-6 Astragpt-6-astra> 272K tokens: $20.00 / $75.00 | $10.00 | $1.00 | $50.00 | 1 050K | official |
GPT-6.1 Solgpt-6.1-sol> 272K tokens: $4.00 / $15.00 | $2.00 | $0.1 | $10.00 | 1 050K | official |
GPT-6 Lunagpt-6-luna> 272K tokens: $0.2 / $0.75 | $0.1 | $0.01 | $0.5 | 1 050K | official |
GPT-5.6 Solgpt-5.6-sol> 272K tokens: $8.00 / $30.00 | $4.00 | $0.4 | $20.00 | 1 050K | official |
GPT-5.6 Terragpt-5.6-terra> 272K tokens: $4.00 / $18.00 | $2.00 | $0.2 | $12.00 | 1 050K | official |
GPT-5.6 Lunagpt-5.6-luna> 272K tokens: $0.4 / $1.80 | $0.2 | $0.02 | $1.20 | 1 050K | official |
GPT-5.5gpt-5.5> 272K tokens: $10.00 / $45.00 | $5.00 | $0.5 | $30.00 | 1 050K | official |
GPT-5.4gpt-5.4> 272K tokens: $5.00 / $22.50 | $2.50 | $0.25 | $15.00 | 1 050K | official |
GPT-5.4 minigpt-5.4-mini | $0.75 | $0.075 | $4.50 | 400K | official |
| Anthropic | |||||
Claude Fable 5.1claude-fable-5-1 | $10.00 | $0.25 | $50.00 | 1 000K | official |
Claude Opus 5.5claude-opus-5-5 | $4.00 | $0.2 | $20.00 | 1 000K | official |
Claude Sonnet 5.5claude-sonnet-5-5 | $2.00 | $0.1 | $10.00 | 1 000K | official |
Claude Haiku 5.5claude-haiku-5-5> 100K tokens: $0.5 / $2.50 | $0.1 | $0.01 | $0.5 | 1 000K | official |
Claude Opus 5claude-opus-5legacy | $5.00 | $0.5 | $25.00 | 1 000K | official |
Claude Sonnet 5claude-sonnet-5legacy | $2.00 | $0.2 | $10.00 | 1 000K | official |
Claude Haiku 4.5claude-haiku-4-5legacy | $1.00 | $0.1 | $5.00 | 200K | official |
Gemini 4 Argongemini-4-argonfrom 2026-12-01: $4.00 / $20.00 | $2.00 | $0.1 | $10.00 | 1 048K | official |
Gemini 3.8 Flashgemini-3.8-flashfrom 2027-01-01: $1.50 / $7.50 | $0.75 | $0.075 | $3.75 | 1 048K | official |
Gemini 3.1 Pro (preview)gemini-3.1-pro-preview> 200K tokens: $4.00 / $18.00 | $2.00 | $0.2 | $12.00 | 1 048K | official |
Gemini 3.5 Flash-Litegemini-3.5-flash-lite | $0.3 | $0.03 | $2.50 | 1 048K | official |
Gemini 3.1 Flash-Litegemini-3.1-flash-lite | $0.25 | $0.025 | $1.50 | 1 048K | official |
Gemini 2.5 Progemini-2.5-pro> 200K tokens: $2.50 / $15.00 | $1.25 | $0.125 | $10.00 | 1 048K | official |
Gemini 2.5 Flashgemini-2.5-flash | $0.3 | $0.03 | $2.50 | 1 048K | official |
Gemini 2.5 Flash-Litegemini-2.5-flash-lite | $0.1 | $0.01 | $0.4 | 1 048K | official |
| Mistral AI | |||||
Mistral Large 4mistral-large-4 | $1.36 | $0.14 | $4.18 | 1 000K | official |
Mistral Medium 3.5mistral-medium-3-5 | $1.50 | $0.15 | $7.50 | 256K | official |
Mistral Large 3mistral-large-2512 | $0.5 | $0.05 | $1.50 | 256K | official |
Mistral Small 4mistral-small-2603 | $0.15 | $0.015 | $0.6 | 256K | official |
Ministral 3 14Bministral-14b-2512 | $0.2 | $0.02 | $0.2 | 256K | official |
Ministral 3 8Bministral-8b-2512 | $0.15 | $0.015 | $0.15 | 256K | official |
Codestralcodestral-2508 | $0.3 | $0.03 | $0.9 | 128K | official |
| DeepSeek | |||||
DeepSeek V4.1 Flashdeepseek-flashoff-peak −50% | $0.3 | $0.006 | $1.20 | 1 000K | official |
DeepSeek V4 Prodeepseek-v4-prooff-peak −50% | $1.32 | $0.044 | $3.96 | 1 000K | official |
| xAI | |||||
Grok 4.7grok-4.7> 200K tokens: $4.00 / $12.00 | $2.00 | $0.5 | $6.00 | 500K | official |
Grok 4.3grok-4.3> 200K tokens: $2.50 / $5.00 | $1.25 | $0.2 | $2.50 | 1 000K | official |
Grok 4.20 Reasoning (0309)grok-4.20-0309-reasoning> 200K tokens: $2.50 / $5.00 | $1.25 | $0.2 | $2.50 | 1 000K | official |
Grok 4.20 Non-Reasoning (0309)grok-4.20-0309-non-reasoning> 200K tokens: $2.50 / $5.00 | $1.25 | $0.2 | $2.50 | 1 000K | official |
Grok Build 0.1grok-build-0.1> 200K tokens: $2.00 / $4.00 | $1.00 | $0.2 | $2.00 | 256K | official |
| Cohere | |||||
Command Rcommand-r-08-2024 | $0.15 | — | $0.6 | 128K | official |
Command R7Bcommand-r7b-12-2024 | $0.0375 | — | $0.15 | 128K | official |
How the calculator works
- Cost per request = uncached input × input price + cached input × cache price + output × output price, divided by one million. A model without a published cache price is charged the full input price.
- Long context: some models charge more for large prompts. OpenAI's flagship models switch to higher prices above 272K input tokens, Gemini Pro above 200K, Claude Haiku 5.5 above 100K, and xAI bills every token of a request at 2× once the prompt reaches 200K. The calculator applies the higher tier automatically.
- Batch: OpenAI, Anthropic, Google and Mistral take 50% off for asynchronous batch jobs; xAI takes 20% off on listed models. DeepSeek and Cohere publish no batch discount.
- DeepSeek off-peak: half price outside 01:00–04:00 and 06:00–10:00 UTC on weekdays.
- Scheduled price changes (for example Gemini 4 Argon on 1 December 2026) are applied automatically from their effective date. GPT-5.6 Sol is on promotional pricing guaranteed only until 21 November 2026.
Tokens are not words
A token is roughly four characters of English text, fewer for French or code, and each provider counts differently: since Claude Opus 4.7, Claude models produce up to about a third more tokens for the same text than earlier ones. Use the estimate above as a starting point, then check real usage in your provider's dashboard. Prices exclude taxes, regional endpoints (+10% at OpenAI, +10% for US-only inference at Anthropic) and premium speed tiers.
More free tools
Free AI visibility checker
Check for free whether ChatGPT, Claude, Perplexity and Gemini can read and cite your website - robots.txt, llms.txt, JavaScript and hidden text.
AI robots.txt generator
Build a robots.txt in one click that blocks AI training while keeping your site visible in ChatGPT Search, Claude and Perplexity. Free.
robots.txt tester for AI crawlers
Paste your robots.txt and instantly see, crawler by crawler, whether GPTBot, ClaudeBot, PerplexityBot or Google-Extended can access a page.
AI crawler blocklists
Ready-to-use files, refreshed hourly, to block AI training (or all AI crawlers): robots.txt, nginx, Apache, Cloudflare and the official IP ranges published by AI companies.
Verify an AI crawler IP
Check whether an IP address really belongs to OpenAI, Anthropic, Perplexity, Google, Bing, Apple or another AI company using their official IP lists.
Free llms.txt generator from your sitemap
Generate a draft llms.txt in the llmstxt.org format from your website's sitemap - titles, descriptions and sections ready to review.
Free prompt injection detector
Check whether a web page or a text hides instructions aimed at AI assistants - hidden text, HTML comments and invisible Unicode characters.