AI model APIs: pricing compared
The prices of 4 ai model apis, each read on the vendor's own page. Prices in other currencies are converted at the November 17, 2026 rate.
| Tool | Free plan | Lowest paid plan (a month) | Team plan (per seat a month) | Plans |
|---|---|---|---|---|
| OpenAI APIOpenAI | No | Pay as you go | – | Pay as you go |
| Claude APIAnthropic | No | Pay as you go | – | Pay as you go |
| Gemini APIGoogle | Yes | Pay as you go | – | Free · Paid · Enterprise |
| DeepSeek APIDeepSeek | No | Pay as you go | – | Pay as you go |
OpenAI API plans
The OpenAI API has no monthly fee and bills by use. Per 1M tokens, GPT-6 Astra costs $10 input and $50 output, GPT-6.1 Sol $2 and $10, and GPT-6 Luna $0.10 and $0.50. The Batch API halves those prices.
- $0 monthly fee; you pay for the tokens you use
- The Batch API costs 50% of the standard price for input and output (GPT-6 Astra: $5 input, $25 output)
- Cached input per 1M tokens: Astra $1.00, Sol $0.10, Luna $0.01
Claude API plans
The Claude API bills by use. Per 1M tokens, Claude Opus 5.5 costs $4 input and $20 output, Sonnet 5.5 $2 and $10, and Haiku 5.5 $0.10 and $0.50. Claude Fable 5.2, the top model, costs $8 and $40. The Batch API takes 50% off.
- $0 monthly fee; token usage is deducted from prepaid credits
- The Batch API takes 50% off input and output (Opus 5.5: $2 input, $10 output)
- Cache hits per 1M tokens: $0.20 on Fable 5.2 and Opus 5.5, $0.10 on Sonnet 5.5, $0.01 on Haiku 5.5
- Cache writes cost 1.25x the input price (5-minute cache) or 2x (1-hour cache)
- New users receive free credits to test the API
Gemini API plans
The Gemini API has a free tier; the paid tier bills by use. Per 1M tokens, Gemini 4 Carbon costs $2 input and $10 output ($4 and $20 from December 1, 2026), Gemini 3.8 Flash $0.75 and $3.75, and Gemini 3.5 Flash-Lite $0.30 and $2.50.
- $0 for input and output tokens, up to each model's rate limits
- Covers Gemini 4 Hydrogen, Gemini 3.8 Flash and Gemini 3.5 Flash-Lite
- Gemini 4 Carbon, Gemini 4 Argon and Gemini 3.1 Pro are not included
- Content you send is used to improve Google's products
- Google AI Studio is free in all available regions
- Prepay from $5; purchased credits expire after 12 months
- The Batch API takes 50% off (Gemini 4 Carbon: $1 input, $5 output)
- Gemini 4 Carbon and Argon rise to $4 input and $20 output on December 1, 2026
- Gemini 3.8 Flash rises to $1.50 input and $7.50 output on January 1, 2027
- Content you send is not used to improve Google's products
- Price quoted by sales
- Runs on Gemini Enterprise Agent Platform
- Dedicated support, provisioned throughput and volume discounts can be added
DeepSeek API plans
The DeepSeek API bills by use. At peak hours, per 1M tokens, deepseek-flash costs $0.30 input and $1.20 output, and deepseek-v4-pro $1.32 and $3.96. Off-peak prices are half, and cache-hit input is $0.006 and $0.044.
- Off-peak prices are half the peak prices
- Peak hours are 01:00-04:00 and 06:00-10:00 UTC, Monday to Friday; weekends and Chinese public holidays are off-peak all day
- Cache-hit input at peak hours: $0.006 on flash, $0.044 on v4-pro
- Both models have a 1M-token context and up to 384K output tokens
- Fees are deducted from your topped-up balance; a granted balance is used first