What is a large language model?
A model trained on a huge amount of text to predict the next token. Further training turns it into an assistant that follows instructions.
beginner · Also called LLM
ChatGPT, Claude and Gemini are all built on the same kind of program: a large language model, or LLM. Strip away the app and what is left does one job. It reads some text and predicts what comes next, one TokenTokenThe small piece of text a language model reads and writes, often part of a word. Prices, limits and the context window are all counted in tokens. at a time.
"Large" is about 2 things. The model is a very big set of numbers, called parameters or weights. And it learned those numbers from a very big pile of text. Meta's Llama 3, an open model from 2024, came in sizes of 8 billion and 70 billion parameters and was trained on over 15 trillion tokens.
How it learns
Training happens in stages.
Pretraining. The model is shown text with the next word hidden and asked to guess it. At first its guesses are close to random. After each guess its parameters are nudged a tiny amount toward the right answer, and this repeats over millions of sentences. Patterns of grammar, facts and style end up spread across the numbers. The model does not keep copies of the pages it read.
Post-training. A model that has only been pretrained is good at continuing text, not at answering questions or following instructions. So it is trained again, on examples of helpful answers and on people's judgements of which reply is better. This is what makes it an assistant.
Most of these models use the TransformerTransformerThe design behind almost every modern language model. It uses attention to let each word in a passage look at every other word, all at once. design, from a 2017 research paper, which handles a whole passage at once instead of word by word.
What follows from this
The model writes what is likely, not what it has checked. Most of the time likely and true agree. When they do not, you get a fluent, confident HallucinationHallucinationWhen a model states something false as if it were true, such as a wrong date, a made-up quote or a source that does not exist..
Its knowledge stops where its training text stopped, at its knowledge cutoffKnowledge CutoffThe date a model's training text ends. The model knows nothing after it unless it is given new text, for example by a web search., unless the app gives it search or your documents.
And it does not learn from your chat. Correct it and the correction lasts only as long as the conversation in front of it.
So treat an LLM as a very well-read writer with no notes in hand. Excellent at drafting, explaining and rewording. Worth checking whenever a fact, a number or a name matters.
Sources
Where each fact comes from
This page was last checked against these sources on 14 October 2026.
- 1Glossary
Anthropic, Claude API documentation · 14 October 2026
Large language models are AI language models with many parameters, trained on vast amounts of text. Pretraining teaches a model to predict the next word from the text before it, and a pretrained model is not inherently good at answering questions or following instructions. Fine-tuning and RLHF refine it, and Claude is a large language model that has been fine-tuned and trained using RLHF.
- 2How ChatGPT and our foundation models are developed
OpenAI Help Center · 25 September 2026
Models learn in stages that include pre-training and post-training. In training the model completes sentences, its answers are largely random at first, and its parameters are adjusted slightly over millions of sentences. A model is a large set of numbers called weights or parameters and does not store or retain copies of its training data.
- 3Introducing Meta Llama 3
Meta · 18 April 2024
Llama 3 was released with 8 billion and 70 billion parameters and was pretrained on over 15 trillion tokens from publicly available sources.
- 4Attention Is All You Need
Ashish Vaswani and others, arXiv 1706.03762 · 12 June 2017
The Transformer is a network architecture based solely on attention mechanisms, more parallelizable than the recurrent and convolutional networks before it.