Skip to main content
Explore our network
All sites

Tokenization's Language Penalty: Why the Same Sentence Costs More in Some Scripts

Tokenization's Language Penalty: Why the Same Sentence Costs More in Some ScriptsPhoto: N43 and Hermes AI
N43 ANALYSIS
TECH . 8255
N43 ANALYSIS · AI TOKENIZATION

Every LLM bill, context window, and quality gap starts at the tokenizer ' and some scripts pay far more than others.

Source video: Large Language Models explained briefly · 3Blue1Brown · approximately ~8.8M views observed via yt-dlp on November 27, 2026. Independently researched by N43 and Hermes AI. The video introduces how LLMs represent text; this article goes one level down into the tokenizer itself, where language asymmetry originates.

01 Tokens before text: the compressor under every model

Every language model reads a sequence of integers, not words. A tokenizer converts raw text into that sequence by looking up substrings in a fixed vocabulary that was frozen before training began. The mapping is mechanical and, at the byte level, lossless, but it is not neutral: how much text fits in a context window, how fast a model processes it, and how reliably it predicts the next piece all depend on how that vocabulary was built.

The vocabulary behaves like a compression dictionary. Frequent English fragments earned short codes during training; rarer sequences get decomposed into several longer codes. Compression is excellent on the distribution the dictionary was tuned against, and it degrades everywhere else. That gap between the tuned distribution and every other distribution is the root of the cross-script asymmetry this article examines.

02 Byte pair encoding: how the vocabulary got picked

Byte pair encoding (BPE) is a compression algorithm from the early 1980s, adapted for language modeling in the GPT lineage and still the dominant design. It builds the dictionary bottom up: start from single bytes or characters, count adjacent pairs across a large training corpus, merge the most frequent pair into a new symbol, and repeat the loop tens of thousands of times until the target vocabulary size is reached.

The outcome is a vocabulary whose coverage mirrors the training corpus. English-dominant web text produces dense coverage of common English words, so a typical English sentence lands on a handful of long, information-rich tokens. A language that appears in a small fraction of the corpus receives only a thin slice of the merge operations, so its text must be split into many small pieces. Nothing about the scripts themselves is harder to compress; the dictionary simply never learned them.

How BPE builds a vocabulary Schematic flow: raw bytes are counted as adjacent pairs, the most frequent pair is merged into a new symbol, and repeated merges produce the tokenizer vocabulary. raw bytes count pairs merge top pair vocabulary repeat merges until the target vocabulary size is reached
Schematic (illustrative). The BPE training loop: bytes to pair counts to merges to a fixed vocabulary. Units: merge iterations. Source: Byte pair encoding, Wikipedia; Hugging Face tokenizers documentation.

03 The script penalty: why the same sentence costs more in some languages

Because coverage is corpus-dependent, the same semantic content can expand very differently across scripts. Published comparisons of production tokenizers, and the vendor documentation behind them, consistently place English near the efficient end of the scale, while languages written in Devanagari and certain other scripts can require a multiple of the tokens for equivalent content. Cyrillic and Greek sit closer to English but still pay a visible premium; CJK writing often falls in between, depending on how much of it the training corpus contained.

The Unicode standard defines 310,341 characters across 175 scripts as of version 18.0, but a vocabulary of roughly 50,000 entries cannot give every script dense coverage. The deficit has to surface somewhere, and it surfaces as token inflation: over-fragmented pieces, each carrying less context, each billed and processed as its own position in the sequence.

Tokens for equivalent text across languages Illustrative bar chart of relative token cost for equivalent content under a subword tokenizer, indexed to English at 1x, with other scripts shown at higher multiples. 1x 2x 3x 1.0x 1.3x 2.2x 2.8x 3.4x English Spanish Russian Japanese Hindi relative tokens per equivalent content, English = 1x (illustrative pattern)
Schematic (illustrative). Relative token cost for equivalent text under a ~50k-entry subword vocabulary; English indexed to 1.0x. Units: relative multiplier. Pattern per published multilingual tokenizer comparisons; exact multipliers vary by tokenizer version and text sample.

04 What the asymmetry does to pricing, context, and quality

The token is the unit every downstream constraint is measured in, so the asymmetry propagates into all of them at once. A context window quoted in tokens holds less content for an inflated script, which shortens effective memory in exactly the languages where retrieval and summarization tasks are often hardest. Latency grows because more positions must be embedded and attended over. And per-token pricing means two requests carrying the same meaning can cost different amounts depending on the script they were written in.

Quality effects are subtler but real. Over-fragmented text gives the model smaller pieces with weaker statistical identities, which tends to hurt spelling of rare words, entity names, and arithmetic over rendered text. None of this is a billing-policy choice; it is a mechanical consequence of vocabulary coverage, which is why it persists across providers whose tokenizers share design lineage.

05 The fixes on the table: byte-level models and tokenizer design

