Open on desktop
This ledger is designed for a widescreen view. Please open the link on a desktop or laptop browser.
← Back to homePaste ccusage output
Run in terminal, then paste the full output below:
Daily spend · USD
What the ledger shows
Everything on the sheet is read from your own ccusage rows. The headline is total tokens with the API-equivalent cost beside it; under that, one card per provider — Claude Code filed under Anthropic, Codex CLI under OpenAI — each carrying tokens with cache reads included, cost, share of usage, active days, and the model names found in your data. The stacked bar chart at the bottom plots each day, switchable between tokens and dollars, and the whole sheet renders in either of two print-inspired modes, Paper and Ink.
Feeding it your numbers
Pick a date range in the paste dialog and it assembles the exact npx ccusage command covering both providers, with a copy button beside it. Run that in a terminal and paste back everything it printed. The parser tells the two tables apart by their fifth column header — “Cache Create” marks the Claude table, “Reasoning” marks Codex — then extracts dates, models, tokens, and cost for each day. Until your first paste, the sheet displays built-in sample numbers so you can judge the layout before committing your own.
Nothing leaves the tab
Parsing runs in the browser, the parsed result sits in localStorage, and no server receives any of it. Once the numbers turn 24 hours old, the refresh button turns urgent and says exactly how stale they are — a shared poster should not quietly show last week. One caveat stated plainly: the dollar figures are API-equivalent prices computed by the CLI, not anyone's actual bill.
Built to be shared
Share draws the sheet to a PNG at double scale, puts the image on your clipboard, and opens an X compose window pre-filled with your token total, crediting only the providers you actually used; if the browser blocks clipboard access, the PNG downloads instead and you attach it yourself. The capture library ships from this site and is integrity-pinned, so a tampered copy refuses to run. The layout is built for widescreen — phones get a card pointing to a desktop. Free, no account. The ccusage CLI itself is a third-party tool you run locally, and this page never connects to a provider account, so there is nothing to authorize and nothing to revoke.