Claude API pricing
Every Claude model's price per million tokens, the discounts Anthropic publishes, and what your workload costs a month.
Claude API prices, the rates of Anthropic’s API, run from $0.10 per million input tokens on Haiku 5.5 to $10 on Fable 5.1. Output costs five times the input on every current model. Batch requests cost half, and cached input costs 5% or less of the base rate on Fable 5.1, Opus 5.5 and Sonnet 5.5.
What your workload costs
Pick a workload, a monthly volume and a pricing option. Each row shows the monthly cost on that model.
Claude API prices per 1M tokens
Prices in US dollars per million tokens, from Anthropic’s pricing page. The first number is input, the second is output.
Claude Opus 5, Sonnet 5 and Haiku 4.5 are earlier models still listed on the page. Sonnet 5 kept its introductory price of $2 in and $10 out as its standard price; a planned rise to $3 and $15 did not happen.
How to choose the right Claude model
- Haiku 5.5 for high-volume, simple work: labeling, extraction, short replies. It is the cheapest Claude model by a factor of 20 against Sonnet 5.5.
- Sonnet 5.5 for most products: chat, writing, coding help. Half the price of Opus 5.5.
- Opus 5.5 for hard reasoning and long agent runs, where fewer retries pay for the higher rate.
- Fable 5.1 is the most expensive tier, at $10 input and $50 output per million tokens.
Output costs five times the input on every Claude model in the table, so the input output mix of your workload matters as much as the model. A summarizer that reads long documents and writes short answers is cheap per request; a chatbot that writes long replies is not.
How to reduce Claude API costs: batch and prompt caching
Batch. Requests sent through the Batch API are answered within a 24-hour window in exchange for a flat 50% discount on the standard input and output rates. Use it when real-time responses aren’t required, such as overnight labeling or evaluations. The discount stacks with prompt caching.
Prompt caching. Prompt caching stores a repeated part of the prompt, such as a long system prompt or a document, so later requests can read it instead of paying the full input rate. Cached reads cost 0.1 times the base input rate, 0.05 times on Opus 5.5 and Sonnet 5.5, and 0.025 times on Fable 5.1, so prompt caching can reduce the cost of repeated input by 90% or more. A cache write costs extra: 1.25 times the base input rate for a cache that lasts 5 minutes, 2 times for one hour. The calculator’s “Cache 70%” option serves 70% of the input from cache and leaves out the write cost.
Long context. Claude 4.6 and later models bill the full 1M-token context at standard rates. Haiku 5.5 is the exception: once a prompt passes 100,000 tokens, the whole request is billed at $0.50 per million input tokens.
How Claude API pricing compares to GPT, Gemini and DeepSeek
Per million tokens, Sonnet 5.5 costs the same as OpenAI’s gpt-6.1-sol: $2 input and $10 output against $2 and $10. Google’s gemini-3.1-pro-preview costs $2 and $12. DeepSeek V4.1 Flash, at $0.30 and $1.20 at peak, is cheaper than every Claude model except Haiku 5.5.
List prices are only half of the comparison. The other half is how many tokens each model needs for your task and how often it gets the answer right the first time, which is why the calculator above runs the same workload on every model.
Claude API vs subscription plans
Anthropic sells access to Claude two ways, and they’re billed separately. The API is pay per token at the rates on this page. The Claude apps are subscription plans for individuals and teams: Pro and Max for one person, Team and Enterprise plans priced per seat for organizations. A subscription does not include API usage, and API usage does not need a subscription.
Claude Code, Anthropic’s coding agent, can run either way. Signed in with a Pro or Max plan, it uses the plan’s limits. With an API key, every one of the Claude Code sessions is billed per token at the rates above, so running Claude Code on long agent tasks is where API costs add up fastest; prompt caching keeps the repeated context cheap. For engineering teams building products on top of Claude, the API is the route: the plans cover people using the apps, not software calling the model.
$0.30Claude API costs: FAQ
How much does the Claude API cost?
From $0.10 to $10 per million input tokens and $0.50 to $50 per million output tokens, depending on the model. You pay only for the input and output tokens you send and receive.
Does a Claude API key cost money?
Creating a key costs nothing. Every request is billed per token at the rates above.
Is the Claude API included in Claude Pro or Max?
No. The Claude app plans and the API are billed separately: a Pro or Max subscription does not include API usage, and API usage does not need a subscription.
How much does Claude Opus cost per token?
Opus 5.5 costs $4 per million input tokens and $20 per million output tokens, or $2 and $10 through the Batch API. Cached input costs $0.20.
Which AI API is cheapest?
It depends on the model you need. Among the model makers we track, the cheapest model is OpenAI’s gpt-5-nano at $0.05 per million input tokens; Claude’s cheapest is Haiku 5.5 at $0.10. Compare all providers
Why is the Claude API so expensive?
Larger models need more computing per token. The spread inside Claude shows it: Fable 5.1 costs 100 times as much per token as Haiku 5.5. Most of a bill can be cut by choosing the smallest model that does the job, caching repeated prompts and batching work that can wait.
Sources
- Anthropic, Claude API pricing (platform.claude.com documentation), checked 2026-11-04
- Anthropic, Claude models overview, for context windows, checked 2026-11-04
Spotted a wrong price? Write to support@gptx.io and we will check it.
Next up3 minAI API pricing compared5Claude next to OpenAI, Gemini, DeepSeek and Grok, on the same workload.