What a large language model is
A large language model (LLM) is a model that has learned from a very large amount of text which word, or piece of a word, is likely to come next. Google's Machine Learning Crash Course puts it in one line: “large language models (LLMs) predict a token or sequence of tokens, sometimes many paragraphs worth of predicted tokens.” A token is such a piece of text: a word, part of a word or a single character. Writing an answer, a summary or code is the same step repeated, one token after the next.
The name grew out of research rather than a single author. A 2023 survey by Zhao and colleagues says “the research community has coined the term large language models (LLM) for the PLMs of significant size”, PLMs being pre-trained language models.
One token per round
Round 1
Text so far
ThecapitalofFranceis
Model
Next token
Paris
Paris is added to the end of the text
Round 2
Text so far
ThecapitalofFranceisParis
Model
Next token
.
The same round repeats until the answer ends.
How a large language model works
Google's course calls the Transformer “the most successful and widely used architecture for building LLMs”. It was described in 2017 in the paper “Attention Is All You Need”: “We propose a new simple network architecture, the Transformer, based solely on attention mechanisms”. In Google's words, self-attention “allows the model to weigh the importance of different words in relation to each other”.
“Large” refers to the number of parameters, the adjustable values the model learns during training. GPT-3, published by OpenAI in 2020, had 175 billion of them: “we train GPT-3, an autoregressive language model with 175 billion parameters”. Size alone is not the whole story. DeepMind's 2022 Chinchilla study found that “current large language models are significantly undertrained” and that model size and the amount of training text should grow together.
In pretraining the model reads a large collection of text and learns to predict the next token.
Training and knowledge cutoff
An LLM only knows what was in its training data, up to a date called the knowledge cutoff. OpenAI's help center describes the limit: “The models are trained on data up to a certain point and responses do not incorporate information about events beyond that, unless tools are used.” Anthropic says its models “may not be aware of events or information that occurred after their respective cutoff dates.”
The date is less sharp than it looks. Google's model card for Gemini 4 Hydrogen reads: “The knowledge cutoff for Gemini 4 Hydrogen is March 2026, though in some domains the model’s knowledge may be less up to date.”
Web search and grounding
An assistant such as ChatGPT or Claude can do more than its model knows. It can run a web search and write the answer from the pages it finds. Anthropic describes its web search tool as a way “to answer questions with up-to-date information beyond its knowledge cutoff”, and OpenAI says “ChatGPT may search the web automatically when your question would benefit from current information.”
Google calls this step grounding. Its guidance for Search describes retrieval-augmented generation (RAG) as “A technique (also known as grounding) used to improve the quality, accuracy, and freshness of AI responses”, and the Gemini API documentation says grounding lets the model “cite verifiable sources beyond its knowledge cutoff”. The architecture behind it is described under retrieval-augmented generation. Search changes the material the model writes from. The knowledge cutoff of the model stays where it was.
Hallucination
A hallucination is an answer that sounds right and is false. A 2023 survey sums it up: “LLMs are prone to hallucination, generating plausible yet nonfactual content.” OpenAI's own examples include “Fabricated quotes, studies, citations or references to non-existent sources”.
In September 2025 OpenAI gave a reason: “language models hallucinate because standard training and evaluation procedures reward guessing over acknowledging uncertainty.” OpenAI compares it to a multiple-choice test: a wild guess may be right, while “Leaving it blank guarantees a zero.” OpenAI illustrates this with its SimpleQA evaluation from the GPT-5 system card, comparing two of its own models:
| Model | Wrong | Right | Declined |
|---|---|---|---|
| o4-mini | 75% | 24% | 1% |
| gpt-5- | 26% | 22% | 52% |
The older model gets slightly more answers right and almost three times as many wrong, because it almost never declines. In this comparison the lower error rate comes from declining more often, not from knowing more. These are OpenAI's figures for one benchmark, not an independent measurement. OpenAI also notes a limit for every model: “Accuracy will never reach 100% because, regardless of model size, search and reasoning capabilities, some real-world questions are inherently unanswerable.” How false statements about one specific brand are counted is covered under hallucination rate.
Three problems look alike in an answer and have different causes:
| Symptom | Cause | Entry |
|---|---|---|
| The answer is outdated | The fact came after the training data ends, and no search was run | Knowledge cutoff |
| The answer is invented | The model produced a plausible guess | Grounding |
| The answer names no source | The model answered from training, or did not cite what it found | Source attribution |
What each assistant publishes
As of 4 December 2026, OpenAI (for its API models), Anthropic and Google (for its Gemini 4 models) publish a knowledge cutoff, between March and June 2026. OpenAI's ChatGPT help pages give no date. Perplexity's help center and API docs and Microsoft's Copilot documentation give no cutoff. All five document a web search.
| Assistant | Cutoff | Web search |
|---|---|---|
| ChatGPT (OpenAI) | API models GPT-6.2 Astra and GPT-6 Luna: 18 May 2026; GPT-6.2 Sol and GPT-6.1 Terra: 1 June 2026 | “ChatGPT can search the web to answer questions with current information and links to relevant sources.” |
| Claude (Anthropic) | Fable 5.2, Opus 5.5, Sonnet 5.5 and Haiku 5.5: June 2026 | “Claude will search the web for current data.” |
| Gemini (Google) | Gemini 4 Carbon, Hydrogen and Neon: March 2026 | “Grounding with Google Search connects the Gemini model to real-time web content” |
| Perplexity | None given | “it uses advanced AI to search the internet in real-time” |
| Copilot (Microsoft) | None given | “grounding them in the latest information from the web” |
The table repeats what the providers write; it does not test the assistants. OpenAI's ChatGPT help pages use other model names than its API page, so the ChatGPT row shows the API models. Microsoft's quote is from the documentation for Microsoft 365 Copilot and Copilot Chat.
LLM, GPT, ChatGPT and related terms
LLM is the category. GPT is a family of LLMs from OpenAI, and ChatGPT is the app built on them, with its own tools such as web search. The same split applies to Claude and Gemini, which name both the models and the apps. Separate models that return a list of numbers instead of text, such as OpenAI's text-embedding-3, compute embeddings.
A foundation model is the wider term from a 2021 Stanford report for models “trained on broad data at scale” that can be adapted to many tasks: “We call these models foundation models”. The report names GPT-3 among its examples. IBM describes small language models as “smaller in scale and scope with comparatively few parameters, making them suitable for deployment on smaller devices or in resource-constrained environments.” The amount of text a model can take in at once is its context window.
Where LLM answers come from
An answer from an AI assistant combines two sources: what the model learned in training and, if a search ran, the pages it retrieved. Google says its AI Overviews and AI Mode “are rooted in our core Search ranking and quality systems.” What this means for websites that want to appear in such answers is covered under LLM SEO.
Source
- Google, Machine Learning Crash Course, “LLMs: What's a large language model?” (last updated 2 January 2026). Source for the token definition (retrieved 2026-12-04): https://developers.google.com/machine-learning/crash-course/llm/transformers
- Zhao et al., “A Survey of Large Language Models”, arXiv:2303.18223 (submitted 31 March 2023). Source for the origin of the term (retrieved 2026-12-04): https://arxiv.org/abs/2303.18223
- Vaswani et al., “Attention Is All You Need”, arXiv:1706.03762 (submitted 12 June 2017). Source for the Transformer (retrieved 2026-12-04): https://arxiv.org/abs/1706.03762
- Brown et al. (OpenAI), “Language Models are Few-Shot Learners”, arXiv:2005.14165 (submitted 28 May 2020). Source for GPT-3 and its 175 billion parameters (retrieved 2026-12-04): https://arxiv.org/abs/2005.14165
- Hoffmann et al. (DeepMind), “Training Compute-Optimal Large Language Models”, arXiv:2203.15556 (submitted 29 March 2022). Source for the Chinchilla finding (retrieved 2026-12-04): https://arxiv.org/abs/2203.15556
- OpenAI Help Center, “Does ChatGPT tell the truth?”. Source for the knowledge cutoff, fabricated sources and the list of limits (retrieved 2026-12-04): https://help.openai.com/en/articles/8313428-does-chatgpt-tell-the-truth
- Anthropic, “How up-to-date is Claude's training data?”. Source for the cutoff statement (retrieved 2026-12-04): https://support.claude.com/en/articles/8114494-how-up-to-date-is-claude-s-training-data
- Google DeepMind, Gemini 4 model cards (Carbon, Hydrogen, Neon). Source for the March 2026 cutoff (retrieved 2026-12-04): https://deepmind.google/models/model-cards/gemini-4-hydrogen/
- Anthropic, web search tool documentation. Source for search beyond the cutoff (retrieved 2026-12-04): https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-search-tool
- Anthropic Help Center, “Enable and use web search”. Source for search in the Claude app (retrieved 2026-12-04): https://support.claude.com/en/articles/10684626-enable-and-use-web-search
- OpenAI Help Center, “Searching the web with ChatGPT”. Source for search in ChatGPT (retrieved 2026-12-04): https://help.openai.com/en/articles/9237897-searching-the-web-with-chatgpt
- Google Search Central, AI optimization guide (last updated 2 December 2026). Source for grounding in Search and AI features rooted in ranking systems (retrieved 2026-12-04): https://developers.google.com/search/docs/fundamentals/ai-optimization-guide
- Google AI Studio, “Grounding with Google Search”. Source for grounding in the Gemini API (retrieved 2026-12-04): https://aistudio.google.com/docs/google-search
- Huang et al., “A Survey on Hallucination in Large Language Models”, arXiv:2311.05232 (submitted 9 November 2023). Source for the definition of hallucination (retrieved 2026-12-04): https://arxiv.org/abs/2311.05232
- OpenAI, “Why language models hallucinate” (5 September 2025). Source for the cause, the SimpleQA figures and the accuracy limit (retrieved 2026-12-04): https://openai.com/index/why-language-models-hallucinate/
- OpenAI API, models overview. Source for the API model cutoffs (retrieved 2026-12-04): https://developers.openai.com/api/docs/models
- Anthropic, models overview. Source for the Claude cutoffs (retrieved 2026-12-04): https://platform.claude.com/docs/en/models/overview
- Perplexity Help Center, “How does Perplexity work?”. Source for Perplexity's web search (retrieved 2026-12-04): https://www.perplexity.ai/help-center/en/articles/10352895-how-does-perplexity-work
- Microsoft Learn, “Manage public web access” (last updated 3 November 2026). Source for web grounding in Microsoft 365 Copilot and Copilot Chat (retrieved 2026-12-04): https://learn.microsoft.com/en-us/copilot/plan/manage-public-web-access
- Bommasani et al., “On the Opportunities and Risks of Foundation Models”, arXiv:2108.07258 (submitted 16 August 2021). Source for the term foundation model (retrieved 2026-12-04): https://arxiv.org/abs/2108.07258
- IBM, “What are large language models (LLMs)?”. Source for small language models (retrieved 2026-12-04): https://www.ibm.com/think/topics/large-language-models
Frequently asked questions
What does LLM mean?
LLM stands for large language model: a model trained on large amounts of text to predict the next token. Assistants such as ChatGPT, Claude and Gemini are built on LLMs.
What is the difference between GPT and LLM?
LLM is the category. GPT is a family of large language models from OpenAI, such as GPT-3 from 2020. ChatGPT is the app built on these models, so ChatGPT is a product that uses an LLM, not the LLM itself.
What is the difference between LLM and SLM?
A small language model has far fewer parameters. IBM describes small language models as smaller in scale and scope, suited to smaller devices or limited computing resources.
Which is better, LLM or ML?
They are not alternatives. Machine learning is the field, and a large language model is one kind of machine learning model. Google's Machine Learning Crash Course teaches LLMs as one of its units.
What should you not ask ChatGPT?
OpenAI lists the limits itself: the models know nothing after their training data ends unless a tool such as search is used, they can sound confident while wrong, they cannot open every website, and they can present one view as the whole truth. Questions that depend on recent events or exact sources need a check.