CodeBurn
ActiveDescription
A free, local-first tracker for AI coding token usage and cost across 41 tools and agents, broken down by model, project, and task, with no proxy and no API keys.
Key Features
- 41 tools supported - auto-detects local session data from Claude Code, Cursor, Codex, Gemini, Grok, and more
- Multi-dimensional breakdowns - splits every token and dollar by task, model, tool, and project
- Waste scanning and fixes - the optimize command finds re-reads and low cache hits, applies config fixes, and supports undo
- Budget guard - opt-in Claude Code hooks enforce soft and hard caps that warn or stop overspending sessions
- Model comparison - ranks models on one-shot rate, retry rate, and cost per call from your own sessions
- Multiple surfaces - TUI dashboard, local web charts, a macOS menubar app, and a Windows tray app
Use Cases
💡 Find out how much of your monthly AI bill went to conversation instead of code.
💡 Spot sessions where an expensive model burned budget on trivial work and rebalance model choice.
💡 Set soft and hard cost caps on Claude Code so a runaway session cannot drain your budget.
💡 Correlate AI sessions with git commits using the yield command to measure what spending shipped.
Strengths & Limitations
✅ Strengths
- • Actively maintained, recent updates
- • High community interest (10.9k stars)
- • Permissive open-source license (MIT)
- • Responsive to issues, low backlog
Categories
Quick Start
# Open the interactive dashboard instantly without installing
npx codeburn
# Install globally for a permanent command
npm install -g codeburn
# On macOS you can also install via Homebrew
brew install codeburn
# Launch the macOS menubar app
codeburn menubar