Shipping an AI app or agent? Security review in 1 working day: $149 / ₹13,900. Request a review →
AI Review Ready
Home / Claude API pricing
AI pricing · checked 29 Nov 2026

Claude API pricing per million tokens

Every Claude model's input, output and cache prices, plus Batch, fast mode, tools and data residency, from Anthropic's official pricing page.

Prices checked on 29 Nov 2026 on the official pages: Claude API docs: Pricing. Prices change; the official page always wins. All prices in US dollars, before tax.

Price per model

ModelInputCache write (5 min)Cache write (1 hour)Cache hitOutput
Claude Fable 5.2$8$10$16$0.2$40
Claude Fable 5.1$10$12.50$20$0.25$50
Claude Fable 5$10$12.50$20$1$50
Claude Opus 5.5$4$5$8$0.2$20
Claude Opus 5$5$6.25$10$0.5$25
Claude Opus 4.8$5$6.25$10$0.5$25
Claude Opus 4.7$5$6.25$10$0.5$25
Claude Opus 4.6$5$6.25$10$0.5$25
Claude Opus 4.5$5$6.25$10$0.5$25
Claude Sonnet 5.5$2$2.50$4$0.1$10
Claude Sonnet 5
The $2/$10 launch price is now the standard price; the planned rise to $3/$15 will not happen.
$2$2.50$4$0.2$10
Claude Sonnet 4.6$3$3.75$6$0.3$15
Claude Sonnet 4.5$3$3.75$6$0.3$15
Claude Haiku 5.5 (prompts up to 100,000 tokens)$0.1$0.125$0.2$0.01$0.5
Claude Haiku 5.5 (prompts over 100,000 tokens)$0.5$0.625$1$0.05$2.50
Claude Haiku 4.5$1$1.25$2$0.1$5

US dollars per million tokens (MTok), Claude API (first party), standard global routing.

Claude Mythos 5.2, 5.1 and 5 cost the same as Claude Fable of the same version, but are available only to organizations verified through Anthropic's programs. Claude Opus 4.1, Opus 4 and Sonnet 4 are retired on the Claude API (still available on some cloud platforms).

Prompt caching

Writing a prompt prefix to the cache costs 1.25× the input price for a 5-minute cache and 2× for a 1-hour cache. Reading it back costs 0.1× on most models, 0.05× on Claude Opus 5.5 and Sonnet 5.5, and 0.025× on Claude Fable / Mythos 5.2 and 5.1. A 5-minute cache pays for itself after one cache read; a 1-hour cache after two.

Batch API: 50% off

Asynchronous batch requests cost half the normal price for both input and output, for example Claude Opus 5.5 at $2 / $10 and Claude Sonnet 5.5 at $1 / $5 per million tokens. Batch and caching discounts can be combined.

Fast mode

ModelInputOutput
Claude Fable 5.2 / Mythos 5.2$16$80
Claude Opus 5.5$8$40
Claude Opus 5 / Opus 4.8$10$50

Fast mode gives up to 2.5× higher output speed at these prices per million tokens. It is in research preview on Opus 5, deprecated on Opus 4.8, and not available with the Batch API.

Long prompts

Claude 4.6 and later models (except Haiku 5.5) bill the full 1M-token context window at the standard rate: a 900,000-token request costs the same per token as a 9,000-token one. Claude Haiku 5.5 is priced by prompt length: over 100,000 input tokens (cache reads and writes included) the whole request pays the higher row in the table.

Other charges

  • Web search: $10 per 1,000 searches plus the tokens of the results. Web fetch has no extra charge beyond tokens.
  • Code execution: free when used with web search or web fetch; otherwise 1,550 free hours per organization per month, then $0.05 per hour per container (5-minute minimum).
  • US-only inference (inference_geo: "us") on Claude 4.6 and later: 1.1× on all token prices.
  • Claude Managed Agents: token prices above plus $0.08 per session-hour of running time.
  • Tool use: tool definitions and a tool-use system prompt add input tokens (a few hundred per request, depending on the model).

Tokens are not words

Claude 4.7 and later models use a newer tokenizer that produces about 30% more tokens for the same text than earlier models. Estimate a prompt with the token counter, or count it exactly with the free count_tokens endpoint.

Amazon Bedrock and Google Cloud

On Claude in Amazon Bedrock and Claude Models on Google Cloud (Google managed), the cloud provider sets and invoices the price; for Claude 4.5 and later models, regional endpoints there cost 10% more than global ones. Claude Platform on AWS and Claude in Microsoft Foundry bill the standard Claude API prices through the cloud marketplace.

Questions

How much does the Claude API cost?

It is billed per token. On 29 Nov 2026 the official prices per million input / output tokens were: Claude Opus 5.5 $4 / $20, Claude Sonnet 5.5 $2 / $10, Claude Haiku 5.5 $0.10 / $0.50 (prompts up to 100,000 tokens), Claude Fable 5.2 $8 / $40.

Is there a free tier for the Claude API?

Anthropic's pricing page says new users receive free credits to test the API. After that, usage is billed monthly in US dollars.

How much does the Batch API save?

The Batch API gives a 50 percent discount on both input and output tokens, and it can be combined with prompt caching.

Related: Claude Code pricing · Claude API pricing · OpenAI API pricing · token counter + cost calculator · Ollama models · is Claude down? · is ChatGPT down?

Sources