getagentseal/codeburn

Free, local tool to track AI coding token usage and cost across 37 tools and agents (Claude Code, Cursor, Codex, Gemini and more), by model, project, and task. npx codeburn

What it solves

AI coding tools often provide only a monthly total on your bill, leaving you in the dark about where your money is actually going. CodeBurn solves this by breaking down your AI spending by project, model, task, and git branch, helping you identify exactly which parts of your workflow are expensive or wasteful.

How it works

CodeBurn scans the local session files already generated by your AI coding tools (like Claude Code, Cursor, or Cline). It reads the tokens and model calls from these files to calculate costs, provides optimization suggestions to reduce token usage, and offers optional spending guards to prevent runaway costs. It runs locally on your machine and does not require account sign-ups.

Who it’s for

It is for developers who use AI coding agents and want granular visibility into their token consumption and costs to optimize their workflows and manage their subscription limits.

Highlights

  • Supports 42 different AI coding tools and providers out of the box.
  • Provides detailed breakdowns by project, task, model, and git branch.
  • Includes an "Optimize" feature that identifies and fixes inefficient configurations to save tokens.
  • Offers optional spending caps and usage alerts for tools like Claude Code.
  • Available as a CLI tool, a desktop application, and via a menu bar/tray integration for real-time monitoring.

Related

  • Project
  • Project
  • Project
  • Project
  • Project