β€”
reuses to break even
β€”saved at your reuse
β€”cost without cache
β€”cost with cache

Caching is a bet on reuse

A cached prefix only pays off if you hit it again before it expires. For a busy shared system prompt that is a certainty; for occasional calls it can cost more than not caching. This calculator shows exactly where your break-even sits. Compare with the plain prompt caching savings calculator and batch savings.

Host your project:DigitalOcean β€” $200 free β†—Hostinger VPS
PaymentsEmail & SMSMarket DataMapsSearch & Scraping