You pay for every token, in and out. Long prompts sent over and over add up fast.
3 min to watch2 min to read
Based on official price lists, not a single incident: Anthropic's pricing1 and caching docs,5 and OpenAI's caching docs.2 The shop, its rulebook, its traffic and the screens are made up; the bills use real list prices for Claude Sonnet 5.5 and Haiku 4.5.
Without any fixes
Every token is billed. Every time. AI is billed per token, in and out, on every request, even when the words never change. These are real list prices for Claude Sonnet 5.5: $2 per million tokens in, $10 out.
With three quick fixes
Don't pay twice for the same words. Cache what repeats, send easy questions to a smaller model, and keep answers short. On most Claude models a cache re-read costs 10% of the normal input price.
Why it matters, what it costs, and what to ask your team.
How the meter runs
AI is billed by the token, a chunk of text about ¾ of a word.1 You pay for everything you send in, and for everything that comes back.
Answers cost more. Pick a model and compare:
Real list prices in US dollars per million tokens, from Anthropic's pricing page, fetched Oct 4, 2026.1 All bars use the same scale.
See the green bars? Re-reading a cached prompt costs a fraction of the price. Work that can wait a day costs half, at both Anthropic1 and OpenAI.3
In my defense, I do read every word you send me.
Try it
A bill is a multiplication: requests × tokens × price. The surprise is how much of every prompt is the same words, sent again and again.
Set your traffic. Then switch on the quick wins:
Quick wins:
a month
Where the money goes
Input Cached Output
Real list prices for Claude Opus 5.5, Sonnet 5.5 and Haiku 4.5.1 Made-up assumptions: a 30-day month, every repeat hits the cache (the small cost of writing it is left out), half of all requests are easy, and shorter answers are half as long. Discounts stack, as the price list says.
This isn't just theory. In Anthropic's own tests, caching cut a small triage agent's bill by 83%.4
Same answers, smaller bill. I'll take that.
Ask your team
You don't need to read the code. These show whether anyone is watching the meter.
Under the hood, step by step: build a support bot that knows what each chat costs, and cuts it.
Build along
We start with the simplest bot and run it on the same day of traffic: 10,000 chats, one rulebook. Press Run it after each step and watch the daily cost drop.
Before you ship
The build-along covers the code. These keep the bill in check as you grow.
cache_read_input_tokens stays at zero, something at the top of the prompt keeps changing. A timestamp is the usual suspect.cache_control, reuse of prompt prefixes, a 5-minute default lifetime refreshed on every hit, minimum cacheable length per model.The shop, its rulebook, its traffic and its bills are made up; the prices are real list prices for Claude Sonnet 5.5 and Haiku 4.5. The walkthrough assumes a 30-day month, that every repeat hits the cache (the small cost of writing it is left out), that half the chats are easy, and that shorter answers average 200 tokens instead of 300. The calculator's assumptions are listed under it.