whyai.space
← All guides

Claude API pricing per token is simple once you see the table, and confusing until then. Anthropic charges for every token the model reads and every token it writes, with different rates for each model, discounts for cached prompts and batch jobs, and a surcharge for US-only routing. This guide lays out the exact per-token prices from Anthropic’s own pricing documentation, read on 9 November 2026, with worked examples so you can estimate a real bill before you write any code.

Claude API pricing per token diagram showing a server rack, code brackets, a price tag and token coins

How Claude API Pricing Per Token Works

The Claude API is billed on usage, not a monthly subscription. Every request has two metered parts: input tokens, everything you send the model, and output tokens, everything it writes back. Output tokens cost more than input tokens on every model, because generating text is the expensive half of the job.

Prices are quoted per million tokens, written as MTok, and a useful rule of thumb is that 1,000 tokens is roughly 750 English words. So a 3,000-word article is about 4,000 tokens, and a million input tokens is roughly a 750,000-word book.

Claude API pricing per token is separate from the Claude chat app: the app’s Free and Pro plans do not cover API use, and API use does not count against a chat subscription. If you only use the chat app, the consumer plans are the ones that matter — our guide to the Claude free plan limits covers those, and whether Claude is free to use answers the common version of the question.

The Claude API Price Table: Every Model Per Token

These are the standard Claude API pricing per token rates from Anthropic’s API pricing documentation, in US dollars per million tokens. Check that page before you budget, because Anthropic updates it when models change.

ModelInput per MTokOutput per MTokBest for
Claude Haiku 5.5$0.10 (prompts up to 100,000 tokens)$0.50High-volume, latency-sensitive work
Claude Haiku 5.5 (long prompts)$0.50 (prompts over 100,000 tokens)$2.50Long-context classification and extraction
Claude Sonnet 5.5$2$10The balance of speed and intelligence
Claude Opus 5.5$4$20Long-running agentic coding and knowledge work
Claude Opus 5$5$25Demanding reasoning and agents
Claude Fable 5.1$10$50Demanding reasoning, long-horizon agents
Claude Mythos 5.1$10$50Frontier reasoning work

Two details in the table deserve attention. First, Haiku 5.5 is the only model priced by prompt length: a request whose prompt runs over 100,000 tokens pays the higher rates on that request, while shorter prompts pay the lower ones. Second, older models stay listed at their own rates — Opus 4.1 and Opus 4 sit at $15 in and $75 out per million tokens, which is why most builders moved to the 5.5 family. Claude’s consumer pricing page lists the chat plans separately; do not mix the two tables up when budgeting.

Claude API pricing per token tiers diagram showing three model tiers as ascending bars with stacks of coins

Prompt Caching: Pay Once, Reuse Cheaply

Prompt caching is the single biggest saving for most API users, and it works because most real requests repeat the same big system prompt or document. Instead of paying full input price for that repeated text on every call, you pay a small write fee once and a tiny read fee afterwards. The multipliers are fixed: a 5-minute cache write costs 1.25 times the base input price, a 1-hour cache write costs 2 times, and a cache read costs 0.1 times the base input price. Two model families read even cheaper: Fable 5.1 and Mythos 5.1 read at 0.025 times, and Opus 5.5 and Sonnet 5.5 read at 0.05 times.

A concrete example shows how Claude API pricing per token works with caching: on Sonnet 5.5, a million-token system prompt costs $2 uncached every time. Cached for an hour, the write costs $4 once and each later read costs $0.10 — so after the second reuse you are already ahead, and after twenty reuses the prompt has cost you about $6 instead of $40. The prompt caching documentation explains how to set the cache control flag; the pricing page is the source for the multipliers above.

Batch API: Half Price for Work That Can Wait

Under Claude API pricing per token, the Batch API gives a flat 50 percent discount on both input and output tokens for requests that can run asynchronously. Sonnet 5.5 drops to $1 in and $5 out per million tokens, Opus 5.5 to $2 and $10, and Haiku 5.5 to $0.05 and $0.25 for short prompts. The trade-off is time: batch jobs run when capacity allows rather than immediately, so they suit nightly jobs, bulk classification, document processing and evaluation runs, not live chat. If your workload can wait hours, batch is the cheapest way to run Claude at scale, and it stacks with prompt caching.

