Is there a way to see how many tokes one does with claude code (pro)?

the casino has no clocks, as one HN user put it some time ago.

I second ccusage, it's nice

It's in the JSONs in ~/.claude, but last 30 days only I think. You can have the model analyze history. So for correct history you'd need to run history analysis on a cron job or something. Kinda hacky.

The 30 day limit can be overridden by adding "cleanupPeriodDays": 9999 to .claude/settings.json