COST
Read the same input for less.
Representative example: cache-hit input costs 10% of regular input
Even with the same model, cost and speed can vary dramatically.
The key is knowing how to freeze the beginning of each request.
Keep the beginning. Add only new information at the end.
* Representative official GPT-5.6, Claude and Gemini pricing · † Maximum in an arXiv study of 500 agent sessions; some strategies showed no gain or were slower
HOW IT WORKS / THE MECHANISM
Prompt and context caching does not remember the answer itself. During prefill, the provider reuses computation for the matching prefix. If the cache remains valid, only the newly added tail must be read.
Reads the full input and builds its computation.
Skips recomputing the same prefix.
Generates the response one token at a time.
Caching mainly reduces input prefill. Output-token cost and generation speed are separate.
INTERACTIVE LAB 01
Where the change occurs determines how much can be reused.
The first three blocks are reused unchanged.
With a typical prefix cache, less content after the change can be reused.
IMPACT / WHY IT MATTERS
Cache benefits vary by provider and model. The 90% below is a representative input-price condition, not total-request savings.
COST
Representative example: cache-hit input costs 10% of regular input
SPEED
Results vary with prefix length and infrastructure
THROUGHPUT
For most models, Claude excludes cache-read tokens from ITPM
INTERACTIVE LAB 02
This simple model prices cache reads at 10% of regular input. Write, storage (TTL), and output costs are excluded.
Effective input load per turn, normalized to full-price tokens
Input cost index28 / 100
Estimated savings72%
Even with a higher hit rate, an oversized context is about 5.7× heavier.
OUR ORCA USAGE RECORDS
ORCA HQ · 2026.07.20—07.27 · LOCAL USAGE LOG
We analyzed 207 locally aggregated HQ sessions whose paths could be verified. Token counts are sums of provider usage fields; costs were not estimated without billing records.
WHAT THE LOG SHOWS
Of 2.201B total tokens, 2.161B were cache read, 38.82M cache write, and 799K fresh input.
Cache readMEASURED
2.161B98.20%Cache writeMEASURED
38.82M1.76%Fresh inputMEASURED
799K0.04%high reuse, but a large absolute context
THREE REAL RUNS
All three are Orca benchmarks using Claude Opus 5. Totals are rounded.
Observation: reads were about 460× larger than writes.
Observation: most input-related tokens were reused.
Observation: long-form work also showed high reuse.
All three runs continued work with the same objective within one session over a short period.
Caution: this is a strong correlation pattern, not a direct classification of each cache write's cause.PRACTICE / THE PLAYBOOK
Cache optimization depends on how you start, continue, and clean up a session.
General chatbot / PRESCRIPTION
Organize the project description and materials once.
Continue the same task in the same thread.
Describe only what changed in long documents.
CACHE & CONTEXT HABITS
WHAT TO MEASURE
Are hits actually occurring?
Is the session too heavy?
How much does each result cost?
Does the first token arrive sooner?
Your workload's baseline and trend matter more than a universal ideal hit rate.
GPT'S TAKE / A MODEL'S TAKE
Cache optimizationisn't a prompt trick;it's information architecture.
Hit rate is useful, but 100% is not the goal. Reuse stable facts and reread only what is needed now.
If caching conflicts with freshness or accuracy, choose accuracy first.
30-SECOND PRE-SESSION CHECK
YOUR NEXT SESSION
Every check makes the session lighter.
ONE LINE TO REMEMBER
Estimated savings = hit rate × (1 − cache-read price / regular input price). At a 10% read price and 80% hit rate, input cost falls by about 72%.
No. TTL, minimum length, discounts, and usage fields vary by provider and model.
No. Provider policy, TTL, and internal context management can change the result.
Official docs and the original study were checked as of August 13, 2026. Orca totals were recomputed from local usage logs.