top | item 46969042

Ctoc: Cloc, but for Claude Token Counts

1 points| grohan | 20 days ago |grohan.co

1 comment

order

grohan|20 days ago

Here's a reverse engineer of the Claude token counter API as well as the model's vocabulary. Fast, offline, 96% accurate.