Claude API Pricing: All Models and Costs (Oct 2026)
Compare Claude API prices by model, estimate real workloads, and cut costs with caching or Batch. Use this October 2026 guide to choose a model wisely.

Claude API Pricing in October 2026: Models, Workloads, and Ways to Save
Claude API pricing is easy to understand on a pricing page - then you drop it into a real product and the bill gets more complicated. Anthropic charges separately for input and output tokens, but your total cost can swing based on prompt length, caching, batch processing, and features like web search. On top of that, newer Claude models can generate more tokens than older ones for the same text.
This guide uses Anthropic pricing and documentation checked on October 14, 2026. It compares current model rates, includes legacy rates, and walks through cost estimates you can actually use to budget for real usage - not just headline numbers. You'll also see where caching and the Batch API help, how a pricing threshold can create an unpleasant surprise, and why the cheapest model isn't always the cheapest choice. Pricing can change, so confirm rates in Anthropic's official pricing documentation before you commit to anything.
Claude API prices by model
Anthropic lists API prices per million tokens (MTok), with different rates for input and output. The table below shows global-routing prices in US dollars as of October 14, 2026. Global routing is the default.
| Model | Input / MTok | Output / MTok | Cache read / MTok | Context window |
|---|---|---|---|---|
| Claude Fable 5.1 | $10 | $50 | $0.25 | 1M tokens |
| Claude Opus 5.5 | $4 | $20 | $0.20 | 1M tokens |
| Claude Sonnet 5.5 | $2 | $10 | $0.10 | 1M tokens |
| Claude Haiku 5.5, prompts up to 100K | $0.10 | $0.50 | $0.01 | 1M tokens |
| Claude Haiku 5.5, prompts over 100K | $0.50 | $2.50 | $0.05 | 1M tokens |
Haiku 5.5 has a 100,000-token pricing threshold that the other current models don't: once a prompt goes past 100,000 tokens, higher rates apply. In practice, that means your total prompt length affects cost more than just the context window.
Legacy models and pricing details
Sonnet 5 and Haiku 4.5 are still available, but they're listed as legacy models. Sonnet 5 is $2 input and $10 output per MTok. Haiku 4.5 is $1 input and $5 output per MTok, with a 200,000-token context window. Anthropic lists Haiku 4.5 for retirement no sooner than October 15, 2026, and requires advance notice before a model is retired. If you're building something that depends on a legacy model, check the current deprecation schedule first.
Sonnet 5's $2/$10 price is now its standard rate. It launched at that rate as an introductory offer, but the planned increase to $3/$15 didn't happen. Other legacy options include Fable 5 at $10/$50, Opus 5 and Opus 4.6-4.8 at $5/$25, and Sonnet 4.6 at $3/$15 per MTok. Availability and retirement timing vary by model and platform.
Two details matter when you interpret the table:
- Thinking tokens count as output. Reasoning tokens are billed at the output rate, including tokens that aren't shown in the final response. Thinking is enabled by default on the current models listed here; it can't be disabled on Fable 5.1 and Opus 5.5. The effort setting affects how many tokens a response may use.
- Token counts differ by model. Anthropic says Claude 4.7 and later models use a tokenizer that can produce around 30% more tokens for the same text. The real difference depends on what your content looks like. Compare cost per task, not just cost per token.
The tokenizer can change the apparent savings
A lower per-token price doesn't automatically translate into proportional savings. If the newer model produces more tokens for the same input, that extra token usage can erase some of the rate advantage.
For example: Sonnet 4.6 costs $3 per MTok for input, while Sonnet 5.5 costs $2. If the newer tokenizer increases the token count by 30%, the comparable input cost is roughly $2 × 1.3 = $2.60 instead of $3. That's about 13% lower, not the 33% you'd conclude from price alone. This is an estimate - your prompts may behave differently.
The same idea applies to Haiku: the move from Haiku 4.5 to Haiku 5.5 is estimated to be about 87% cheaper per task at the lower rate. Going from Opus 4.6 or 4.5 to Opus 5.5 could even come out slightly more expensive for the same text if token counts rise by 30%. If you're planning a migration, measure a few representative inputs using Anthropic's token-counting endpoint before you do the math.
Estimate costs for real workloads
A basic estimate looks like this:
Cost = (input tokens ÷ 1,000,000 × input rate) + (output tokens ÷ 1,000,000 × output rate)
Multiply per-request cost by your expected daily volume, then multiply by 30 for a quick monthly estimate. Remember to include thinking tokens as output and use token counts reported for the model you plan to run.
Customer-support chat
Assume each conversation uses 500 input tokens and 200 output tokens, with 10,000 calls per day (so 5 million input tokens and 2 million output tokens daily).
- Haiku 5.5: (5 × $0.10) + (2 × $0.50) = $1.50 a day, or about $45 a month.
- Sonnet 5.5: (5 × $2) + (2 × $10) = $30 a day, or about $900 a month.
- Haiku 4.5: (5 × $1) + (2 × $5) = $15 a day, or about $450 a month with the same token counts.
Yes, the price gap is big - but the bill won't tell you whether Haiku is accurate enough for your customers. Run tests on real support conversations, including edge cases and escalation scenarios. A "cheaper" model that triggers more follow-up work can end up costing you more.
Code review assistant
Suppose the assistant processes 1,000 requests per day, with 3,000 input tokens and 800 output tokens per request. That's 3 million input tokens and 800,000 output tokens daily.
- Haiku 5.5: (3 × $0.10) + (0.8 × $0.50) = $0.70 a day, or $21 a month.
- Sonnet 5.5: (3 × $2) + (0.8 × $10) = $14 a day, or $420 a month.
- Opus 5.5: (3 × $4) + (0.8 × $20) = $28 a day, or $840 a month.
If you're moving from Sonnet 4.6 to Sonnet 5.5, headline rates suggest roughly a one-third drop. With an estimated 30% increase in token count, the comparable daily cost comes out to about $18.20 - around 13% lower. That's why the only meaningful comparison is based on measured prompts and outputs.
Long prompts on Haiku 5.5
Haiku's 100,000-token threshold is worth testing directly. Assume each request has 150,000 input tokens and 2,000 output tokens, with 100 requests per day. Because the input exceeds 100,000 tokens, the higher Haiku 5.5 rate applies:
- Input: 15 million × $0.50 = $7.50 a day.
- Output: 0.2 million × $2.50 = $0.50 a day.
- Total: $8 a day, or $240 a month.
At the lower-rate tier, the same token volume would be $1.60 a day. For comparison, Sonnet 5.5 is $32 a day in this example. Haiku is still cheaper here - but the threshold makes its bill about five times higher than a lower-rate calculation would suggest.
The threshold is sharp. A 99,000-token prompt costs about $0.0099 in Haiku input. A 101,000-token prompt costs about $0.0505 - roughly five times as much for just over 2% more text. Cache reads and cache writes count toward the 100,000-token limit, so caching part of the prompt doesn't get you out of the higher-rate tier.
Reduce spend with caching and Batch
Discounts only help when your usage matches the conditions. Caching rewards repeated, identical prefixes. Batch helps when you don't need an answer immediately. Neither one is a free multiplier - you usually have to structure how requests are made.
Prompt caching: cheaper repeated context
Prompt caching lets later requests reuse a prompt prefix so you don't pay the full input rate each time. Cache reads are charged as a fraction of the normal input price:
| Cache read | Rate compared with input price | Example |
|---|---|---|
| Fable 5.1 | 0.025× | $0.25 per MTok |
| Opus 5.5 and Sonnet 5.5 | 0.05× | $0.20 and $0.10 per MTok |
| Other listed models | 0.1× | Haiku 5.5: $0.01 per MTok |
Writing to cache costs more than regular input tokens: a five-minute cache write is 1.25× the input rate, while a one-hour write is 2×. For example, Sonnet 5.5 cache writes cost $2.50 per MTok for five minutes and $4 per MTok for one hour.
Consider a 2,000-token system prompt sent 50,000 times daily to Sonnet 5.5. Without caching, those 100 million input tokens cost $200 a day. With cache reads at $0.10 per MTok, reads cost $10 a day, plus the initial cache write. If the prefix stays identical and requests arrive often enough to keep the cache entry active, you're saving close to $190 a day on that repeated context.
Caching isn't automatic savings. Before relying on it, check these conditions:
- Minimum prefix size: the models in the table require at least 512 tokens for a cached prefix. Some legacy models require more.
- Exact prefix matching: if you change a timestamp, user ID, or any other content inside the cached prefix, reuse may fail and you'll trigger a new write.
- Cache lifetime: the lifetime is measured from the start of the request that writes or reads the entry.
- Break-even: at a 0.1× read rate, Anthropic says a five-minute write pays for itself after one cache read and a one-hour write after two.
For implementation details, use Anthropic's prompt caching documentation. Keep stable instructions and shared context in the reusable prefix, and put request-specific content after it.
Batch API: lower prices for work that can wait
The Message Batches API charges 50% of the standard input and output rates. Anthropic says most batches finish within an hour, though results are available only when all requests complete or after 24 hours. If a request isn't processed, it expires without charge. A batch can include up to 100,000 requests or 256 MB.
| Model | Batch input / MTok | Batch output / MTok |
|---|---|---|
| Fable 5.1 | $5 | $25 |
| Opus 5.5 | $2 | $10 |
| Sonnet 5.5 | $1 | $5 |
| Haiku 5.5, up to 100K prompt | $0.05 | $0.25 |
| Haiku 5.5, over 100K prompt | $0.25 | $1.25 |
Batch is a good fit for evaluations, document processing, backfills, and other "we can wait" jobs. It's a poor fit for interactive support or any in-product assistant that needs to respond right away. You can combine caching and batch discounts, but Anthropic recommends using a one-hour cache when shared context is used across a batch that may run longer than five minutes. Fast mode isn't available in Batch.
Other charges and how to choose a model
The per-token tables don't include everything. When you forecast production costs, account for:
- US-only inference:
inference_geo: "us"adds 10% to token prices on Claude 4.6 and later models, including cache reads and writes. - Fast mode: Opus 5.5 is priced at $8 input and $40 output per MTok in this research preview (twice the standard rate). Access is by request and is available through the Claude API.
- Web search: $10 per 1,000 searches, plus token charges for results added to the context. If a search errors, it isn't billed.
- Web fetch: no separate tool fee, but fetched content still uses billable tokens.
- Code execution: 1,550 hours per organization per month are free, then $0.05 per container-hour. There's a five-minute minimum, and qualifying web-search or web-fetch requests can make execution free.
- Managed Agents: $0.08 per session-hour, in addition to token costs. Batch discounts don't apply to the session charge.
- Tool-use prompt overhead: tool use adds 286 input tokens on Opus 5.5, Sonnet 5.5, and Haiku 5.5 in relevant tool-choice setups, on top of your tool definitions.
Web-enabled agents can rack up tool charges quickly. For example, three searches per request at 1,000 requests a day comes to $30 daily just for the searches, before you even add model input, output, and search-result tokens. Track tool calls separately instead of blending them into a single cost-per-request estimate.
Choose by measured quality, not price tier
Anthropic positions Haiku 5.5 for high-volume tasks like classification, extraction, and routing. Sonnet 5.5 is presented as a balance of speed and capability. Opus 5.5 and Fable 5.1 are intended for more demanding reasoning and agentic work. Those descriptions can narrow your test plan, but they don't replace evaluation.
A practical evaluation process:
- Pick 200-500 representative requests, including difficult cases and normal traffic.
- Run them through two candidate models with the same tools and application instructions.
- Score outputs against your criteria: correctness, output format, latency, escalation rate, and downstream rework.
- Record actual input and output tokens (including thinking tokens), then estimate monthly cost at your expected volume.
- Keep the cheaper option only if it meets your quality bar. Route harder requests to a stronger model when that split is reliable.
The right comparison is total operating cost, not just API spend. A low-cost model that produces unreliable structured output, misses important issues, or forces more human review can end up being the expensive option. On the other hand, using a top-tier model for every routine classification request is hard to justify if the smaller model passes your evaluation.
Conclusion
Claude API pricing can range from low-cost Haiku calls to much more expensive Fable workloads, but per-token rate is only the starting point. Prompt length, tokenizer differences, thinking tokens, caching, batching, and tool usage all affect what a production feature actually costs.
Start with a representative sample, calculate input and output separately, and test the model against the quality bar your product needs. Then apply caching to stable repeated context and Batch to work that can wait. Before you roll out a pricing-sensitive change, verify current rates in Anthropic's documentation and run the numbers against your own traffic.