Simon Willison releases ttok 0.4
What happened
On 9 October 2026, Simon Willison released ttok 0.4, a token-counting CLI tool. This version fixes Click warnings, updates CI, and adds a --list-models command for listing available models. ttok is built on OpenAI's open-source tiktoken library and can be run directly with uvx, for example `cat file.txt | uvx ttok`.
Written by AI from the reports · updated 7 d ago
Timeline
Follow the reports to see the event from each side.
- Simon Willisonttok 0.4
Release: ttok 0.4 ttok is my CLI tool for counting tokens, using OpenAI's open source tiktoken library. It hasn't been in updated in a couple of years, but I finally fixed a Click warning, updated CI, and added a --list-models command to list available models.
Heat of this event
Current heat 3·Peak in the comparable range 8(Oct 9 16:00)·Change over 24 hours in the comparable range -51%
The trend compares only the same accounts observed without a break, so its range can be narrower than the current heat count. Move the pointer or tap the chart to see each hour; with a keyboard, use the left and right arrow keys.