ABOUT THIS EPISODE
Where Do Claude Code Tokens Actually Go? I Measured 6.5 Billion
I run Claude Code all day on one Mac, so I read a full week of its local logs and sorted every token by where it went: about 28,700 requests and 6.5 billion tokens from October 30 to November 5, 2026.
What I found: 95% of the tokens were cache re-reads, because every step re-sends the whole conversation. Priced at Anthropic's API list rates (I'm on a flat plan, so this isn't my bill), the split flips: cache writes are 49% of the price, cache reads 39%, output 12%. The longest 10% of threads used 74% of all tokens. Tool output was only about 0.2% as new text, but by my rough estimate it came back about 68 times its size as re-reading. Then RTK's counter versus my logs, Ponytail's benchmark, and the order I'd do the fixes in: short sessions first. Opinions are mine.
Full write-up: https://www.500xengineer.com/blog/where-claude-code-tokens-go
Join the free Skool community: https://www.500xengineer.com/skool?utm_source=spotify&utm_medium=podcast&utm_campaign=ep10-claude-code-tokens
CHAPTERS:
0:00 Intro
0:59 The receipt
2:27 Which tokens weigh the most
3:37 Before you type a word
4:52 The long-session tax
5:57 The shell-output trick
7:56 Less code
8:51 Here's how you can use this
10:22 The takeaway
SOURCES: the full source list is in the YouTube description: https://www.youtube.com/watch?v=S9cOkVVRrKg
DISCLOSURE:
The narration is AI-generated with ElevenLabs, using a clone of Elon's own voice. The short opening clip of Elon is an AI-generated avatar made from his likeness.