Claude Code cost observability to prevent tokenmaxxing

1 pointsposted 6 hours ago
by tsv650

1 Comments

tsv650

6 hours ago

It's consensus that token usage is a poor metric for developer productivity. However, it's difficult to derive more sophisticated metrics from Claude Code.

Introducing Ledger: a local cost observability tool that scans local session files to track per-PR, runaway (p99) sessions, and per-session cost.

Hopefully eng teams can use Ledger to optimize token spend instead of spamming AI tools. Happy to hear any feedback/ideas.