Pricing research

Prompt Caching Economics: When It Saves Money and When It Does Not

Calculate when cached input pricing changes LLM economics and when it is only a small discount.

Pricing verified 2026-07-30

Prompt caching helps when a large portion of the input is repeated. Examples include system prompts, policy documents, tool instructions, schemas and shared product context. It helps less when every request is unique.

Low cacheability

Assumptions: 20,000 requests/month, 5,000 input tokens, 600 output tokens, 10% cacheable input, 10% retry overhead. Scenario tables calculate USD rows only to avoid unsourced currency conversion.

ModelMonthly estimateAnnualizedInput/output driver
OpenAI gpt-5$257.13$3085.50Input-heavy
OpenAI gpt-5-mini$51.42$617.10Input-heavy
OpenAI gpt-5-nano$10.29$123.42Input-heavy
OpenAI gpt-5.5$896.50$10758.00Input-heavy
Google gemini-2.5-flash$63.03$756.36Input-heavy
Google gemini-2.5-flash-lite$15.29$183.48Input-heavy
Google gemini-2.5-pro$257.13$3085.50Input-heavy
DeepSeek deepseek-v4-flash$17.86$214.37Input-heavy

High cacheability

Assumptions: 20,000 requests/month, 5,000 input tokens, 600 output tokens, 80% cacheable input, 10% retry overhead. Scenario tables calculate USD rows only to avoid unsourced currency conversion.

ModelMonthly estimateAnnualizedInput/output driver
OpenAI gpt-5$170.50$2046.00Input-heavy
OpenAI gpt-5-mini$34.10$409.20Input-heavy
OpenAI gpt-5-nano$6.82$81.84Input-heavy
OpenAI gpt-5.5$550.00$6600.00Input-heavy
Google gemini-2.5-flash$42.24$506.88Input-heavy
Google gemini-2.5-flash-lite$8.36$100.32Input-heavy
Google gemini-2.5-pro$170.50$2046.00Input-heavy
DeepSeek deepseek-v4-flash$9.24$110.88Input-heavy

Interpretation

Caching is strongest when input cost is high and repeated context is large. If output tokens dominate, response length and retry rate may matter more than cache discounts.

ProviderModelInput / 1MCached input / 1MOutput / 1MCurrencyLast verifiedSource
OpenAIgpt-5$1.25$0.125$10USD2026-07-30source
OpenAIgpt-5-mini$0.25$0.025$2USD2026-07-30source
OpenAIgpt-5-nano$0.05$0.005$0.4USD2026-07-30source
OpenAIgpt-5.5$5$0.5$30USD2026-07-30source
Googlegemini-2.5-flash$0.3$0.03$2.5USD2026-07-30source
Googlegemini-2.5-flash-lite$0.1$0.01$0.4USD2026-07-30source
Googlegemini-2.5-pro$1.25$0.125$10USD2026-07-30source
DeepSeekdeepseek-v4-flash$0.14$0.028$0.28USD2026-07-30source
Moonshot AIkimi-k3¥20¥2¥100CNY2026-07-30source
Moonshot AIkimi-k2.7-code¥6.5¥1.3¥27CNY2026-07-30source
Moonshot AIkimi-k2.6¥6.5¥1.1¥27CNY2026-07-30source

How to use this page in a real budget

This page is designed for independent developers, creator teams and small SaaS operators who need a quick but defensible estimate before committing to a model, workflow or monthly subscription. Start with the example table, then replace the assumptions with numbers from your own product: monthly active users, average requests per user, prompt length, expected output length, retry rate and the share of repeated context that may qualify for prompt caching.

The important habit is to estimate the completed task, not only the raw API call. A support chatbot may need one answer. A coding assistant may run several tool calls before it finishes. A RAG application may attach thousands of retrieved tokens before every response. A creator workflow may regenerate audio, music, images or video many times before one usable output is approved. When those loops are ignored, the advertised price per unit can look cheaper than the real production cost.

Common mistakes

Practical cost-reduction tips

Reduce repeated prompt text first. Long system prompts, hidden instructions and pasted policies can become a silent monthly cost when multiplied by thousands of calls. Move static material into cacheable context when the provider supports it. Use smaller models for classification, routing, extraction and draft generation, then reserve stronger models for final decisions or customer-visible answers. Measure cost per successful task instead of cost per request, because a cheap model that causes many retries can become expensive.

For Prompt Caching Economics: When It Saves Money and When It Does Not, the best estimate usually comes from a three-scenario forecast: conservative, expected and high-growth. The conservative scenario protects cash flow. The expected scenario helps pricing decisions. The high-growth scenario reveals whether the architecture will stay profitable if traffic arrives suddenly from search, social media or a product launch.

FAQ

Are the prices guaranteed?

No. Tokencost records source-backed public pricing and community-dataset checks, but providers can change prices, discounts and regional availability. Verify the linked source before signing a client quote or procurement plan.

Why are some prices manual?

Some platforms use credits, regional plans, private enterprise pricing or bundled subscriptions. When a public unit price is not clear, Tokencost prefers a manual input instead of inventing a fake number.

Should I choose the cheapest model?

Not automatically. Compare quality, latency, retry rate, tool support and context length. The cheapest model for one workload may be the wrong choice for a workflow that needs reliable reasoning or long-context accuracy.

How often is pricing refreshed?

The pricing dataset is designed to refresh daily from source-backed data and to keep a visible last-verified date. Kimi rows are currently stored as CNY because the official Kimi platform publishes those prices in yuan.

Related calculators and research