















CodeBurn is a member of Anthropic's Claude Startups program.
The menu bar app

You used to find out at the end of the month. Now the number sits next to your clock all day, above every window, and one click opens the whole bill.
The day's spend sits next to your clock. No dashboard to open, no tab to find.
Plan usage metered live for every agent, with time remaining on each window.
Per agent totals from today to lifetime, local or combined across your machines.
Spend split by activity: coding, debugging, feature work, with turns and 1-shot rates.
Native Swift. Reads local session files only. Nothing leaves your Mac. On Linux, the same number lives in your GNOME top bar.
The desktop app

The bill stops being one number and becomes a map: which model, which project, which session, and whether the work it paid for survived.
Cost flow shows which model spent into which repo, for any range you pick.
An efficiency score built from one-shot rate, cache hits, and retry tax.
A projected month total, with your pace measured against last month.
Spend attributed to the branches and PRs the work actually produced.
Free and open source. macOS, Windows, and Linux.
The VS Code extensionNew

Today's spend in the status bar, a summary in the activity bar, and the full dashboard in an editor tab, scoped to the workspace you have open.
Today's spend, with ~ when part of it is estimated. Hover for the week, the month and this workspace.
This workspace and all projects, the top projects and models, plan quotas and Optimize findings.
The desktop dashboard in an editor tab: Overview, Sessions, Pull requests, Spend, Optimize and more.
The CLI ships inside the extension, so there is nothing else to install.
Free and open source. No telemetry, nothing uploaded.
Sessions and pull requests

Open a session to see what it cost and why. Open a pull request to see its path from open to merge and what each phase cost. It all comes from the session files on your disk.
Cost as a multiple of your median session, cache hit, the models and task categories, and the subagent runs it launched folded into its row.
For Claude Code sessions: the prompts, helper runs, context re-reads and failed steps behind the cost, ranked by cost, with what the same tokens cost one model tier down.
Whether a PR went out in one shot or took more pushes, the review runs that read it and what they cost, and its timeline to merge.
Building, review runs and everything after the first review. Spend from other work in the same session shows on its own line.
Local only: read from your transcripts, never from GitHub. How it works
New ยท The capacity dock
A floating dock rests on the edge of your screen with a live ring for every AI plan you are signed in to. Claude, Codex, Kimi and more, each showing how much you have burned and when it resets.

Weekly or 5-hour usage per provider, shading from green to red as each limit fills.
Snap it to a screen edge or let it float. It necks into the notch like it was always there.
Shows the providers you are actually connected to, and nothing you are not.
Part of the native macOS menu bar app. Local only, nothing leaves your Mac.
The terminal

