1. Enter monthly requests
Use the expected number of model calls, including retries when they generate billable tokens.
2. Separate reusable and unique input
Place stable prefixes in reusable tokens and request-specific content in unique tokens.
3. Estimate cache hit rate
Use observed or expected matching after considering cache lifetime, routing, and prefix stability.
4. Add output and safety margin
Reserve for generated tokens and growth or variability in traffic and prompt length.
5. Review token flows
Compare cached and uncached volumes to understand the operational effect of caching.