Ai Api Pricing
Image: Saganote

AI API Pricing Compared: What Every Major Model Costs per Token

One table, five providers, a wide price spread - and the discounts that matter more than list prices.

TL;DR: Current AI API list prices run from $0.10 to $40 per million tokens on the models below. Claude Fable 5.2 and GPT-6.2 Astra share the top rate at $8/$40, while GPT-6 Luna and Claude Haiku 5.5 sit at $0.10/$0.50. Checked November 28, 2026.

AI API pricing spans a much wider range than subscription plans suggest. The current line-ups are GPT-6 from OpenAI, the Claude 5 family from Anthropic, Gemini 4 from Google, Grok 4.7 from xAI, and the DeepSeek models. Choosing the right model tier can matter more than choosing the provider. For earlier releases, see our Claude Fable 5.1 launch story and the Grok 4.6 launch story.

ModelProviderInput ($/MTok)Output ($/MTok)
GPT-6.2 AstraOpenAI$8.00$40.00
Claude Fable 5.2Anthropic$8.00$40.00
Claude Opus 5.5Anthropic$4.00$20.00
Gemini 4 CarbonGoogle$4.00*$20.00*
Gemini 4 NeonGoogle$3.00$15.00
GPT-6.2 SolOpenAI$2.00$10.00
Claude Sonnet 5.5Anthropic$2.00$10.00
Gemini 4 HydrogenGoogle$1.50$7.50
Grok 4.7xAI$2.00$6.00
GPT-6.1 TerraOpenAI$1.00$5.00
DeepSeek V4-Pro (off-peak)DeepSeek$0.66$1.98
DeepSeek V4.1-Flash (off-peak)DeepSeek$0.15$0.60
GPT-6 LunaOpenAI$0.10$0.50
Claude Haiku 5.5 (up to 100K prompt)Anthropic$0.10$0.50

*Gemini 4 Carbon rates from December 1, 2026. An introductory $2/$10 applies through November 30. DeepSeek charges double at peak hours.

The Workhorse Tier: $5 to $15 Output

Most production applications have economical choices here. Gemini 4 Neon costs $3/$15, GPT-6.2 Sol and Claude Sonnet 5.5 both cost $2/$10, Gemini 4 Hydrogen costs $1.50/$7.50, Grok 4.7 costs $2/$6, and GPT-6.1 Terra costs $1/$5.

The Budget Tier: Under $2 Output

The lowest-cost models can cut production bills sharply. GPT-6 Luna and Claude Haiku 5.5 cost $0.10/$0.50, and DeepSeek V4.1-Flash costs $0.15/$0.60 off-peak. For high-volume work, these differences matter more than small benchmark gaps.

The Discounts That Beat the List Prices

Two mechanisms can cut these rates harder than switching labs. Batch processing halves OpenAI and Anthropic token prices for work that can wait. Prompt caching makes repeated context far cheaper: Anthropic charges $0.20 per million tokens to re-read Fable 5.2 context that costs $8 fresh.

Hidden meters run the other way. Tools such as web search are billed on top of tokens; OpenAI lists web search at $10 per 1,000 calls. Add-ons, not token rates, decide many real bills.

Which API Should You Build On

AI API pricing rewards a two-model strategy: one budget model for volume and one flagship for the hardest few requests. Cost-sensitive products can start with Luna, Haiku, or DeepSeek Flash and escalate only when needed. Test quality on your own tasks before choosing on price.

AI API pricing changes often, so treat the check date as part of the data. Subscription prices are in our full AI pricing guide, with detail in the Claude, ChatGPT, Gemini, and Grok pricing pages.

Frequently Asked Questions

What is the cheapest AI API?
Among the major models listed here, GPT-6 Luna and Claude Haiku 5.5 at $0.10 per million input tokens and $0.50 output.
What is the most expensive AI model API?
Among current flagships, GPT-6.2 Astra and Claude Fable 5.2 at $8 input and $40 output per million tokens. Some earlier models still list higher.
How do batch discounts work?
OpenAI and Anthropic cut token prices by 50% for asynchronous jobs submitted in batches.
Is the Grok API cheaper than GPT and Claude?
On output, yes against the mid tier: Grok 4.7 costs $2/$6 per million tokens, while GPT-6.2 Sol and Claude Sonnet 5.5 cost $2/$10.
What is prompt caching?
A discount for re-sent context. On Claude Fable 5.2, cached input costs $0.20 per million tokens against $8 for fresh input.

Share this
Saganote

About Author

Saganote

Saganote is an independent technology publication covering artificial intelligence, cybersecurity, startups, software, consumer technology, and innovation. Our editorial team researches, writes, and reviews original news, analysis, and explainers to provide accurate, timely, and well-sourced coverage of the technology industry.