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.
| Model | Provider | Input ($/MTok) | Output ($/MTok) |
|---|---|---|---|
| GPT-6.2 Astra | OpenAI | $8.00 | $40.00 |
| Claude Fable 5.2 | Anthropic | $8.00 | $40.00 |
| Claude Opus 5.5 | Anthropic | $4.00 | $20.00 |
| Gemini 4 Carbon | $4.00* | $20.00* | |
| Gemini 4 Neon | $3.00 | $15.00 | |
| GPT-6.2 Sol | OpenAI | $2.00 | $10.00 |
| Claude Sonnet 5.5 | Anthropic | $2.00 | $10.00 |
| Gemini 4 Hydrogen | $1.50 | $7.50 | |
| Grok 4.7 | xAI | $2.00 | $6.00 |
| GPT-6.1 Terra | OpenAI | $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 Luna | OpenAI | $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.
