Enter opens the highlighted result. Esc closes.

Claude API pricing

As of October 21, 2026, Anthropic's Claude API prices run from $0.50 to $75.00 per million output tokens across 15 models, as listed on OpenRouter. Claude Haiku 5.5 is the cheapest paid model at $0.10 input and $0.50 output per million tokens, and Claude Opus 4.1 the most expensive at $15.00 input and $75.00 output.

Claude Opus 5.5 ranks first among Anthropic models in our Vibe Coding Index, at 88.8 on 5 benchmarks. 14 of 15 Anthropic models have any benchmark score. Cost per solved task is known for 10 of 15 models.

All 15 Anthropic models, newest first

Estimate a monthly bill
All 15 Anthropic models, newest first
Model Input $/Mtok Output $/Mtok Context Evidence Index Cost per solved task
Claude Haiku 5.5 $0.10 $0.50 1M 70.7 No run cost
Claude Sonnet 5.5 $2.00 $10.00 1M 87.3 No run cost
Claude Opus 5.5 $4.00 $20.00 1M 88.8 No run cost
Claude Fable 5.1 $10.00 $50.00 1M 84.2 No run cost
Claude Opus 5 $5.00 $25.00 1M 83.0 $1.33
Claude Sonnet 5 $2.00 $10.00 1M 57.7 $1.87
Claude Fable 5 $10.00 $50.00 1M 79.3 $2.16
Claude Opus 4.8 $5.00 $25.00 1M 65.0 $2.17
Claude Opus 4.7 $5.00 $25.00 1M 67.5 $2.95
Claude Sonnet 4.6 $3.00 $15.00 1M 57.3 $1.68
Claude Opus 4.6 $5.00 $25.00 1M 57.2 $1.56
Claude Opus 4.5 $5.00 $25.00 200K 44.0 $1.37
Claude Haiku 4.5 $1.00 $5.00 200K 35.6 $0.56
Claude Sonnet 4.5 $3.00 $15.00 1M 39.5 $1.16
Claude Opus 4.1 $15.00 $75.00 200K Not enough data No run cost

Retired Anthropic models

Retired Anthropic models
Model Released Retired Last input $/Mtok Last output $/Mtok
Claude Opus 4 May 22, 2025 June 15, 2026 $15.00 $75.00
Claude 3.7 Sonnet February 24, 2025 February 19, 2026 $3.00 $15.00
Claude 3.5 Haiku October 22, 2024 February 19, 2026 $0.80 $4.00
Claude 3.5 Sonnet June 20, 2024 October 28, 2025 $3.00 $15.00
Claude 3 Haiku March 13, 2024 April 20, 2026 $0.25 $1.25
Claude 3 Opus March 4, 2024 January 5, 2026 $15.00 $75.00
Claude 3 Sonnet March 4, 2024 July 21, 2025 $3.00 $15.00
Claude 2 July 11, 2023 July 21, 2025 $8.00 $24.00

Which Claude model to pay for

Anthropic sells four current Claude models through the API, and the price gap between them is 100x on input. On October 21, 2026, Anthropic listed Claude Haiku 5.5 at $0.10 input and $0.50 output per million tokens, Claude Sonnet 5.5 at $2 and $10, Claude Opus 5.5 at $4 and $20, and Claude Fable 5.1 at $10 and $50.

Claude Haiku 5.5 is the only current Claude model with a long-prompt price: prompts over 100,000 tokens cost $0.50 input and $2.50 output per million. Claude Sonnet 5.5, Opus 5.5 and Fable 5.1 charge the same rate across their full 1 million token context window.

Claude models from version 4.7 on use a new tokenizer that produces about 30% more tokens for the same text, according to Anthropic. A per-token price that looks equal to an older Claude model therefore costs more for the same document.

Current Claude models, Anthropic list prices on October 21, 2026 (USD per 1M tokens)
ModelAPI model IDInputOutputContext
Claude Fable 5.1 claude-fable-5-1$10$501M
Claude Opus 5.5 claude-opus-5-5$4$201M
Claude Sonnet 5.5 claude-sonnet-5-5$2$101M
Claude Haiku 5.5 claude-haiku-5-5$0.10 (over 100K prompt: $0.50)$0.50 (over 100K: $2.50)1M

Claude prompt caching: up to 97.5% off repeated input

Claude prompt caching charges more once to store a prompt prefix and far less every time it is read again. A cache write costs 1.25x the input price for a 5 minute cache and 2x for a 1 hour cache. A cache read costs 0.1x the input price on most models, 0.05x on Claude Opus 5.5 and Sonnet 5.5, and 0.025x on Claude Fable 5.1.

Claude prompt caching pays off from the second read of the same prefix. The cache lifetime resets for free each time the prefix is used, and the minimum cacheable prompt is 512 tokens on the current models.

Claude prompt caching prices on October 21, 2026 (USD per 1M tokens)
ModelBase input5 min write1 h writeCache read
Claude Fable 5.1 $10$12.50$20$0.25
Claude Opus 5.5 $4$5$8$0.20
Claude Sonnet 5.5 $2$2.50$4$0.10
Claude Haiku 5.5 (prompt up to 100K) $0.10$0.125$0.20$0.01

Claude Batch API: 50% off input and output

The Claude Message Batches API halves both input and output prices, so Claude Sonnet 5.5 costs $1 input and $5 output per million tokens in a batch. Anthropic says most batches finish in under an hour, and a batch expires after 24 hours.

