Skip to content
AddHunt
VS Code extensions

CodeBurn

Local tracker for AI coding token usage and cost

Works with macOS, Windows, Linux, VS CodeOpen source

Visit codeburn.app#1 of the day
  • Open source
  • Licence: MIT

In short

CodeBurn is a free, open-source tool that reads the session files AI coding agents leave on the local disk and itemizes their token usage and cost. It is for developers using Claude Code, Cursor, Codex, Copilot, Gemini and dozens of other agents who want to see where their AI spend goes.

What you get

  • Reads local session files, nothing uploaded
  • Supports 42 AI coding tools
  • Menu bar spend display on macOS and GNOME
  • Cost attribution to sessions, branches and pull requests
  • Efficiency grade with applied fixes and undo
  • VS Code extension with built-in CLI

The details

CodeBurn meters the cost of AI-assisted coding from the session files that agents already write to the local machine, so no usage data is uploaded. It covers 42 tools, including Claude Code, Codex, Cursor, Copilot, Gemini, Goose, OpenCode, Kilo Code and Kiro.

Several ways to view the bill

  • A menu bar app written in native Swift keeps the day's spend next to the clock on macOS, with live plan limits per agent; on Linux the figure appears in the GNOME top bar.
  • A desktop app for macOS, Windows and Linux maps spend from model to project, projects the month's total and grades efficiency using one-shot rate, cache hits and retries.
  • A VS Code extension, which also works in Cursor, Windsurf, Antigravity and VSCodium, shows spend in the status bar and opens the full dashboard in an editor tab. It bundles the CLI.
  • The CLI itself runs with npx.

From cost to outcome

CodeBurn ties spending to sessions, branches and pull requests, showing what each PR cost from opening to merge. It flags waste such as duplicate reads, context bloat and ghost agents, grades the whole setup from A to F and can apply suggested fixes, each with an undo.

The project is MIT-licensed, has no telemetry and is part of Anthropic's Claude Startups program.

Alternatives to CodeBurn

All alternatives

Questions

Does CodeBurn upload usage data?

No. It reads the agents' session files already on the local disk, and the site states there is no telemetry and nothing is uploaded.

Which tools does CodeBurn track?

42 tools, including Claude Code, Cursor, Codex, Copilot, Gemini, Goose, OpenCode and Kilo Code.

Is CodeBurn free?

Yes. It is free and open source under the MIT license.

More like this