Skip to content Skip to article

AI at Work companion

The Warm Desk: What a Token Costs Over Time

Understand API prompt caching, model-specific pricing, and what persists in a project.

Source check: .

Your desk has two jobs. A warm tray keeps repeated material handy for today’s API requests. A filing cabinet keeps files and instructions available for a project you return to next week. One does not promise the other.

Two jobs for your deskDiagram
Two jobs for your desk: a warm tray for repeated API material today, a filing cabinet for project files next week. One does not promise the other.API PROMPT CACHINGWarm trayRepeated materialkept handy fortoday’s APIrequestsPROJECTFiling cabinetFiles andinstructions for aproject you returnto next weekOne does not promise the other.
Simplified picture of the page’s tray-and-cabinet idea.

Worked example: repeated API input only

This is a simplified illustration, not a bill or a capture of observed usage. Use Claude Sonnet 5.5’s November 24, 2026 USD API prices for input ($2.00 per million tokens), a five-minute cache write ($2.50), and a cache hit ($0.10). Here the price per cached input token is 5% of the base input price. That percentage describes the unit price, not how often requests hit the cache. Anthropic API pricing. Every warm read assumes a matching, eligible cached prefix and no expiry. New input and all output are excluded on both sides.

20 requests sharing 50,000 input tokens per request
ScenarioCalculationRepeated input cost
Warm50,000 × $2.50 ÷ 1,000,000 + 19 × 50,000 × $0.10 ÷ 1,000,000$0.22
Cold baseline with no cache writes20 × 50,000 × $2.00 ÷ 1,000,000$2.00

About 89% less for this repeated portion. Expired writes, a changing prefix, provider rules, or a different model can change the result. See Claude’s model-specific cache amounts, OpenAI’s model and endpoint rules and Gemini’s implicit and explicit caching rules. Gemini implicit caching does not guarantee a discount.

20 requests, two waysWorked example
Example only: 20 requests share the same 50,000 input tokens each. Repeated input only; new input and all output are left out on both sides.
Warm · 1 cache write ($2.50) then 19 cache hits ($0.10), per million tokens
Cold baseline · 20 requests at $2.00 input, no cache writes, per million tokens
Warm$0.22
Cold$2.00
CHECKEvery warm read assumes a matching, eligible cached prefix and no expiry. Expired writes, a changing prefix, provider rules or a different model can change the result.
About 89% less for this repeated portion, in this simplified illustration. Not a bill.

Session or restart?

  • Repeated API task now: keep the stable prefix unchanged and check for hits.
  • Brief pause: verify the selected provider’s window, not a universal timer.
  • Long break: assume discounts may expire; resume with a concise source-grounded brief.
  • Switching topics: start a new chat to avoid carrying the wrong context.
  • Work spanning days: keep relevant files and instructions in an approved workspace, independent of caching.
Session or restart?Decision guide
  • Repeated API task now
    Keep the stable prefix unchanged and check for hits.
    Warm tray
  • Brief pause
    Verify the selected provider’s window, not a universal timer.
    Warm tray
  • Long break
    Assume discounts may expire; resume with a concise source-grounded brief.
    Warm tray
  • Switching topics
    Start a new chat to avoid carrying the wrong context.
    New chat
  • Work spanning days
    Keep relevant files and instructions in an approved workspace, independent of caching.
    Cabinet
Tag shows which job the move belongs to: the tray (caching) or the cabinet (project).

Build your cabinet

Persistent workspace options, source check November 24, 2026
FamilyWhat to do
ClaudeOpen Projects, add approved sources, then instructions. Check retained files and limits for your plan.
ChatGPTCreate a Project, attach permitted references, and test a new chat in it. Separately verify connected-file behavior.
GoogleMake a notebook in Gemini Notebook (formerly NotebookLM) for sources, or use a current Gemini skill to reuse a method. Check account and file limitations.
MicrosoftStart a Copilot Notebook if your Microsoft account offers it. Add approved references and check which are available in a fresh conversation.
PerplexityFind Projects in your account using the Projects guide. Save a small source set and instructions, then check whether a new thread sees them.
GrokNo equivalent is confirmed in this guide. Keep a local task brief with approved sources and transfer only what policy permits. xAI documentation.
Cabinet mapArtifact
Family
What to do
Claude
Projects: add approved sources, then instructions. Check retained files and limits for your plan.
ChatGPT
Project: attach permitted references and test a new chat in it. Separately verify connected-file behavior.
Google
Notebook in Gemini Notebook (formerly NotebookLM) for sources, or a current Gemini skill. Check account and file limitations.
Microsoft
Copilot Notebook, if your Microsoft account offers it. Check which references appear in a fresh conversation.
Perplexity
Projects: save a small source set and instructions, then check whether a new thread sees them.
Grok
No equivalent is confirmed in this guide. Keep a local task brief with approved sources.
CHECKWhatever you build, open a fresh conversation and see what it can still see. Use approved sources only.
Short summary of the page’s table; the table above has the links.

Try It

With sample notes, make a small project and open a fresh conversation to test whether it can explain the task. No paid API call is required for this exercise.

Example sessionFake data, not real
You (fresh conversation in the project)Explain the task for this project and name the notes you used.
AI reply (fake)The task is to draft the sample newsletter. I used sample-notes and the project instructions.
CHECK IT (you, not the AI)
  • Did it name the notes you added?
  • Is anything from the project missing?
  • If it cannot explain the task, the project did not carry it.
Sample project and notes. A project can save briefing time; it does not promise a cached API rate.

Check It

If you already use a metered API, compare its actual usage fields for cached and uncached input before estimating a saving. Treat the table as an illustration, not measured evidence.

Will my subscription cost less?

Not from the API discount described here. Flat subscriptions and their usage limits are separate. A Project can save briefing time next week without guaranteeing a cached API rate.

Will my subscription cost less?Three separate things

API cache discount

The unit price for cached input on a metered API. Described in this guide.

Not what a flat subscription pays

Flat subscription

Its usage limits are separate from the API discount.

Separate from caching

A Project

Can save briefing time next week.

No promise of a cached API rate
Not from the API discount described here.

Start with the earlier What’s a token? episode or the token guide.

Practice safely: use sample data here. Keep any personal training setting off where offered and use only employer-approved tools and data for work.

Try these prompts

Copy one into the AI assistant your employer approves. Replace the [brackets] with your details, and leave out anything confidential.

For separating reusable context from a request

Using [request pattern] and [cache rules], separate the repeated prefix from the changing question. Show how to compare a cold request and a cached request using only the supplied rates and rules, without quoting a real price.

For deciding what goes in a project brief

Classify items in [work session]: what belongs in a reusable project brief, what belongs in today’s chat, and what should never be pasted. Do not assume that reopening a project guarantees cached input.

The AI PulseWhat actually matters in AI, minus the hype — twice a week.
Free forever · unsubscribe anytime · all 14 newsletters
That email did not go through — please check it and try again.