How Token Counting Works in Practice

Under Claude API pricing per token, a token is a chunk of text — roughly three quarters of a word in English — and the API counts everything it processes. Your system prompt, your instructions, any documents you attach, the tool definitions you send, and the conversation history all count as input tokens on every request that includes them.

That is why a long system prompt is expensive even when the user’s question is short: a 10,000-token instruction block costs the input rate on every single call until you cache it. Output tokens are everything the model writes, including the reasoning it does before answering and any tool calls it makes, so a model that thinks out loud costs more than one that answers directly.

The practical consequences are straightforward. Keep system prompts short and cache the long ones. Send only the conversation history the model needs, not the whole thread. Define tools narrowly, because tool schemas are billed as input on every call that includes them. And remember that the model you choose sets both rates: the same 10,000-token prompt costs $0.001 on Haiku 5.5, $0.02 on Sonnet 5.5 and $0.04 on Opus 5.5 as input, which is why matching the model to the job matters more than any single discount.

One more counting rule worth knowing: when a request’s prompt crosses 100,000 tokens on Haiku 5.5, that request pays the higher Haiku rates on all of its tokens, not just the ones over the line — so a prompt of 101,000 tokens costs five times what a prompt of 99,000 tokens costs. Keep long Haiku jobs under the threshold or move them to Sonnet.

Worked Examples: What a Real Bill Looks Like

Three examples make the Claude API pricing per token table concrete. A support bot answering 10,000 questions a month on Sonnet 5.5, with 1,000 input tokens and 200 output tokens per question, uses 10 million input tokens ($20) and 2 million output tokens ($20), for a $40 month before caching. The same bot on Haiku 5.5 costs $1 in and $1 out: $2 a month, which is why Haiku is the default for high-volume classification.

A coding agent doing 100 deep sessions a month on Opus 5.5, with 100,000 input tokens and 10,000 output tokens per session, uses 10 million input tokens ($40) and 1 million output tokens ($20), for $60 a month — and caching the codebase context can cut the input side by an order of magnitude. A bulk job that summarises 50,000 documents on the Batch API with Sonnet 5.5, at 2,000 input tokens and 300 output tokens each, costs 100 million input tokens at $1 ($100) and 15 million output tokens at $5 ($75), for $175 total — half the $350 the same job would cost on the standard API.

A fourth example shows the caching effect at scale under Claude API pricing per token. A research team runs 5,000 document questions a month on Sonnet 5.5, each with the same 50,000-token reference document in the prompt and 500 output tokens per answer. Uncached, that is 250 million input tokens at $2 per million — $500 — plus 2.5 million output tokens at $10 — $25 — for $525 a month.

With the document cached for an hour, each hourly write of the 50,000-token document costs about $0.20 and each read costs $0.10 per million tokens, so the input side falls to about $25 in reads plus a few dollars of writes across the month: roughly $55 a month all in. Caching turns a $525 bill into a $55 bill for the same answers, which is why the pricing page puts caching first among its discounts.

Seven Ways to Cut Your Claude API Bill

First, pick the smallest model that does the job — Claude API pricing per token makes Haiku 5.5 the cheapest option for classification, extraction and routing at a twentieth of Sonnet’s price, and most prompts do not need the flagship. Second, cache anything repeated — system prompts, instructions, reference documents — because cache reads cost a tenth of full input. Third, send batch jobs through the Batch API for the automatic 50 percent discount.

Fourth, keep prompts short: every word in the prompt is billed, so a tight instruction beats a rambling one. Fifth, cap output with max tokens so a runaway response cannot surprise you. Sixth, watch the Haiku 5.5 threshold: keep prompts under 100,000 tokens or the price jumps fivefold on that request. Seventh, skip US-only routing unless you need it — the inference geography option adds a 1.1 times multiplier on all token prices for Claude 4.6 and later models. One more structural point: Claude 4.6 and later models include the full 1-million-token context window at standard pricing, so long documents do not carry a premium the way they once did.

