AI Basics

What Is an LLM? Large Language Models Explained in Plain English

You have used one even if you have never heard the term. The chatbot that drafts your email, the autocomplete that finishes your sentence, the tool that summarizes a long document in seconds — most of them are powered by a large language model, or LLM. The phrase sounds technical, but the idea underneath is surprisingly approachable.

This guide explains what an LLM really is, how it works without any maths, where it is genuinely useful, and where it quietly fails. By the end you will understand the vocabulary well enough to follow almost any conversation about AI.

Quick summary

TermWhat it means in one line
LLMA program trained on huge amounts of text to predict the next word
TokenA chunk of text (roughly ¾ of a word) the model reads and writes
ParametersThe model’s adjustable “knobs” — more usually means more capable
TrainingShowing the model trillions of words so it learns patterns
InferenceThe model actually answering your question
Context windowHow much text the model can consider at once
HallucinationWhen the model states something false but confident

So what is a large language model, really?

At its core, an LLM does one deceptively simple thing: it predicts the next word. Give it “The capital of France is” and it will answer “Paris”, because across the billions of sentences it has read, that pattern is overwhelming.

Stack that ability up at enormous scale and something remarkable happens. Predicting the next word well enough — across code, essays, recipes, legal text and casual chat — requires the model to absorb grammar, facts, tone, and even rough reasoning patterns. The model is not looking anything up in a database when it answers. It is generating text one piece at a time, each piece chosen because it is statistically likely to follow what came before.

That single insight explains both why LLMs feel magical and why they sometimes go wrong.

How an LLM is built, in three steps

You do not need maths to understand the pipeline. There are three stages:

  1. Collect text. Developers gather a massive sample of writing — books, websites, code repositories, forums. The bigger and cleaner the mixture, the better.
  2. Train the model. The model reads this text and repeatedly plays a fill-in-the-blank game with itself, adjusting its internal settings every time it guesses wrong. This is the expensive part, taking weeks on thousands of specialized chips.
  3. Fine-tune and align. A raw model is then polished with human feedback so it follows instructions, stays helpful, and avoids harmful answers.

The result is a single file of numbers — the trained model — that can be loaded and run to answer questions. Running it to get answers is called inference, and it is far cheaper than the original training.

flowchart LR
  A[Huge text corpus] --> B[Train: predict the next word]
  B --> C[Fine-tune with human feedback]
  C --> D[Trained model file]
  D --> E[Inference: answer your question]

Tokens and parameters: the two numbers people quote

Two bits of jargon come up constantly, so they are worth pinning down.

A token is a piece of text. Models do not see whole words; they break text into tokens, where one token is roughly four characters or three-quarters of a word. “Creator” might be one token, while “CreatorKhata” might split into two or three. Pricing and limits are almost always measured in tokens, not words.

Parameters are the model’s internal adjustable values — the “knobs” tuned during training. A model described as “8 billion parameters” has eight billion of them. As a rough rule, more parameters mean more capability, but also more cost and slower responses. The trend recently has been smaller, smarter models that punch above their size.

Model sizeTypical use
Small (1–8B parameters)Fast, cheap, runs on a laptop or phone
Medium (8–70B)Good general assistant, balances cost and quality
Large (70B+)Strongest reasoning, used for hard tasks

The context window: the model’s short-term memory

When you chat with an LLM, everything in the conversation — your questions, its answers, any document you pasted — has to fit inside its context window. Think of it as the model’s short-term memory, measured in tokens.

A small context window might hold a few pages; a large one can hold an entire book. When a conversation grows past the window, the earliest parts fall out of view and the model effectively forgets them. This is why a very long chat can suddenly lose track of something you said at the start. It is not being careless — that text has simply scrolled out of its memory.

What LLMs are genuinely good at

LLMs shine whenever the task is about language and patterns rather than precise facts:

  • Drafting and rewriting — emails, captions, summaries, first drafts you then edit.
  • Explaining — turning dense material into plain language, like this article.
  • Transforming — converting a messy list into a clean table, or text into code.
  • Brainstorming — generating many options quickly when you need a starting point.

In each case the model is doing what it was built for: producing fluent, contextually appropriate text.

Where LLMs quietly fail

The same mechanism that makes LLMs fluent also makes them unreliable in specific ways. Knowing these failure modes is the single most useful thing you can learn.

The most important is hallucination — the model stating something false with complete confidence. Because it generates plausible-sounding text rather than retrieving verified facts, it can invent a citation, a statistic, or a quote that simply does not exist. It is not lying; it has no concept of truth, only of what sounds likely.

Other limits worth remembering:

  1. Knowledge cutoff — a model only knows what was in its training data, so it can be unaware of recent events.
  2. Weak at exact maths — it predicts numbers the way it predicts words, so arithmetic can be wrong.
  3. No real memory — outside the context window, it forgets everything between sessions unless a system stores it.
  4. Sensitive to phrasing — a slightly reworded question can produce a noticeably different answer.

The practical takeaway: use an LLM as a fast, fluent assistant, but verify anything factual, numerical, or important before you rely on it.

The vocabulary you now own

You can now decode most AI headlines. An LLM predicts the next token using billions of parameters learned during training, answers you during inference, can only consider what fits in its context window, and will occasionally hallucinate. That handful of terms covers the bulk of what people mean when they talk about modern AI.

The technology will keep changing — models get smaller, faster, and more capable every few months — but these fundamentals stay the same. Understanding them means you can judge the hype for yourself, instead of taking anyone’s word for it.