Free tool

Claude Code Token Cost Calculator

Paste a ccusage export or enter token counts manually to see a transparent per-model cost breakdown. The price table is editable because providers change prices; the calculator never fetches them. Read the token tracking guide →

Paste a ccusage JSON export

Manual token rows

Editable price table

Prices are USD per million tokens and are deliberately editable because provider pricing changes. Nothing is fetched from the network.

claude-fable-5
claude-opus-5
claude-sonnet-5
claude-haiku-4-5

Total

$0.0000

1 row

Fresh vs cache

Fresh $0.0000

Cache $0.0000 · 0% of cost

Cost by model

claude-sonnet-50
Summary uses current editable prices.
0:000:00