Your AI coding agent's token data is already on your machine. You just haven't looked at it yet.
Claude Code and Codex both write local logs after every session. Those logs include detailed token breakdowns: uncached input, cache hits, cache writes, output. No API call needed, no provider dashboard, no guessing. The number that matters most, your prompt cache hit rate, has been sitting on your disk every time you wondered why you were burning through your weekly limit so fast.
The logs you already have
Claude Code writes a JSONL transcript for every session under ~/.claude/projects/. Each assistant message carries a usage block:
{






