Claude API pricing is based on tokens. You pay per million tokens (MTok) of input and per million tokens of output, and the rate depends on the model. On Anthropic's official pricing page, current base rates range from $0.10 input and $0.50 output per MTok for Claude Haiku 5.5 up to $8 input and $40 output per MTok for Claude Fable 5.2. Your real bill also depends on three levers: prompt caching, the Batch API and the tools you enable. This guide explains each one, with figures taken from that page. All prices are in US dollars.
Claude API pricing by model
The table below lists the current models and their base rates per MTok, as published by Anthropic.
| Model | Input | Output | Cache hit |
|---|---|---|---|
| Claude Fable 5.2 | $8 | $40 | $0.20 |
| Claude Opus 5.5 | $4 | $20 | $0.20 |
| Claude Sonnet 5.5 | $2 | $10 | $0.10 |
| Claude Sonnet 5 | $2 | $10 | $0.20 |
| Claude Haiku 5.5 (prompts up to 100,000 tokens) | $0.10 | $0.50 | $0.01 |
| Claude Haiku 5.5 (prompts over 100,000 tokens) | $0.50 | $2.50 | $0.05 |
| Claude Haiku 4.5 | $1 | $5 | $0.10 |
Three points from the pricing page are worth noting:
- Sonnet 5 kept its launch price. Anthropic first announced $2 input and $10 output per MTok as an introductory price. The page now says this is the standard price and that the planned increase to $3 and $15 will not happen.
- Older models can cost more. Opus 4.5 to Opus 4.8 are listed at $5 input and $25 output per MTok, which is more than Opus 5.5. Check which model version your application calls.
- Newer models use a new tokenizer. The page says Claude 4.7 and later models produce about 30% more tokens for the same text. Compare costs per task, not only per token.
Input tokens and output tokens
Input tokens are everything you send: the system prompt, the conversation, documents and tool definitions. Output tokens are what the model writes back. Output costs five times more than input on every model in the table above, so long answers drive the bill faster than long prompts.
How to estimate your monthly Claude API cost
Start from your expected volume. Here is a simple example with Claude Sonnet 5.5, using the published rates:
- 10 million input tokens x $2 per MTok = $20
- 2 million output tokens x $10 per MTok = $20
- Total: $40 per month, before caching or batch discounts
Run the same calculation for two or three models. Then test each model on a sample of your real tasks. A cheaper model that needs more retries or longer outputs may end up costing more.
Long prompts and the 1M token context window
According to the pricing page, Claude 4.6 and later models, except Haiku 5.5, include the full 1M token context window at standard rates. A very long request is billed at the same per-token rate as a short one. Haiku 5.5 is the exception: prompts over 100,000 tokens use its higher price tier, and the page counts cache reads and cache writes in that prompt length.
Ways to reduce Claude API costs
Prompt caching
Prompt caching stores a repeated part of your prompt, such as a long system prompt or a reference document. The first request writes the cache. Later requests read it at a lower price. The pricing page sets these multipliers on the base input price:
- 5-minute cache write: 1.25x
- 1-hour cache write: 2x
- Cache hit: 0.1x on most models, 0.05x on Opus 5.5 and Sonnet 5.5, and 0.025x on Fable 5.2 and Fable 5.1
Anthropic notes that a 5-minute cache write pays for itself after one cache read, and a 1-hour write after two reads. Caching is useful for chatbots, document assistants and agents that resend the same context many times.
The Batch API
The Batch API processes requests asynchronously. Anthropic describes it as offering "a 50 percent discount on both input and output tokens" (source). For example, Sonnet 5.5 drops to $1 input and $5 output per MTok. The page also states that batch and prompt caching discounts can be combined. Batch fits work that does not need an instant answer, such as classifying documents, summarizing archives or running evaluations overnight.
Choose the right model for each task
The price gap between models is large. Haiku 5.5 costs $0.10 per MTok of input, while Opus 5.5 costs $4. Many applications route simple steps, such as classification or extraction, to a small model and keep a larger model for complex reasoning. Measure output quality on your own data before you decide.
Tool and platform costs to include in your budget
Token prices are not the whole bill. The pricing page lists several other items:
- Web search: $10 per 1,000 searches, plus standard token costs. A search that fails with an error is not billed.
- Web fetch: no extra charge beyond standard token costs.
- Code execution: free when used with web search or web fetch. Otherwise, each organization gets 1,550 free hours per month, then pays $0.05 per hour per container.
- Tool definitions: tools add system prompt tokens to each request. The computer use toolset, for example, adds about 4,520 tokens on most supported models.
- Claude Managed Agents: $0.08 per session-hour while a session is running.
- US-only inference: setting
inference_geoto "us" on Claude 4.6 and later models applies a 1.1x multiplier to all token prices. - Fast mode: a premium tier with higher prices, for example $8 input and $40 output per MTok on Opus 5.5.
Claude API pricing compared with other models
Model prices are moving quickly. At its Ignite 2026 event, Microsoft announced seven MAI models and claimed that MAI Code 2 reaches 96% of Claude Opus 5.5's performance at 5% of the price. This is Microsoft's own benchmark, not an independent result. Treat such claims as a reason to run your own tests, not as a final answer. Compare models on your tasks, with your prompts, and include retries, output length and engineering time in the total cost.
Key takeaways
- Claude API pricing depends on the model, the number of input and output tokens, and the tools you use.
- Prompt caching and the Batch API are the two largest levers to lower the bill, and they can be combined.
- Model choice per task often matters more than any discount.
- Prices change. Always check the official pricing page before you commit to a budget.
Plan your Claude integration
ZetaBox holds Certified status in the Claude Partner Network. We help teams choose models, design caching and batch strategies, and estimate running costs before they build. Explore our Claude implementation services or contact our team.



