Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Ctoc: Cloc, but for Claude Token Counts
(opens in new tab)
(grohan.co)
1 points
grohan
4mo ago
1 comments
Save
Share
1 comments
1 comments · 1 top-level
top
newest
oldest
grohan
OP
4mo 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