Claude API Pricing: Token Costs, Batch and API Keys
Claude API prices run from $0.10 per million input tokens on Haiku 5.5 to $8 on Fable 5.2, in USD. No free tier; credits start at $5.
In this story (8 sections)
The Claude API charges per million tokens, from $0.10 input on Haiku 5.5 to $8 input and $40 output on Fable 5.2. There's no free tier, so you buy credits (minimum $5) before you send a single request.
All prices below are as of December 2, 2026, in US dollars, per million tokens (MTok), from Anthropic's pricing page. "All prices are in USD," and no India or UK price is listed.
Claude API prices per model
The four current models, with their API IDs from the models overview. All four have a 1M-token context window and 128K max output.
| Model (API ID) | Input per MTok | Output per MTok | Batch input / output |
|---|---|---|---|
| Fable 5.2 (claude-fable-5-2) | $8 | $40 | $4 / $20 |
| Opus 5.5 (claude-opus-5-5) | $4 | $20 | $2 / $10 |
| Sonnet 5.5 (claude-sonnet-5-5) | $2 | $10 | $1 / $5 |
| Haiku 5.5, prompts up to 100,000 tokens | $0.10 | $0.50 | $0.05 / $0.25 |
| Haiku 5.5, prompts over 100,000 tokens | $0.50 | $2.50 | $0.25 / $1.25 |
Haiku 5.5 is the odd one out: it has two price rows, split at 100,000 prompt tokens. So the "from $0.10" figure only holds for shorter prompts.
Fable 5.2 is Anthropic's pick for demanding reasoning and long-horizon agentic work. Opus 5.5 is where Anthropic suggests most people start.
Older models still on the price list:
- Opus 5 and Opus 4.8, 4.7, 4.6 and 4.5: $5 input, $25 output
- Sonnet 5: $2 input, $10 output. The introductory price is now standard, and the planned September 1 rise to $3/$15 won't happen.
- Sonnet 4.6: $3 input, $15 output
- Haiku 4.5: $1 input, $5 output
- Fable 5.1 and Fable 5: $10 input, $50 output
Opus 4.1, Opus 4, Sonnet 4.5 and Sonnet 4 are retired on the API, except on some cloud platforms. Claude Mythos is also on the page, but it's limited to organizations verified through Anthropic's programs, so most readers can't buy it.
The tokenizer trap when comparing models
One catch hides in that table. Claude 4.7 and later use a newer tokenizer that produces about 30% more tokens for the same text. So Sonnet 4.6 at $3 input isn't a straight comparison with Sonnet 5.5 at $2 input: the newer model counts more tokens for the same prompt. Compare cost per job, not just the per-token price.
The upside: Claude 4.6 and later (except Haiku 5.5) include the full 1M context at standard pricing. "A 900k-token request is billed at the same per-token rate as a 9k-token request."
Batch and prompt caching discounts
Two discounts, and you can combine them.
Batch API. Send requests asynchronously and you get "a 50 percent discount on both input and output tokens." Opus 5.5 drops to $2 input and $10 output per MTok. Fast mode isn't available with Batch.
Prompt caching. Prices are multipliers on the base input price:
| Cache action | Multiplier on base input |
|---|---|
| 5-minute cache write | 1.25x |
| 1-hour cache write | 2x |
| Cache read, most models | 0.1x |
| Cache read, Opus 5.5 and Sonnet 5.5 | 0.05x |
| Cache read, Fable 5.2 and 5.1 | 0.025x |
In dollars, a cache hit costs $0.20 per MTok on Fable 5.2, $0.20 on Opus 5.5, $0.10 on Sonnet 5.5 and $0.01 on Haiku 5.5 (prompts up to 100,000 tokens). A 5-minute cache pays off after one read, and a 1-hour cache after two. If you resend the same long system prompt or document, caching is the discount we'd set up first.
Extras that add to the bill
The token price isn't the whole receipt. These are the add-ons.
- Fast mode: up to 2.5x output speed, Anthropic says, at premium prices. Fable 5.2 is $16 input and $80 output, Opus 5.5 is $8 and $40, and Opus 5 is $10 and $50 (research preview).
- US-only inference: setting inference_geo to "us" adds a 1.1x multiplier on all token prices for Claude 4.6 and later. Default global routing is standard price.
- Web search: $10 per 1,000 searches, plus tokens. Web fetch has no extra charge beyond tokens.
- Code execution: free with web search or fetch. Otherwise 1,550 free hours per organization per month, then $0.05 per hour per container.
- Managed Agents: tokens at model rates plus $0.08 per session-hour of running time, with no batch discount. More in our Claude agents guide.
How to get an Anthropic API key
The API key steps are short:
- Sign in to the Claude Console at platform.claude.com.
- Open the API keys page (platform.claude.com/settings/keys) and click Create key.
- Name it, then choose Expires, Linked account and Scope.
- Copy the key right away. "The Console shows the full key only once."
- Set it as the ANTHROPIC_API_KEY environment variable.
To actually make calls, buy credits on the Billing page in the Console. "The minimum purchase is $5 USD," and major credit cards are accepted. The docs don't say if you can create a key before buying credits.
There's no free trial. "The Claude API has no free tier or self-serve trial," and new accounts get no free credits. Your options are buying credits, claiming the monthly API credits on a Max, Ultra or Team plan, or asking sales for an enterprise trial. If you also use OpenAI, our OpenAI API key guide covers that side.
Spend caps and rate limits
Anthropic puts a ceiling on how fast a new account can drain its wallet. Usage tiers come with monthly spend caps, set automatically from your history, per the rate limits page:
| Tier | Monthly spend cap |
|---|---|
| Start | $500 |
| Build | $1,000 |
| Scale | $200,000 |
| Custom | No cap |
New organizations may begin in an Evaluation tier with lower limits. Hit your cap and requests return HTTP 429 until 00:00 UTC on the 1st of the next month.
Rate limits at Start: Sonnet 5.5, Opus 5.5 and Haiku 5.5 each get 4,000 requests per minute, 2,000,000 input tokens per minute and 400,000 output tokens per minute. Fable 5.2 gets 4,000 requests, 500,000 input and 100,000 output per minute. Cached reads don't count toward input-token limits, another point for caching.
Claude API vs Claude Pro: two separate bills
They're different products. Claude Pro is $20 a month, or $17 a month billed annually ($200 a year), and it "doesn't include Claude Console API usage," per the Pro help article. The API is pay per token.
| Plan | Price | Monthly API credits included |
|---|---|---|
| Pro | $20 a month | None |
| Max | $100 a month | $100 a month |
| Ultra | $200 a month | $200 a month |
| Team | Per seat | Up to $500 a month, pooled |
Full plan details live in our Claude pricing guide. One more trap: Fable on Pro is "paid with usage credits," which isn't the same thing as Fable 5.2's API rate. Don't mix the two.
What to do next
- Just want to chat with Claude: skip the API. Start with Claude's free plan or Pro at $20 a month.
- Building your first app: buy the $5 minimum, start on Sonnet 5.5 or Opus 5.5, and watch the Console's usage.
- High-volume, simple tasks: Haiku 5.5, keeping prompts under 100,000 tokens to stay on the lower row.
- Jobs that can wait: use Batch and halve the bill.
- Already paying for Max or Ultra: claim the monthly API credits before you buy more.
- Shopping providers: compare with OpenAI API pricing and Gemini API pricing, and remember to compare cost per job.
Receipts
Official pages behind this story, read Dec 2, 2026- platform.claude.comWhat does Claude Fable 5.2 cost per 1M tokens? · What does Claude Opus 5.5 cost per 1M tokens?
- platform.claude.comHow do I get a Claude API key?
- platform.claude.comWhat are the API usage tiers and monthly spend caps? · What are the rate limits by tier (examples)?
- support.claude.comHow is the API different from Claude Pro?
- platform.claude.comWhich models are current and what are their IDs?
Filed under
Prices: The Price Grimoire“anthropic api”