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.

API price of each model, in US dollars per million tokens. Times in UTC.
Claude Fable 5Anthropic$10.00$50.001M
Claude Fable 5.1Anthropic$10.00$50.001M
Claude Fable 5.2Anthropic$8.00$40.001M
Claude Haiku 5.5Anthropic$0.10$0.501M
Claude Opus 4.6Anthropic$5.00$25.001M
Claude Opus 4.7Anthropic$5.00$25.001M
Claude Opus 4.8Anthropic$5.00$25.001M
Claude Opus 5Anthropic$5.00$25.001M
Claude Opus 5.5Anthropic$4.00$20.001M
Claude Sonnet 4.6Anthropic$3.00$15.001M
Claude Sonnet 5Anthropic$2.00$10.001M
Claude Sonnet 5.5Anthropic$2.00$10.001M
Gemini 2.5 Flash LiteGoogle$0.10$0.401M
Gemini 3 Flash PreviewGoogle$0.50$3.001M
Gemini 3.1 Flash LiteGoogle$0.25$1.501M
Gemini 3.1 Pro PreviewGoogle$2.00$12.001M
Gemini 3.1 Pro Preview Custom ToolsGoogle$2.00$12.001M
Gemini 3.5 FlashGoogle$1.50$9.001M
Gemini 3.5 Flash LiteGoogle$0.30$2.501M
Gemini 3.6 FlashGoogle$0.75$3.751M
Gemini 3.7 FlashGoogle$0.75$3.751M
Gemini 4 ArgonGoogle$2.00$10.001M
Gemini 4 CarbonGoogle$2.00$10.001M
Gemini 4 HydrogenGoogle$1.50$7.501M
Codestral 2508Mistral AI$0.30$0.90256K
Ministral 3 14B 2512Mistral AI$0.20$0.20262.1K
Ministral 3 3B 2512Mistral AI$0.10$0.10131.1K
Ministral 3 8B 2512Mistral AI$0.15$0.15262.1K
Mistral Large 3 2512Mistral AI$0.50$1.50262.1K
Mistral Large 4Mistral AI$0.70$2.101M
Mistral Medium 3.5Mistral AI$1.50$7.50262.1K
Mistral Small 4Mistral AI$0.15$0.60262.1K
GPT-5.5OpenAI$5.00$30.001.1M
GPT-5.5 ProOpenAI$30.00$180.001.1M
GPT-5.6 LunaOpenAI$0.20$1.201.1M
GPT-5.6 SolOpenAI$4.00$20.001.1M
GPT-5.6 TerraOpenAI$2.00$12.001.1M
GPT-6 AstraOpenAI$10.00$50.001.1M
GPT-6 LunaOpenAI$0.10$0.501.1M
GPT-6 SolOpenAI$2.00$10.001.1M
GPT-6.1 SolOpenAI$2.00$10.001.1M
GPT-6.1 TerraOpenAI$1.00$5.001.1M
GPT-6.2 AstraOpenAI$8.00$40.001.1M
GPT-6.2 SolOpenAI$2.00$10.001.1M
Grok 4.20xAI$1.25$2.502M
Grok 4.20 Multi-AgentxAI$1.25$2.502M
Grok 4.3xAI$1.25$2.501M
Grok 4.5xAI$2.00$6.00500K
Grok 4.6xAI$2.00$6.00500K
Grok 4.7xAI$2.00$6.00500K
Grok Build 0.1xAI$1.00$2.00256K

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.

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>