Runs in your browser@dyorbuddy

Claude Code spend

Open your local Claude Code logs and see what the work would cost at API prices, by day, project and model. Files are read inside this tab and never uploaded.

Open your logs

They live in ~/.claude/projects on macOS and Linux, and in %USERPROFILE%\.claude\projects on Windows. Pick that folder, or drop it here.

The folder is hidden. In the macOS picker press Cmd Shift . to show it. On Windows paste the path into the address bar of the picker.

Showing made-up example data. Open your own logs to see your numbers.

At API prices…
Requests…
Tokens…
Saved by cache…vs paying full input price

By day

By project

ProjectRequestsCost

By model

ModelRequestsCost

How it is counted
  • Each API response is counted once. Claude Code writes one response as several log lines, so lines are merged by message and request id. Subagent logs in subagents/ folders are included.
  • Price = input + output + cache reads + cache writes. Five-minute cache writes cost 1.25× input, one-hour writes 2× input. Long-context and fast-mode prices apply where the log shows them.
  • On a Pro or Max plan you pay a flat fee, so this is what the same work would cost through the API, not your bill.
  • Web searches and other server tools are not included. Prices: models.dev, last change 2026-12-06.