All posts

What is an LLM? How large language models work and who builds them in the US, China and Europe

In 2020, OpenAI’s GPT-3 had 175 billion parameters, ten times more than any comparable model before it. Kimi K3, a model from the Chinese company Moonshot AI that anyone can download today, has 2.8 trillion: 16 times as many. Most of the largest downloadable models now come from China, and Europe publishes its own, built for EU languages. This guide explains what an LLM is, how it works, who builds them in the US, China and Europe, and what that means for your company’s data.

Patric Slis
Patric Slis7 November 2026 · 14 min read

What you type

The parties agree as

What the model calculates: the most likely next word

follows
set
of
to
Simplified. A real model scores every token on its list at each step. One of OpenAI’s token lists has about 200,000 entries.
175 billionparameters in GPT-3, 2020
2.8 trillionparameters in Kimi K3, 2026
16×as many in six years
The short answer

Definition: an LLM (large language model) is an AI program trained on huge amounts of text to predict the next word. That one skill is enough to answer questions, write, summarise and translate. ChatGPT, Claude, Gemini, Copilot, DeepSeek, Qwen and Mistral’s Vibe all run on LLMs.

In one line: the LLM is the model, ChatGPT is the app around it.

LLM meaning: what does LLM stand for?

In AI, LLM stands for large language model. Each of the three words says something about how it works:

LLargeBillions to trillions of parameters
LLanguageLearns from text and works with text
MModelPatterns learned from examples

Two mix-ups are common. LLM does not stand for “language learning model”, although many people search for exactly that. And in law, an LL.M. is a Master of Laws. If you came for the degree, this is the wrong page.

LLM vs AI, machine learning and generative AI

An LLM is one kind of AI, but most AI is not an LLM. The terms sit inside each other:

Artificial intelligenceSoftware that does tasks we call intelligentExample: a chess computer
Machine learningLearns from data instead of fixed rulesExample: a spam filter
Deep learningNeural networks with many layersExample: face unlock on a phone
Generative AICreates new text, images, audio or videoExample: an image generator
Large language modelsGenerative AI for textExample: the model inside ChatGPT
From the widest term to the narrowest. Every large language model is also everything outside it.

So a spam filter is AI but not an LLM. The model inside ChatGPT is all five at once.

LLM vs NLP. Natural language processing is the older field of getting computers to handle language. LLMs are now its main tool.

LLM vs SLM. A small language model works the same way with far fewer parameters, so it fits on a laptop or a phone.

How do LLMs work?

An LLM writes one small piece of text at a time. At every step it looks at everything written so far and calculates which piece is most likely to come next. Type “The parties agree as” and its top candidate is “follows”.

Thepartiesagreeas
1Cut into tokensYour text is cut into small pieces, each one a number.
partiesagreeas
2Weigh contextAttention links every piece to the ones that matter for it.
followssetofto
3Score optionsThe model gives every possible next piece a probability.
…agree asfollows
4Pick and repeatThe winner is added, and the loop starts again from step one.

Step one is the subject of our guide What is a token in AI? Step two is what made today’s models possible: the transformer, a design that Google researchers published in 2017 under the title “Attention Is All You Need”. It relates every token to all the others, so “it” finds “the contract” three lines earlier. Step four is why an answer appears on your screen word by word.

  • Why the same question gets different answers. A setting called temperature controls how often the model picks a less likely token. At a low temperature it nearly always takes the top choice, at a higher one it varies more. That is why LLMs are not deterministic.
  • An LLM has no memory. The model keeps nothing between two requests. A chat app sends the whole conversation again with every new question, and Anthropic’s API documentation describes exactly that for Claude. The memory you notice belongs to the app.
  • Reasoning models think first. They write out intermediate steps before the final answer. That makes them better at maths, code and tasks with many steps, and slower and more expensive, because the steps are tokens too.
  • Do LLMs think? Researchers disagree. At work, something else matters: an LLM can be completely wrong and sound completely sure.

How are LLMs trained?

LLMs are trained in stages: first on trillions of tokens of text to predict what comes next, then on examples and feedback so that they follow instructions.

