ttok 1.0
Release: ttok 1.0 I released ttok 0.4 , ran uv tool upgrade ttok , piped a file into the new version... and realized that it was defaulting to the GPT-4 tokenizer when it should very clearly default to GPT-5/GPT-6 instead! I figured switching the default was a reasonable excuse to finally ship a 1.0. OpenAI haven't actually confirmed that GPT-6 uses the same tokenizer as the GPT-5 family yet -…
In a recent development, ttok 1.0 was released, replacing ttok 0.4. The user ran a file through the upgraded version, only to discover that the default tokenizer was set to GPT-4, rather than the intended GPT-5 or GPT-6. This oversight prompted the creator to ship the updated version as a 1.0 release. Although OpenAI has not officially confirmed that GPT-6 uses the same tokenizer as the GPT-5 family, a commit by William Liu provides evidence that the tokenizers are likely identical.
Seven GPT models, including 5.5, 5.6 Sol/Terra/Luna, and 6 Astra/Sol/Luna, all report 44,794 tokens and match each other on all 31 fixtures. GPT-6 does not introduce any input-count changes on this corpus. The release was highlighted by Simon Willison on October 9th, 2026, and sponsored by readers for $10/month, who receive a curated email digest of the month's most important LLM developments.
Rewritten by urgent.news; may contain errors — check the original.
Source: simonwillison.net