CodeBurn
Token cost analytics and waste finder for AI coding tools
CodeBurn is an open-source terminal dashboard that tracks and analyzes your token spend across Claude Code, OpenAI Codex, Cursor, OpenCode, and GitHub Copilot. It classifies coding sessions into 13 activity types — architecture, debugging, refactoring, code review, and more — and shows you exactly where your tokens are going. The standout feature is the optimizer: CodeBurn identifies wasteful patterns in your workflow — like repeatedly re-reading the same files, bloated context files, or MCP servers that are loaded but never used — and suggests concrete changes with estimated savings. It also tracks one-shot success rates per task type, helping you understand where AI is genuinely saving time vs. where you're fighting the tool. A macOS menu bar widget shows live token spend as you work, with a daily budget alert. Built by indie developer AgentSeal and shared as a Show HN, it picked up 80 upvotes and significant interest from developers who didn't realize how much they were spending on context re-reads alone. Open source under MIT license.
Panel Reviews
The Builder
Developer Perspective
“I ran this on a week of Claude Code sessions and immediately found I was spending 30% of my tokens re-reading the same five config files. The menu bar widget is the killer feature — seeing the cost counter tick up while you work changes your behavior instantly. Instant install for anyone serious about AI coding.”
The Skeptic
Reality Check
“The 13 activity categories feel arbitrary and require calibration. More importantly, this is fundamentally a symptom-treating tool — the real fix is better context management built into the AI tools themselves. And if you're on a flat-rate API plan, cost tracking is largely irrelevant.”
The Futurist
Big Picture
“Observability for AI token usage is an entire category about to explode. As agentic workflows scale from individual developers to teams and enterprises, understanding where tokens go becomes as important as understanding where CPU cycles go. CodeBurn is early but directionally correct.”
The Creator
Content & Design
“Even for non-coding creative work — writing, research, brainstorming — understanding which prompting patterns are wasteful vs. effective is valuable. The one-shot success rate tracking by task type is a genuinely novel idea I haven't seen anywhere else.”
Community Sentiment
“Context re-reads as the biggest waste — resonated with many”
“r/LocalLLaMA loves the open source approach”
“Menu bar widget is the most discussed feature”