โ€”
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