Home / Claude API pricing
Claude API pricing
What every current Claude model costs per million tokens on Anthropic’s API, how caching and Batch cut the bill, and what typical workloads cost a month.
Prices checked
Quick answer
Claude’s API costs from $0.10 input and $0.50 output per million tokens for Haiku 5.5 to $8 / $40 for Fable 5.2. Batch halves every price, and cached prompt reads cost 2.5% to 10% of the normal input price. Fable, Opus and Sonnet price their full 1M-token context at the standard rate; Haiku 5.5 costs more above 100K tokens.
Standard prices per million tokens
Pay-as-you-go rates in US dollars.
| Model | Input | Output | Cache read | Batch (input / output) |
|---|---|---|---|---|
| Claude Fable 5.2 | $8.00 | $40.00 | $0.20 | $4 / $20 |
| Claude Opus 5.5 | $4.00 | $20.00 | $0.20 | $2 / $10 |
| Claude Sonnet 5.5 | $2.00 | $10.00 | $0.10 | $1 / $5 |
| Claude Haiku 5.5, prompts up to 100K | $0.10 | $0.50 | $0.01 | $0.05 / $0.25 |
| Claude Haiku 5.5, prompts over 100K | $0.50 | $2.50 | $0.05 | $0.25 / $1.25 |
API model IDs
- The names to use in your API calls:
claude-fable-5-2(Claude Fable 5.2),claude-opus-5-5(Claude Opus 5.5),claude-sonnet-5-5(Claude Sonnet 5.5),claude-haiku-5-5(Claude Haiku 5.5).
Fast mode and cache writes
Fast mode trades price for speed on Anthropic’s two largest models. Cache writes are what you pay to store a prompt for reuse.
| Model | Fast mode (input / output) | Cache write, 5 minutes | Cache write, 1 hour |
|---|---|---|---|
| Claude Fable 5.2 | $16 / $80 | $10.00 | $16.00 |
| Claude Opus 5.5 | $8 / $40 | $5.00 | $8.00 |
| Claude Sonnet 5.5 | Not offered | $2.50 | $4.00 |
| Claude Haiku 5.5 | Not offered | $0.125 | $0.20 |
Older Claude models still on the API
Anthropic still sells earlier models. Most cost the same or more than their replacements.
| Model | Input | Output | Current model at that level |
|---|---|---|---|
| Claude Fable 5.1 | $10 | $50 | Fable 5.2, $8 / $40 |
| Claude Opus 5 | $5 | $25 | Opus 5.5, $4 / $20 |
| Claude Sonnet 5 | $2 | $10 | Sonnet 5.5, $2 / $10 |
| Claude Sonnet 4.6 | $3 | $15 | Sonnet 5.5, $2 / $10 |
| Claude Haiku 4.5 | $1 | $5 | Haiku 5.5, $0.10 / $0.50 |
Long prompts
- Fable 5.2, Opus 5.5 and Sonnet 5.5 have a 1M-token context window, priced at the standard rate all the way. There’s no long-context surcharge.
- Haiku 5.5 is priced per request by prompt length. A prompt over 100,000 tokens pays the higher rate for the whole request, and cache reads and writes count toward the 100,000.
Prompt caching
- A cache write lasting 5 minutes costs 1.25× the input price. A 1-hour write costs 2×.
- A cache read costs 2.5% of the input price on Fable 5.2, 5% on Opus 5.5 and Sonnet 5.5, and 10% on Haiku 5.5.
- A 5-minute cache pays for itself after one read, and a 1-hour cache after two. Caching also stacks with the Batch discount.
Tools and other charges
Anthropic notes that Claude models from 4.7 onward use about 30% more tokens for the same text, so compare costs on real prompts, not just the price per token.
| Item | Price |
|---|---|
| Web search | $10 per 1,000 searches, plus tokens for the results |
| Web fetch | No extra charge beyond tokens |
| Code execution | Free alongside web search or web fetch. Otherwise 1,550 free hours a month per organization, then $0.05 an hour |
| US-only processing | 1.1× the normal price |
| Managed Agents | $0.08 per session-hour while running, plus tokens (no Batch discount) |
What a typical month costs
Standard prices, no caching or Batch. Chatbot: 100,000 requests a month of 1,000 tokens in and 300 out. Document Q&A: 10,000 requests of 20,000 tokens in and 500 out.
| Model | Chatbot | Document Q&A |
|---|---|---|
| Claude Fable 5.2 | $2,000 | $1,800 |
| Claude Opus 5.5 | $1,000 | $900 |
| Claude Sonnet 5.5 | $500 | $450 |
| Claude Haiku 5.5 | $25 | $22.50 |
Which Claude model to use
Editorial picks, based on price and where each model sits in Anthropic’s lineup.
- Claude Haiku 5.5 for high-volume, simple work such as sorting, extraction and short replies. Keep prompts under 100K tokens to stay on the $0.10 / $0.50 rate.
- Claude Sonnet 5.5 as the default for most apps, chat features and coding agents, at $2 / $10.
- Claude Opus 5.5 when Sonnet falls short on harder tasks, at twice Sonnet’s price.
- Claude Fable 5.2 for Anthropic’s most demanding work, at $8 / $40. It’s four times Sonnet’s price, so test Sonnet first.
How caching changes the bill
Caching matters most for coding agents and chat apps that resend the same long context with every request.
| Coding agent on Sonnet 5.5 | Without caching | With 80% of input cached |
|---|---|---|
| Input | $2,000 | $480 |
| Output | $400 | $400 |
| Total a month | $2,400 | $880, plus cache writes |
Workload: 20,000 requests a month, each with 50,000 tokens in and 2,000 out. With caching, 80% of input is read from the cache at $0.10 per million and the rest is billed at $2. Writing to the cache costs $2.50 per million tokens for a 5-minute cache, so the saving depends on how often the cached part changes.
Claude Code on the API
- Claude Code can run on a Claude plan or on the API. On the API you pay per token, like any other app.
- A coding session resends a lot of context, so prompt caching makes the biggest difference, as the example above shows.
- If you use Claude Code every day, a flat plan is often simpler: Pro is $20 a month and Max is $100. See Claude AI pricing.
API or a Claude plan?
- A Claude plan is a flat monthly price for the Claude app and Claude Code: Pro at $20, Max at $100 and Ultra at $200. See Claude AI pricing.
- Max and Ultra also include monthly API credits, $100 and $200.
- The API suits apps and automated work you build yourself. To price yours on all 30 models, use the AI API cost calculator.
How Claude compares
- Claude Fable 5.2 and GPT-6.2 Astra cost the same, $8 / $40. Sonnet 5.5 matches GPT-6.2 Sol at $2 / $10. See OpenAI API pricing.
- Haiku 5.5 ties GPT-6 Luna and Meta’s Muse Ember as the cheapest US models. For the cheapest models overall, see the cheapest AI API ranking.
Questions people ask
How much does the Claude API cost?
From $0.10 input and $0.50 output per million tokens (Haiku 5.5) to $8 / $40 (Fable 5.2). Batch requests cost half.
Is the Claude API included in Claude Pro?
No. The API is billed separately per token. Claude Max and Ultra include monthly API credits of $100 and $200.
Does Claude charge more for long prompts?
Only on Haiku 5.5, which costs $0.50 / $2.50 for prompts over 100,000 tokens. Fable, Opus and Sonnet charge the standard rate across their 1M-token window.
Is there a free Claude API tier?
No. The Claude API has no free tier or free credits. The minimum purchase is $5 of credit, and Max, Ultra and Team subscribers can claim the API credits included with their plan.
Is the Claude API cheaper than OpenAI’s?
At matching levels they cost the same: Fable 5.2 and GPT-6.2 Astra are both $8 / $40, Sonnet 5.5 and GPT-6.2 Sol are both $2 / $10, and Haiku 5.5 and GPT-6 Luna are both $0.10 / $0.50. OpenAI also has GPT-6.1 Terra at $1 / $5; Anthropic has Opus 5.5 at $4 / $20.
What does Claude web search cost on the API?
$10 per 1,000 searches, plus the normal token price for the search results the model reads.
Sources: Claude API pricing, Claude plans. Checked December 1, 2026.