See what your plan is worth.
$ npx tallywallet
tally · 2026-09-29 → 2026-10-29
YOUR AI WALLET
Claude Code (local logs) $1,600.59 API-equivalent
29 days · 7,860 turns
claude-fable-5-1 $1,150.08 72% cache hit 90%
claude-opus-5-5 $316.23 20% cache hit 94%
claude-opus-4-8 $130.74 8% cache hit 96%
claude-sonnet-5 $2.94 0% cache hit 89%
openrouter $0.52 billed
2,342 requests · 6 models
$ npx tallywallet
tally · 2026-09-29 → 2026-10-29
YOUR AI WALLET
Claude Code (local logs)
$1,600.59 API-equivalent
29 days · 7,860 turns
claude-fable-5-1 $1,150.08 72%
claude-opus-5-5 $316.23 20%
claude-opus-4-8 $130.74 8%
claude-sonnet-5 $2.94 0%
openrouter $0.52 billed
2,342 requests · 6 models
VERDICT (Claude Max 20x) You used $1601 API-equivalent on a $200 plan: 8.0x. Keep it. → 72% of your usage is claude-fable-5-1, which bills 2.5x claude-opus-5-5 per token. Moving routine turns there is worth up to $690/month at API rates, and it is the window you burn on a plan. → Your plan includes $200/month of Claude Platform API credits since 7 Oct 2026. They expire monthly. Claim once in claude.ai → settings by linking a Console org.
VERDICT (Claude Max 20x) You used $1601 API-equivalent on a $200 plan: 8.0x. Keep it. → 72% of your usage is claude-fable-5-1, which bills 2.5x claude-opus-5-5 per token. Moving routine turns there is worth up to $690/month at API rates, and it is the window you burn on a plan. → Your plan includes $200/month of Claude Platform API credits since 7 Oct 2026. They expire monthly. Claim once in claude.ai → settings by linking a Console org.
DEALS (tally deals for all) live Max plans now include monthly Claude Platform API credits · you are on max20 · asserted ends 2026-10-31 Qoder: DeepSeek-V4.1-Flash free until 1 Nov, plus 100 credits/day · you run deepseek-v4.1-flash · asserted live Three new :free models on OpenRouter this month · open to anyone · verified live Claude Batch API: 50% off input and output on every model · open to anyone · verified $
DEALS (tally deals for all) live Max plans now include monthly Claude Platform API credits · you are on max20 · asserted ends 2026-10-31 Qoder: DeepSeek-V4.1-Flash free until 1 Nov, plus 100 credits/day · you run deepseek-v4.1-flash · asserted live Three new :free models on OpenRouter this month · open to anyone · verified live Claude Batch API: 50% off input and output on every model · open to anyone · verified $
npx tallywallet reads the Claude Code logs already on your disk, prices them at API rates and says whether to keep the plan. Read-only, local, no account.
npx tallywallet
What it reads, what stays
~/.claude/projects/*/*.jsonlnowManagement keyconnectedOne turn, priced
{"type":"assistant",
"message":{
"model":
"claude-fable-5-1",
"usage":{
"input_tokens":1204,
"cache_read_input_tokens":
84112,
"output_tokens":638}}}
First it reads the turn from the log.One JSON line per message in ~/.claude/projects. Sample turn.
claude-fable-5-1 input 1,204 $0.012 cache read 84,112 $0.021 output 638 $0.032 turn $0.065
Then it prices it at API rates.$10, $0.25 and $50 per million tokens: Anthropic's public rates, cache reads included.
30 days · 7,860 turns claude-fable-5-1 $1,150 72% claude-opus-5-5 $316 20% claude-opus-4-8 $131 8% API-equivalent $1,601
Then it adds up 30 days.Each message counted once, however many lines it streamed.
$1,601 on a $200 plan: 8.0x. Keep it. left this machine 0 bytes
Then it says what to do.No account, no telemetry, no upload.
One sentence, then levers
Under 80% of the plan price, the cheaper plan covers you. At or above it, keep the plan and see the multiple. Same thresholds as the CLI.
Max plans add a lever of their own: $100 or $200 a month of API credits that expire if you never claim them.
Try it. The defaults are the real run above.
Deals with dates
Free models, promo pricing, credits and price changes, each with where it was seen, when, and how well it was checked. Expired ones stay so you can see what you missed.
liveThree new :free models on OpenRouter this month
nvidia/nemotron-3.5-super-vl:free (1M context, 15 Oct), xingchen-agi/xing4.0-29b-a4b:free (16 Oct), recursive/flint-v1.0:free (21 Oct). Free tier: 50 requests/day, 1,000/day after a one-time $10 top-up, 20/min.
Data terms: NVIDIA-hosted free models may train on prompts. Check each listing's data policy.
ends 2026-10-31Qoder: DeepSeek-V4.1-Flash free until 1 Nov, plus 100 credits/day
100 free credits a day (claim daily, each valid 30 days), free Qwen3.8-Flash, and DeepSeek-V4.1-Flash-1017 free until 1 Nov 00:00 UTC+8. Sign-up required.
Asserted: seen only in third-party reporting, not yet checked on Qoder's own page.
ended 2026-10-22MiniMax M3.1 Flash free on OpenRouter for 72 hours (19 to 22 Oct)
The stealth model "Space Bunny" (200T tokens in stealth, OpenRouter's #1 for 10 days) returned as MiniMax M3.1 Flash, free for 72h, then $0.15/$0.60 per 1M, cached input $0.015.
Two things it does for you
Credits router
Max plans include $100 to $200 of API credits a month, and they expire. Point your non-interactive jobs at a local endpoint and Tally spends the expiring credits first, then the cheapest paid route.
Output from this machine, 29 Oct 2026, against a fresh store with one declared pool.
$ tally route pool add anthropic --usd 200 --resets 7 Pool #1 added. anthropic: 9 days left, $200.00 unused of $200.00 No anthropic key stored yet; the router cannot spend this pool until you run: tally connect anthropic $ tally route status anthropic: 9 days left, $200.00 unused of $200.00 Keys stored: none No route events yet. Start the router with `tally route` and point a job at it.
$ tally route pool add anthropic --usd 200 --resets 7 Pool #1 added. anthropic: 9 days left, $200.00 unused of $200.00 No anthropic key stored yet; the router cannot spend this pool until you run: tally connect anthropic $ tally route status anthropic: 9 days left, $200.00 unused of $200.00 Keys stored: none No route events yet. Start the router with `tally route` and point a job at it.
Pacing for Claude Code
The 5-hour window burns fastest on the biggest model. The statusline shows the burn. Past 80%, a hook nudges effort down until the window resets.
The statusline as rendered on this machine, 29 Oct 2026: 5-hour window, share used, API-equivalent so far, time to reset, today's total.
tally 5h 64% $90.4 ↻1h24
Against ccusage
| Capability | ccusage | Tally | Provider billing pages |
|---|---|---|---|
| Reads local agent logs | Claude Code, Codex, Cursor, Gemini CLI and more | Claude Code today. Codex, Cursor and Gemini CLI next | No |
| Prices at API rates | Yes | Yes, cache reads included | Shows what you were billed |
| Says keep or drop the plan | No | Yes, with levers | No |
| API spend across providers | No | OpenRouter today | One provider at a time |
| Deals with dates and data terms | No | Yes, verified or asserted on every row | No |
| Acts on spend | No | Credits router, pacing hook | No |
| Needs an account | No | No | Yes |
| Sends your data anywhere | No | No | It is their data |
| Licence | MIT | MIT | Not applicable |
| GitHub stars | 12,000 | New | Not applicable |
ccusage is the tool to beat here and it reads more agents today. The star count is from ccusage.com as of October 2026.
Questions first
Claude Code writes one JSONL file per session under ~/.claude/projects. Tally streams those files, counts each message once and prices every turn with Anthropic's public rates. Codex, Cursor and Gemini CLI readers are next.
No. There is no account, no telemetry and no upload. The only network call is a sync of a provider you connected yourself with a key, and the deal list ships inside the package.
Encrypted with AES-256-GCM before they touch SQLite. The master key lives in macOS Keychain, in TALLY_MASTER_KEY, or behind a passphrase stretched with scrypt. Keys are redacted from every error and never logged. The tests assert it.
Claude Code now, with no key. OpenRouter with a Management key for the per-model ledger. Codex, Cursor, Gemini CLI, and OpenAI and Anthropic API adapters follow.
Each entry says where it was seen and when. Verified means checked on the provider's own page that day. Asserted means seen only in third-party reporting. Data terms sit on the row when a free model may train on your prompts.
Only if you install the pacing hook, and then only by nudging effort down past 80% of a window. The wallet, the verdict and the deal feed are read-only.
Nothing. MIT licence, source on GitHub, no plan to sell the data. It runs on your machine, so it costs you the few seconds it takes to read the logs.
Claude Code writes one JSONL file per session under ~/.claude/projects. Tally streams those files, counts each message once and prices every turn with Anthropic's public rates. Codex, Cursor and Gemini CLI readers are next.