Free tool

Claude token cost calculator

What a session costs at API prices, from its four token counts. Cache reads bill at a tenth of the input rate and cache writes at a quarter more, which is why counting only input and output gets the number wrong.

Fresh input, not from the cache.

Context re-read on each turn.

Context written to the cache.

Per session$1.56
Per month$62.20
Same session without the cache$6.83
Cache read / write rate$0.20 / $2.50 per M

An estimate at Anthropic's list prices, checked on . On a Pro or Max subscription you do not pay per token; the figure tells you what the same work would cost through the API, which is useful to compare sessions and projects.

Where to find your own numbers: Claude Code writes them in its local transcripts. Inlinr's Claude Code plugin reads them and shows the four counts and this estimate per project and per week, see reading a token bill.

See the real numbers, per project

Install the Claude Code plugin and every session lands on your dashboard with its tokens, its cost and the lines it wrote.

No card to start · no source code leaves your machine