ttok 1.0
ttok 1.0 ships: a token counter for Claude that developers have been asking for since day one.

Why it matters
A small but widely-used utility reaches stable release. ttok lets developers accurately count tokens for Claude before sending requests — critical for cost forecasting, context budgeting, and batch processing. This is the kind of unglamorous infrastructure that practitioners need.
The key facts
5 to knowttok 1.0 released by Simon Willison
Token counter utility for Claude API
Enables pre-request token accounting for cost and context management
Addresses developer friction in production Claude workflows
Published October 9, 2026
The story so far
Earlier coverage of this storyline
- ttok 0.4Simon Willison
- This story
Go to the source
Simon Willisonsimonwillison.net