All articles
Guides11 min readJune 4, 2026

What Is an LLM? A Plain-English Guide to Large Language Models

A large language model (LLM) is a machine learning model trained on enormous amounts of text to predict the next token in a sequence, which lets it write, summarize, translate, and answer questions in natural language. An LLM by itself only produces text. It cannot look up a record, update a deal, or send a report until you wrap it in a system that gives it tools, memory, and permission to act.

Quick answer

A large language model (LLM) is a machine learning model trained on enormous amounts of text to predict the next token in a sequence, which lets it write, summarize, translate, and answer questions in natural language. An LLM by itself only produces text. It cannot look up a record, update a deal, or send a report until you wrap it in a system that gives it tools, memory, and permission to act.

A large language model (LLM) is a machine learning model trained on huge amounts of text so it can predict the next piece of text in a sequence. That single idea, predict what comes next, is the whole engine. Feed it the start of a sentence and it returns the most likely continuation, one small chunk at a time, until it has produced a paragraph, an email, a SQL query, or a summary of a 40-page contract.

The word "large" is doing real work. These models are trained on a sizable slice of the public internet plus books, code, and licensed datasets, and they contain billions of internal parameters that encode the statistical patterns of how people write. GPT-class models, Claude, Gemini, and Llama are all LLMs. They differ in size, training data, and tuning, but they share the same underlying behavior: turn an input prompt into a probable output.

Here is the part that trips up most business buyers. An LLM is not software that does things. It reads text and writes text. It has no live connection to your Salesforce instance, no memory of yesterday's conversation, and no ability to click a button or send a message on its own. When people talk about AI "agents" that resolve tickets or update CRM records, they mean an LLM plus a surrounding system that gives it tools, context, and the permission to use them. This guide explains the model itself, then shows where the model stops and the action layer begins.

What does "large language model" actually mean?

Break the term into three words and it gets clear fast. "Language" because the model works with text, the same words and sentences a person reads. "Model" because it is a mathematical function that maps an input to an output, learned from examples rather than hand-coded with rules. "Large" because both the training data and the number of internal parameters are enormous, which is what gives these models their range.

Older language tools were narrow. A spam filter learned one job. A sentiment classifier learned another. An LLM is different because it learns general patterns of language during training, then applies them to tasks it was never explicitly programmed for. The same model can draft a cold email, explain a Python error, and rephrase a paragraph for a sixth-grade reading level, all without separate training runs for each.

That generality is the headline feature and the source of most confusion. People see one tool do many things and assume it understands the tasks the way a human does. It does not. It has learned which words tend to follow which other words, across a staggering volume of examples, and it is very good at reproducing those patterns.

An LLM predicts text. Everything impressive it appears to do is built on that one capability.

How does an LLM work, step by step?

Under the hood, an LLM does not see words the way you do. It splits text into tokens, runs them through a network trained to predict the next token, and stitches the output back into readable text. Here is the flow from your prompt to its answer.

From prompt to answer: how an LLM generates text
  1. 1

    Tokenize the input

    Your prompt is chopped into tokens, small chunks of text where common words are one token and rare words split into several.

  2. 2

    Encode the context

    The model reads all the tokens at once and weighs how each relates to the others to capture meaning and order.

  3. 3

    Predict the next token

    It computes a probability for every possible next token and picks one based on those odds and a randomness setting.

  4. 4

    Repeat the loop

    The chosen token is added to the context and the model predicts again, generating the answer one token at a time.

  5. 5

    Stop and decode

    When it predicts a stop signal or hits a length limit, the tokens are converted back into the text you read.

Simplified generation loop. Real models add tuning, safety filters, and sampling controls on top of this core process.

Two terms come up constantly and are worth knowing. Training is the expensive, one-time process where the model learns its parameters from massive datasets using specialized hardware over weeks or months. Inference is what happens every time you send a prompt: the trained model runs forward to produce an answer, without changing what it learned. Training builds the brain once; inference uses it millions of times after.

Tokens also explain why pricing and limits are quoted the way they are. Providers bill per token and cap how many tokens a model can consider at once, called the context window. A rough rule: a token is about three-quarters of an English word, so 1,000 tokens is roughly 750 words. When a model "forgets" the start of a long document, it usually ran past that window.

What are LLMs good at, and where do they fail?

LLMs shine at tasks that are fundamentally about language: rewriting, summarizing, translating, classifying, extracting structured fields from messy text, and drafting first versions of almost anything. Give one a long support thread and ask for the customer's core issue and sentiment, and it will nail it more often than not. They are also strong at format conversion, turning a paragraph of requirements into a JSON object or a plain-English question into a SQL draft.

The failures are just as predictable, and they trace back to the prediction engine. Because the model generates plausible-sounding text rather than retrieving verified facts, it can produce confident, fluent answers that are simply wrong. This is called hallucination, and it is not a bug you can fully patch out, it is a property of how the model works. The model has no built-in sense of what it does not know.

Other limits matter for business use. An LLM's knowledge is frozen at its training cutoff, so it has no awareness of last week's deals or today's ticket queue unless you feed that data in. It is weak at exact arithmetic and multi-step logic without help. And it has no memory between conversations on its own. Each of these gaps is solvable, but the fix is never "a bigger model." The fix is the system you build around it.

