Explainer · Updated November 28, 2026 · 4 minute read
What is a large language model?
The short answer
A large language model, or LLM, is an AI model trained on a very large amount of text to predict what comes next in a passage. Repeating that prediction one fragment at a time lets it write, summarize, translate and answer questions. LLMs are the technology inside chatbots such as ChatGPT, Claude and Gemini.
How an LLM produces text
An LLM reads the text it is given and calculates how likely each possible next fragment is. It picks one, adds it to the text, and repeats the calculation until the answer is complete.
The fragments are called tokens, each a word or a piece of a word, and the amount of text the model can take into account at once is its context window. The model has no database of facts to consult. What it knows is held as patterns in billions of numbers, called parameters, that were set during training.
Why they are called large
The word refers to both the training data and the model. Training text typically includes web pages, books and computer code. The models have billions of parameters, and training the largest ones can occupy thousands of specialized chips for weeks or months.
Skills such as following instructions or working through a logic problem were not programmed in one at a time. They emerged from training, first on general text and then on examples of the behavior the developer wants.
Where LLMs are used
Chatbots are the most visible use. The same models also run inside search engines, customer support tools, coding assistants and translation services. Developers reach them through an API, a connection that lets one program send text to the model and get text back, and some models can be downloaded and run on a personal computer. Many LLMs accept images or audio as well as text, in which case they are described as multimodal.
Limits to keep in mind
An LLM generates text that is likely, and likely text is often correct but sometimes wrong. It can state something false in the same confident tone as something true, which is called a hallucination. Its knowledge also stops at the point its training data was collected, unless the product gives it a search tool. The same question can get different answers on different tries, because the model chooses among likely next tokens with some randomness.
Common questions
What is the difference between an LLM and a chatbot?
The LLM is the underlying model that predicts text. A chatbot is a product built around one, with a chat interface and extras such as web search and file uploads.
Does an LLM understand what it reads?
Researchers disagree on this, and the answer depends on what is meant by understanding. LLMs handle meaning well enough to translate and summarize, yet they also make errors a person would not.
What are parameters?
Parameters are the adjustable numbers inside the model that are set during training. More parameters let a model store more patterns, and they also make it slower and more expensive to run.