Skip to content

CodeBurn

by AgentSealCLI toolWrite code

Shows what your AI coding tools cost, split by project, model and task

View on GitHub

The problem it solves

Your AI coding bill came in higher than last month, and it shows one total with no hint of which project or model ran it up.

For People paying for AI coding toolsDevelopers on API billingTeams watching plan limits

Before
You guess from memory, or open each provider's dashboard and add the numbers up yourself.
After
One command reads the session files on your computer and shows spend by tool, model, project and task, plus what to change to spend less.
Stars
★ 12k
License
MIT
Cost
Free
Platforms
Mac · Win · Linux
Level
Intermediate

Screenshots

From the project's own repository · 3 images, swipe or use the arrows.

The CodeBurn terminal dashboard with today's cost and tables by project, activity and model
The CodeBurn desktop app overview next to its macOS menu bar popover and usage rings
The CodeBurn Optimize page listing unused MCP servers and skills with estimated savings
Image: AgentSeal (MIT). Original file

Overview

CodeBurn reads the session files that coding agents such as Claude Code, Codex and Cursor already keep on your computer and works out what each session cost. Run one command and you get a dashboard of spend by tool, model, project and task, from today back to your whole history. It also lists setup habits that use tokens without need, and comes as a desktop app and menu bar view too. It suits anyone who pays for AI coding tools and wants to see where the money goes.

It needs no account or API key: it reads files already on your disk, and its Optimize report names what to change to spend less.

Try these first

Start with the first one: it is a small task you can check easily.

  1. Run npx codeburn, stay on Today, and check the sessions listed against what you actually ran.First try · on your computer

  2. Switch to 30 days and find the project and model that cost the most.

  3. Run codeburn optimize and read the findings without applying any of them.read-only

  4. Set the plan you pay for with codeburn plan set, then run codeburn quota before a long session.

Example prompts written by Agent Flows Hub.

Features

From the creator's documentation.

FeatureWhat it doesRuns
Spend dashboardCost by tool, model, project and task, from today back to your whole historyYour computer
Many coding toolsDetects Claude Code, Codex, Cursor, Gemini CLI, OpenCode and dozens more on its ownYour computer
OptimizeLists unused MCP servers, skills and other setup that costs tokens; can apply and undo fixesYour config files
Plans and quotaShows how much of your subscription is used and whether the month will run overYour signed-in tools
Desktop and menu barThe same numbers in a desktop app, menu bar or tray, and a browser viewYour computer
Price listModel prices download once a day; costs are estimatesInternet

Good to know

See where the money for AI coding sessions went, broken down by tool, model, project and task. The report reads local session files, so you can compare periods or check a change without signing in anywhere.

Limits

  • Costs are estimates priced from public model price lists; they do not replace the provider's bill or plan limits.
  • The optimize step can change agent config files when you apply a fix. Read each proposed change first and keep the undo command at hand.

Notes by (original project name: codeburn), written from the creator's documentation, not from running it ourselves. CodeBurn: README and install options · CodeBurn documentation

Stuck setting it up?

Tell us what happened. We take a look first; if it needs paid work, you get an estimate before anything starts.

Get help

Other cli tools

  • Dev Browser Lets your coding agent drive a real Chrome browser to open pages, click and check results
  • Fabric Runs ready-made AI prompts on any text, such as summarising an article into key points
  • Horizon Turns the news sources you follow into a ranked daily briefing in English or Chinese
  • LLM Lets you ask many AI models questions from the terminal and keeps a log of every answer
  • MarkItDown Converts PDFs, Word, Excel, PowerPoint and more into Markdown text an AI can read
  • OfficeCLI Lets your AI agent create and edit Word, Excel and PowerPoint files without Office

See all 18 cli tools

GitHub