Skip to content

Knowledge sharing • 5 min read

Do We Need a HunGPT? Or: Is There Really a Need for Hungarian-Specific Large Language Models?

Szakács Benedek

Senior Data Scientist

The answer isn't as clear-cut as it might first seem. Although the best-known language models already handle Hungarian excellently, models optimised for Hungarian can still offer a real advantage for certain tasks. But is it worth developing our own LLM, or does the future lie in fine-tuning open models?

Summarize in
or

But ChatGPT speaks Hungarian already...

Today's best-known LLMs, ChatGPT, Claude and Gemini, all understand instructions in Hungarian well and can reply in almost flawless Hungarian. For most users, who mainly ask simple questions or give straightforward instructions, this is entirely sufficient. LLMs can also be eloquent, polite or friendly, as the situation demands.

But what does it actually mean for an LLM to "speak" Hungarian? Producing grammatically correct text and answering simple questions is one thing, but "knowing Hungarian" has other aspects that are less obvious. The Hungarian language is more than a set of formal rules: there are dialects, more complex grammatical structures, subtle differences in meaning and cultural references that an LLM does not necessarily master.

So the question "Does a given LLM speak Hungarian?" is hard to answer objectively. There are, however, various tests that make it possible to quantify the Hungarian proficiency of individual language models.

Examples include OpenHuEval and HuLU, two Hungarian-language benchmarks that measure model performance through a range of clearly assessable tasks, much like a school exam. The tests cover many subject areas, including language, history, culture and geography, and use a variety of task types such as word substitution, knowledge-based questions and reasoning tasks.

When OpenHuEval was published, GPT-4o and DeepSeek R1 were considered the strongest models, and even they struggled with certain task types. The models performed best at inferring the meaning of words from context, and worst at substitution tasks with no answer options provided.

HuGME is a more modern but not yet widely used benchmark. Instead of expecting predefined answers from the model being tested, it has another LLM with the appropriate knowledge evaluate the results.

A sovereign LLM strategy

What are the arguments in favour of Hungarian-specific LLMs?

Here it's worth distinguishing between two types of language models: openly available LLMs and "closed-ecosystem" LLMs. The former can be downloaded by anyone and run on their own server (provided it has enough computing power for the model). These are usually smaller, simpler models, precisely so that their more modest hardware requirements make them accessible to a wider audience. Examples include the recently released Gemma 4 model family and the Llama models. The latter, the "closed-ecosystem" LLMs (such as the widely known ChatGPT, Claude or Gemini), can only be used through online providers, where the security of our data depends on the provider, as do when, how often and at what price we can use their models. This creates a strong dependency, which could grow to strategic proportions if LLMs come to play a key role in how Hungary functions.

A model built specifically for Hungarian could, for example, perform better in customer service, as it would be able to cope with poor spelling or slang. Precise language knowledge and interpretation could also be crucial for legal texts, where any slip can cause serious problems.

One of today's key topics is AI sovereignty: the idea that countries should depend as little as possible on other countries, or on specific foreign companies, for AI resources. For Hungary to take this path, an openly available LLM with adequate performance is essential.

Besides sovereignty, model size is also an important consideration. Current trends already suggest that for certain use cases the largest models aren't necessarily needed: smaller models, even ones running locally on the user's own computer, can deliver adequate performance while being significantly more cost-effective to operate. However, because of their simplicity, most small LLMs are weaker in Hungarian (as it was not a focus of their training). This problem could also be addressed with smaller models trained specifically for Hungarian, where knowledge of foreign languages is a less important parameter.

Does HunGPT already exist?

Attempts to train Hungarian-language LLMs have been under way for years, and several such models have been created. Successive generations of Puli (Puli Trio, Puli Llumix 32k, Puli Llumix Llama 3.1 8B) have achieved increasingly strong results on the OpenHuEval and HuLU benchmarks mentioned above.

Also worth mentioning is the recently released, publicly available Racka 4B model, which is smaller than the best-performing Puli model yet achieved better results on certain tests.

The latest Puli models and Racka are not independently developed foundation models: they start from an existing, openly available multilingual language model and improve its Hungarian proficiency, at the expense of other languages, through a process called fine-tuning. The advantage of this approach is that it requires far fewer resources and largely preserves the model's existing knowledge.

It's important to note, however, that these models are far more limited than today's largest models; their stronger "Hungarian skills" stand out mainly in comparison with multilingual models of a similar size.

How much would a HunGPT cost?

Today, the vast majority of information available online is in English. The primary role of LLMs, gathering and processing the right information, requires knowledge of English. A model trained entirely in Hungarian therefore makes little sense.

It's an unavoidable fact that the Hungarian proficiency of the most advanced models is entirely satisfactory for the vast majority of users. They gain nothing from using a lower-performing Hungarian model, unless cost, data security or sovereignty considerations come into play.

We also have to accept that Hungary cannot compete economically with the US or China when it comes to LLMs. Training frontier models is extremely resource-intensive: the training cost of Llama 3.1, one of the best models at the time of its release, is estimated at over 100 million dollars. That's roughly 30 billion forints, and it covers training alone, excluding data collection, research and failed experiments.

Meanwhile, market leader OpenAI releases a new version of ChatGPT roughly every year. In other words, these development and training costs are unrealistically high relative to the size of the Hungarian economy. There is no domestic market player for whom it would be worthwhile to release Hungarian-focused LLMs at this scale and with this regularity.

Obsolescence is visible with smaller models too: Racka 4B's advantage, for instance, comes partly from the more recent model it is based on. Puli is also continuously updated, with new versions published from time to time.

In the long run, given the steady improvement of small models' performance, fine-tuning existing open models for Hungarian seems a more realistic strategy. This makes it possible to create widely accessible Hungarian models that perform exceptionally well for their size, without bearing the cost of developing an entire foundation model. In this way, a certain level of AI sovereignty can be achieved cost-effectively.

To the question of whether we should compete with frontier models with a Hungarian-language focus, the answer is a clear no. What matters far more is the main priorities of a given use case. In terms of performance, Hungarian-focused LLMs will never catch up with the "big players", but where data security, independence and cost-efficiency are key considerations, small, openly available models absolutely have their place, and supporting them should be an important strategic goal from the perspective of AI sovereignty.