What is an LLM?
A plain-English explanation of large language models: what they do, how they work at a high level, and where they fail.
Overview
A large language model (LLM) is a neural network trained on very large amounts of text to predict the next unit of text — a token — given the tokens before it. That single capability, applied at scale, produces systems that can draft, summarise, translate, classify and answer questions in natural language.
An LLM is not a database, a search engine, or a reasoning oracle. It is a statistical model of language. Understanding that framing is the key to using it well.
How it works, briefly
- Text is split into tokens (often word fragments).
- During training, the model learns to predict the next token across billions of examples, adjusting internal parameters.
- At inference time, you provide a prompt; the model generates one token at a time, each conditioned on everything so far.
Because generation is probabilistic, the same prompt can yield different outputs, and the model will happily produce fluent text that is wrong — often called a hallucination.
What LLMs are genuinely good at
- Transforming text: summarising, rewriting, changing tone or format.
- Extracting structure from messy input (e.g. pulling fields from an email).
- Drafting first versions a human then edits.
- Classifying and routing text.
Real limitations
- No inherent truth model. It predicts plausible text, not verified facts.
- Knowledge cut-off. It doesn’t know events after its training data unless you supply them (see RAG).
- Context limits. There’s a maximum number of tokens it can consider at once.
- Sensitivity to prompts. Small wording changes can shift results.
- Cost and latency scale with tokens. Long prompts and outputs cost more and take longer.
When to use one
Use an LLM when the task is language-shaped, some variability is acceptable, and a human or a validation step can catch errors. Avoid relying on it as a sole source of factual truth or for deterministic calculations — use a tool or database for those.
Related
Last verified: August 2026. Technology and pricing change — always confirm current details with the vendor.