We compare the tokenizers of DeepSeek-V4, GLM-5, Kimi K3, Marin, Qwen3.8 and Beam 1.0. Every plot uses the same encoding:
Solid marks are each tokenizer as shipped. Qwen3.8 and Beam 1.0 already split digits singly.
Hatched marks are a single-digit (1-digit) variant of DeepSeek-V4, GLM-5, Kimi K3 and Marin.
Cross-hatched, outlined marks are Marin with single digits and newline splitting.
Compression
Compression is measured in bytes per token; higher is better.
Compression on all text. Bytes per token with all text pooled. The axis does not start at 0.
Figure ? breaks the same measure down by data source.
Compression by data source. Bytes per token for each source, with its share of total bytes in the panel title. Each panel has its own zoomed axis, which does not start at 0.
Code syntax alignment
Alignment is the share of syntax spans in parsed code whose boundaries fall on token boundaries; higher is better.
Code AST boundary alignment. Share of syntax spans whose start and end, start only, or end only fall on token boundaries, pooled over 12 languages.Full alignment per language. The fully aligned rate from Fig ?, split by language.
Identifier fragmentation
Identifier fragmentation. Left: share of identifiers split into more than one token. Right: mean tokens per identifier; this axis does not start at 0. Lower is better for both.
Numbers
Numeric magnitude consistency. Left: tokens per digit by number length; a flat line means numbers of every length are split the same way. Right: coefficient of variation of tokens per digit across the 10 length buckets; lower is better.