Prompt caching calculator
Enter a stable prompt prefix, the number of calls and an assumed cache hit rate. The calculator compares the standard input price with the cached-input price each model publishes. If a model has no published cache price, it is shown as “Not collected” instead of inventing a discount.
Prices verified 2026-12-02. Cache-write pricing is not published in this catalog, so this is a steady-state estimate, not a break-even calculation.
Without cache
$320.00
With cache
$320.00
Monthly saving
$0
Break-even hit rate
0% (any reuse)
At 4,000 prompt tokens, 10,000 calls per month and a 0% cache hit rate, GPT-6.2 Astra Pro costs $320.00 instead of $320.00, saving $0 per month. The published cached-input price is used; cache-write pricing is not published in this catalog.
Break-even here means the hit rate at which the cached total stops being more expensive than the standard input price. With no published cache-write price, the true break-even is higher and unknown; 27 of 30 models publish a cached-input price.
Top 10 models by monthly saving
Same prompt size, call volume and hit rate for every row. Sorted by saving at the entered hit rate; models without a published cache price are excluded from this table.
| Model | Without cache | With cache | Saving |
|---|---|---|---|
| Claude Haiku 5.5 | $4.00 | $4.00 | $0 |
| Claude Opus 5.5 | $160.00 | $160.00 | $0 |
| Claude Sonnet 5.5 | $80.00 | $80.00 | $0 |
| Command A+ | $12.00 | $12.00 | $0 |
| DeepSeek V4 Pro 0423 | $33.40 | $33.40 | $0 |
| DeepSeek V4 Pro 0813 | $4.44 | $4.44 | $0 |
| DeepSeek V4.1 Flash | $2.04 | $2.04 | $0 |
| Devstral 2 2512 | $16.00 | $16.00 | $0 |
| Gemini 4 Carbon | $160.00 | $160.00 | $0 |
| Gemini 4 Hydrogen | $60.00 | $60.00 | $0 |
Cache savings require the same prefix on every call. Billing rules differ by provider: some charge a one-off write premium, some expire the cache after minutes. This calculator only applies the published cached-input price, so treat the result as an upper bound for a perfectly reused prefix.
Prompt caching: questions
+What is the break-even hit rate?
The hit rate at which the cached total equals the standard input cost. Cache-write premiums and cache expiry are not published here, so the real break-even is higher.
+Does caching change output cost?
No. The discount applies to the repeated prompt tokens only; output tokens are billed at the model's standard output price.
+How many models publish a cached-input price?
27 of 30 records publish one. The rest are excluded from the savings table rather than given an assumed discount.
+Why is the saving an upper bound?
It assumes the same prefix on every call and a steady hit rate. Providers that charge a write premium or expire the cache after minutes reduce the real saving.
+What happens at a 0% hit rate?
The cached and standard totals are identical, so the monthly saving is $0. The table still ranks the same models by their uncached cost.
+What is the common mistake when estimating cache savings?
Applying the discount to output tokens or assuming a 100% hit rate. Only input tokens can hit the cache, and a 60% hit rate is already optimistic for prompts that keep changing.
Cite this page
LLMCostBot. "Prompt caching calculator". Prices and limits verified 2026-12-02. https://llmcostbot.com/en/calculators/prompt-caching (CC BY 4.0).
Data is licensed under CC BY 4.0. Keep the link and the verification date when you reuse it.