The first lossy compression every model performs — and it now sets your 1M-token bill.
Tokenization controls how efficiently a model sees text, code, math and other modalities. A bad vocabulary wastes context, fragments numbers and hurts multilingual performance. In October 2026 the production default is still byte-level BPE with a 128k-256k vocabulary, but two things have changed. First, 1M-token context is now standard, so every point of compression shows up directly in KV-cache and serving cost. Second, multimodal tokenization is moving toward one unified token stream, as in Kimi K3's next-token-trained vision encoder and Gemma 4's 'encoder-free' 12B model. Learned byte-level chunking (H-Net and its 2026 follow-ups) matches BPE at research scale, but no frontier lab has publicly shipped a tokenizer-free production model.
A frontier-grade implementation, in order.
Byte-level BPE is the safe production default. Use Unigram (SentencePiece) for heavily multilingual mixes. Prototype H-Net-style learned chunking or BLT-style patching only if you can afford a separate ablation track.
Sample 1-10% of the actual pretraining mix, weighted by language and including code, math and long documents. A vocab trained on a different distribution costs throughput for the whole run.
128k-200k for English + code, 200k-300k for highly multilingual. Bigger vocab means better compression (cheaper 1M-token contexts) but larger embedding/output matrices and costlier MTP/draft heads.
Split digits individually (or in fixed groups of three) for arithmetic robustness. Add code-aware pre-tokenization for whitespace and indentation.
Reserve special tokens for image/audio/video spans, tool calls, system prompts, thinking blocks and sub-agent messages. Decide early whether vision enters as a separate encoder or as unified next-token-trained tokens (the Kimi K3 / Gemma 4 12B direction).
In rough order of foundational → recent. Click any title to open the arXiv abstract.
Moonshot AI · 2026
Vision encoder trained from scratch with next-token prediction only.
Various · 2026
2026 follow-up to H-Net dynamic chunking.
Various · 2026
2026 tokenizer-free follow-up in the H-Net line.
Google DeepMind · 2026
Qwen Team (Alibaba) · 2026
Omni tokenization across text, image, audio and video.
Hwang, Wang, Gu · 2025
Pagnoni et al. (Meta) · 2024
Wang et al. · 2024
Yu et al. · 2023
Meta · 2024
Kyutai · 2024
Mentzer et al. · 2023
Défossez et al. · 2022
Wang, Cho, Gu · 2020
Kudo, Richardson · 2018
Sennrich, Haddow, Birch · 2016