1Pre-trainingThe model reads text and code and learns to predict the next token. Aleph Alpha’s Kolibri-1 saw 20 trillion tokens: about 62% English, 24% German and 14% code.
2Fine-tuningIt is shown questions with good answers and learns to follow instructions.
3Human feedbackPeople compare answers, and the model is pushed towards the ones they prefer.
4Reasoning and tool useNewer models practise on tasks with checkable results, such as maths and code, and learn to call tools like web search.

Training vs inference. Training builds the model once. Inference is every answer it gives afterwards, so everything you do with an LLM is inference.

Knowledge cutoff. A model knows only what was in its training data. For anything newer, and for your own files, it needs web search or the documents handed to it together with your question.

Parameters, open weights and local LLMs

Parameters are the values a model learned in training, and their number is the usual measure of its size. Whether they can be downloaded decides where the model can run.

Parameters vs tokens. Parameters are fixed once training ends. Tokens are the text that goes in and comes out each time you use the model.

Total vs active parameters. Most large models are now built as a mixture of experts: many specialised sub-networks, of which only a few work on each token. Model cards therefore give two numbers:

ModelTotalActive per token
Kimi K3Moonshot AI, China2.8 trillion104 billion active
Qwen3.8, largest versionAlibaba, China2.4 trillion95 billion active
DeepSeek V4 ProDeepSeek, China1.6 trillion49 billion active
Mistral Large 4Mistral AI, France1 trillion49 billion active
Muse Spark OpenMeta, US816 billion42 billion active
MiniMax M3MiniMax, China428 billion23 billion active
gpt-oss-120bOpenAI, US117 billion5.1 billion active
Kolibri-1Aleph Alpha, Germany78 billion3.5 billion active
Parameters as stated on each maker’s model card on Hugging Face, November 2026. OpenAI, Anthropic and Google publish no parameter counts for their main models.

Open source, open weight, closed. A closed model such as GPT-6, Claude or Gemini can only be used through its maker’s app or API. An open-weight model can be downloaded and run anywhere its licence allows. Open source in the strict sense also covers the training data and code, and few models go that far. Apertus, the Swiss model from EPFL and ETH Zurich, is one that does.

Local LLMs. A local LLM runs on your own computer or server and works offline once it is installed. Memory is the limit. Compressed to 4 bits per parameter, a model needs about half a gigabyte for every billion parameters. OpenAI says its 117-billion-parameter gpt-oss-120b fits on a single 80 GB graphics card, and the smallest Gemma 4 models from Google are small enough for a laptop.

Is ChatGPT an LLM?

Not quite. ChatGPT is an app, and the LLM is the model inside it. The same goes for Claude, Gemini, Copilot and DeepSeek: the name on the app and the name of the model are two different things.

Inside an app like ChatGPT
Chat windowThe part you see. You type a question and read the answer.
The LLMThe part that writes. Every answer comes from this model.
ToolsThe extras: web search, file upload and saved chats.
Think of a car: the app is the car and the LLM is the engine. The same engine can power several cars.
AppLLMs insideMaker
ChatGPTGPT models, currently the GPT-6 familyOpenAI, US
ClaudeClaude Opus, Sonnet, Haiku and FableAnthropic, US
Gemini, NotebookLMGemini modelsGoogle, US
Microsoft CopilotModels from OpenAI and AnthropicMicrosoft, US
DeepSeekDeepSeek V4DeepSeek, China
Qwen ChatQwen modelsAlibaba, China
Vibe (formerly Le Chat)Mistral modelsMistral AI, France

LLM examples and the apps built on them, November 2026.

GPT vs LLM. GPT stands for generative pre-trained transformer and is OpenAI’s name for its family of LLMs. Every GPT is an LLM, but most LLMs are not GPTs.

LLM vs agent. An agent is an LLM with tools and a goal. It plans the steps, searches, opens files, writes, checks its own result and keeps going until the task is done.

LLM vs RAG. RAG is short for retrieval-augmented generation: the passages that matter are first looked up in your documents and handed to the LLM together with your question. The model answers from those passages and can show where each statement comes from.

List of LLMs by country: the US, China and Europe

The US builds the strongest closed models. China publishes most of the largest models that anyone can download. Europe builds smaller, multilingual models, and nearly all of them are open.

