ttok 1.0
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Very little for most readers: a small token-counting CLI now defaults to the GPT-5-family tokenizer, and independent testing suggests GPT-6 shares it.
Simon Willison released version 1.0 of ttok, a small command-line tool that counts how many 'tokens', the word fragments AI models actually read, are in a piece of text. The update changes the default counting method from GPT-4 to the GPT-5 family of models. Independent testing suggests GPT-6 uses the same counting method, so estimates stay accurate.
ttok 1.0 is a free, minor developer utility release: Simon Willison updated his token-counting CLI to default to the GPT-5 tokenizer instead of GPT-4's. No costs or competitive stakes; the practical significance is that token estimates for GPT-5 and GPT-6 stay accurate, since an experiment by William Liu found all seven GPT-5 and GPT-6 models produce identical token counts.
ttok 1.0 changes its default tokenizer from GPT-4's to the GPT-5 family's via tiktoken. OpenAI has not confirmed GPT-6 shares the tokenizer (an open tiktoken issue complains about this), but William Liu's commit shows all seven GPT-5/5.5/5.6 and GPT-6 variants, 5.5, 5.6 Sol/Terra/Luna, 6 Astra/Sol/Luna, match at 44,794 tokens across all 31 fixtures.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.