Run npx codeburn and the whole picture opens where you already are. It only reads local logs: no account, no config, no changes to how your tools run.
Switch the whole view between today, a week, a month, six months, or everything you have ever run.
Project, model, activity, core tools, shell commands, skills and agents, all at once.
Cache hit rate, turns, and one-shot percentage sit next to every cost, not in a separate report.
Uses and cost for the MCP servers, skills, and delegated agents your runs pulled in.
Also on Homebrew. The same totals the menu bar and the app read.
From GitHub to Hacker News, developers are talking about CodeBurn.
I ran CodeBurn and found tool outputs accounted for 76.8% of context tokens in six of my larger sessions. Digging in, I found very verbose test outputs contributed. I'm going to log full output and keep STDIO minimal. Small token savings can add up.
โGenuinely thank you so much for this. I was able to find where my claude has been opening thousands of terminal sessions and eating up my tokens without me even sending a single message. Super duper helpfulโ
โImmediate install and use. It's brilliant, thank you OP!โ
โI need this in my lifeโ
โNice design! Good job!โ
โThanks for making this, will try this out with my team!โ
โCodex, Claude Code, Cursor... quietly hiding the real cost of your usage. That's why CodeBurn exists. It tracks tokens, cost, and performance across 18+ AI coding tools, so you can compare models, optimize usage, and see where your budget leaks.โ
โbeautifulโ
โInstall codeburn, then run codeburn optimize. That command scans your coding agent sessions for specific waste. Repeated file reads, low read-to-edit ratios, uncapped bash output, unused MCP servers. And returns token-level savings estimates per fix.โ
โFour out of six in a single release cycle is genuinely impressive. Per-project drill-down and cost-per-session are exactly what I needed most. Great project.โ
โAnd thanks for the quick fixes!!โ
I ran CodeBurn and found tool outputs accounted for 76.8% of context tokens in six of my larger sessions. Digging in, I found very verbose test outputs contributed. I'm going to log full output and keep STDIO minimal. Small token savings can add up.
โGenuinely thank you so much for this. I was able to find where my claude has been opening thousands of terminal sessions and eating up my tokens without me even sending a single message. Super duper helpfulโ
โImmediate install and use. It's brilliant, thank you OP!โ
โI need this in my lifeโ
โNice design! Good job!โ
โThanks for making this, will try this out with my team!โ
โCodex, Claude Code, Cursor... quietly hiding the real cost of your usage. That's why CodeBurn exists. It tracks tokens, cost, and performance across 18+ AI coding tools, so you can compare models, optimize usage, and see where your budget leaks.โ
โbeautifulโ
โInstall codeburn, then run codeburn optimize. That command scans your coding agent sessions for specific waste. Repeated file reads, low read-to-edit ratios, uncapped bash output, unused MCP servers. And returns token-level savings estimates per fix.โ
โFour out of six in a single release cycle is genuinely impressive. Per-project drill-down and cost-per-session are exactly what I needed most. Great project.โ
โAnd thanks for the quick fixes!!โ
THIS TOOL SHOWS YOU EXACTLY WHERE YOUR CLAUDE CODE TOKENS ARE GOING. This guy was spending $200+ a day on Claude Code with zero visibility into what was eating the tokens. So he built a terminal dashboard that reads your session transcripts and classifies every single turn.
โThis is actually pretty useful. Most people have no idea how much they're spending on AI tools until it adds up, so having it visible in the menubar makes a lot of sense. Really solid idea though, especially being open source.โ
โWait this is so sick! Definitely adding this when I get homeโ
โbig thanks! needed this so badly.โ
โThank you - very interesting. I will try it out.โ
โBeautifulโ
โWe definitely need to install this before our Polymarket scripts bankrupt us on API callsโ
โCodeBurn Is The Latest Usage Tracker Blowing up On Github. 435 likes, 16K+ views.โ
โYou may want to bookmark this!! Do you know the true dollar cost of every Claude Code session?โ
โThanks for the quick turnaround and for getting the invariants right. The reconciliation guarantee is what makes this safe to consume.โ
THIS TOOL SHOWS YOU EXACTLY WHERE YOUR CLAUDE CODE TOKENS ARE GOING. This guy was spending $200+ a day on Claude Code with zero visibility into what was eating the tokens. So he built a terminal dashboard that reads your session transcripts and classifies every single turn.
โThis is actually pretty useful. Most people have no idea how much they're spending on AI tools until it adds up, so having it visible in the menubar makes a lot of sense. Really solid idea though, especially being open source.โ
โWait this is so sick! Definitely adding this when I get homeโ
โbig thanks! needed this so badly.โ
โThank you - very interesting. I will try it out.โ
โBeautifulโ
โWe definitely need to install this before our Polymarket scripts bankrupt us on API callsโ
โCodeBurn Is The Latest Usage Tracker Blowing up On Github. 435 likes, 16K+ views.โ
โYou may want to bookmark this!! Do you know the true dollar cost of every Claude Code session?โ
โThanks for the quick turnaround and for getting the invariants right. The reconciliation guarantee is what makes this safe to consume.โ
A handy little tool I discovered, specifically designed to keep tabs on the token bills for Claude Code and Codex. When you usually use AI to write code, where the tokens are spent, which model burns through money the fastest.
โVery nice. Feels like one of those tools that becomes obvious the moment you see your spend broken down this clearly. Looks like the project has great velocity now.โ
โI'd love something like this Claude Desktop. Looks great.โ
โBeen using this a lot since I discovered it a few weeks ago. Thanks for building and sharing!โ
โLooks like it may be useful, thank youโ
โLooks cool! Is it able to track stats for models that I use through a non-opencode subscription? Like if I use gpt-5.3-codex through a chatgpt subscription in opencode, will I be able to see some usage stats for it?โ
โThis is a game changer for anyone trying to scale their agentic workflows without going broke. Visualizing where the tokens actually go makes it much easier to optimize your development budget.โ
โCodeBurn, an open-source dashboard built by the AgentSeal team that answers the one question every developer using Claude Code or Cursor is frustrated about: where the hell did all my tokens go?โ
โah nice, you are doing some amazing work. Just to let you know โ Visa has forked CodeBurn internally and suggested employees try it.โ
โThanks for shipping this so quickly. Two choices are nicer than what I proposed. NSStatusItem.variableLength is a cleaner answer, and Int((cost * rate).rounded()) rounds correctly where my version would silently truncate.โ
A handy little tool I discovered, specifically designed to keep tabs on the token bills for Claude Code and Codex. When you usually use AI to write code, where the tokens are spent, which model burns through money the fastest.
โVery nice. Feels like one of those tools that becomes obvious the moment you see your spend broken down this clearly. Looks like the project has great velocity now.โ
โI'd love something like this Claude Desktop. Looks great.โ
โBeen using this a lot since I discovered it a few weeks ago. Thanks for building and sharing!โ
โLooks like it may be useful, thank youโ
โLooks cool! Is it able to track stats for models that I use through a non-opencode subscription? Like if I use gpt-5.3-codex through a chatgpt subscription in opencode, will I be able to see some usage stats for it?โ
โThis is a game changer for anyone trying to scale their agentic workflows without going broke. Visualizing where the tokens actually go makes it much easier to optimize your development budget.โ
โCodeBurn, an open-source dashboard built by the AgentSeal team that answers the one question every developer using Claude Code or Cursor is frustrated about: where the hell did all my tokens go?โ
โah nice, you are doing some amazing work. Just to let you know โ Visa has forked CodeBurn internally and suggested employees try it.โ
โThanks for shipping this so quickly. Two choices are nicer than what I proposed. NSStatusItem.variableLength is a cleaner answer, and Int((cost * rate).rounded()) rounds correctly where my version would silently truncate.โ
Someone was spending $200+ a day on Claude Code with no idea where the tokens were going. So they built a terminal dashboard that classifies every session turn into 13 categories. More than half the money was going to conversation, not code. One line install: npx codeburn.
โGreat to see someone actually evaluating, sharing data and insights over the hundreds of "this sucks" posts with zero context. Thanks!โ
โThanks for the context. Quality post.โ
โThat is cool. Will try it out soon.โ
โInteresting! I like it!โ
โwait this is actually useful. was literally wondering yesterday why my claude bill was so high when i wasn't coding that much. gonna try this todayโ
โVisibility is key.โ
โVery usefulโ
โGreat tool. Installed via npx, zero friction, immediately useful on a 15-project setup running 170+ sessions/month across Opus and Sonnet. Starred.โ
โConfirmed working! Before fix: 0 Gemini sessions detected. After fix: 54 sessions captured, full breakdown intact. Thanks for the fast turnaround on the fix!โ
Someone was spending $200+ a day on Claude Code with no idea where the tokens were going. So they built a terminal dashboard that classifies every session turn into 13 categories. More than half the money was going to conversation, not code. One line install: npx codeburn.
โGreat to see someone actually evaluating, sharing data and insights over the hundreds of "this sucks" posts with zero context. Thanks!โ
โThanks for the context. Quality post.โ
โThat is cool. Will try it out soon.โ
โInteresting! I like it!โ
โwait this is actually useful. was literally wondering yesterday why my claude bill was so high when i wasn't coding that much. gonna try this todayโ
โVisibility is key.โ
โVery usefulโ
โGreat tool. Installed via npx, zero friction, immediately useful on a 15-project setup running 170+ sessions/month across Opus and Sonnet. Starred.โ
โConfirmed working! Before fix: 0 Gemini sessions detected. After fix: 54 sessions captured, full breakdown intact. Thanks for the fast turnaround on the fix!โ
CodeBurn is a free, open-source, local-first tool that tracks AI coding token usage and cost across 42 tools and agents, including Claude Code, Cursor, Codex, Gemini and Grok, broken down by model, project, and task. It ships as a desktop app for macOS, Windows and Linux, a macOS menu bar app, a CLI, a local web dashboard, a VS Code extension, and a GNOME extension.
Run npx codeburn and CodeBurn reads the session data already on your machine. See the dedicated guides for Claude Code cost, Cursor usage, and Codex cost.
Both. codeburn optimize grades your setup A to F and flags duplicate reads, context bloat, and ghost agents. It can then apply the fixes for you, with an undo for each one. See Optimize.
Yes. CodeBurn covers 42 tools (not just Claude Code), adds a desktop app, a menu bar app and a web dashboard, and prices cache reads and writes correctly. See CodeBurn vs ccusage.
CodeBurn is 100% free and open source, and fully local. It reads session files on disk and never uploads anything, no account, no API keys. The desktop app has optional, anonymous telemetry you opt into at first launch, and you can read exactly what it collects.
CodeBurn auto-detects 42 AI coding tools. See the full list of supported tools.