CodeBurn is a free, open-source tracker for AI coding costs. It reads the session files your tools already write - Claude Code, Cursor, Codex, Copilot, 40 in all, and shows every token and dollar by the task, model, project, and pull request that used it. The Optimize tab finds waste like cache bloat or retry tax, applies the fix, and tracks what it actually saved. Everything runs on your machine: no account, no uploads. MIT-licensed and genuinely free, used by 150k+ developers across the world.
Hey PH, I'm Resham, the person behind CodeBurn.
AI coding tools don't tell you where your money goes. The bill shows a total, and that's it. Which model? Which project? Was it work that shipped, or an agent re-reading the same file over and over?
The thing is, the answer already exists. Every AI coding tool Claude Code, Cursor, Codex, Copilot, and 36 more writes detailed session logs to your own disk. Nobody was reading them.
CodeBurn reads them. Here's everything it does:
📊 Understand your spend
• Every token and dollar broken down by task, model, project and by pull request, so you see which PRs your budget actually shipped
• A spend punchcard: which hours and weekdays you burn the most
• Session browser with titles, so you find work by what it was about
• Workflow insights: how often you correct the AI, how long until it makes its first edit, which files it keeps reworking
🔥 Cut your spend
• Optimize finds the waste: cache bloat, retry tax, expensive models doing work a cheaper one handles fine
• It applies the fix for you and tracks what the fix actually saved. Undo included
• Compare any two models on your own real usage: cost per edit, one-shot rate
• Budgets with warnings, subscription plan and overage tracking, live quota windows
🖥️ Wherever you work
• CLI: one command, full dashboard in your terminal
• Desktop app for Mac, Windows and Linux nothing else to install, the engine is bundled
• macOS menu bar: today's burn always visible, with forecasts and quota pace
• Web dashboard served from your own machine
• GNOME panel extension for Linux
• All of them read the same local data, so they always agree
🔒 Built on two rules
• Honest: when a cost is estimated instead of exact, it says so
• Yours: open source, MIT license, no account, nothing ever leaves your machine. Genuinely free
There's also an MCP server, so your AI agent can check its own spending. Yes, really.
🎁 For PH folks: nothing to unlock it's already free. If your AI tool isn't supported yet, open an issue and I'll personally prioritize it.
I'll be in the comments all day. Ask me anything. 👇
→ codeburn.app
the attribution thread in here is the most honest writeup of this problem I've seen, the "unattributed rather than smearing it somewhere plausible" choice especially. curious how this handles fan-out though. I run a lot of orchestration now where one task spins up 5-10 subagents in parallel, each burns its own tokens on its own slice, and only one final step merges their output into a PR. none of those side agents individually "did" the PR, the value only exists at the synthesis step. does codeburn have any concept of a parent task grouping child sessions, or does that show up as several expensive unattributed sessions and one cheap one that happens to touch the PR?
I came to CodeBurn from a somewhat unusual direction.
I spent years in strategy and venture investing looking at companies deploying AI, and later moved into an operating role partly because I wanted to understand the problem from inside an enterprise.
Then I started building with coding agents all day myself, and one thing became very obvious: provider dashboards are good at telling us what we consumed. They are much worse at telling us what the consumption actually accomplished.
Resham had already been attacking that problem with CodeBurn. What immediately interested me was how much ground-truth information was sitting locally in agent sessions and git history.
Which project used the money?
What was the agent actually doing?
How many times did it retry?
What did it reread?
Did any of that work become a commit or PR?
That is the layer we're building out.
The longer-term question we're particularly interested in is cost per useful unit of AI work, rather than cost per token.
For this launch, I’d especially love feedback from people who use multiple coding agents heavily:
What do you still feel blind to? What metric would actually make you change how you use your agents?
I’ll be around here all day. Looking forward to your inputs.
About CodeBurn on Product Hunt
“See where your AI coding spend actually goes”
CodeBurn launched on Product Hunt on August 12th, 2026 and earned 106 upvotes and 15 comments, placing #11 on the daily leaderboard. CodeBurn is a free, open-source tracker for AI coding costs. It reads the session files your tools already write - Claude Code, Cursor, Codex, Copilot, 40 in all, and shows every token and dollar by the task, model, project, and pull request that used it. The Optimize tab finds waste like cache bloat or retry tax, applies the fix, and tracks what it actually saved. Everything runs on your machine: no account, no uploads. MIT-licensed and genuinely free, used by 150k+ developers across the world.
CodeBurn was featured in Open Source (68.8k followers), Developer Tools (518.5k followers), Artificial Intelligence (477.4k followers) and GitHub (41.4k followers) on Product Hunt. Together, these topics include over 242.4k products, making this a competitive space to launch in.
Who hunted CodeBurn?
CodeBurn was hunted by Resham Joshi. A “hunter” on Product Hunt is the community member who submits a product to the platform — uploading the images, the link, and tagging the makers behind it. Hunters typically write the first comment explaining why a product is worth attention, and their followers are notified the moment they post. Around 79% of featured launches on Product Hunt are self-hunted by their makers, but a well-known hunter still acts as a signal of quality to the rest of the community. See the full all-time top hunters leaderboard to discover who is shaping the Product Hunt ecosystem.
Want to see how CodeBurn stacked up against nearby launches in real time? Check out the live launch dashboard for upvote speed charts, proximity comparisons, and more analytics.