← sources

I traced where my tokens actually go

source: reddit (reddit:ClaudeAI)published 2026-09-20 02:34ingested 2026-09-21 02:36

retained text

I run Codex and Claude Code in Konsole and realized I don't fully know where all of my tokens are being used, so I started trying to trace them. I learned that the whole conversation gets sent again every turn, so every time a new message is sent, the entire conversation is loaded and costs more tokens each time. Junk at the start costs way more than junk at the end.

- 10,000 to 20,000 - system prompt and tools, every turn
- 2,500 - 200 lines of code changes shown back to you
- 1,500 - a screenshot
- 1,200 - 100 lines of code
- 1,000 - CLAUDE.md, every turn
- 700 - a page of text
- 500 to 2,000 - each MCP connector, every turn
- 300 - 1KB of json
- 50 - a grep instead of the screenshot
- Everything reloads - a compact

What have you found in yours, and what actually cut it down?

document fetched 2026-09-21 00:22 · canonical https://reddit.com/r/ClaudeAI/comments/1wl4uep/i_traced_where_my_tokens_actually_go