Shift Note: Cut Repeat-Prompt Costs in Ten Minutes
The recurring bill often starts with recurring context: the same system instructions, tool definitions, policy text, and reference material sent with every request. Prompt caching can reduce the cost of processing that repeated input. It does not make every repeated request cheaper automatically, and it does not eliminate output charges. This ten-minute shift task is to identify one reusable prefix, verify the supported cache mechanism, and check whether the billing evidence shows savings.
Opening two minutes: confirm the cache contract
Choose one model and one request path before editing prompts. If you are testing Gemini 2.5 Flash, for example, check the documentation for the exact endpoint and provider route you use. Caching support, minimum eligible input length, retention, and pricing can vary by model and service.
Establish whether caching is automatic, requires explicit cache controls, or uses a separately created cached-context resource. Do not copy one provider’s cache fields into another provider’s request format and assume they work.
- Confirm which input tokens qualify and whether cache writes or storage incur charges.
- Find the documented expiration rules and whether reads refresh retention.
- Locate cache-read and cache-write usage fields, or another documented way to verify cached billing.
- Check whether your gateway forwards the necessary controls and exposes the relevant usage information.
Next three minutes: move changing text behind stable context
For prefix-based caching, place reusable content first: system instructions, stable tool definitions, and reference text shared across requests. Put the user’s question and request-specific data afterward. For explicit cached-context systems, place the reusable material in the cache resource and attach the changing content as documented.
A support assistant might reuse a policy manual while receiving a different customer question each time. That is a useful candidate. A short instruction followed by an entirely different document on every call usually offers less reusable material.
Remove timestamps, request IDs, and user-specific greetings from the reusable prefix unless they are necessary there. Keep tool ordering and serialization stable. Small changes early in a prefix can prevent reuse of everything that follows.
Stability must not weaken correctness. Keep tenant-specific material isolated, and version reference content when it changes. Do not keep serving an outdated policy just to preserve cache hits. Avoid padding prompts merely to cross an eligibility threshold; extra tokens still need an economic justification.
Next three minutes: test reads instead of assuming hits
Send a qualifying request, then send another with the same reusable context and a different question. Keep the model, route, cache settings, and relevant request structure unchanged. Inspect the response usage and any available billing records.
The first request may populate a cache rather than benefit from it. The follow-up should show documented evidence of a cache read if the setup qualifies. Faster responses alone are not proof: network conditions and output length also affect latency.
- Record ordinary input tokens, cache-write tokens, cache-read tokens, and output tokens wherever the service reports them.
- Record the applicable rates and include storage charges when relevant.
- Check that response quality remains acceptable after reorganizing the prompt.
If cache accounting is not exposed, treat savings as unverified. Ask the provider or relay how cached usage appears on the bill before rolling the change into production.
Final two minutes: calculate net savings
Compare the cost of the same workload with and without caching. The cached total includes uncached input, cache writes, cache reads, storage where applicable, and output. The baseline includes ordinary input and output. Keep output volume comparable so shorter answers do not masquerade as caching savings.
Repeated reads must recover any extra write or storage cost before expiration. Context reused frequently within its retention window is a stronger candidate than material used once per day. Start with one workflow and expand only after measured savings appear.
Shift handoff: keep the route and evidence together
Relay365 fits when you want a pay-as-you-go relay desk across multiple model families. OpenAI clients use https://api.api365relay.com/v1 as the API base. Confirm caching support, control forwarding, and billing visibility for your selected route rather than assuming every route behaves alike. Create a Relay365 account if that access pattern suits your workload, then run the small verification test before scaling traffic.
Leave the next operator the prompt version, model and route, retention assumptions, observed cache reads, and measured cost difference. The useful result is not a cache hit alone; it is a lower bill for equivalent work.
Further desk bulletins
| Date | Bulletin title | Filed under | Language |
|---|---|---|---|
| 2026-10-29 | Desk Log: Ten Minutes on Invoices, Refunds and Credit | Spend watch | EN |
| 2026-10-29 | Duty Log: Ten-Minute Token Preflight Before Send | Spend watch | EN |
| 2026-10-29 | Duty Log: Ten Minutes to Fence In Agent Spend | Spend watch | EN |
| 2026-10-29 | Shift note: a ten-minute wallet and pass check | Spend watch | EN |
| 2026-10-29 | Duty Log: Ten-Minute Token Invoice Reconciliation | Spend watch | EN |
| 2026-10-28 | Desk log: first token arrived, answer still running | Spend watch | EN |
Curious how it runs on your own code? Sign up →