Keep Claude Code extra usage in view.

Set a limit on this session's extra usage. One command.

Fable access depends on your plan. Read the current included-usage and credit rules before starting a long session.

tokenkarma. Your AI limits and what you actually pay, in one place.

Claude Code
> /tokenkarma 20
Session limit set: $20.00 of extra usage (counted from now)
┌─ 🛡 tokenkarma ───────────────────────────────
│ 🔴 EXTRA USAGE: limits armed
│ /tokenkarma session|day|week <usd>
│
│ Session   $0.38 / $20.00
│ █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░   2%
│ Day       no limit
│ Week      no limit
│
│ ⛔ 1 block today
└─ ⚡ /tokenkarma 20 · /tokenkarma menu ─────────

The daily gesture

You start a project, you type /tokenkarma 20, you work. That is the whole workflow. This session now has a $20 budget of extra usage, counted from the moment you set it. If the session is about to go past it, Claude Code stops once before it goes over.

The stop is not a wall. The message says "Re-send the same prompt to continue": send the same prompt again within 5 minutes and it goes through, because repeating yourself is explicit consent (the check then stays off for 30 minutes in that session). Walk away instead, and the money you did not spend is measured and credited: that is the "1 block today" line in the panel.

Hard enough to stop accidents, soft enough to never block a deliberate decision.

Command reference

Instant commands are answered locally by the guard: zero tokens, immediate, no model call.

/tokenkarma Your protection at a glance: limits, live extra-usage burn, stops today.
/tokenkarma 20 Set a $20 limit on this session’s extra usage, counted from now. The daily gesture.
/tokenkarma session|day|week <usd> Set a limit per window. Session covers the current session; day and week cover all your Claude Code work on this computer.
/tokenkarma session off Remove one limit (same for day and week).
/tokenkarma limit The detailed table of your limits.
/tokenkarma limit off Remove every limit.
/tokenkarma status Today's Claude Code spend and the session profile.
/tokenkarma guard off|on|eco Pause or resume the check for this session, or switch to eco mode.

One interactive command, /tokenkarma menu (a few seconds), opens the full menu: guided limits, cheaper-model tips on or off, auto-switch on or off, and "How much did I save?".

What it protects, exactly

The limits act only while Anthropic reports your account in extra usage. Usage included in your Claude plan is never counted against a limit and never stopped: if you are in plan, the guard does nothing at all.

A session limit counts from the moment you set it, never retroactively. Type /tokenkarma 20 after an expensive morning and the $20 budget starts at zero, not at what the morning already burned.

Both of those rules are deliberate. A guard you cannot predict is a guard you turn off.

It also saves while you work

Cheaper-model tips

Get a tip when a cheaper model can do the job, with the estimated saving for that prompt. Demanding work is never downgraded, and micro-prompts stay silent. Follow a tip and the saving joins your measured total; ignore it and nothing is counted.

Auto-switch

Simple background tasks run on a cheaper model, automatically. You save without doing anything. Every dollar it credits is measured from the real tokens consumed, never estimated, and measured and estimated numbers are never added together.

Anthropic's cap is monthly.
Expert adds a limit per session, day and week.

Every plan sees the protection panel and the live extra-usage burn. The limits themselves are an Expert feature; on Free and Hobbyist they show as locked. Prices are on the pricing page, served live.

See pricing

Frequently asked questions

Where does the /tokenkarma command come from?
The tokenkarma desktop app installs it, opt-in, when you connect Claude Code. The guard runs locally on your machine: the instant commands cost zero tokens and answer immediately, without calling the model. Uninstalling the app removes everything.
Does it work on Windows?
Yes. The Windows app installs the same command, and the limits work the same way as on Mac.
What does tokenkarma see?
The guard counts your Claude Code spend locally, from your own transcripts, to apply the limits you set. Connected sources show live usage in your island and dashboard; anything beyond your plan’s display limit shows as locked until you unlock it. Credentials are encrypted at rest and revocable in one click; the privacy policy lists exactly what is collected.