Prompt caching savings calculator
If every request repeats the same instructions or documents, the provider can keep them ready and charge much less to read them again. See how much that saves.
Without caching
$1,020
Per month
With caching
$422.40
Per month
Caching saves you
$597.60
59% of your bill
With wholesale price too
$211.20
$808.80 less than now, every month
How Anthropic Claude prices caching
- Reading from the cache costs 5% of the normal input price.
- Writing to the cache costs 125% of the normal input price.
- The repeated part must be at least 512 tokens.
- A cache lasts about 5 minutes after it was last used.
- You mark which part of the request to cache.
AI agents re-send their whole conversation at every step, so caching helps them most: AI agent cost per task
Questions
What is prompt caching?
When the start of your request is the same as a recent one, the provider can reuse the work it already did on it. You pay a much lower price for those repeated tokens.
What should I put in the repeated part?
Put everything that stays the same at the start: instructions, examples, product catalogues or documents. Put the user's message and anything that changes at the end.
Why do some requests miss the cache?
Caches expire after a few minutes without use, and any change to the repeated part starts a new cache. Steady traffic keeps the cache warm; quiet periods let it expire.
Does caching work with wholesale tokens?
Yes. Caching lowers the number of full-price tokens you use, and wholesale tokens (50% off list price) make every token cheaper. The two savings add up.
More free tools
Estimates from each provider's official list price on aitoken.trading/models, updated every 5 minutes. Your real bill depends on how you use each model. AI Token is not affiliated with the AI providers named.