Remix.run Logo
spiderfarmer 9 hours ago

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

bpavuk 9 hours ago | parent | next [-]

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

I second ccusage, it's nice

cptchaos 9 hours ago | parent | prev | next [-]

https://ccusage.com/

edg5000 8 hours ago | parent | prev [-]

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.

Stagnant 3 hours ago | parent [-]

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