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.

What is 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

Overview of codeburn

What it is

CodeBurn is a free, local tool that tracks AI coding token usage and cost across 37 tools and agents, including Claude Code, Cursor, Codex, and Gemini. It reads session files already on your disk and produces breakdowns by model, project, and task. It runs as a CLI, a desktop app, a macOS menu bar app, a Capacity Dock, and a Claude glance card.

Key features

  • Tracks token usage and cost across 42 tools and agents (Claude Code, Cursor, Codex, Gemini, and more)
  • Provides breakdowns by tool, model, project, git branch, and task (e.g., coding, debugging, planning)
  • Includes an optimize command that reads sessions and config to find cost-saving opportunities
  • Offers spending caps for Claude Code via codeburn guard install
  • Displays live quota from tools you are signed into via codeburn quota
  • Supports an MCP server for agents to query their own spend

Use cases

  • Developers who want to see where their AI coding budget goes, broken down by project, model, or task
  • Teams that need to compare spend across different periods after changing a model, workflow, or prompt
  • Users who want to identify wasted token spend (e.g., files re-read on every turn, unused MCP servers)
  • Anyone who wants to set spending caps for Claude Code sessions

Getting started

bashnpx codeburnTo install globally: npm install -g codeburn or brew install codeburn. Requires Node.js 22.13+.

License and pricing

MIT licensed. The tool is free and open source. Pricing type is open source.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/getagentsealcodeburn.svg)](https://yunodb.com/tools/getagentsealcodeburn?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/getagentsealcodeburn?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/getagentsealcodeburn.svg" alt="Featured on YunoDB" height="20"></a>