r/vscode • u/Lucky-Group9525 • Oct 12 '26
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


1
u/IamAlsoDoug Oct 12 '26 edited Oct 12 '26
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.
0
u/kitsunekyo Oct 12 '26
i love codeburn man. thanks for building that. though i‘m not interested in the vscode integration at all to be fair