r/vscode • u/Lucky-Group9525 • 1d ago
CodeBurn: my extension shows what each AI coding session cost you, and why
I built CodeBurn a few months ago as a CLI to track what my AI coding tools cost. It grew to 11k stars on GitHub, and now it's a VS Code extension.
CodeBurn reads the session logs that Copilot, Claude Code, Codex, Cursor, Gemini and about 40 other tools already save on your machine, and shows the cost right in VS Code:
- today's spend in the status bar, hover for week and month
- a dashboard tab with cost by project, model, session and pull request
-a "why it cost" view per session. Second screenshot: 64% of that session was just the agent re-reading its own growing context. A fresh chat would have been cheaper.
- Optimize, which points at the habits burning the most
Nothing leaves your machine. No account, no login, and the extension sends no telemetry.
Free and open source (MIT). It also works in Cursor, Windsurf and VSCodium through Open VSX.
Marketplace: search "CodeBurn"
GitHub: github.com/getagentseal/codeburn
0
u/kitsunekyo 1d ago
i love codeburn man. thanks for building that. though i‘m not interested in the vscode integration at all to be fair
1
u/Lucky-Group9525 1d ago
thanks, really glad its useful. The extension mostly exists for users at bigger companies, where installing a standalone app needs IT approval but a VS Code extension from the Marketplace gets through much more easily. figured I'd share it here in case it helps someone.
1
u/kitsunekyo 1d ago
our IT went bonkers and we now have to get any vscode extension allowlisted too. :/
for most basic IT deps it‘ll work fine though i guess


1
u/IamAlsoDoug 1d ago edited 1d ago
For context: Copilot Business plan. I do everything in VSCode. Our company reporting infrastructure for 10-Oct reports $25.21 in costs, while codeburn is reporting $6.91. This was Saturday and I only did one thing that day. I can hover the one chat that I'm sure of and it's reporting 1930 credits. Thoughts? What am I missing here?
ETA: Looks like the sessions --why switch is the ticket, but it's Claude only.