Hallucination is not a glitch to be patched away. It is a direct consequence of a model that predicts likely text instead of looking up facts.

LLM vs chatbot vs agent: what is the difference?

These three terms get used interchangeably and they should not be. An LLM is the raw model, the prediction engine. A chatbot is an LLM wrapped in a conversation interface so you can type back and forth. An agent is an LLM given tools, context, and permission to take real actions toward a goal. Each layer adds capability the one below it lacks.

CapabilityRaw LLMChatbotAI agent
Generates textYesYesYes
Holds a conversationNot on its ownYesYes
Accesses your live dataNoSometimes, read-onlyYes, with permissions
Takes actions in your toolsNoRarelyYes, the core purpose
Follows approval rules and logs workNoNoYes, when governed
Runs on a schedule unattendedNoNoYes
How responsibility grows from the bare model up to a governed agent. The chatbot column varies by product.

The practical takeaway: a chatbot can tell you how to update a deal, but an agent can actually update it. That gap, between describing an action and performing it, is the entire reason "agents" became the dominant topic in enterprise AI. The model supplies the language and reasoning. The surrounding system supplies the hands.

If you want the longer breakdown, see our deep dives on the difference between an AI agent and a chatbot and how an agent compares to an AI assistant. The short version: the LLM is necessary but nowhere near sufficient for getting real work done in your systems.

Why an LLM alone cannot take action

Picture asking a brilliant analyst to update a customer record, but you have locked them in a room with no computer, no phone, and no access to your CRM. They can tell you exactly what to type. They cannot type it. That is an LLM by itself. It can reason about the action in perfect detail and produce the right text, but it has no way to reach into Salesforce, Zendesk, or your database and change anything.

To turn that reasoning into action, you connect the model to tools through a pattern usually called tool calling or function calling. You describe the available actions to the model, such as "look up a contact" or "create a support ticket," and when the model decides one is needed, it outputs a structured request that your system executes. The model still only produces text, but now that text is an instruction your software acts on. This is the bridge from language to action.

The moment a model can act, governance stops being optional. A read-only chatbot that gives a wrong answer wastes a minute. An agent that takes a wrong action can update the wrong deal, email the wrong customer, or delete a record. That is why serious deployments add three things on top of the model: least-privilege permissions so the agent can only touch what it should, human-in-the-loop approval for sensitive steps, and audit logs that record every action for review. The model is the easy part. Doing this safely is the hard part.

A worked example: from question to finished work

Walk through one realistic request to see every layer working together. A support lead types into Slack: "Pull the 12 enterprise tickets opened this week, group them by root cause, and post a summary with the three accounts most at risk."

  • The agent receives the request and the LLM interprets the goal, deciding it needs ticket data before it can summarize anything, because the model has no live knowledge of this week's queue.
  • Using tool calling, it queries Zendesk through a permitted connection, scoped so it can read tickets but not delete them, which is least-privilege access in action.
  • It feeds the retrieved tickets back into the LLM, which is genuinely good at this language task: clustering the issues by root cause and spotting sentiment that flags at-risk accounts.
  • The LLM drafts the summary, and because posting to a shared channel is a real action, a governed setup can require a quick human approval before it sends.
  • The agent posts the finished summary to Slack and writes an audit log entry recording what it read, what it wrote, and who approved it, so the work is traceable later.

Notice how little of that the LLM did alone. It interpreted intent and wrote the summary, both language tasks. Everything else, the data access, the permissions, the approval, the delivery, the logging, came from the system around it. That division of labor is the heart of how production AI works, and it is why the model is just one component, not the whole product.

This is exactly the territory Onpilot operates in: connecting an LLM to your CRM, support, and data tools so it can take governed action and deliver finished work to Slack, Teams, or your app, with approvals, RBAC, and audit logs built in.

Common mistakes when evaluating LLMs for your business

Most LLM disappointments come from a handful of avoidable assumptions. Watch for these before you commit budget or pick a vendor.

  • Treating the model as a database. An LLM does not store your facts reliably; it predicts text. If you need accurate answers about your data, you must retrieve that data and supply it at query time, not hope the model memorized it.
  • Assuming a bigger model fixes accuracy. A larger model writes more fluently and reasons a bit better, but it still hallucinates. Grounding it in your real, current data does far more for correctness than upgrading model size.
  • Confusing a demo chatbot with a production agent. A slick chat demo that answers questions is the easy 20 percent. Connecting tools, enforcing permissions, and adding approvals and logs is the hard 80 percent that determines whether it survives a security review.
  • Ignoring the context window. Pasting a 200-page document and expecting perfect recall fails when the content exceeds what the model can hold at once. Know your limits and design retrieval around them.
  • Skipping governance because the pilot felt safe. The risk profile changes the instant the model can act, not when it can chat. Bake in least-privilege access, approvals, and audit logs before you let an agent touch live systems, not after an incident.

How much capability comes from the model vs the system?

