ttok 0.4
ttok is my CLI tool for counting tokens, using OpenAI's open source tiktoken library.
Proof1 independent outlet
Key points
- 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.
- It works with uvx, so you can count tokens in anything like this:
- Tags: projects, ai, openai, generative-ai, llms, tokenization
Sources (1)
- [1]ttok 0.4Simon Willison's Weblog · Oct 8, 11:34 PM
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.
Extractive summary: sentences quoted from the sources.
Before this
- Oct 8, 2026openai/codex rust-v0.162.0: 0.162.0
- Oct 8, 2026OpenAI’s revenue is reportedly $20 billion less than previously projected
- Oct 8, 2026langchain-ai/langchain langchain-openai==1.7.0
- Oct 8, 2026Understanding Jev, the new model everyone is talking about
- Oct 7, 2026[AINews] Claude Haiku 5.5 — better than GPT-6 Luna at the same pricing
- Oct 7, 2026Google rolls out improved SynthID AI content detector, now available globally
