Be honest: how many times this week did you ask ChatGPT, Claude or Gemini a question and just… trust the answer? We all do it. These systems sound so sure of themselves, so calm, so competent. But here’s the thing: behind that confident voice sits a machine doing something far stranger, and far simpler, than most people realize.
Once you understand what large language models actually do (and what they genuinely can’t), everything clicks. The marketing claims make sense. The weird mistakes make sense. Even the pricing makes sense. So let’s pull back the curtain together, without a single equation. Promise.
Key takeaways
- An LLM predicts the next token. All the knowledge and personality you see emerges from training at massive scale.
- The context window is the model’s only working memory. Bigger helps, but attention fades in the middle.
- Hallucinations are not a bug waiting for a patch. They are baked into how these systems work, so verify what matters.
- Reasoning models trade speed for much better answers on hard problems. Often worth it.
- Stop hunting for one “best” model. Match the model to the task instead.
So what is a large language model, actually?
Strip away the hype and an LLM is a very large mathematical function. You feed it text, it calculates probabilities for what text should come next. That’s it. Honestly, that is genuinely all it does at its core.
The magic (and yes, it does feel like magic) comes from scale. Train that simple function on trillions of words from books, websites, code and conversations, and something surprising happens: to predict the next word well, the model is forced to internalize grammar, facts, reasoning patterns and even fragments of common sense. Nobody programs those in. They emerge.
One detail trips almost everyone up: the model never sees words. Your text gets chopped into pieces called tokens, each roughly three quarters of an English word. “Unbelievable” might split into “un”, “believ” and “able”. Everything you type, and everything the model answers, is a stream of these tokens. Remember that, because it explains several quirks you’ll meet later.
How LLMs are trained: the two phases that explain almost everything
Every modern LLM goes through two distinct training phases. Keep them separate in your head and most model behavior suddenly becomes predictable.
Phase one: pretraining, or reading the entire internet
Imagine sitting a student down with a library the size of the public internet and one instruction: guess what comes next. That’s pretraining. The model reads an enormous corpus and learns to predict tokens, absorbing knowledge and language ability along the way.
This phase is brutally expensive. A frontier model costs tens of millions of dollars in compute, with clusters of tens of thousands of specialized chips running for months. What comes out is a base model: brilliant, but raw. Ask it a polite question and it might continue your text with a rant instead of an answer. It’s a completer, not an assistant.
Phase two: post-training, or learning manners
Post-training is what turns that raw completer into the helpful assistant you know. First the model studies examples of good answers (supervised fine-tuning). Then human or AI reviewers rank its candidate responses, and it learns to prefer the helpful ones.
Here’s a fun consequence: when you notice that Claude writes differently from ChatGPT, you’re mostly seeing post-training choices, not a different raw brain. Personality is trained in, not born.
The context window: your conversation’s short-term memory
Ever wondered why a model forgets you exist the moment you close the chat? Because without a product adding memory on top, it literally does. All an LLM ever “sees” is the context window: the tokens of your current conversation, plus any documents you attached, plus hidden system instructions.
In 2026, mainstream models handle 128,000 to 1,000,000 tokens. That’s hundreds of pages, and it’s genuinely useful. But two caveats from our testing matter more than the headline number. First, attention degrades: models use the beginning and the end of a long context well, and the middle poorly. Second, more context means slower, pricier answers. Bigger is better, but it isn’t free.
Why do LLMs make things up?
Here’s the uncomfortable truth nobody puts on the landing page: hallucinations are not a glitch. They’re a direct consequence of how these systems work. The model generates plausible text, and plausible is not the same as true.
Think about it. When a fact appears a thousand times in the training data, the model reproduces it reliably. When a fact is rare, recent, or slightly outside what it learned, the model fills the gap with the most plausible-sounding completion. Sometimes that completion is invented, and it arrives with the same calm confidence as everything else. (This is why the lies are so convincing.)
Three habits protect you. Always verify names, dates, citations and numbers. For factual questions, prefer tools that ground answers in search or documents, like Perplexity or a RAG setup. And be extra careful where confident nonsense is dangerous: medicine, law, finance.
Reasoning models: the ones that think before they speak
Since late 2024, a new category has changed what’s possible: reasoning models like OpenAI’s o3 and DeepSeek-R1. Instead of answering immediately, they generate a long internal chain of thought first, spending more compute at answer time.
On math, code and logic, the jump is dramatic. The trade-off? Latency and cost. A hard question can take a minute of visible “thinking”. We break down how they work, and when to use them, in our article on reasoning models.
What LLMs still struggle with in 2026
- Exact arithmetic and counting. Tokenization makes precise calculation unnatural. Good products now let models call a code interpreter for math, which mostly fixes it. Raw API use? Less so.
- Knowing what they don’t know. Calibration has improved, but a model still rarely says “I have no idea” on its own.
- Very recent events. Training data has a cutoff. Connected assistants search the web to compensate, with varying skill.
- Staying coherent over very long tasks. Agents that act for hours still drift, repeat or lose the plot. This is the frontier everyone is racing on.
How we write these explainers. Our LLM articles are based on hands-on use of every major model, reading of the primary research papers, and conversations with practitioners. We test claims ourselves whenever possible and update articles when the field moves. See our methodology page for details.
A quick history lesson (so 2026 actually makes sense)
You don’t need trivia for trivia’s sake, but a few turning points explain today’s landscape. The 2017 transformer architecture supplied the engine. GPT-2 and GPT-3 showed, between 2019 and 2020, that scale alone produced surprising abilities. Then ChatGPT arrived in late 2022 and proved something nobody expected: post-training, not raw size, is what makes people love a model. Every lab pivoted to instruction tuning within a year.
2024 brought two more shifts: multimodal models went native, and reasoning models showed that spending compute at answer time buys capability that training alone couldn’t. Notice the rhythm? The field changes direction roughly every eighteen months.
The bottom line
Remember that calm, confident voice from the start of this article? Now you know what it really is: a prediction engine wrapped in a helpful personality. Treat it like a brilliant, tireless intern with no life experience and an occasional habit of confident nonsense. Give it context, examples and clear instructions. Verify what matters.
And here’s the practical payoff: because the field turns over every eighteen months, hold your subscriptions and platform bets loosely. The one durable investment is understanding the fundamentals you just read, because tokens, context, training and hallucination have survived every shift so far. When you’re ready to pick your tools, our comparison section applies exactly this lens to the assistants you can subscribe to today.