AI Glossary / AI foundations / Beginner
Large language model
Definition
A large language model, or LLM, is a machine-learning model trained on extensive language data to learn patterns that help it process or generate language. It has many learned numerical settings, called parameters. There is no universal size boundary that makes a language model large, and an LLM is not the same thing as a complete chatbot application.
What it means
An LLM can support tasks such as drafting, summarizing, translating and organizing text. Its training gives it reusable language capabilities, which an application can direct through instructions, examples or additional training.
The word model refers to the learned computational component. A chat service may add an interface, conversation storage, document retrieval, web search and tools around it. Those features do not necessarily belong to the underlying model. A model that can write a plausible travel plan does not thereby have live access to transport schedules.
Large describes scale, not guaranteed expertise. A system can perform impressively on one task and fail on another that looks easier to a person. For a business, the useful question is whether the selected model and surrounding workflow handle the actual work reliably enough.
How it works
Text is commonly split into tokens, which may be words, word fragments or punctuation. Training adjusts the model's parameters to improve a learning objective across many examples. Those parameters encode learned patterns rather than a neatly indexed library of source pages.
Many generative LLMs produce text by predicting a next token from the available context, selecting one, and repeating. Other language models use different objectives. BERT, for example, learns representations using context on both sides of masked text. It would be misleading to define every large language model as only a left-to-right text generator.
Additional training can adapt a model to instructions or a specialist task. At use time, the prompt and supplied examples guide its response. Changing the prompt usually changes the current input, not the model's underlying parameters. A separate application may save information for future use; that is distinct from retraining the model.
Three practical examples
Office work: a manager asks for a concise summary of a supplied project update, then checks that dates, owners and unresolved issues are preserved.
Customer support: a team uses an LLM to draft replies from approved policy passages. Staff review promises and exceptions before sending.
Everyday learning: a learner requests two explanations of a difficult paragraph, one simple and one more detailed. They compare both with the original to identify what was simplified or omitted.
Think of it this way
Think of a flexible language workshop. The same underlying machinery can help reshape text into different forms when given a suitable brief.
It is not a filing cabinet that reliably returns the original source of every statement. Nor does fluent conversation demonstrate human judgment. The workshop analogy helps explain versatility while leaving accuracy and responsibility to the surrounding process.
Worked example
Suppose a team tests an LLM on fifty sample enquiries whose expected outcomes have already been checked. These are invented teaching figures. Thirty enquiries have an answer in the supplied policy; twenty do not.
The system correctly answers twenty-seven of the answerable enquiries and handles the other three incorrectly. For the twenty unanswerable enquiries, it correctly requests help on sixteen but invents an answer on four.
Correct outcomes total 27 + 16 = 43, so the overall result is 43 ÷ 50 = 86%. However, four of twenty unanswerable enquiries receive invented answers: 20% of that group. A single overall percentage hides this weakness. The team should examine both groups and the consequences of errors, rather than describe the model simply as 86% reliable in all situations.
Illustrative case study
A fictional neighborhood repair service wants quicker replies to routine enquiries. It gives an LLM approved opening hours, service descriptions and booking rules, then asks for friendly drafts.
During testing, a draft promises a same-day repair even though the supplied information only permits booking an inspection. The owner changes the workflow so availability comes from the booking system and a staff member approves any commitment.
The invented case distinguishes language work from operational authority. The model can help explain a service, but it cannot establish whether a technician is available unless the application supplies suitable information and controls its use. No measured business improvement is claimed.
Common misconceptions and mistakes
It is a search engine. A model may generate from learned patterns and current context without searching. Search is an additional capability when provided.
It learns permanently from every conversation. A response can use current context without changing the model's parameters. Storage and training arrangements depend on the service.
More parameters always mean better results. Task fit, training, inputs and evaluation matter; size alone does not settle the choice.
An explanation proves the answer is correct. A plausible explanation can accompany a mistaken conclusion, so important claims still need checking.
Business use
Choose a concrete task before comparing models. Gather representative inputs, define acceptable outputs and decide how uncertain cases should be handled. Test the complete application, because document retrieval, formatting and permissions can affect results as much as the underlying model.
Include difficult and unanswerable requests. Compare quality, response time, correction effort and operating cost. Decide who owns the final answer and what information the service may receive. Keep the test examples so a later model or workflow change can be assessed against the same practical requirements.
People also ask
Is an LLM the same as generative AI?
No. Generative AI includes other kinds of models and media; LLMs focus on language-related capabilities.
Does it know current events?
Not necessarily. Current information may require appropriate retrieval or other supplied context, followed by verification.
Can it use images?
Some systems combine language with image or other inputs. Check the particular model and application rather than assume the acronym guarantees those features.
Check your understanding
A chat application retrieves a policy, drafts an answer and sends an email. Which part is the language model?
Answer: The model supplies language processing or generation. Retrieval and sending are surrounding application capabilities. Evaluating the model alone does not verify that the whole workflow uses the right policy or has permission to send.
Related terms
Learn next
Learn tokens and context windows to understand how input is represented and bounded. Then compare an answer produced without reference material with one grounded in a short supplied document, checking both against the document's actual claims.
More in AI foundations
- Artificial intelligence - Artificial intelligence, or AI, is the field of building and studying computational systems that perform tasks involving abilities such as perception...
- Generative AI - Generative AI is artificial intelligence that produces content, such as text, pictures, audio, video or computer code, using patterns learned from data.
- AI agent - An AI agent is a system that uses information about its environment to choose and carry out actions towards a task or objective.
- Hallucination - In AI, a hallucination is generated content that is false, unsupported or inconsistent with the information it is supposed to reflect, often presented...
- Benchmarking - Benchmarking is the systematic measurement and comparison of algorithms or systems using a defined set of tasks, data, metrics and test conditions.
- Database design - Database design is the process of deciding how a database will represent, organize, relate and protect information so that it supports its intended uses.
Sources
Brown and colleagues, Language Models are Few-Shot Learners: https://arxiv.org/abs/2005.14165 . Devlin and colleagues, BERT: https://arxiv.org/abs/1810.04805 . Lewis and colleagues, Retrieval-Augmented Generation: https://arxiv.org/abs/2005.11401 . Primary sources consulted 15 October 2026. Examples and fictional case are original; the fifty-enquiry calculation is illustrative, not a model benchmark.
Previous: Lapped transform Next: Large margin nearest neighbor