See where your AI coding tokens go — 600× faster
A Rust rewrite of codeburn. Supports Claude, Codex, Opencode, Pi, and Copilot.
Measured with hyperfine on a MacBook Pro (M1 Pro, 16GB, 1TB) against npx codeburn.
| Scenario | cburn |
npx codeburn |
Speedup |
|---|---|---|---|
| Cached output | 6.0 ms | N/A | ~610× |
| Cached sources | 10.9 ms | 3.66 s | ~335× |
| Cold (no cache) | 76 ms | 7.71 s | ~101× |
Homebrew
brew install rossnoah/tap/cburnShell installer
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rossnoah/codeburn-rs/releases/latest/download/cburn-installer.sh | shInstall from source
cargo install --git https://github.com/rossnoah/codeburn-rsLaunch the interactive dashboard:
cburnOther commands:
cburn today # jump to today's usage
cburn month # jump to this month's usage
cburn report --period 30days # report over a custom period
cburn report --provider claude # filter to a single provider
cburn status # compact snapshot (today + week + month)
cburn export --format csv # export usage data (csv or json)
cburn currency GBP # change display currencyRun cburn --help or cburn <subcommand> --help for full options.
The binary is named cburn to avoid colliding with the npm codeburn package. If you don't have the npm version installed and prefer the full name, add an alias to your shell config:
echo 'alias codeburn=cburn' >> ~/.zshrc # update profile
alias codeburn=cburn # update current shellor
echo 'alias codeburn=cburn' >> ~/.bashrc # update profile
alias codeburn=cburn # update current shellCursor support is currently disabled. Cursor stopped writing per-call token counts to its local
state.vscdbin early 2026, so parsing that DB now reports $0 regardless of actual usage. The parser code is retained in case the data layout is restored upstream.
