tokenbill
Understand where a Claude Code session’s estimated API cost goes, including token usage, cache behavior, and context compaction. Reports are generated from local logs.
Usage & report options
Run this from your project directory:
npx tokenbillExport a self contained HTML report:
npx tokenbill --htmlThese are API equivalent estimates, not your subscription bill.