Model familyCompanyDownload?Licence
United States
GPT, gpt-ossOpenAIPartlygpt-oss only, Apache 2.0
ClaudeAnthropicNoClosed
Gemini, GemmaGooglePartlyGemma only, Apache 2.0
MuseMetaPartlyApache 2.0 or own licence
GrokSpaceXAI (formerly xAI)PartlyOlder versions only
China
DeepSeekDeepSeekYesMIT
QwenAlibabaYesApache 2.0, own licence for the largest
KimiMoonshot AIYesOwn licence
GLMZ.ai (Zhipu)YesOwn licence, MIT for smaller versions
MiniMaxMiniMaxYesOwn licence
ERNIEBaiduPartlyOwn licence
DoubaoByteDanceNoClosed
Europe
MistralMistral AI, FranceYesApache 2.0, modified MIT
KolibriAleph Alpha, GermanyYesApache 2.0
ApertusEPFL and ETH Zurich, SwitzerlandYesApache 2.0
EuroLLMEU-funded research consortiumYesApache 2.0
EU Institutional LLMEuropean CommissionYesFor organisations based in the EU
TeukenFraunhofer and partners, GermanyYesApache 2.0 or research only
Salamandra, ALIABarcelona Supercomputing Center, SpainYesApache 2.0
Bielik, PLLuMSpeakLeash and a state consortium, PolandYesMostly Apache 2.0

Checked against the makers’ pages and Hugging Face in November 2026. “Own licence” means a custom licence with conditions, for example for very large companies or for reselling the model as a service.

American LLMs. OpenAI, Anthropic and Google keep their strongest models closed and sell access through apps and APIs. Their downloadable models, such as gpt-oss and Gemma, are much smaller. Meta, for years the main American source of open models with Llama, moved to a new family called Muse in 2026 and published Muse Spark Open with 816 billion parameters.

Chinese LLMs. DeepSeek, Alibaba, Moonshot AI, Z.ai and MiniMax publish even their largest models for download. The three largest models in the chart above are Chinese.

European LLMs. Mistral AI in Paris built the largest European model in that chart, Mistral Large 4 with about one trillion parameters. Aleph Alpha in Heidelberg released Kolibri-1 in October 2026 and signed a merger agreement with Canada’s Cohere in September 2026, which at signing still needed regulatory approval. Public projects concentrate on Europe’s languages: the European Commission released its EU Institutional LLM for all 24 official EU languages in July 2026, and OpenEuroLLM is due to publish its first models by the end of 2026.

Search interest: ChatGPT far ahead of DeepSeek and Mistral

We compared Google search interest over the twelve months to November 2026 in the US, Canada and 13 European countries. On Google Trends’ scale from 0 to 100, ChatGPT averages between 58 and 86, depending on the country. DeepSeek reaches 1 to 3. Mistral AI reaches 0 or 1, also in France, its home country.

CountryChatGPTDeepSeekMistral
United States8120
Canada8020
United Kingdom8620
Ireland7310
Germany8220
Austria8310
Switzerland8510
France7511
Belgium7410
Netherlands7920
Italy7510
Spain6820
Poland5830
Sweden7820
Denmark8110
Google Trends, web search, 12 months to November 2026. Average interest per country; 100 is the peak week of the most searched term. Our own comparison.

Search interest is not the same as usage. It does show how rarely people in Europe and North America look for Chinese or European models.

Is it safe to use Chinese or American LLMs with company data?

It depends on where the model runs, more than on who made it. Three questions decide what happens to your data:

1Who made it?Decides how it was trained and what it will or will not say.
2Where does it run?Decides in which country your text is processed and stored.
3Whose law applies?Decides which courts and authorities can demand access to it.

Two laws explain why the provider’s country matters:

National Intelligence LawChina, 2017All organisations and citizens must support, assist and cooperate with national intelligence work.Covers every company in China, AI providers included.
CLOUD ActUnited States, 2018US providers must hand over data they hold or control when a US court orders it, wherever it is stored.Covers OpenAI, Anthropic, Google and Microsoft, also in EU data centres.

Is DeepSeek safe for company data? Through DeepSeek’s own app, your data is stored in China, where the National Intelligence Law applies. The company’s privacy policy, updated in February 2026, says: “we directly collect, process and store your Personal Data in People’s Republic of China.” Italy’s data protection authority blocked the app in January 2025. In June 2025 Berlin’s data protection commissioner reported it to Apple and Google as illegal content under EU law.

