A large language model (LLM) is a machine-learning model trained to work with language. It can continue text, answer questions, summarize, rewrite, and help with code because training has taught it many statistical patterns in sequences of text. “Large” usually refers to the scale of the model and its training, though size alone does not tell you how useful or trustworthy it will be.
From words to tokens
Before a model works with your sentence, software divides the text into pieces called tokens. A token might be a whole word, part of a word, punctuation, or another chunk. The model uses the sequence of tokens and the surrounding context to predict what to produce next. Repeating this process builds a response.
For example, after “The recipe needs two cups of,” many possible continuations exist. The model uses learned patterns and the preceding text to choose one. A useful chatbot does much more than a simple autocomplete, but prediction remains part of the underlying idea.
What does the model learn?
During training, model parameters are adjusted using large collections of examples. The model learns relationships in language: how ideas are expressed, how questions and answers are structured, and how pieces of text tend to relate. Later training and product design may make the system more helpful in conversation or give it access to tools.
This does not mean the model stores a reliable encyclopedia that it consults before every answer. It can produce a convincing sentence even when a specific fact is missing or wrong. The distinction between fluent language and verified knowledge is central to using LLMs safely.
What is a context window?
The context is the information available to the model for the current response: your prompt, parts of the conversation, and sometimes documents or tool results. There is a limit to how much fits. If a long conversation or document exceeds the available context, a tool may omit, summarize, or otherwise handle older material. The exact behavior depends on the product.
For a practical task, place the most important facts and constraints in the request itself. If you ask for a summary, supply the source text and say what the summary is for. If you need an answer based only on a document, say so and check that the answer really comes from that document.
Where LLMs help most
- Explaining an unfamiliar idea in simpler language.
- Drafting and revising text when you supply the facts.
- Turning notes into a checklist or outline.
- Generating examples you can inspect and correct.
Use more care for precise facts, current events, private data, and important decisions. A model may need a trustworthy external source or a human specialist for those tasks.
A quick experiment
Ask an assistant: “Explain what a context window is to a 12-year-old in three sentences. Then give one limitation of your analogy.” Compare that answer with this article and a technical source. You will see how well the model adapts its explanation—and why the source check still matters.
Next, see How Do AI Chatbots Answer Questions? and Why Does AI Make Things Up?.
Why can the same question get different answers?
A language model often has several plausible next tokens to choose from. The application may also change its instructions, the surrounding conversation, or the generation settings. Two answers can therefore differ in wording or detail even when the question looks identical. This variation can help with brainstorming, but it makes careful review important when a precise answer matters.
For repeatable work, provide the same source material, format, and success criteria each time. Ask for a list of claims that need checking. Then compare the output with the supplied document. A model can summarize and transform text effectively while still missing a qualification or adding a sentence that the source does not support.
Why is the next-token idea so powerful?
Predicting the next piece of text sounds simple, but doing it well across many subjects requires a model to learn relationships among words, concepts, and styles. A prompt can ask for a summary, a dialogue, a translation, or a code explanation, and the model can continue in a way that fits the requested pattern. That flexibility is why one system can help with many language tasks without a separate hand-written rule for each one.
The prediction process is still different from checking a database of verified answers. Consider a request for the exact title of a little-known paper. The model may know how academic titles usually look and produce a plausible one without knowing the real title. A convincing format is not evidence. Search the original publisher or another primary source before citing it.
What happens during training and later use?
During training, the model’s parameters are adjusted so it becomes better at predicting sequences in the material used. Later stages can shape how it follows instructions, declines unsafe requests, and responds in conversation. When you type a prompt into a chatbot, the usual process is to use an already trained model to generate an answer with the current context. The model is not generally retrained from scratch for every question.
The product around the model matters too. It may supply system instructions, retrieve documents, search the web, run code, or filter outputs. Two chatbots using similar models can behave differently because their tools, settings, and interfaces differ. When choosing a product, evaluate the entire workflow rather than only the model name.
Why do context and retrieval matter?
If you ask, “Summarize our meeting,” but provide no meeting notes, the model lacks the source material. If you paste the notes, it can work from them, subject to the product’s context limit and privacy terms. A product with document retrieval may select relevant passages and include them in the model’s context. The model can then answer questions using those passages, but it may still overlook a qualification or misread a sentence.
A practical prompt is: “Use only the meeting notes below. List decisions, action items, owners, and unknowns. Do not invent an owner.” After receiving the answer, compare each item with the notes. If the notes are long, check whether the product actually processed the whole document. A reference to a document is helpful only when the claim matches what the document says.
What is an LLM good at, and what needs another tool?
LLMs can draft and revise prose, change tone, explain concepts at different levels, extract a first-pass structure from messy notes, and suggest examples. Those tasks have room for interpretation, and a person can often judge whether the output helps. For exact arithmetic, use a calculator or a tool that runs the calculation. For current prices, laws, or software features, inspect the current official source. For confidential material, check the service’s data controls and your permission to upload it.
A good workflow can combine methods. Ask the model to explain a calculation, perform the arithmetic with a calculator, and compare the two. Ask it to summarize an official page, then open that page and check the summary. The model’s strength is language handling; the surrounding checks make the result dependable.
Frequently asked questions
Does “large” guarantee a better answer?
No. Model size is only one factor. Training, instructions, tools, task fit, and evaluation all matter. A smaller specialized system may be more appropriate for a narrow job.
Does an LLM know the latest news?
Its training has a date limit, and a product may or may not provide live search. Check the tool’s current capabilities and verify current events against up-to-date sources.
Why does it sometimes refuse or change tone?
A chatbot includes product instructions and safety rules in addition to the model’s training. The conversation context also affects its reply. Those influences may change the answer even if your last question is identical.
A practical test for document questions
Choose a short public document you can read yourself. Ask an LLM to answer three questions: one whose answer is stated plainly, one that requires combining two sections, and one that the document does not answer. Tell the model to cite the relevant passage or say “not stated.” Then inspect the document. The third question is especially revealing: a useful assistant should be willing to leave a gap rather than invent a convenient answer.
Repeat the test after changing the prompt to “answer confidently.” If the output becomes more specific without new evidence, that change is a warning about relying on presentation. Keep the source document and your evaluation criteria visible. This small experiment teaches more about an LLM’s limits than a list of impressive demos.
Key ideas to remember
An LLM works with tokens and context to generate language. It can adapt to many tasks, but fluent text is not a verified fact. Supply relevant material, ask for a checkable format, and verify important details with a suitable source or tool.