Prompt Caching Savings Calculator (LLM API Costs)
prompt_caching_savings_calculatorPrompt Caching Savings Calculator (LLM API Costs) — Estimate how much prompt caching cuts your LLM API bill: monthly input tokens, cacheable share, and hit rate give per-model savings, cache writes included.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modelId | Yes | ||
| hitRatePct | Yes | ||
| cacheableSharePct | Yes | ||
| monthlyInputTokensM | Yes |