Your text can travel further than you think. In a threat report of September 2026, Anthropic said that Moonshot AI had forwarded customer requests meant for its Kimi models to Claude, and that DeepSeek had passed exchanges on to Claude without notifying its customers. Neither company answered CNBC’s request for comment at the time. China’s internet regulator then investigated both companies over these accusations, The Standard reported, citing The Information.

American providers fall under the US CLOUD Act of 2018. With a warrant or court order, US authorities can require American companies to hand over data they hold or control, wherever it is stored, Europe included. In June 2025 Microsoft France’s director of public and legal affairs was asked under oath in the French Senate whether he could guarantee that data of French citizens would never be handed to US authorities without French consent. He said he could not, and added that it had never happened.

In the news: how AI providers have handled data

Training on other people’s work, kept chat logs and exposed databases have all made headlines, on both sides of the Pacific.

Headlines as published. Each one links to the original article. A lawsuit or a settlement is not a finding of wrongdoing.
Your client fileDeepSeek app or APIrun by DeepSeekStored in China
Your client fileDeepSeek V4, open weightson a server in the EUStays in the EU
The same model, two ways to use it. First route according to DeepSeek’s privacy policy.

Open weights change the answer. When an open-weight model runs on a server you control, your text never reaches the company that made it. DeepSeek on a server in the EU keeps your data in the EU. A European model run by an American cloud provider falls under US law, even in a European data centre.

What still travels with a Chinese model. China’s 2023 rules for generative AI require services offered there to uphold “core socialist values” and ban content that incites the overthrow of the socialist system or harms the nation’s image. In practice that works as censorship on political topics, and it shapes how the models are trained. When the US standards institute NIST tested DeepSeek models in 2025, it found that they echoed four times as many inaccurate and misleading Chinese Communist Party narratives as the American models they were compared with. Hosting the model yourself does not remove this, which matters for research, analysis and anything political.

Does an LLM store your data? The model itself does not change when you use it. The service around it decides: whether conversations are kept, for how long, and whether they are used to train the next model. That is written in each provider’s terms and often differs between free plans, business plans and APIs.

GDPR and the EU AI Act. Under the GDPR, personal data may only go to a provider outside the EU if the transfer has a legal basis. Since 2 August 2025 the EU AI Act also obliges the makers of general-purpose AI models to document them and to publish a summary of their training data. What applies to companies that use AI is in our EU AI Act overview.

AI hallucinations: why LLMs make things up

An AI hallucination is an answer that sounds right and is false: an invented quote, a court decision that never existed, a source that leads nowhere. Every LLM does it, whether it sits inside ChatGPT, Claude, Gemini, Copilot or DeepSeek, and it delivers the invented answer in the same confident tone as a correct one.

Why do LLMs hallucinate? An LLM predicts the next piece of text and has no built-in check for whether a sentence is true. A citation it made up is put together the same way as a real one. OpenAI researchers added a second reason in 2025. Ask a model for someone’s birthday, and a guess has a 1 in 365 chance of being right, while “I don’t know” scores zero for certain. Training and tests that only count right answers teach the model to guess.

2,292court decisions dealing with AI-invented contentCharlotin database, Nov 2026
1.8 to 24.2%of summaries contained invented contentVectara, 111 models, Oct 2026
17 to 33%of answers from legal AI tools were hallucinatedStanford study, 2025
How often AI hallucinates, in three measurements. Sources: AI Hallucination Cases database, Vectara hallucination leaderboard, Journal of Empirical Legal Studies.

How often do LLMs hallucinate? It depends on the task. Vectara measures how often a model adds something that was not in a document it was asked to summarise. In its ranking of 22 October 2026, the 111 models tested ranged from 1.8% to 24.2%. The GPT-6 models scored 6.5% and 8.7%, Claude Opus 5.5 9.9% and Gemini 3.1 Pro 10.4%. No model reached zero, and the order changes from test to test, so there is no single answer to which AI hallucinates the least. Rates climb when a model has to answer from memory: in OpenAI’s own test with questions about people, its o3 model hallucinated in 33% of answers, twice as often as its predecessor o1.

