Updated · Methodology: named formula library
Prompt Caching Savings
Estimate cost savings from prompt caching (90% off cached input).
90 is 0.0% of 50,000,000.
Prompt Caching
Claude offers prompt caching at 10% of input cost on cache hits. With a stable system prompt cached, you can save 70–90% of input costs on repetitive work. Cache TTL: 5 min default, 1 hr extended.
Worked Example
90% of $50,000,000
- base
- 50000000
- rate
- 90
- Result
- $45,000,000
$50,000,000 × 90% = $45,000,000.
When to Use This Calculator
- Decide whether to enable caching
Limitations & Common Mistakes
- Results are estimates based on the inputs you provide.
- Always verify with current data and consult a professional for major decisions.
Frequently Asked Questions
How is the percentage computed?
(Discount Rate / Cached Tokens) × 100. The result tells you what fraction of the Cached Tokens the Discount Rate represents. For inverse questions ("what's X% of Y?"), swap the inputs accordingly.
What if my percentage is over 100%?
Means Discount Rate exceeds Cached Tokens. Common in growth calculations (sales doubled → 200%) or ratios where the "part" can legitimately exceed the "base." If unexpected, double-check your inputs.
Should I round the result?
For reporting: round to 1 decimal place (e.g., "23.4%"). For internal calculations: keep full precision. Conversion rates and engagement metrics conventionally show 2 decimals (e.g., "3.42% CTR").
What's a meaningful percentage in my context?
Depends on the metric. Conversion rate: 1–5% typical for SaaS landing pages. Engagement rate: 3–6% for mid-tier influencers. Tax rate: federal effective is 12–22% for most middle-class earners. Compare to industry benchmarks to interpret your number.
Related Calculators
More AI & Technology →Claude Opus 4.7 Cost Calculator
Estimate cost of Claude Opus 4.7 API calls from token volume.
Claude Sonnet 4.6 Cost Calculator
Estimate cost of Claude Sonnet 4.6 API calls from token volume.
GPT-5 API Cost Calculator
Estimate GPT-5 API cost from token volume.
Gemini 2 Pro Cost Calculator
Estimate Gemini 2 Pro API cost from token volume.
LLM Rate Limit Budget
Calculate sustainable request rate from your tokens-per-minute (TPM) limit.
Embedding Batch Cost
Estimate cost of embedding a document corpus.