13 models · Anthropic, OpenAI, Google, xAI, DeepSeek
AI API cost calculator
Set your usage once and the whole board reprices: every current model, its price per million tokens, and what your month costs. Prices come from each company’s own pricing page.
Prices checked October 13, 2026 · Sources · Price changes
Price board
Choose models
- Turn on JavaScript to see the costs. The price tables below work without it.
Capability for the price
Epoch Capabilities Index (up) against the blended price per 1M tokens, 3 input to 1 output (right, log scale). Dots on the line have no model that is both cheaper and higher scoring. Hover or tap a dot for its numbers.
Show the numbers (16 models)
| # | Model | Company | Score | Blended per 1M | Value line |
|---|---|---|---|---|---|
| 1 | Claude Opus 5.5 | Anthropic | 166.8 | $8.00 | Yes |
| 2 | GPT-6 Astra | OpenAI | 166.4 | $20.00 | |
| 3 | GPT-6.1 Sol | OpenAI | 166.3 | $4.00 | Yes |
| 4 | Claude Fable 5.1 | Anthropic | 164.7 | $20.00 | |
| 5 | Gemini 4 Argon | 164.6 | $4.00 | ||
| 6 | Claude Sonnet 5.5 | Anthropic | 164.4 | $4.00 | |
| 7 | GPT-6 Sol | OpenAI | 162.6 | $4.00 | |
| 8 | Claude Opus 5 | Anthropic | 162.6 | $10.00 | |
| 9 | GPT-5.6 Sol | OpenAI | 161.7 | $8.00 | |
| 10 | GPT-5.6 Terra | OpenAI | 159.4 | $4.50 | |
| 11 | Claude Haiku 5.5 | Anthropic | 159.0 | $0.20 | Yes |
| 12 | Gemini 3.8 Flash | 157.2 | $1.50 | ||
| 13 | GPT-6 Luna | OpenAI | 156.3 | $0.20 | |
| 14 | DeepSeek Flash | DeepSeek | 155.6 | $0.525 | |
| 15 | DeepSeek V4 Pro | DeepSeek | 155.3 | $1.98 | |
| 16 | Grok 4.7 | xAI | 154.4 | $3.00 |
Scores: Epoch AI, Capabilities & benchmarking (Epoch Capabilities Index), CC BY 4.0, checked October 18, 2026. Each score carries a margin of error of about ±3 points, so models a few points apart may be level. Prices: each company’s pricing page, standard tier.
Price change calendar
GPT-5.6 Sol’s promotional price can endPromo ends
Earliest end of GPT-5.6 Sol’s promotional price ($4 in, $20 out per million tokens). OpenAI says it runs “at least through” this date.
OpenAI · OpenAI API pricing · earliest date
Gemini 4 Argon doubles in price+100%
Gemini 4 Argon doubles in price: input from $2 to $4, output from $10 to $20, cached input from $0.10 to $0.20 per million tokens. Batch prices double too, from $1 and $5 to $2 and $10.
Google · Google Gemini API pricing
Gemini 3.8 Flash and 3.6 Flash double in price+100%
Gemini 3.8 Flash and Gemini 3.6 Flash double in price: input from $0.75 to $1.50, output from $3.75 to $7.50, cached input from $0.075 to $0.15 per million tokens. Cache storage goes from $0.50 to $1.00 per million tokens per hour.
Google · Google Gemini API pricing
Gemini 2.5 Flash Image shut downPast
Google’s shutdown date for Gemini 2.5 Flash Image (the first Nano Banana). Google points users to Gemini 3.1 Flash Image or Gemini 3.1 Flash Lite Image.
Google · Google Gemini API pricing
Every price change we track, with its date and source.
Prices by company
Chat apps compared
Which AI should I use?
Model Watch
Comparisons
Cloud platforms and coding tools
Guides for API users
How the numbers work
AI companies charge for the text a model reads (input) and the text it writes (output), counted in tokens and priced per million. Output costs three to eight times as much as input (five times on most current models), so long answers move the bill more than long questions.
The calculator works out, for each model: input not read from cache × input price, plus cached input × cached price, plus output × output price, divided by one million. With batch on, it uses each company’s batch price instead.
Some models charge more once a single prompt gets long:
- Claude Haiku 5.5: over 100,000 tokens
- GPT-6, GPT-5.6, GPT-5.5 and GPT-5.4: over 272,000 tokens
- Grok 4.7: 200,000 tokens or more
- Gemini 3.1 Pro and 2.5 Pro: over 200,000 tokens
The calculator switches to the higher price when your input per request passes that point. Try the “Long documents” example to see it.
Not included: cache-write charges, Gemini’s hourly cache storage fee, web search and other tool fees, image and audio tokens, taxes, and regional or data-residency surcharges (about 10% at Anthropic and OpenAI). Your real bill can be higher.
Questions
What is a token?
A piece of a word. Google’s rule of thumb for its Gemini models is about 4 characters per token, or 60 to 80 English words per 100 tokens. Each company splits text its own way, so the same text can be a different number of tokens on different models. The token counter estimates it for your own text.
Which model is cheapest?
It depends on the job. In the support-chat example, Claude Haiku 5.5 and GPT-6 Luna cost the same at list prices, because both charge $0.10 per million input tokens and $0.50 per million output tokens. With 150,000-token documents, Haiku 5.5 moves to its long-prompt price and GPT-6 Luna does not. Change the numbers to match your own use.
Should I count in tokens or words?
Tokens, if your logs or the company’s dashboard give you real counts. Words, for a first estimate. In word mode the calculator adds 30% for Claude 4.7 and later models, because Anthropic says their newer tokenizer produces about 30% more tokens for the same text. You can switch that off.
How often are prices checked?
Every week, against each company’s pricing page. Changes and announced future prices go in the price change log with their dates.