AI hallucination examples. The researcher Damien Charlotin collects court decisions that deal with AI-invented content from around the world. In November 2026 his database listed 2,292. For 199 of them it records an amount in US dollars in fines, costs and fees: $1.46 million in total, with $110,204 as the highest. Consultancies have paid as well. Deloitte refunded more than A$97,000 to the Australian government for a report that cited research papers that do not exist and quoted a passage that is not in the court judgment it named. Deloitte confirmed that references were incorrect, and the corrected report disclosed that a generative AI tool had been used. A source told the Australian Financial Review that Deloitte’s internal review put the errors down to human error.

What false citations have cost
Levidow, Levidow & ObermanLaw firm, New York. Six court decisions invented by ChatGPT.$5,000Fine, 2023
Wadsworth v. WalmartTwo Morgan & Morgan lawyers and local counsel. Eight of nine cited cases did not exist.$5,000Fines, 2025
K&L Gates and Ellis GeorgeLaw firms, US. Invented cases and quotes in a court brief.$31,100Ordered to pay, 2025
DeloitteConsultancy, Australia. Government report citing sources that do not exist.A$97,000Refund, 2025
Gordon ReesLaw firm, US. Fabricated citations in a bankruptcy case.$55,721Fees repaid, 2025
Couvrette v. WisnovskyTwo lawyers, federal court in Oregon. Fifteen cases that did not exist.$110,204Fine and fees, 2026
Six cases from 2023 to 2026. Sources: court orders via the AI Hallucination Cases database, CFO Dive for the Deloitte refund.

Not every case ends with a bill. In April 2026 the Wall Street law firm Sullivan & Cromwell apologised to a federal judge in New York for AI hallucinations in a filing and listed more than 40 corrections.

Does RAG stop hallucinations? It lowers the rate and does not bring it to zero. Researchers at Stanford and Yale tested three commercial legal research tools that answer from databases of real court decisions. In their test, each tool still hallucinated in 17% to 33% of the questions.

Can AI hallucinations be fixed? Not completely, so far. The same OpenAI paper says a model can learn to say “I don’t know” when it is unsure, which lowers the rate, and that no model will ever be right about everything.

How to stop ChatGPT and other LLMs from hallucinating. You cannot switch it off. Four habits keep invented answers out of your work:

  1. Give it the document. A model that answers from text in front of it invents less than one that answers from memory.
  2. Ask for the passage. Have every statement shown with the place it comes from, and open that place.
  3. Allow “I don’t know”. Tell the model that no answer is better than a guess.
  4. Check what gets quoted. Names, numbers, quotes and citations are verified before anything leaves the office.
What is the notice period?30 daysNo source. To trust it, you read the contract yourself.
What is the notice period?3 monthsSource: clause 12.2, page 7. One click to check.
Two answers to the same question. Only the second can be checked in seconds.

What else LLMs get wrong. Hallucination is the best-known limit. Three more matter in daily work:

  • Knowledge cutoff. Nothing after the end of the training data, unless the model can search the web or read your files.
  • Long documents. Researchers at Stanford and Berkeley found that models use information in the middle of a long input worse than at its beginning or end.
  • Numbers. Calculations go wrong unless the model can use a calculator or run code.

How to choose an LLM for your company

Six questions settle most of the choice:

  1. How good is it on your tasks? Benchmarks measure general skill. A test with your own documents shows what you will get.
  2. Where is your text processed? In your office, in the EU, or with a provider abroad.
  3. Are the weights open? Then you are not tied to one provider, and the model keeps working unchanged for as long as you want.
  4. Which languages does your team work in? Quality differs between English and smaller languages.
  5. How is it priced? Per token, where the bill follows usage, or per seat at a fixed price.
  6. What does the licence allow? Custom licences can set conditions for large companies or for reselling.

Questions two and three are why many companies choose a private LLM: one that runs on servers they control, so client files never reach the company that made the model.

Public AI chat

Your files go to the provider’s servers and fall under the law of the provider’s country.

Private AI with Zedar

AI agents on EU servers or in your office. Every answer shows its source. €200 per seat and month.

See how Zedar handles this on your own documents.

Request a call
Sources

All figures checked in November 2026.

Use AI without handing over your client files.

Tell us what your team works on. We call you back and show you how private AI runs on EU servers that never save your files, or on a server in your office.

Request a call