Prompt Cache Write Costs: Audit What Your Workflow Actually Reuses

Illustrated infographic summarizing: Prompt Caches Have Write Costs Now—Audit What Your Workflow Reuses

By Greg Nowak. Updated 10 September 2026.

If your AI workflow sends the same instructions or reference material repeatedly, prompt caching can reduce the cost of processing them. But creating a cache entry can carry a premium. The business question is whether enough later requests actually use what you paid to store.

That matters for customer support assistants, document processing and agency automations with long instructions or several tool calls. A workflow can produce perfectly acceptable answers while quietly rewriting a large prompt on every request. Before spending time tuning it, establish which repeated work accounts for a meaningful share of your bill.

When does a cache write pay for itself?

OpenAI lists GPT-5.6 Sol cache writes at 1.25 times the ordinary input rate, with cached reads at one tenth of that rate. The write price is the total rate for those tokens, not an extra 1.25-times surcharge. See the official model pricing.

For an illustrative prefix that would normally cost one unit to process, writing it once and reading it once costs 1.35 units. Processing it twice without caching costs two units. One complete reuse therefore covers the write premium. Two different prefixes, each written and never reused, cost 2.50 units.

This calculation excludes changing input, output and tool charges. It explains the opportunity, but your decision should use the cost of a completed business task, including retries and failed attempts. A cheaper input bill is useful only if the workflow still does its job.

Start with the workflows worth investigating

Choose one recurring workflow with meaningful volume or long prompts. For an agency, keep client and workflow totals separate so a busy account cannot hide waste elsewhere. Use this checklist to decide what to inspect first.

What you observe What to investigate Practical next step
Many writes, few reads Changing content inside the cached prefix Compare consecutive rendered requests and locate the first difference.
Good reuse during tests, poor reuse in production Request timing, routing and client-specific variations Replay realistic traffic intervals and group results by client.
Reuse drops after a deployment Changed instructions, tool definitions or document order Compare prompt versions and repeat the cost baseline.
High cache hit rate, disappointing savings Output, retries or tools dominate total cost Measure the full cost per successful task.
Large reference document used once No likely follow-up request Test whether a smaller input or avoiding an unnecessary write costs less.
Cache audit priorities: start with observed behaviour, then test a specific cause.

Inspect the request your application actually sends

A prompt template can look stable while the assembled request changes constantly. Inspect it after variables, retrieved documents, tool definitions and conversation history have been added.

For example, an assistant might use a fixed policy document across several questions. Adding a fresh timestamp before that document changes the beginning of every request. Keep necessary changing information later, and give the policy snapshot an explicit version.

Generate a fingerprint of each candidate prefix and compare requests expected to share it. When fingerprints differ, inspect the first changed block. Use this to find accidental variation; do not remove information the task needs simply to improve a metric.

Keep static instructions, examples and tool definitions consistently ordered. Anthropic’s cache hierarchy runs through tools, system content and messages, so changing an earlier layer invalidates subsequent layers. Its prompt caching documentation explains these dependencies.

Choose cache boundaries deliberately

For GPT-5.6, the minimum cacheable prefix is 1,024 visible input tokens. Implicit mode can check earlier eligible message boundaries; it does not match every arbitrary shared prefix. Where changing content causes waste, mark the stable content block with prompt_cache_breakpoint: {"mode": "explicit"} and set prompt_cache_options.mode to "explicit".

Explicit mode requires explicit breakpoints: selecting the mode alone creates no writes. Keep prompt_cache_key consistent within the intended customer grouping. The default and only supported prompt_cache_options.ttl value is "30m", a minimum lifetime refreshed by reuse. These details are covered in OpenAI’s implementation guide.

Apply provider-specific settings. Anthropic offers five-minute writes at 1.25 times base input pricing and one-hour writes at twice base pricing. Choose the longer window when realistic request spacing justifies it.

Google’s Gemini guide distinguishes implicit caching from explicit cache objects: the Interactions API supports implicit caching only; explicit caching requires the generateContent API. Model minimums also differ. On Amazon Bedrock, check the selected model’s checkpoint and lifetime requirements.

Measure a sequence, including the awkward parts

Capture the provider’s usage fields alongside workflow, client, prompt version, latency and outcome:

  • OpenAI Responses: usage.input_tokens_details.cached_tokens and usage.input_tokens_details.cache_write_tokens.
  • Anthropic: cache_read_input_tokens and cache_creation_input_tokens within usage.
  • Bedrock Converse: cacheReadInputTokens and cacheWriteInputTokens.

Normalise these carefully. Anthropic’s input_tokens and Bedrock Converse’s inputTokens exclude cache reads and writes; add those categories to calculate total input. OpenAI Responses includes them in input_tokens.

Replay a cold start, repeated requests, tool turns, a pause, a document refresh and a prompt deployment. Compare total cost and response times, then check the answers against the same acceptance criteria. Retain the measurements after launch and assign someone to review changes when a prompt or model is updated.

Make the audit a manageable piece of work

A useful first audit should leave your team with a baseline, identified causes of wasted writes, tested request changes and a clear recommendation on what to deploy. Start with one workflow and expand when the evidence supports it.

If you want help connecting the API details to operational costs, Greg can help scope the audit and coordinate implementation with your team. Get in touch with Greg with the workflow you want to improve, the provider it uses and the cost or latency problem you are seeing.

Related on GrN.dk

Need help with this kind of work?

Discuss your AI workflow with Greg Get in touch with Greg.

Sources

Latest articles

PHP 8.2 security support ends on December 31, 2026. Here is how to audit, test, and migrate a mixed CMS estate without rushing production changes.

How Danish businesses can automate Gmail and Microsoft 365 with rapid sorting, limited permissions and human approval.

When WordPress jobs run late, check WP-Cron and queue capacity first. Diagnose triggers, handlers, and Action Scheduler without guesswork.

WordPress 7.1 makes speculative loading configurable. Here’s how to spot overlapping rules and test speed gains without adding hidden costs.

Multiple records for the same customer in HubSpot? Learn how CVR number matching, AI suggestions and human approval can help you clean up duplicates while keeping track of fields, associations and customer history.

Before a Google AI shopping pilot, check which products qualify, where your catalog data disagrees, and whether checkout reflects your delivery and return terms.

Check whether prompt caching reduces cost per completed task, accounting for cache writes, retries, review effort and the charges on your provider's bill.

A practical Drupal translation workflow for Danish service pages: German review, commercial approval, publication and keeping translations current after edits.

Build a weekly marketing report from GA4 and Google Ads with verified calculations, clear data caveats and a short AI draft to support your Monday meeting.

Before buying a GPU, test one real team workflow on existing hardware. A Linux pilot can show whether quality, memory, response times, and running costs add up.