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
$ 
Swipe for the verdict and the deals.

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
Node 20 or later. Nothing is uploaded.

What it reads, what stays

Reads
Claude Code ~/.claude/projects/*/*.jsonlnow
OpenRouter Management keyconnected
Codexcoming
Cursorcoming
Gemini CLIcoming
OpenAI and Anthropic API keyscoming
Stays on your machine
Your logsread in place
Your keysAES-256-GCM, Keychain
The ledgerSQLite in ~/.tally
Telemetrynone
Accountnone
LicenceMIT

One 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.

VERDICT  (Claude Max 20x)
  You used $1601 API-equivalent on a $200 plan: 8.0x.
  Keep it.
  → Your plan includes $200/month of Claude Platform API
    credits. They expire monthly. Claim once in claude.ai
    → settings.

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.

live
liveThree new :free models on OpenRouter this month · open to anyone · verified

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.

Source: openrouter.ai/api/v1/models, 29 Oct 2026.

ending
ends 2026-10-31Qoder: DeepSeek-V4.1-Flash free until 1 Nov, plus 100 credits/day · you run deepseek/deepseek-v4.1-flash · asserted

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.

Source: freetokens.custats.info via Parallel search, 28 Oct 2026.

missed
ended 2026-10-22MiniMax M3.1 Flash free on OpenRouter for 72 hours (19 to 22 Oct) · open to anyone · verified

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.

Source: OpenRouter and MiniMax on X, 19 Oct 2026; unite.ai. Shown by tally deals --all.

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.

Against ccusage

CapabilityccusageTallyProvider billing pages
Reads local agent logsClaude Code, Codex, Cursor, Gemini CLI and moreClaude Code today. Codex, Cursor and Gemini CLI nextNo
Prices at API ratesYesYes, cache reads includedShows what you were billed
Says keep or drop the planNoYes, with leversNo
API spend across providersNoOpenRouter todayOne provider at a time
Deals with dates and data termsNoYes, verified or asserted on every rowNo
Acts on spendNoCredits router, pacing hookNo
Needs an accountNoNoYes
Sends your data anywhereNoNoIt is their data
LicenceMITMITNot applicable
GitHub stars12,000NewNot 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.