Maali Tars: Estonian makes LLMs work harder

Language models break Estonian text into more pieces than English text, increasing both energy consumption and the cost of using these services, writes Maali Tars, a data scientist at the Institute of the Estonian Language.
Artificial intelligence can handle Estonian better if the specific characteristics of our language are taken into account during its development. One important technical choice is tokenization, or the process of breaking text into smaller units. Among other things, this determines how much computational work is required to process text. What can researchers do to make language models work more efficiently in Estonian?
A study recently covered by Novaator [in Estonian] showed that a language model can consume considerably more energy when performing tasks in Estonian than in English. For one of the models studied (Qwen3-8B), energy consumption was approximately three times as high.
This does not mean that every conversation with AI in Estonian consumes three times as much energy. However, the study does show that language models do not process all languages with equal efficiency. One reason is tokenization, or the way a language model breaks text into smaller units for processing in subsequent stages of the model.
How do language models process text?
For a language model to process text entered by a user, it must first be broken down into smaller units called tokens. A token can be an entire word, part of a word or a single character. Each token is assigned a numerical identifier that the model uses when processing text. There are several tokenization methods, each with its own advantages and disadvantages. The model has a vocabulary containing all the tokens that can be used to construct text.
The obvious first idea might be to include every word we know in the vocabulary. However, a user might enter a word that is not in the vocabulary, meaning the model would be unable to represent it using the units it knows. At the other extreme, we could create a vocabulary consisting solely of letters and symbols. This method would allow the model to construct unfamiliar words, but processing text would require considerably more tokens and, consequently, more computational work.
This brings us to a widely used method today: splitting text into words and parts of words (subword tokenization). A tokenizer is trained on text to build a vocabulary that includes not only individual characters but also frequently occurring words and parts of words. One common method is BPE (byte-pair encoding).
The example illustrates how the tokenizer used by OpenAI's models works. Although the Estonian sentence may contain fewer characters, tokenization breaks it down into more tokens. Anyone can visit OpenAI's website to see for themselves how the tokenizer breaks up text in different languages. Scientific studies have also demonstrated a similar disparity: Many language models break Estonian text into more tokens than English text.

Why does Estonian produce more tokens?
There are several reasons for this. First, Estonian is a morphologically rich language — it has many case forms, compound words and derivatives and words can be longer than in English. Second, the number of tokens depends on the data used to train the tokenizer.
If English dominates the training data, the vocabulary will also contain more words and parts of words that frequently occur in English. Estonian word forms may not be as well represented and will therefore need to be broken down into smaller units more often. The exact composition of the training data used by large commercial models is generally not publicly available, meaning we can only speculate about the relative proportions of different languages.
There is, however, reason to believe that English is considerably better represented than Estonian. The differences therefore stem not only from the structure of the Estonian language but also from the data and technical solutions used to develop the models.
The number of tokens also affects the cost of using language models. When accessing many models through application programming interfaces (APIs), pricing depends on the number of input and output tokens. If completing the same task requires more tokens in Estonian, using the language may prove more expensive.
This primarily affects companies and developers who use language models extensively, but increasingly also ordinary users. For example, OpenAI recently announced that usage under ChatGPT's paid plans would also be measured in tokens.
Some studies have shown that models may not perform as well on the same task in less well-represented languages as they do in English. Speakers of smaller languages may thus find themselves at a disadvantage: Using AI may be more expensive while delivering poorer results.
Can the models be made more equal in terms of languages?
One option would be to change the pricing policies of major AI companies so that the cost of their services does not depend solely on the number of tokens. However, this in itself would not reduce the energy required to process text.
Another option is to develop tokenization methods that better accommodate smaller languages. Researchers have been working on this for years. However, new solutions must retain the efficiency of existing methods so that major technology companies have an incentive to adopt them.
Researchers are also exploring alternative approaches, including methods better suited to smaller languages. These also include methods that do not rely on conventional subword tokenization, such as visual tokenization, in which text is presented to the model as an image, and so-called tokenizer-free model architectures, which process text directly at the character or byte level.
More information can be found in a recently published research paper that provides an overview of the current state of tokenization.
What can we do in Estonia?
It is difficult to persuade major AI companies to change their workflows. One option, however, is to develop and adapt language models specifically for Estonian. Estonia has already taken several steps in this direction. For example, work is underway on EstLLM, a language model that has undergone additional training on Estonian-language data to improve its proficiency in Estonian. Another option is to make more Estonian-language data available to researchers and companies alike so that it can be used to train language models.
We at the Institute of the Estonian Language (EKI) are also contributing to these efforts by coordinating the development of the Language Data Research Infrastructure (KeTa) to make Estonian-language data easier to collect, preserve and use. In addition, a project initiated by Eesti.ai is underway in which we are creating the first publicly available Estonian-language dataset that can be used for post-training language models. We are also using a language model benchmark to assess how well large language models perform in Estonian.
We cannot take it for granted that AI will work well in Estonian. This requires high-quality language data, targeted model development and evaluation of models' proficiency in Estonian. That way, we need not rely solely on the hope that international language models will automatically become more proficient in Estonian as they evolve.
--
Editor: Marcus Turovski











