Claude API pricing

What every Claude model costs per 1M tokens on the Claude API, with cached input and the 3:1 blend. Checked against Anthropic's own price page on November 30, 2026.

How is the Claude API priced?

Per token, in and out. Output costs five times as much as input on every current model, so long answers cost more than long prompts.

Which Claude model is cheapest?

Claude Haiku 5.5, for prompts up to 100,000 tokens. Above that, its rates rise to five times the base.

What do cache hits cost?

A tenth of the input price on most models, a twentieth on Opus 5.5 and Sonnet 5.5, and a fortieth on Fable 5.1 and 5.2.

What does Claude cost per customer?

Each customer's tokens times these rates. Lancelot does the math on every call and throttles or switches models when a customer loses money. How it works

Model
Input
Output
Cached input
3:1 blend

US dollars per 1M tokens on the Claude API, standard tier. Opus 4.1, Opus 4 and Sonnet 4 are retired on the Claude API and still served on some cloud platforms.

Comparing providers? See Gemini API pricing or every model's price.

Prompt caching cuts the price of repeated input

Anthropic charges a cache write the first time it stores a prompt prefix, then much less each time a later call reads it. A 5-minute write costs 1.25 times the input price and a 1-hour write costs 2 times. Reads cost 0.1 times the input price on most models, 0.05 times on Claude Opus 5.5 and Sonnet 5.5, and 0.025 times on Claude Fable 5.1 and 5.2.

A 5-minute cache pays for itself after one read, and a 1-hour cache after two. Claude prompt caching, with the math works through real examples.

The Batch API halves every price

Requests sent through the Message Batches API cost 50% less on both input and output tokens, on every model. You trade an immediate answer for results that arrive later.

The discount stacks with prompt caching. Fast mode isn't available in batches. Batch API pricing and limits covers when the wait is worth it.

Long prompts cost the same per token, except on Haiku 5.5

Claude 4.6 and later models bill the full 1M-token context window at the standard rate, so a 900,000-token request pays the same per token as a 9,000-token one. Claude Haiku 5.5 is the exception: a request whose prompt runs over 100,000 tokens, counting cache reads and writes, pays five times the base rates.

Claude 4.7 and later models use a newer tokenizer that produces about 30% more tokens for the same text, so compare models on the cost of a task, not only the price per token.

Other charges to plan for

Fast mode runs Claude Opus 5.5, Fable 5.2 and Mythos 5.2 up to 2.5 times faster at twice the standard price.

US-only inference adds 10% to every token price on Claude 4.6 and later models.

Web search costs $10 per 1,000 searches plus the tokens it reads. Web fetch costs only the tokens.

Tools add a few hundred system-prompt tokens to each request that uses them.

See what Claude costs each of your customers

Lancelot prices every call with this table and puts each customer's AI cost next to what they pay you. When a customer goes underwater, it throttles, switches models or drafts an upgrade offer, within limits you set.

Claude API pricing questions

How much does the Claude API cost?

You pay per million tokens, with separate rates for input and output, and output costs five times as much as input on every current model. Claude Haiku 5.5 is the cheapest model and the Fable and Mythos models are the most expensive. The table on this page lists every model.

How much does Claude prompt caching save?

Cache reads cost a tenth of the input price on most models, a twentieth on Opus 5.5 and Sonnet 5.5, and a fortieth on Fable 5.1 and 5.2. Writes cost 1.25 times the input price for 5 minutes or 2 times for an hour, so a cache pays off after one or two reads.

Does the Batch API make Claude cheaper?

Yes. The Message Batches API charges half the standard price for input and output tokens on every model. It stacks with prompt caching, but fast mode isn't available in batches. Use it for work that doesn't need an answer right away.

Do long prompts cost more on Claude?

Not on Claude 4.6 and later models, which bill the whole 1M-token context window at the standard rate. Claude Haiku 5.5 is the exception: a request with more than 100,000 prompt tokens pays five times its base rates.

Where do these prices come from?

From Anthropic's own pricing page, checked on November 30, 2026. Lancelot prices every AI call it tracks with the same price table that fills this page.

How do I see what Claude costs per customer?

Wrap your Anthropic client with the Lancelot SDK and pass a customer ID. Lancelot prices the tokens of every call and shows each customer's AI cost next to what they pay you in Stripe or RevenueCat. When a customer loses money, it can throttle them, switch models or draft an upgrade offer.