One Claude batch holds up to 100,000 requests or 256 MB, and results stay available for 29 days. Batch discounts stack with prompt caching. Fast mode is not available in batches.

Fast mode, US-only inference and tool fees

Claude fast mode on Opus 5.5 costs twice the standard rate: $8 input and $40 output per million tokens. Running inference only in the US (inference_geo set to "us") adds 10% to every token category on Claude models from 4.6 on; the default global routing has no surcharge.

Claude tools add their own fees on top of tokens. Web search costs $10 per 1,000 searches, web fetch is free apart from tokens, and code execution is free with web search or web fetch, otherwise 1,550 free container hours a month per organization and then $0.05 per hour.

Claude subscription or API: which is cheaper?

A Claude subscription and the Claude API are billed separately: Anthropic states that a paid Claude plan "enhances your chat experience, and the Claude API is billed separately". Claude Pro costs $20 a month ($17 a month billed yearly), Claude Max costs $100 or $200 a month, and Team starts at $25 per seat a month.

Claude Code is included in Claude Pro and Max, and usage is shared with Claude on the web, desktop and mobile within a 5 hour window plus a weekly limit. Setting an ANTHROPIC_API_KEY switches Claude Code to API billing at the rates above. Max and Team plans also include monthly Claude API credits, which cannot be spent in Claude Code or the Claude apps.

For a rough break even, $20 buys 2 million Claude Sonnet 5.5 output tokens on the API. A developer who stays within Claude Pro limits every week gets more work per dollar from the subscription; an application serving other people needs the API, because a subscription cannot be called from your own product.

Claude plans on October 21, 2026 (USD, US prices)
PlanPriceClaude CodeAPI credits
Free $0NoNo
Pro $20 a month, or $17 a month billed yearlyYesNo
Max 5x $100 a monthYesMonthly credits
Max 20x $200 a monthYesMonthly credits
Team Standard $25 per seat a month, or $20 billed yearlyNot listedNot listed
Team Premium $125 per seat a month, or $100 billed yearlyYesUp to $500 a month, shared

Is the Claude API free?

The Claude API has no free tier on Anthropic's pricing pages, checked on October 21, 2026: every token is paid from the Console account. The free Claude plan covers the chat apps only and does not include API access or Claude Code.

How to start with the Claude API

A Claude API key is created in the Claude Console under Settings, API keys (platform.claude.com/settings/keys). The key starts with sk-ant- and is shown once.

Claude API rate limits grow with spend tiers. The Start tier caps spend at $500 a month with 1,000 requests per minute on the 5.5 models, Build allows $1,000 a month and 5,000 requests per minute, and Scale allows $200,000 a month and 10,000 requests per minute. Anthropic moves accounts up automatically based on usage history, and cache reads do not count toward the input token limit.

Claude API price changes in 2026

  • June 30, 2026: Claude Sonnet 5 launched at $2 input and $10 output; on August 10 Anthropic kept that price instead of the announced rise to $3 and $15.
  • September 1, 2026: Claude Fable 5.1 cut the cache read price from $1 to $0.25 per million tokens.
  • September 22, 2026: Claude Opus 5.5 launched at $4 and $20, 20% below Claude Opus 5 at $5 and $25.
  • October 7, 2026: Claude Haiku 5.5 launched at $0.10 and $0.50, 90% below Claude Haiku 4.5 at $1 and $5.

Retiring Claude models

Anthropic retires older Claude models on published dates. Claude Sonnet 4.5 (claude-sonnet-4-5-20250929) is deprecated and retires on November 30, 2026, with Claude Sonnet 5.5 as the named replacement. Claude Opus 4.1, Opus 4, Sonnet 4, Haiku 3, Haiku 3.5 and Sonnet 3.7 were retired between February and August 2026.

Sources

Price changes

No change in a maker's own API price recorded yet. We read prices daily from OpenRouter (since October 15, 2026) and list a change only when the maker's own price moves between two of our snapshots.

Anthropic API pricing questions

How much does the Claude API cost?
Anthropic's Claude API charges per token, with input and output priced separately. On October 21, 2026, Claude Haiku 5.5 cost $0.10 input and $0.50 output per million tokens and Claude Opus 4.1 cost $15.00 input and $75.00 output, as listed on OpenRouter.
Which Claude model is best for coding?
Claude Opus 5.5 ranks first among Anthropic models in our Vibe Coding Index, at 88.8 on 5 benchmarks. The index combines public coding benchmarks. We do not run our own.
What does a working Claude answer cost?
Claude Haiku 4.5 costs $0.56 per solved SWE-bench task, the lowest known for Anthropic. Cost per solved task is known for 10 of 15 models.
Has Anthropic changed its API prices?
We have no recorded change. Price tracking started on October 15, 2026, and a change appears on this page the day a snapshot shows one.
Is this the price of the Claude subscription?
No. These are API prices, billed per token. Consumer and team subscriptions are billed per seat and are not in our data.
Is the Claude API cheaper than the ChatGPT API?
It depends on the tier. On October 21, 2026, Claude Sonnet 5.5 and OpenAI GPT-6 Sol both cost $2 input and $10 output per million tokens, Claude Haiku 5.5 and GPT-6 Luna both cost $0.10 and $0.50, and Claude Opus 5.5 at $4 and $20 costs less than GPT-6 Astra at $10 and $50.
Why is the Claude API expensive?
Output tokens drive most Claude bills: they cost 5x the input price on every current Claude model. Prompt caching (cache reads from $0.01 per million tokens) and the Batch API (50% off) are the two levers Anthropic offers to cut it.