AI API pricing per million tokens
Short answer
How much does it cost, per million tokens, to use the main AI models through an API?
Today we track 51 models from 5 providers. The lowest input price is Claude Haiku 5.5 (Anthropic), at $0.10, and the highest is GPT-5.5 Pro (OpenAI), at $30. Prices are in US dollars per million tokens, come from at least two sources and may change without notice. Taxes and fees are not included.
- Updated
- When the value last changed
- Verified
- Last check against the source
Times in UTC.
Prices by model
US$ per million tokens. Click a column heading to sort.
| Claude Fable 5 | Anthropic | $10.00 | $50.00 | 1M | |
|---|---|---|---|---|---|
| Claude Fable 5.1 | Anthropic | $10.00 | $50.00 | 1M | |
| Claude Fable 5.2 | Anthropic | $8.00 | $40.00 | 1M | |
| Claude Haiku 5.5 | Anthropic | $0.10 | $0.50 | 1M | |
| Claude Opus 4.6 | Anthropic | $5.00 | $25.00 | 1M | |
| Claude Opus 4.7 | Anthropic | $5.00 | $25.00 | 1M | |
| Claude Opus 4.8 | Anthropic | $5.00 | $25.00 | 1M | |
| Claude Opus 5 | Anthropic | $5.00 | $25.00 | 1M | |
| Claude Opus 5.5 | Anthropic | $4.00 | $20.00 | 1M | |
| Claude Sonnet 4.6 | Anthropic | $3.00 | $15.00 | 1M | |
| Claude Sonnet 5 | Anthropic | $2.00 | $10.00 | 1M | |
| Claude Sonnet 5.5 | Anthropic | $2.00 | $10.00 | 1M | |
| Gemini 2.5 Flash Lite | $0.10 | $0.40 | 1M | ||
| Gemini 3 Flash Preview | $0.50 | $3.00 | 1M | ||
| Gemini 3.1 Flash Lite | $0.25 | $1.50 | 1M | ||
| Gemini 3.1 Pro Preview | $2.00 | $12.00 | 1M | ||
| Gemini 3.1 Pro Preview Custom Tools | $2.00 | $12.00 | 1M | ||
| Gemini 3.5 Flash | $1.50 | $9.00 | 1M | ||
| Gemini 3.5 Flash Lite | $0.30 | $2.50 | 1M | ||
| Gemini 3.6 Flash | $0.75 | $3.75 | 1M | ||
| Gemini 3.7 Flash | $0.75 | $3.75 | 1M | ||
| Gemini 4 Argon | $2.00 | $10.00 | 1M | ||
| Gemini 4 Carbon | $2.00 | $10.00 | 1M | ||
| Gemini 4 Hydrogen | $1.50 | $7.50 | 1M | ||
| Codestral 2508 | Mistral AI | $0.30 | $0.90 | 256K | |
| Ministral 3 14B 2512 | Mistral AI | $0.20 | $0.20 | 262.1K | |
| Ministral 3 3B 2512 | Mistral AI | $0.10 | $0.10 | 131.1K | |
| Ministral 3 8B 2512 | Mistral AI | $0.15 | $0.15 | 262.1K | |
| Mistral Large 3 2512 | Mistral AI | $0.50 | $1.50 | 262.1K | |
| Mistral Large 4 | Mistral AI | $0.70 | $2.10 | 1M | |
| Mistral Medium 3.5 | Mistral AI | $1.50 | $7.50 | 262.1K | |
| Mistral Small 4 | Mistral AI | $0.15 | $0.60 | 262.1K | |
| GPT-5.5 | OpenAI | $5.00 | $30.00 | 1.1M | |
| GPT-5.5 Pro | OpenAI | $30.00 | $180.00 | 1.1M | |
| GPT-5.6 Luna | OpenAI | $0.20 | $1.20 | 1.1M | |
| GPT-5.6 Sol | OpenAI | $4.00 | $20.00 | 1.1M | |
| GPT-5.6 Terra | OpenAI | $2.00 | $12.00 | 1.1M | |
| GPT-6 Astra | OpenAI | $10.00 | $50.00 | 1.1M | |
| GPT-6 Luna | OpenAI | $0.10 | $0.50 | 1.1M | |
| GPT-6 Sol | OpenAI | $2.00 | $10.00 | 1.1M | |
| GPT-6.1 Sol | OpenAI | $2.00 | $10.00 | 1.1M | |
| GPT-6.1 Terra | OpenAI | $1.00 | $5.00 | 1.1M | |
| GPT-6.2 Astra | OpenAI | $8.00 | $40.00 | 1.1M | |
| GPT-6.2 Sol | OpenAI | $2.00 | $10.00 | 1.1M | |
| Grok 4.20 | xAI | $1.25 | $2.50 | 2M | |
| Grok 4.20 Multi-Agent | xAI | $1.25 | $2.50 | 2M | |
| Grok 4.3 | xAI | $1.25 | $2.50 | 1M | |
| Grok 4.5 | xAI | $2.00 | $6.00 | 500K | |
| Grok 4.6 | xAI | $2.00 | $6.00 | 500K | |
| Grok 4.7 | xAI | $2.00 | $6.00 | 500K | |
| Grok Build 0.1 | xAI | $1.00 | $2.00 | 256K |
History
Our own record, saved at every verified change.
History for this page only started being recorded recently. Charts appear once there are at least two points.
What changed on this page
No changes recorded yet.
About this data
This page compares the API price of the main AI models: how much, in US dollars, each million tokens sent to the model (input) and generated by it (output) costs, along with the size of the context window and the release date, when the source provides them.
The prices come from two public databases that collect API prices, OpenRouter and LiteLLM, read by code and checked periodically. A model only appears in the table when the two agree, on both input and output (within 1%), and each model name links to its OpenRouter page. The "Updated" field only changes when a price or a model changes. The "Verified" field shows the last check.
The page does not guarantee that the price is what you will pay. Volume discounts, prompt caching, batch processing, usage tiers, taxes and conversion into other currencies are left out, and the provider may change its table without notice. Before signing up, check the price on the provider's official page.
Related tools
Agenda and open data
Cite this page
Copy the link or a ready-made reference. The access date is today.
<a href="https://jkit.tools/en/radar/ai-api-pricing">AI API pricing per million tokens</a>