Claude API pricing per token caching diagram showing a layered cache box feeding repeated prompts into a model with arrows showing reuse

API Pricing vs Chat App Plans: Do Not Mix Them Up

The most common budgeting mistake is mixing the two products, and Claude API pricing per token is where the confusion starts. The chat app sells monthly plans — Free at $0 and Pro at $20 a month — with usage limits counted in messages and sessions. The API sells tokens, with no monthly plan and no free tier like the app’s Free plan; you pay for what you use, down to the token. A heavy chat user pays $20 a month flat. A heavy API user pays per million tokens, which can be $2 a month or $2,000 depending on volume.

If you are building a product, budget in tokens. If you are chatting, budget in plans. Our guide to using Claude AI for free covers the chat side in detail.

Cloud and Fast Mode: The Two Extras Worth Knowing

Two more Claude API pricing per token shapes appear once you scale. On cloud platforms, Claude bills through Claude Consumption Units: Anthropic rates your token usage in dollars at the standard per-model rates, converts the result to CCUs at $0.01 per CCU, and the cloud marketplace invoices that single line hourly. Fast mode, for Opus 5.5, Opus 5 and Opus 4.8, trades money for speed: Opus 5.5 runs $8 in and $40 out per million tokens in fast mode, and Opus 5 and 4.8 run $10 and $50. Fast mode is not available with the Batch API, and caching and residency multipliers stack on top of it.

Pros and Cons of Claude API Pricing

The strengths of Claude API pricing per token are transparency and control: every rate is published per token, caching and batch discounts are large and mechanical, and Haiku 5.5 makes high-volume work genuinely cheap. The weaknesses are the ones that bite beginners: output tokens cost five times input on most models, so a chatty model is an expensive model; long prompts on Haiku 5.5 jump in price past 100,000 tokens; and the bill is usage-based, so a bug that loops requests can spend real money before you notice it. Set billing alerts in the console on day one, and treat the per-token table as a living document — Anthropic revises it when models change.

Frequently Asked Questions About Claude API Pricing Per Token

How much does the Claude API cost per token?

Under Claude API pricing per token, it depends on the model. Sonnet 5.5 costs $2 per million input tokens and $10 per million output tokens. Opus 5.5 costs $4 and $20. Haiku 5.5 costs $0.10 and $0.50 for prompts up to 100,000 tokens, rising to $0.50 and $2.50 for longer prompts. Fable 5.1 and Mythos 5.1 cost $10 and $50.

Is there a free tier for the Claude API?

No. The API is billed on usage per token and has no $0 plan like the Claude chat app’s Free tier. The chat app and the API are separate products with separate billing — Free and Pro are chat plans, while API use is metered in tokens.

What is prompt caching and how much does it save?

Prompt caching stores repeated prompt text so later requests read it cheaply instead of paying full input price. A 5-minute cache write costs 1.25 times the base input price, a 1-hour write costs 2 times, and cache reads cost 0.1 times — 0.05 times on Opus 5.5 and Sonnet 5.5, 0.025 times on Fable 5.1 and Mythos 5.1. A prompt reused twenty times can cost a sixth of the uncached price.

How much does 1 million tokens cost on Claude?

Under Claude API pricing per token, one million input tokens cost $0.10 on Haiku 5.5, $2 on Sonnet 5.5, $4 on Opus 5.5 and $10 on Fable 5.1. One million output tokens cost $0.50, $10, $20 and $50 on the same models. The Batch API halves both figures.

Why is output more expensive than input?

Generating text costs more compute than reading it, so Anthropic prices output tokens higher on every model — typically five times the input rate. Keeping responses short and capping max tokens is the simplest way to control the expensive side of the bill.

The Takeaway

Claude API pricing per token comes down to three choices: the model, the caching and the timing. Haiku 5.5 for volume, Sonnet 5.5 for the everyday balance, Opus 5.5 for the hard jobs; cache every repeated prompt; batch anything that can wait for half price. Price your own workload with the worked examples above, set a billing alert before your first real request, and re-check Anthropic’s pricing documentation whenever a new model lands, because the table moves with the models.