Cost Doctor sits in your Mac menu bar. It reads the logs Claude Code and Codex already write, names the session that is eating your tokens, and tells you what to do about it. When a check fails while an agent sits waiting, your screen turns red.
14 days free, no account, no card. macOS 13 or later.
A total does not help you spend less. These three findings do.
A long session re-reads its whole history on every turn. Cost Doctor measures the history each session carries on top of its own start, and shows how many times more each turn costs than a fresh one.
Connectors and plugins load their whole tool list into every turn. Cost Doctor shows what each session weighs at its first turn, so you can see a 120K start for what it is.
One request can quietly launch dozens of helpers. Cost Doctor shows the share of each session's tokens spent by subagents, including the logs most tools skip.
You walk away, a check goes red, and the agent waits. Cost Doctor makes that impossible to miss: the menu bar badge turns red, a red frame appears around every screen, and a notification is sent.
echo "deploy failed" > ~/.costdoctor/alerts/deploy.txt
Every alert has a Dismiss button, and the frame never blocks a click.

Cost Doctor reads the session logs in ~/.claude and ~/.codex on disk. It has no server and sends no prompts, code or usage anywhere.
There is no sign-up. A licence is a key you paste once; it is checked on your Mac, offline.
It never calls a model. Watching your spend costs nothing.
One-time purchase. No subscription. 14-day free trial with everything switched on.
A Mac on macOS 13 or later with Claude Code or Codex installed. Pull request alerts also need the GitHub command line tool (gh), signed in.
It is an estimate at published list prices, shown for scale. If you are on a plan, your bill is your plan price; tokens are the number to watch. The rates are editable in ~/.costdoctor/config.json.
Today's total keeps showing. The per-session breakdown, the advice and the red alerts need a licence.
No. It only reads log files. It never edits a prompt, a setting or a session.