Free · runs in your browser

Claude Code waste calculator

Paste your ccusage JSON and see where the money went: spend by model, your most expensive sessions, an estimate of what was avoidable, and how much of it ran with no approved plan.

Your usage data never leaves this page. Parsing and every calculation happen in your browser. There is no upload, and nothing you paste is stored or sent. The page's Content-Security-Policy only allows outgoing connections to our page-view tools, GoatCounter and PostHog, which receive the page address, screen width and button clicks, and nothing you paste. Session recording is off on this page. You can verify it in your browser's network tab.

1. Get your export

npx ccusage@latest claude session --json --breakdown
npx ccusage@latest claude daily --json

Either one works; both together give the fullest picture. Add --since YYYYMMDD to limit the period. Project names appear in the output, so rename them first if they are sensitive (they are only shown on your screen).

2. Paste it or drop the file

or drop .json files here, or

The sample is synthetic: made-up projects and token counts in the real ccusage format. It is not anyone's real usage.

Estimate assumptions (adjust them)

How it works, and its limits

  • It reads the schema ccusage prints (sessions or daily, with modelBreakdowns) and the multi-agent session shape. Costs are the ones ccusage computed from your local logs.
  • The estimates are rules of thumb, shown in full next to each number. They say where to look, not what you could have saved. Your own judgement beats them.
  • The "no approved plan" figure is 100% by construction: an export cannot show an approval, so without a plan gate nothing was approved.
  • If you use a subscription plan, ccusage costs are API-equivalent prices, not what you were billed.

The number is not the fix. The cheaper place to change course is the plan, before the agent runs. Gate holds that plan in the pull request until a teammate approves the exact version. Start with the essay: Review the plan before the code.

Want the fix, not just the number?

Gate holds each agent's plan until a teammate approves it, free to start. Prefer a written report for your team? Request the full PDF report (free).