ANALYSISanthropic-claude
Claude API Pricing: Cache Repeated Prompts, Batch What Waits
Quick verdict
Decision first, evidence belowClaude API pricing: keep the model-tier decision separate; use Prompt Caching for context confirmed to be cacheable and repeatedly hit, and the Batch API for work that can wait 24 hours at 50% off. Combined billing is not verified.
At a glance
Hypothetical case: a team pastes its support manual into every system prompt and handles hundreds of ticket-Q&A calls a minute. Repeated input dominates the bill. Their search for ways to reduce Claude API cost comes down to an adequate tier, confirming whether repeated context is cacheable and actually hits, and batching for work that can wait.
On this page
ContextOn one ticket-Q&A pipeline, the bill grows on repeated input
The bill grows on the manual resent with every request, not on the new question at the end.
This is hypothetical, not a site test. A support team sends a large manual with each ticket call, hundreds of times a minute at peak. Traffic looked normal during the month; at month end the bill was higher, and the repeated manual caused it.
Three vendor facts bound the choice: cache writes cost 25% above base input and reads 10%; five-minute TTL refreshes on a hit, one hour writes at twice base input; batches finish in under 24 hours at 50% below standard calls. Cache rates share the base input price; the batch halves the standard call; how they combine is unverified. The figure gives the station order, not tested.
The model tier sets the standard-call price; caching and batching change different parts of the bill
The tier sets the standard-call price; cache rates change reused input, the batch rate changes deferrable calls. Keep the three decisions separate.
The vendor prices cache writes and reads as proportions of base input for any given model, and batches at 50% below standard calls. Neither source explains how they combine with tier billing. Current Opus, Sonnet and Haiku prices were not obtained, so no savings ranking is given.
Station claim, not independently tested: choose the smallest adequate tier alone; cache only input confirmed cacheable and hit; batch only work that can wait 24 hours. No discount replaces the tier decision, and combined billing is not assumed.
A read after a cache hit pays back the write inside the default window
Once a prefix is confirmed cacheable and hit, one more read within five minutes costs 1.25 for the write plus 0.1, below two full-price inputs.
Writes cost 125% of base input; later reads 10%. A hit restarts the clock; after a longer gap, rewriting pays the 25% premium.
Illustrative, once the prefix is confirmed cacheable and each later read hits: n requests cost n units uncached, or 1.25 for the write plus 0.1 for each later read cached. Two cost 1.35 versus 2; with one-hour TTL, two cost 2.1 and lose, three cost 2.2 and win.
Once hit, reads per window decide cost. Ten-minute workloads can rewrite or buy the one-hour TTL for three reads. Minimum cacheable tokens and full hit conditions are unverified; interval cannot prove a hit.
Work that can wait a day goes in as a batch at half the standard price
Batches finish in under 24 hours at 50% less than standard calls, so the discount stops where a user waits.
It fits overnight reports, offline labelling, backfill and bulk evaluation, not page replies, checkout or risk checks: those take seconds, a batch hours. The 50% covers the whole call, wider than a cache discount on reused input, at the cost of return time.
Station claim, not independently tested: split traffic by result deadline, batch what can wait, then assess caching for the online remainder.
ConclusionThe call turns on two business facts: read count and how long you can wait
Back to the title: cache context confirmed cacheable and repeatedly hit, batch work that can wait 24 hours, and treat tier, cache and batch as separate decisions; combined billing is unverified. Check tier adequacy, actual reuse and the deadline.
If contexts differ, or cacheability and hits are unconfirmed, the write premium may not return and repeated input alone is no reason to cache. If the business needs seconds, batching is out. If a block cannot get two reads in five minutes or three in an hour, the one-hour TTL does not pay; inspect the tier and request structure instead.
Station judgement, not tested: log tier adequacy, actual hits and result deadline before enabling a discount. Compare bill components for the same traffic before and after.
AIGenLab views
Not independently testedThe tier decision stands on its own; caching applies to repeated input, and batching applies to work that can wait.
The caching source states write and read rates as proportions of the base input price; the batch source states an under-24-hour window at 50% less than standard calls. Neither states how they combine with each other or with model-tier billing.
Two reads within the default five-minute TTL pay back the write; the one-hour TTL needs three reads.
An illustrative calculation from the vendor's 125% write, 10% read, and 2x one-hour-TTL write multipliers, not a billed test.
Batching belongs to non-real-time work whose results can wait 24 hours; online traffic should stay online and be evaluated for caching separately.
The vendor's under-24-hour batch window and 50% discount are enough to rule out requests that need an immediate answer.
Questions
How much more does a cache write cost?
How long does a cached block stay alive?
How much does the Batch API save, and how long does it take?
Can caching or batching replace a cheaper model tier?
Official sources and scope
- How prompt caching changes token costs Supports the 25% cache-write premium, the 10% cache-read rate, and both cache rates being tied to the base input price for any given model.
- Message Batches API discount and timing Supports batches being processed in under 24 hours at 50% less than standard API calls.
- Claude Cookbook: cache TTL and refresh Supports the default five-minute TTL, refresh on each hit, and the one-hour TTL at twice the base input price for writes.
Dates beside sources indicate when we consulted them, not when the vendor released the update. Procedures are editorial guidance, not independently tested.