A consequence worth adding for anyone building on top of this: tokenization is not uniform across languages, and that turns a curiosity into a budget line. Text in Turkish, Finnish or any agglutinative language fragments into far more tokens than the equivalent English, because the vocabulary was fitted mostly to English text - so the same document costs noticeably more, fills the context faster, and gets truncated sooner. It also degrades retrieval quality in a way that is easy to blame on the wrong component, since heavier fragmentation means embeddings for those languages are built from less coherent pieces. Same underlying fact as the strawberry bug, just with a bill attached.
This is an excellent addition. The “token cost” of multilingual AI is easy to overlook because we tend to benchmark everything against English.
And I especially like your point about misdiagnosing the problem. When retrieval quality drops, it’s tempting to blame the embedding model or search layer, when tokenization may already be introducing fragmentation upstream.
So the strawberry bug isn’t just a curiosity—it’s a reminder that seemingly small tokenizer decisions can have real consequences for cost, context, and multilingual performance. Thanks for adding this perspective!
I should qualify the embedding part of my earlier comment: heavier fragmentation does not by itself prove worse retrieval. The encoder's training and preprocessing also matter, and the effect needs to be measured rather than inferred from token count alone.
A useful comparison would log whether matched-language passages were truncated under the encoder's actual limit, then evaluate retrieval with and without that truncation. That separates a concrete loss of source text from a broader language-quality issue. The cost and context-budget consequences remain directly measurable, but the retrieval explanation needs its own evidence.
Ahmet Özel
AI Engineer. Computer Vision, RAG and LLM agents.
A consequence worth adding for anyone building on top of this: tokenization is not uniform across languages, and that turns a curiosity into a budget line. Text in Turkish, Finnish or any agglutinative language fragments into far more tokens than the equivalent English, because the vocabulary was fitted mostly to English text - so the same document costs noticeably more, fills the context faster, and gets truncated sooner. It also degrades retrieval quality in a way that is easy to blame on the wrong component, since heavier fragmentation means embeddings for those languages are built from less coherent pieces. Same underlying fact as the strawberry bug, just with a bill attached.