jalenbuilds/ tool works
Token Ledger · runs in your browser

Know exactly what your AI usage costs.

Paste the usage export from your AI provider and get an instant spend dashboard — totals, spend by day, and a per-model breakdown. No account, no upload. Your data never leaves this page.

Drop in a CSV from the Anthropic Console (Usage) or the OpenAI Platform (Usage). Token Ledger reads the columns automatically. No cost column? It estimates from token counts.

Model pricing (editable estimates)

Used only when your CSV has no cost column — spend is estimated from tokens. Rates are per million tokens in USD. Editable estimates — check your provider's pricing page. Matched by substring of the model name.

Model containsInput / MOutput / M
Ledger

No numbers yet — the ledger's a blank page.

Paste or drop a usage CSV and you'll get spend by day, by model, and the totals that matter. Nothing uploads; it all stays in this tab.

How it works

Three steps, no setup

01

Export

Grab the usage CSV your provider already gives you. Anthropic and OpenAI both let you export it in one click.

02

Paste

Columns are detected automatically — date, model, tokens, cost. Wrong guess? Fix it with a dropdown. No cost column gets estimated.

03

Read

Totals, a spend-by-day chart, and a per-model table — instantly. Export a clean summary when you need to share it.

Pricing

Free dashboard. Pro when you run the numbers for real.

The dashboard is free and complete. Pro is for people juggling multiple providers, clients, and budgets.

Free
$0
  • Paste or upload any usage CSV
  • Automatic column detection + manual remap
  • Spend by day and by model
  • Totals, top model, days covered
  • Cost estimates from an editable price table
  • Export a per-model summary CSV
  • Runs entirely in your browser
Questions, answered plainly

Before you ask

How do I get a usage CSV from my AI provider?

In the Anthropic Console, open Usage and export CSV. In the OpenAI Platform, open Usage and export your activity. Then paste the file here or choose it from your computer.

Do I need an account or an API key?

No. Token Ledger reads a file you already have. There's no login, no API key, and nothing is uploaded to a server.

What if my export has no cost column?

It estimates spend from token counts using an editable price table. The rates are clearly labeled estimates — you can correct any model's input and output price, or add a model it doesn't know. Your edits are saved in this browser.

Is my data safe?

Yes. Everything is processed in your browser — nothing you paste or load is ever sent to a server. Your pasted data disappears when you close the tab; only your price-table edits and preferences are saved locally in this browser, and “Reset to defaults” clears them.

Which providers and formats work?

Any CSV with a date, a model, and token or cost columns. Token Ledger auto-detects common Anthropic and OpenAI export headers (like input_tokens, completion_tokens, cost) and lets you remap any column by hand.