It helps to picture, roughly, where business value comes from once an LLM is doing real work in production. The raw model contributes a slice. The integrations, retrieval, and governance around it contribute most of the rest. The chart below is directional, meant to reset expectations rather than report a measured benchmark.

The point is not the exact numbers. It is the shape. Teams that pour all their attention into picking the perfect model and none into the surrounding system tend to ship impressive demos that quietly fail in production. The model is a commodity you can swap. The governed connection to your tools is the part you actually own.

Where production value comes from in a deployed AI agent
Raw LLM quality
25%
Data access & retrieval
25%
Tool integrations
20%
Governance (RBAC, approvals, audit)
30%

Illustrative, not a measured benchmark. The split varies by use case, but the model is rarely where most of the production value lives.

When do you need an LLM, a chatbot, or a full agent?

Use the simplest layer that solves your problem. Reaching for a full agent when a chatbot would do adds risk and cost; reaching for a chatbot when you need real action guarantees disappointment. Here is a practical decision framework.

  • Use a raw LLM via API when you are a developer embedding a language task into your own software, like summarizing user input or extracting fields, and you will handle the surrounding logic yourself.
  • Use a chatbot when the job is answering questions or drafting text in a conversation, and no system of record needs to change. A help-center assistant that explains policies is a fine fit.
  • Use a governed AI agent when the work involves reading from and writing to your real tools, such as updating a deal, resolving a ticket, or sending a scheduled report, where wrong actions carry real cost.
  • Add human-in-the-loop approval whenever an action is hard to undo or customer-facing, so a person signs off before money moves, records change, or messages go out.
  • Insist on RBAC and audit logs the moment an agent touches regulated or sensitive data, because least-privilege access and a traceable record are what let you pass a security review and prove what happened.

Most real business cases land in the last three rows. The interesting work is almost never "talk to me about X." It is "go do X in my systems, on a schedule, and show me your work." That is the line where a chatbot ends and a governed agent begins.

If you are weighing options, our guide to AI agents versus workflow automation and the rundown of the best AI agent platforms for 2026 are good next reads.

The takeaway: the model is the engine, not the car

An LLM is a remarkable text-prediction engine trained on a vast body of human writing. It can read and write language with a flexibility no earlier software approached, and that alone is enough to transform how teams draft, summarize, and search. But prediction is all it does. It does not know your data, does not remember your last conversation, and cannot touch a single system on its own.

Everything that makes AI useful for actual business outcomes lives in the layer above the model: the connections to your tools, the retrieval that grounds answers in current data, and the governance that makes action safe. The model is the engine. The agent system is the car you can actually drive to work. Understanding that distinction is the difference between buying a clever demo and deploying something that holds up in production.

Frequently asked questions

What is a large language model in simple terms?

+

A large language model (LLM) is a program trained on huge amounts of text to predict the next piece of text in a sequence. That prediction ability lets it write, summarize, translate, and answer questions in natural language. It works entirely with text and does not, by itself, connect to your systems or take any action.

What is the difference between an LLM and a chatbot?

+

An LLM is the underlying model that predicts text, while a chatbot is that model wrapped in a conversation interface you can type into. The chatbot adds turn-taking and a UI, but it still mostly produces text. Neither is the same as an agent, which can take real actions in your tools.

Can an LLM take actions on its own?

+

No. An LLM only reads and writes text and has no built-in ability to access live data or change anything in your systems. To act, the model must be connected to tools through tool calling, and a surrounding system executes the requests it produces. That system is what turns a language model into an agent.

What is the difference between training and inference?

+

Training is the one-time, expensive process where a model learns its parameters from massive datasets using specialized hardware. Inference is what happens every time you send a prompt: the trained model runs forward to generate an answer without changing what it learned. You train a model once and run inference on it millions of times.

What are tokens in an LLM?

+

Tokens are the small chunks of text an LLM reads and generates, where common words are usually one token and rarer words split into several. A token is roughly three-quarters of an English word, so 1,000 tokens is about 750 words. Providers bill per token and limit how many tokens a model can consider at once, called the context window.

Why do LLMs hallucinate?

+

LLMs generate plausible-sounding text by predicting likely continuations rather than retrieving verified facts, so they can produce confident answers that are wrong. Hallucination is a property of how the model works, not a bug you can fully remove. Grounding the model in your real, current data through retrieval is the most effective way to reduce it.

Is ChatGPT an LLM?

+

ChatGPT is a chatbot product built on top of LLMs, not the model itself. The underlying GPT models are the LLMs, and ChatGPT adds a conversation interface, tuning, and safety layers around them. The distinction matters when you compare raw model APIs, chat products, and full agents that can take action.

Do I need an LLM or an AI agent for my business?

+

Use a raw LLM or chatbot when the job is purely about language, like summarizing or answering questions with no system changes. Use a governed AI agent when the work involves reading from and writing to your real tools, such as updating records or sending scheduled reports. Most business use cases need the agent, because the value is in taking action, not just generating text.

Turn a language model into real, governed action

An LLM writes text. An Onpilot agent connects to your tools, takes action with approvals and audit logs, and delivers finished work. See how to wire it up in the developer docs.

Read the developer docs