I've been vibe coding hard 8 projects, Claude Code Max 20x plan, shipping fast.
Then I got curious about WHERE my tokens were going. Parsed through 77 sessions of JSONL logs and the numbers were wild.
| Project | Token Value | Sessions |
|---------|------------|----------|
| sdrPrompter | $955 | 28 |
| reddit-marketer | $512 | 5 |
| codeledger | $152 | 11 |
| growify | $147 | 20 |
| ideas | $105 | 3 |
| + 3 others | ~$190 | 10 |
| Total | $2,061 | 77 |
Other fun findings:
Claude Code gives you /cost for the current session. Close the terminal and that's gone. No history. No per-project view. No per-agent view.
CodeLedger — an open-source Claude Code plugin that tracks per-project, per-agent, and per-session token usage.
How it works:
SessionEnd events to parse local JSONL session files~/.codeledger/codeledger.db) — your machine only, no cloudFeatures:
/codeledger slash command for quick summariesTech stack: TypeScript, better-sqlite3, @modelcontextprotocol/sdk, tsup, vitest
Install:
npm install -g codeledger
This is v0.2.6. Still early. Would love feedback what would you want to see tracked? What's confusing? What sucks?