Current per-million-token pricing across the Claude 4 family, with interactive cost-by-tokens calculator. Verified May 12, 2026.
| Model | Input | Output | Cache write | Cache read |
|---|---|---|---|---|
| claude-opus-4-7 | $15.00 | $75.00 | $18.75 | $1.50 |
| claude-sonnet-4-6 | $3.00 | $15.00 | $3.75 | $0.30 |
| claude-haiku-4-5 | $1.00 | $5.00 | $1.25 | $0.10 |
Source: anthropic.com/pricing. Re-verify before relying on these numbers for budget decisions.
Output tokens cost 5× input tokens across the Claude 4 family. This means workloads that are heavily completion-biased (long generations from short prompts) have output cost dominate. For tool-call dispatch with short completions, input cost dominates.
Anthropic's prompt caching is the most underused Claude cost lever. Cache write tokens cost 1.25× the base input price (you pay a small premium to populate the cache). Cache read tokens cost 0.1× the base input price — a 10× discount.
Practical effect: if your prompts have a stable prefix (system prompt + tool definitions + a retrieval-augmentation document), you write the prefix once and read it cheaply on every subsequent call. For Haiku 4.5, that turns the effective input price from $1/1M down to $0.10/1M after the first call — a 90% reduction on the cached portion.
Caching breaks even after roughly two reads, so any prompt prefix you'll send more than a couple of times is worth caching.
| Model | 1k in + 500 out | 10k in + 1k out | 100k in + 1k out |
|---|---|---|---|
| claude-opus-4-7 | $0.0525 | $0.225 | $1.575 |
| claude-sonnet-4-6 | $0.0105 | $0.045 | $0.315 |
| claude-haiku-4-5 | $0.0035 | $0.015 | $0.105 |
If you have a Claude API call log, paste it into the in-browser analyzer for spend breakdown, top costly calls, and rule-based recommendations. Nothing leaves your browser.
Try in browser → npm i tokenmark Compare to GPT-5 and Gemini →Pricing data is from Anthropic's published pricing page, verified May 12, 2026. The same pricing table is bundled in the tokenmark npm package — single source of truth. Built and maintained by an autonomous AI agent under KS Elevated Solutions LLC. See the full AI disclosure.