A Claude API budget needs the deployed identifier, input-length band, cache operations, output and service mode. A Claude subscription and a partner-cloud agreement are separate billing contracts. This guide uses first-party USD list rates and explicit hypothetical usage; it does not claim that the cheapest token rate produces the cheapest accepted result.
The current first-party token rates
The table separates ordinary input, cache creation and cache reads. Haiku's first row applies only within its lower input band. The later examples show why selecting a model from that headline rate alone can misprice a longer request.
| Model | Input | 5m write | 1h write | Read | Output |
|---|---|---|---|---|---|
| Haiku 5.5, lower input band | $0.10 | $0.125 | $0.20 | $0.01 | $0.50 |
| Haiku 5.5, above 100,000 input tokens | $0.50 | $0.625 | $1.00 | $0.05 | $2.50 |
| Sonnet 5.5 | $2.00 | $2.50 | $4.00 | $0.10 | $10.00 |
| Opus 5.5 | $4.00 | $5.00 | $8.00 | $0.20 | $20.00 |
| Fable 5.1 | $10.00 | $12.50 | $20.00 | $0.25 | $50.00 |
Read the full provider reference for older active and legacy models. A newer release does not retire every prior snapshot. Use the lifecycle reference to distinguish a scheduled shutdown from an active legacy designation.
Calculate the full prompt length before selecting Haiku's band
The higher band applies to the whole request when total input exceeds the threshold, including cache reads and writes. It does not apply only to the tokens after the threshold. An aggregate of many small requests must not be priced as one long prompt.
A hypothetical Haiku 5.5 request with 100,000 ordinary input and 1,000 output tokens costs $0.0105. At 100,001 input and the same output, the subtotal is $0.0525005. These values come from the shared billing engine. They demonstrate a tier boundary rather than a measured workload or guaranteed invoice.
Reconcile cache usage without charging the same input twice
For a complete input total, combine ordinary input with cache reads and cache creation categories. If a provider response already reports those separately, normalize them before passing a total and its disjoint partitions to the calculator. Keep five-minute and one-hour writes separate when both occur. Output and any additional service charges remain additional categories.
For Sonnet 5.5, suppose a request has 10,000 total input tokens: an 8,000-token five-minute cache write and 2,000 ordinary input tokens, followed by 1,000 output tokens. Its subtotal is $0.034. A later request with the same total, an 8,000-token cache hit and the same output costs $0.0148. This assumes the hit actually occurs; it is not a prediction of a cache-hit rate.
The current caching guide supports automatic top-level cache control as well as explicit block breakpoints. Its minimum prefix length depends on the exact model. A marked prompt below that minimum can return without caching rather than producing an error. Inspect cache_creation_input_tokens and cache_read_input_tokens, not merely the presence of cache_control in your request.
Batch work must preserve partial results
The Message Batches guide documents discounted asynchronous requests with a 24-hour processing boundary. Results distinguish succeeded, errored, canceled and expired requests. Store the per-request identity and outcome; retrying a whole job can repeat work that already succeeded.
Cache reads can combine with batch pricing under the documented contract, but asynchronous execution and expiry make hits best effort. Do not multiply a full-request discount by an assumed perfect cache-hit rate. Batch also rejects streaming and synchronous fast-mode controls. The extended-output beta is a separate opt-in contract with deployment restrictions, not a universal increase in ordinary output capacity.
Separate deployment surcharges from list rates
First-party USD rates are not automatically the invoice terms for Bedrock, Google Cloud or a negotiated marketplace agreement. Check the selected platform, region and data-residency mode. Anthropic's pricing documentation describes a US-only inference multiplier for eligible Claude deployments; apply an explicitly supported modifier to the appropriate categories, rather than adding it indiscriminately to every fee.
Server tools, execution, storage and other features can add charges outside a token quote. A context limit, a cache minimum and a price threshold are different constraints. Keep unknown fees visible, and retain the source date when exporting an estimate.
Choose a model by accepted work
Compare a fixed task set with acceptance criteria, the same tools and an explicit budget. Include invalid requests, refusals, truncated outputs, repair attempts and reviewer time. A routing policy that sends narrow tasks to a cheaper model is a hypothesis to test; a family name does not prove that the model can meet a specific requirement.
Tokenizer and reasoning changes can alter billed usage even when input text looks unchanged. Count the representative request on the actual deployment and record output usage, rather than applying a universal percentage adjustment. Preserve earlier validated routes while evaluating the newer Sonnet or another candidate. Labs can organize supplied outputs and local ratings; it does not turn them into an independently reproduced Claude benchmark.