CodeBurn
CodeBurn is an open-source terminal dashboard tool for developers, focused on monitoring and tracking token consumption and usage costs of AI coding assistance tools. It supports integration with multiple mainstream AI coding tools, provides multi-dimensional cost breakdown statistics and visual display, and helps developers analyze usage patterns and optimize the resource overhead of AI tools.
Timeline (last 90 days)
CodeBurn (`npx codeburn`) is a terminal dashboard tool that requires Node.js and supports Claude Code, Codex, and Cursor (Cursor is an estimate).
When self-written scripts count token usage, if deduplication is not performed, the results are usually higher than the values reported by ccusage or CodeBurn.
CodeBurn can be launched with a single command, npx codeburn, and after running, arrow keys can be used to navigate through historical records along the time dimension.
The dollar amounts displayed by CodeBurn are not actual payment costs, but rather the token equivalent value calculated at pay-as-you-go API rates.
CodeBurn calculates token consumption by reading session files saved to local disk by tools such as Claude Code, Codex, Gemini CLI, and Copilot.
For Cursor and some Copilot sessions, CodeBurn only estimates based on content length rather than providing an exact token count.
CodeBurn should be treated as a tool for horizontally comparing the relative consumption of different projects and models, rather than as an invoice for reconciliation.
For users on fixed monthly subscription plans, the figures displayed by CodeBurn do not match the actual amount paid.
CodeBurn provides a breakdown of consumption across four dimensions: by tool, by model, by project, and by task.
All Facts (10)
When self-written scripts count token usage, if deduplication is not performed, the results are usually higher than the values reported by ccusage or CodeBurn.
50%UnverifiedCodeBurn (`npx codeburn`) is a terminal dashboard tool that requires Node.js and supports Claude Code, Codex, and Cursor (Cursor is an estimate).
50%UnverifiedCodeBurn provides a breakdown of consumption across four dimensions: by tool, by model, by project, and by task.
50%UnverifiedCodeBurn can be launched with a single command, npx codeburn, and after running, arrow keys can be used to navigate through historical records along the time dimension.
50%UnverifiedThe dollar amounts displayed by CodeBurn are not actual payment costs, but rather the token equivalent value calculated at pay-as-you-go API rates.
50%UnverifiedFor Cursor and some Copilot sessions, CodeBurn only estimates based on content length rather than providing an exact token count.
50%UnverifiedCodeBurn should be treated as a tool for horizontally comparing the relative consumption of different projects and models, rather than as an invoice for reconciliation.
50%UnverifiedFor users on fixed monthly subscription plans, the figures displayed by CodeBurn do not match the actual amount paid.
50%UnverifiedCodeBurn calculates token consumption by reading session files saved to local disk by tools such as Claude Code, Codex, Gemini CLI, and Copilot.
50%UnverifiedToken成本管理工具很可能演变为类似云成本管理领域FinOps的角色,专门用于优化Agent的运行成本
50%