What you see
Limit reached
A reset countdown. A vague “you are using the plan.” No model mix, no daily cost.
Agent Burn reads local Claude Code, Codex, and Cursor usage and answers one question: is the subscription paying for itself?
The bill
Dashboards tell you that you hit a cap. They do not tell you what those tokens would have cost at API rates, which day did the damage, or whether Max is cheaper than the usage you already ran.
What you see
A reset countdown. A vague “you are using the plan.” No model mix, no daily cost.
What local logs have
API-equivalent spend by day, by model, by agent. Enough to decide if the plan is earning its keep.
Commands
The public CLI is two commands. Running agent-burn with no arguments is summary.
All-up
Detected local usage across Claude, Codex, and Cursor. Quick ranges, explicit dates, optional value, chart, and HTML.
agent-burn summary week --valueOne subscription
Claude or Codex only. Weekly limit burn, reset timing, and a 30-day split of input, output, and cache tokens.
agent-burn harness codex --valueSources
Claude Code and Codex are the harness targets because they expose a useful weekly limit. Cursor still lands in summary, including charts and HTML.
Capabilities
No account, no upload, no wrapper bins. The report is local aggregation plus optional live limit data.
Aggregate detected local usage, daily cost, token volume, and optional subscription value in one table.
agent-burn summary --valueFocus Claude Code or Codex on the current weekly limit, reset timing, and a trailing-30-day spend mix.
agent-burn harness claude --valueAuto-detect when the local snapshot has a plan. Override with a named tier or a raw monthly price.
--claude-plan max-20xEmbedded LiteLLM prices cover a fully local run. Skip live dashboard calls when you want a sealed report.
--offlineStack daily spend by model in the terminal, or write an interactive HTML report and open it.
summary --chart --htmlKeep timezone, cost mode, and offline defaults in JSON. CLI flags still win.
--config ./agent-burn.jsonInstall
The npm package also installs burn as a short alias. Nix and package runners are documented in the install guide.
$ npx agent-burn@latest summary --value ✓ local logs read ✓ prices resolved ✓ subscription value printed