AI-generated text
ttok 1.0 released after default tokenizer switched to GPT-5/GPT-6 family
Tools · October 9, 2026

The developer released ttok 1.0 after discovering that the tool defaulted to the GPT-4 tokenizer instead of a GPT-5/GPT-6 tokenizer.
The developer published ttok 1.0 after discovering an unexpected default tokenizer when upgrading from the previous 0.4 release. During the upgrade procedure — described by the author — they ran uv tool upgrade ttok and piped a file into the new version, then noticed the tool defaulted to the GPT‑4 tokenizer even though they considered the GPT‑5/GPT‑6 family should be the default.
Changing the default tokenizer provided a reason to finalize and ship the 1.0 release.
GPT‑6 tokenizer compatibility remains unconfirmed by OpenAI
OpenAI has not officially confirmed whether GPT‑6 uses the same tokenizer as the GPT‑5 family. The topic has generated some friction in discussions (the author notes an "angry issue"), so a formal confirmation from OpenAI is still pending.
The developer points to a commit by William Liu reporting an experiment: seven GPT models (5.5, 5.6 Sol/Terra/Luna and 6 Astra/Sol/Luna) produced the same token count — 44,794 tokens — on the tested corpus and matched each other on all 31 fixtures used for comparison. The commit also notes that GPT‑6 introduces no input-count change on that corpus.
Why this matters
Changing the default tokenizer can affect systems tuned for specific models, token counting, and cost estimates. If GPT‑5 and GPT‑6 share the same tokenizer, migration and compatibility are simpler; if they differ, mismatched defaults could lead to incorrect token counts or other integration issues.
The ttok 1.0 release is therefore both a practical fix and a response to the observed defaulting behavior, while definitive technical confirmation about GPT‑6’s tokenizer awaits an official statement from OpenAI.
Related articles More from the section.
Linear shifts product strategy toward AI agents
Linear is recasting its issue tracker as a product development system built around coordinating AI agents.
Tools · November 25, 2026NVIDIA connects AI cluster management with building systems
NVIDIA Mission Control connects liquid-cooled AI infrastructure with building management systems to coordinate responses to leaks.
Tools · November 25, 2026Thariq Shihipar Discusses AI Agents and Personal Software Experiments
At AI Engineer CODE, Thariq Shihipar explored how AI agents could make software cheaper to produce while leaving room for hands-on craft.


