Claude API: Opus 5.5 $4 / $20, Sonnet 5.5 $2 / $10, Haiku 5.5 $0.10 / $0.50, Fable 5.2 $8 / $40 per 1M input / output tokens.
The Batch API allows asynchronous processing of large volumes of requests with a 50 percent discount on both input and output tokens.
Claude API prices by model
| Model | Input | Output | Cache read | Batch in / out | Worked session estimate |
|---|---|---|---|---|---|
Claude Fable 5.2claude-fable-5-2Demanding reasoning and long-horizon agentic work | $8 | $40 | $0.20 | $4 / $20 | $0.91 |
Claude Opus 5.5claude-opus-5-5Long-running agentic coding | $4 | $20 | $0.20 | $2 / $10 | $0.55 |
Claude Sonnet 5.5claude-sonnet-5-5Speed and intelligence balance | $2 | $10 | $0.10 | $1 / $5 | $0.27 |
Claude Haiku 5.5claude-haiku-5-5Prompts up to 100K tokens; $0.50 / $2.50 above that | $0.10 | $0.50 | $0.01 | $0.05 / $0.25 | $0.02 |
USD per 1M tokens. The worked workload uses 1.2K input, 5.3K output, 940K cache-read and 50K cache-write tokens.
Compare Opus and Sonnet prompt caching costs for repeated repository context. See our OpenAI API pricing and Gemini API pricing guides for equivalent token-budget examples.
Model IDs shown are for the direct Claude API. Verify cloud-specific names in Anthropic’s model overview.
Starting with a prompt? Estimate its token count before entering your usage below.
Estimate your API cost
Enter cached tokens here and leave them out of uncached input.
Standard prices. Haiku 5.5 has a higher rate for prompts over 100K tokens. Excludes cache writes, taxes and other usage charges.
API or subscription?
Buying Claude Code for individual coding work? Compare subscription fees and API costs. See cache-write costs and the model table for eligible Batch jobs.
Questions
How much does the Claude API cost?
Per 1M tokens: Fable 5.2 $8 input / $40 output, Opus 5.5 $4 / $20, Sonnet 5.5 $2 / $10, Haiku 5.5 $0.10 / $0.50 (prompts up to 100K tokens). Cache reads cost a fraction of input and the Batch API halves input and output prices.
How does prompt caching change the cost?
Cache hits are billed at the cache-read rate (for Opus 5.5, $0.20 instead of $4 per 1M). Coding agents re-send most of their context, so most of their tokens are cache reads.
Is the Claude API included in Pro or Max?
Pro includes no API credits. Max ($100) includes $100 a month in API credits and Ultra ($200) $200. Beyond that, API usage is billed per token at the prices above.
Is the API cheaper than Claude Pro or Max?
It depends on volume. Use the calculator: at low volume the API is cheaper; above the break-even point a plan is cheaper if your usage fits its limits.
Sources
Prices were copied from these pages on Nov 27, 2026 and are re-checked automatically every hour. If a page changes, the row is flagged here and reviewed. How we check.