Your Claude Agent Costs 9x More Without Prompt Caching A measured Claude Opus 5.5 agent session of 35 calls cost $2.39 at Anthropic list prices because 97.5% of prompt tokens were cache hits, versus $22.08 without prompt caching — a 9.2x difference for identical tokens, according to the analysis. The piece cites a November 4 AI Engineer YouTube talk by George Cameron, co-founder of benchmarking firm Artificial Analysis, who said Claude Opus 5.5 at max effort averaged about $21 per task on the AA Briefcase benchmark and that a 165-step task would exceed $200 with zero cache hits. It publishes a 101-line Python 3.8+ script, cachecheck.py, that reads Claude Code session logs in ~/.claude/projects and prices each call twice using Anthropic's rates — $4.00 per million uncached input tokens, $20.00 output, $5.00 for a 5-minute cache write, $8.00 for a 1-hour write and $0.20 per cache hit. A real Claude Opus 5.5 agent log: 97.5% of prompt tokens were cache hits, so 35 calls came to $2.39 at list prices instead of $22.08. A 101-line script checks your own logs, and shows why a broken cache can cost nearly double. Without prompt caching, the Claude agent session I measured would have cost 9.2x as much at list prices: $22.08 instead of $2.39, for exactly the same tokens. Below is a script that reads your own Claude Code logs and tells you your cache hit rate, what it saves you, and what it would cost if it broke. On November 4 the AI Engineer YouTube channel posted “Without Caching, Your AI Agent Costs 10x More” https://www.youtube.com/watch?v=prGP0huECPo , a 20-minute talk by George Cameron, co-founder of the benchmarking firm Artificial Analysis. Paraphrasing the captions: on their AA Briefcase benchmark, Claude Opus 5.5 at max effort averaged about $21 per task, and the task he walks through took 165 steps. The cost drivers he names are the number of steps which he calls the biggest , input tokens per call, and the share of those that are cache hits. With zero cache hits, he said, that $21 task would cost over $200. An agent re-sends its whole history on every step: system prompt, tools, every earlier tool result. Prompt caching keeps that prefix: you pay extra to write it once, then a fraction to read it back. Anthropic’s pricing page, read today: bash +---------------------+---------------+| Claude Opus 5.5 | $ per million |+=====================+===============+| Input uncached | $4.00 || Output | $20.00 || Cache write, 5 min | $5.00 || Cache write, 1 hour | $8.00 || Cache hit | $0.20 |+---------------------+---------------+ A cache hit costs one-twentieth of a normal input token. The talk cites a roughly 10x discount on cache-hit input; for Opus 5.5 it is 20x. Input is most of an agent’s tokens, so the hit rate decides most of the bill. Claude Code writes every session to ~/.claude/projects/