# ttok 1.0

DevFeed: [ttok 1.0](<https://devfeed.tech/articles/ttok-1-0-77519.md>)

Original publisher: [Read original article](<https://simonwillison.net/2026/Oct/9/ttok/>)

Author: Simon Willison

Published: 2026-10-09T00:34:43Z

Content type: release

Language: en

Sources: [Simon Willison's Weblog](<https://devfeed.tech/sources/simon-willison-s-weblog.md>)

Topics: [tokenization](<https://devfeed.tech/topics/tokenization.md>), [Frontier AI](<https://devfeed.tech/topics/frontier-ai.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-2-271](<https://devfeed.tech/tags/ai-2-271.md>), [generative-ai](<https://devfeed.tech/tags/generative-ai.md>), [generative-ai-2-013](<https://devfeed.tech/tags/generative-ai-2-013.md>), [gpt-5](<https://devfeed.tech/tags/gpt-5.md>), [gpt-6](<https://devfeed.tech/tags/gpt-6.md>), [llms](<https://devfeed.tech/tags/llms.md>), [llms-1-979](<https://devfeed.tech/tags/llms-1-979.md>), [openai](<https://devfeed.tech/tags/openai.md>), [openai-474](<https://devfeed.tech/tags/openai-474.md>), [projects](<https://devfeed.tech/tags/projects.md>), [projects-556](<https://devfeed.tech/tags/projects-556.md>), [tokenization](<https://devfeed.tech/tags/tokenization.md>), [tokenization-15](<https://devfeed.tech/tags/tokenization-15.md>)

## AI overview

The ttok 1.0 release changes the default tokenizer from GPT-4 to GPT-5/GPT-6. An experiment reported matching token counts across seven GPT models on 31 fixtures, though OpenAI has not confirmed that GPT-6 uses the same tokenizer as GPT-5.

## Source excerpt

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 - there's an angry issue about it - but I found this commit by William Liu which reports on an experiment he ran confirming that the tokenizers are likely the same: All seven GPT models (5.5, 5.6 Sol/Terra/Luna, 6 Astra/Sol/Luna) report 44,794 tokens and match each other on every one of the 31 fixtures. GPT-6 introduces no input-count change on this corpus. Tags: projects, ai, openai, generative-ai, llms, tokenization