Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
Ctoc: Cloc, but for Claude Token Counts | Better HN
Ctoc: Cloc, but for Claude Token Counts
(opens in new tab)
(grohan.co)
1 points
grohan
1mo ago
1 comments
Share
1 comments
default
newest
oldest
grohan
OP
1mo ago
Here's a reverse engineer of the Claude token counter API as well as the model's vocabulary. Fast, offline, 96% accurate.
j
/
k
navigate · click thread line to collapse