tokenstat help
Guides and how-tos
Install the CLI, read your own numbers, sync a machine, and publish a profile. Short, practical walkthroughs.
Getting started
4 guidesWhat tokenstat is, what it reads off your machine, and the one command that installs it on macOS, Linux, or Windows. Start here if you want to know where the numbers come from before you run anything, and how to remove it cleanly if you change your mind.
Reading your usage
3 guidesYour token totals are mostly cache reads, and a cache read costs a fraction of fresh input. These guides explain what a raw token count actually tells you, why a big context is cheaper than it looks, and how to read a cost figure that is a list rate rather than a bill.
Sync and profiles
2 guidesSyncing is optional and an account is private until you deliberately publish it. Here is every field that leaves your machine, the command that prints those exact bytes first, and what claiming a handle does to what other people can see.
Tools and sources
3 guidesEvery coding tool tokenstat reads, where each one writes its usage on disk, and what it does not record. The gaps are named rather than papered over, because a confident zero is worse than an honest one.
Troubleshooting
3 guidesAn empty report, a machine that stopped syncing, or a total that disagrees with a vendor's billing page. Each guide names the likely cause first and the fix second, in the order worth checking.