explaingit

getagentseal/codeburn

6,627TypeScriptAudience · developerComplexity · 2/5Setup · easy

TLDR

CodeBurn is a local terminal dashboard that shows exactly how much you spend on AI coding tools like Claude Code, Cursor, and Codex, broken down by tool, model, project, and task type, with no data upload required.

Mindmap

mindmap
  root((CodeBurn))
    What it does
      Tracks AI tool spending
      Breaks down by model
      Finds wasteful sessions
    Supported tools
      Claude Code
      Cursor
      Codex
      19 tools total
    Views
      Daily and monthly totals
      Cost by task type
      Yield productivity view
    Output
      CSV export
      JSON export
      Terminal dashboard
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Run `codeburn` in your terminal to see today's AI coding spend broken down by tool, model, and project.

USE CASE 2

Compare the cost of Claude Code vs Cursor side by side to decide which tool gives you better value.

USE CASE 3

Export your AI usage data as CSV to track monthly spending trends in a spreadsheet.

USE CASE 4

Identify which types of AI tasks, generating features vs debugging, are consuming the most of your budget.

Tech stack

TypeScriptNode.js

Getting it running

Difficulty · easy Time to first run · 5min
License information was not mentioned in the explanation.

In plain English

CodeBurn is a command-line dashboard that shows you exactly how much you're spending on AI coding tools, like Claude Code, Codex, and Cursor, broken down by tool, model, project, and type of work. If you use AI assistants to help you write code, CodeBurn tells you where your token budget (the unit AI services charge by) is actually going. The problem it solves: when you use multiple AI coding tools, the cost adds up across sessions and it's hard to know which tool or task is eating the most of your budget. CodeBurn reads the session data those tools save on your own computer and calculates the cost using publicly available pricing information. Everything stays local, there's no account required, no data sent to a server. How it works: you install it once, then run codeburn in your terminal to open an interactive dashboard. It shows today's spending, weekly and monthly totals, your most expensive sessions, and breakdowns by model and task type. You can also run specific commands to compare models side by side, find wasteful spending patterns, export data as CSV or JSON, and see a "yield" view that separates productive AI work from sessions that were reverted or abandoned. You would use it if you're an individual developer or a small team trying to keep AI costs under control, or if you're just curious which AI tool or which kind of task (generating features vs. debugging) is costing the most. It supports over 19 AI coding tools and runs on Node.js. The full README is longer than what was provided.

Copy-paste prompts

Prompt 1
I use Claude Code and Cursor and want to know which costs more per hour. Show me how to use CodeBurn to compare them and explain what the yield metric means.
Prompt 2
Help me set up CodeBurn on my Mac and explain what session data it reads and from where on my filesystem.
Prompt 3
I want to export my CodeBurn data as JSON and build a weekly cost report in a spreadsheet. Show me the export command and the structure of the output file.
Prompt 4
Walk me through CodeBurn's wasteful-spending view, what counts as a wasted session and how does it calculate that?
Prompt 5
I have a team of 3 developers all using AI coding tools. Can CodeBurn aggregate costs across multiple machines, or does it only work per-user locally?
Open on GitHub → Explain another repo

← getagentseal on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.