Anthropic · Technologies
Prompt Caching
The same context should not cost full price twice.
Prompt caching stores the stable part of your prompts, your instructions, tools and documents, so repeat calls read it at about a tenth of the normal input price. It is unglamorous plumbing that routinely cuts production API bills by more than half. We design caching into every Claude workload we build.
CACHE PERFORMANCE · EXAMPLE WORKLOAD
SEGMENT
SIZE
HIT RATE
STATUS
System-Prompt
8k tokens
High
HEALTHY
Tool-Definitions
6k tokens
High
HEALTHY
Knowledge-Pack
40k tokens
High
HEALTHY
Conversation
Grows per turn
Mixed
REVIEW
timestamp-in-prompt
Cache breaker
Zero
RISK
Sample workload
healthy · review · risk
In plain terms
Your agents resend the same context all day. Stop paying full price for it.
Caching is the single biggest cost lever on the Claude API. Here is what changes.
Without it
- The full context reprocessed at full price on every call
- Agent workloads whose bills grow with every step
- Long documents billed again for every follow up question
- Costs managed by using the model less
With it
- Repeated context read from cache at a fraction of the price
- Agent steps that reuse instructions and tools nearly free
- One document upload answering twenty questions cheaply
- Costs managed by engineering, not rationing
What CG TECH can do with Prompt Caching
The work, broken into the parts that matter.
Pay once, reuse cheaply
The stable prefix of a prompt is written to cache once at a small premium, then every call inside the cache window reads it at about ten per cent of the input price. The first reuse already pays for the write.
pay once, reuse for cents
Agents and document work
Agents resend the same instructions and tools every step, and document workloads resend the same files every question. Both are exactly the shape caching rewards.
built for agents and big documents
Savings are an engineering outcome
Stable content ordered before changing content, breakpoints placed deliberately, cache lifetimes matched to the workflow and hit rates monitored. Small mistakes, like a timestamp in the prompt, quietly delete the savings.
a cache that actually hits
Caching plus batching
Cache discounts stack with the Batch API’s 50 per cent discount on non urgent work, and cached reads do not count against rate limits, which buys headroom as well as savings.
discounts that stack
How an engagement runs
From full price every call to an engineered bill, step by step.
01
Audit
We profile your workloads and find the repeated context.
02
Design
Prompt structure, breakpoints and lifetimes engineered for hits.
03
Implement
Caching live, hit rates and savings measured on real traffic.
04
Handover
Dashboards and habits so the savings persist.
Questions we hear a lot
Common questions about Prompt Caching
What is prompt caching?
Prompt caching stores the stable part of what you send to the model, typically your instructions, tool definitions and reference documents, so repeat calls read it at around a tenth of the normal input price. It is plumbing rather than a feature, and it routinely takes more than half off a production bill.
How much does caching actually save?
Cached reads cost about ten per cent of the normal input price, and real workloads typically see their input bill drop by half or more. The exact number depends on how much of your prompt repeats, which is what we measure first.
Does caching change the quality of responses?
No. The model sees exactly the same context either way. Caching changes what you pay to send it, not what Claude does with it.
Why is our cache not saving money?
Usually a cache breaker: changing content placed before stable content, a timestamp in the prompt, or calls spaced past the cache lifetime. These are design faults, and they are fixable.
Is caching worth it at our scale?
If a workload repeats context, usually yes, because the write premium pays back on the first reuse. For low, irregular traffic it may not matter, and we will tell you that plainly.
What exactly gets cached?
The parts that do not change between calls. That is usually your system instructions, the tool definitions and any reference material the model needs every time. The user’s actual question is the part that varies and is not cached.
How long does a cache last?
Not long, which is why it suits workloads with steady traffic rather than occasional use. A busy production agent keeps the cache warm continuously. Something called twice a day will mostly miss it.
Does this matter for agents?
More than anywhere else. An agent makes many calls carrying the same instructions and tools each time, so it is the workload where caching makes the largest difference. Building an agent without it is the most common avoidable cost we see.
Ready when you are
Claude bill growing faster than the value? Let us talk.
A discovery session maps your workloads, your costs and your quick wins. You keep the plan either way.
What to expect
- A consultant replies within 4 business hours
- Session booked to understand your requirements
- We will provide you with a fixed price quote