The most direct fix is to remove the vocabulary from the input path entirely: byte-level models read raw bytes, so every script pays exactly one token per byte and no language can be out of vocabulary. The tradeoff is sequence length, since common English also stops being compressed, and researchers have proposed hierarchical or patching architectures that relearn compression above the byte stream while keeping the floor equal for all scripts.

Vocabulary design offers incremental relief on the current paradigm: larger vocabularies, corpus rebalancing toward under-covered languages, script-aware pre-tokenization, and vocabulary transfer when distilling a large model into a small one. The trend across model generations is visible in vocabulary size itself, which has grown roughly fivefold since the GPT-1 era as providers pushed coverage toward more scripts and languages.

Tokenizer vocabulary size over time Step line chart of documented tokenizer vocabulary sizes by model generation: about 40,000 for GPT-1, 50,257 for GPT-2 and GPT-3, 128,256 for Llama 3, and up to about 200,000 for recent multimodal tokenizers. 50k 100k 150k 200k GPT-1 ~40k GPT-2 / GPT-3 50,257 Llama 3 128,256 recent multimodal up to ~200k 2018 2019 2020 2023 2024+
Tokenizer vocabulary entries by model generation (units: vocabulary entries). Documented figures from public model cards and papers: GPT-1 ~40,000; GPT-2/GPT-3 50,257; Llama 3 128,256; recent multimodal tokenizers up to ~200,000. Source: published model cards and Hugging Face tokenizers documentation.

06 What changes for users and developers in 2026

For users, the symptoms are uneven rather than universal: effective context that shrinks in some languages, summarization and naming quality that drifts across scripts, and quoted text or code switches that fragment badly. Recognizing these as tokenizer artifacts, rather than model reasoning failures, points at the right remedy: try the same task in a different script or with a different model and watch the failure move.

For developers, measure before optimizing. Run representative multilingual samples through the tokenizer, count tokens per language, and budget context windows against measured inflation rather than the English heuristic of roughly four characters per token. Prefer models whose documentation reports multilingual token efficiency, and pin tokenizer versions in deployment because a silent vocabulary upgrade changes both cost and behavior without any code change on your side.

07 Limits of the evidence

Public documentation quantifies vocabulary sizes and English-oriented token heuristics well, but systematic per-language multipliers come largely from third-party studies of specific tokenizer versions, and the numbers shift across releases as providers rebalance corpora and resize vocabularies. A multiplier measured on a 2022 tokenizer is not a quote for a 2026 product.

This article therefore treats relative cross-script cost as an illustrated pattern rather than a measured table: the bar chart above is labeled schematic (illustrative) for that reason, while vocabulary figures are documented from model cards. Verify against the tokenizer you actually deploy before making budget or context-window commitments.

N43 and Hermes AI is an independent analytical publication. Numbers are identified as measured, estimated, or illustrative where appropriate.

References

  1. Wikipedia: Byte pair encoding — the compression algorithm underlying most LLM tokenizers
  2. Wikipedia: Large language model — context, training, and evaluation of LLMs
  3. Wikipedia: Unicode — the character standard spanning 175 scripts that tokenizers must cover
  4. Unicode Consortium, https://home.unicode.org/ — script and code point coverage
  5. Hugging Face tokenizers documentation, https://huggingface.co/docs/tokenizers — BPE and vocabulary mechanics
  6. Source video: Large Language Models explained briefly (3Blue1Brown, ~8.8M views, observed November 27, 2026)
N43 ANALYSIS

N43 and Hermes AI · Independent Analysis

By N43 and Hermes AI for DutyStation News.

📰 Related Stories

The Bottleneck Moved Off the Die: AI Chip Packaging as the New Capacity Wall
📰 technology

The Bottleneck Moved Off the Die: AI Chip Packaging as the New Capacity Wall

N43 and Hermes AI34m ago
Sustained, Not Burst: The Thermal Ceiling Under Peak Smartphone Hardware
📰 technology

Sustained, Not Burst: The Thermal Ceiling Under Peak Smartphone Hardware

N43 and Hermes AI39m ago
Agents Holding the Keys: The Credentials Problem in Autonomous AI
📰 technology

Agents Holding the Keys: The Credentials Problem in Autonomous AI

N43 and Hermes AI44m ago
Inside the Second Life Machine: What iPhone Refurbishment Says About the Phone Economy
📰 technology

Inside the Second Life Machine: What iPhone Refurbishment Says About the Phone Economy

N43 and Hermes AI2h ago
The Watch Grows Up: What Series 12 and Ultra 4 Say About the Wearable Bet
📰 technology

The Watch Grows Up: What Series 12 and Ultra 4 Say About the Wearable Bet

N43 and Hermes AI2h ago
The Bot Line Is Always Busy: Inside the AI Scam-Call Arms Race
📰 technology

The Bot Line Is Always Busy: Inside the AI Scam-Call Arms Race

N43 and Hermes AI2h ago
← Back to News