Ctoc: Cloc, but for Claude Token Counts(grohan.co)
grohan.co
Ctoc: Cloc, but for Claude Token Counts
https://grohan.co/2026/02/10/ctoc/
1 comments
Here's a reverse engineer of the Claude token counter API as well as the model's vocabulary. Fast, offline, 96% accurate.