burnd

May 13, 2026 ยท View on GitHub

npm npm downloads License: MIT

Built by Garvit Surana โ€” Class XII ISC, Guwahati, India.

I spent $14,502 on Claude Code in one month and had no idea where it went. Built this to find out.

๐Ÿ“– Read the autopsy โ†’ 8-minute breakdown on dev.to of the 8 patterns ranked by what they actually cost me, with detector source.

Burnd reads your local ~/.claude/projects/*.jsonl session files and finds the 8 patterns that waste your Claude Code money โ€” with dollar estimates and concrete one-line fixes.

Free. Open source. Nothing leaves your machine.


Quickstart

npx getburnd

That's it. Output looks like this:

burnd v0.4.1 โ€” scanning ~/.claude/projects/

  TOP 3 LEAKS THIS WEEK

  1  Long Bash output        23 sessions   est. \$31.40 wasted
     fix: pipe through head/tail to cap output at 500 lines

  2  Late-night sessions     11 sessions   est. \$18.20 wasted
     fix: your 01:00-04:00 sessions cost 2.4x more per task

  3  Repeated file reads     8 sessions    est. \$9.60 wasted
     fix: one file read 19 times in a single session โ€” use Edit not Read

  total estimated waste: \$59.20  โ†’  run 'npx getburnd serve' for full dashboard

Full dashboard (8 detectors, spend chart, per-project breakdown):

npx getburnd serve
# open http://localhost:4711

What it detects

DetectorWhat it catchesTypical monthly saving
Long Bash outputTest runners / builds dumping 10k+ bytes into context$20โ€“40/mo
Repeated readsSame file read 3+ times in one session (worst case: 31ร—)$10โ€“20/mo
Tool error stormsAgent thrashing on broken environments$30โ€“50/mo
Tool overuseBash dominating 70%+ of calls when Read/Grep would be cheaper$15โ€“25/mo
Late-night sessions00:00โ€“05:00 sessions cost 2.5ร— more per task completed$50โ€“200/mo
API retry stormsHidden in system records, invisible from the billing UI$5โ€“15/mo
Skill over-firingSkills with broad triggers eating 40%+ of tool calls$10โ€“30/mo
Project outliersProjects costing 3ร— your session median$20โ€“40/mo

In my own data: $76/month in flagged waste. Fixed in a weekend.


How it works

Claude Code writes a .jsonl file for every session to ~/.claude/projects/. Each line is a structured event โ€” tool calls, responses, token counts. Burnd parses these files locally, runs the 8 detectors, and estimates dollar waste from token consumption patterns.

It never connects to the internet. No telemetry, no account, no API key.


Privacy

  • Runs 100% locally โ€” no server, no uploads, no accounts
  • Never reads your code, only the session metadata Claude Code writes itself
  • Parser source is in src/cli/src/ โ€” audit it yourself
  • MIT license โ€” fork it, self-host it, do whatever

About

Built by Garvit Surana โ€” Class XII ISC, Guwahati, India. After my Anthropic bill hit $14,502 in one month with no good tooling to understand why, I built this. Portfolio: garvit-surana.vercel.app.

Contributing

Each detector is ~50 lines of TypeScript implementing the Detector interface. src/cli/src/detectors/long-bash-output.ts is the simplest one โ€” copy it to add your own. PRs welcome.

License

MIT