Skip to content
Thesis

Large Language Models Explained: ChatGPT Is Math, Not Magic

Understanding that LLMs are prediction machines with no truth checker is the single most important insight for using AI effectively.

6 min

Core argument

The short version of the piece before you go deeper.

Understanding that LLMs are prediction machines with no truth checker is the single most important insight for using AI effectively.

Large Language Models are not thinking — they're doing math. Here's why that distinction matters for every decision you make with ChatGPT, Claude, or any other LLM in 2025.

The One Equation That Powers Every AI Answer

ChatGPT is not thinking. It's doing math. One equation, trillions of times. That sentence sounds reductive, but it's the most useful mental model you can carry into any conversation about AI — whether you're evaluating tools, building products, or just trying to figure out why the chatbot confidently told you a bridge was designed by someone who never existed.

An LLM — a Large Language Model — earns each word in that acronym. Large because models like GPT-4 trained on trillions of tokens drawn from books, websites, code repositories, and more. Language because the model's entire universe is text (or tokens derived from text). Model because it is, at its core, a prediction machine. Think of a weather model: it doesn't create weather, it calculates probabilities of future states based on patterns in historical data. An LLM does the same thing, except the "weather" is the next word in a sentence.

The moment you hit send on a prompt, your words stop being words. They get chopped into tokens — sub-word chunks, roughly ¾ of a word on average — and each token is mapped to a high-dimensional vector called an embedding. Inside the model, there is no English, no Spanish, no code syntax. Only arrays of floating-point numbers flowing through layers of matrix multiplications and non-linear activation functions. The transformer architecture (the "T" in GPT) processes these numbers through dozens or hundreds of attention layers, each one learning which tokens in the sequence are most relevant to predicting what comes next.

Then it plays one game. Out of roughly 100,000 possible next tokens in its vocabulary, it calculates a probability for every single one and picks a winner. That's the entire trick. A full response — a paragraph, a poem, a business plan — is just that game on repeat. Every word you read was the winner of a probability contest, chosen one token at a time, conditioned on everything that came before it.

It feels like a conversation. It is a calculation.

Why "Just Math" Is Not an Insult — It's a Superpower and a Limitation

When I say LLMs are "just math," I'm not diminishing them. Matrix multiplication at the scale of hundreds of billions of parameters, running across thousands of GPUs, producing coherent multi-paragraph reasoning in milliseconds — that's extraordinary engineering. The point isn't that the math is simple. The point is that the math has no truth checker.

This is the single most important thing to understand about LLMs, and it directly explains hallucination. When ChatGPT states something false with total confidence — citing a paper that doesn't exist, inventing a statistic, attributing a quote to the wrong person — it is not lying. Lying requires intent and knowledge of truth. The model predicted a likely-sounding token sequence, not a verified one. The probability distribution it samples from is shaped by patterns in training data, not by a database of facts it can look up and cross-reference.

Compare this to a traditional search engine or a SQL query. Those systems retrieve information from structured, indexed sources. They can be wrong if the source is wrong, but they don't fabricate sources. An LLM, by contrast, generates text that pattern-matches what a correct answer looks like. Most of the time, the patterns align with reality because the training data contained accurate information repeated many times. But when the model encounters an edge case — a rare name, a niche fact, a question that requires precise numerical reasoning — the probability distribution doesn't suddenly become cautious. It picks the most likely-sounding completion with the same confidence it brings to everything else.

This is why retrieval-augmented generation (RAG), tool use, and grounding techniques have become so critical in production AI systems. They're essentially bolting a truth checker onto a machine that was never designed to have one. When you give an LLM access to a search API, a database, or a document store, you're compensating for the fundamental gap between "statistically probable" and "factually correct."

Second-Order Consequences: What This Means for How You Use AI

Understanding the prediction-machine nature of LLMs changes how you should work with them in practice. Here's my framework:

Use LLMs for drafts, structure, and ideation — not as a source of record. The model is spectacular at generating plausible first drafts, brainstorming angles you hadn't considered, restructuring messy notes into clean outlines, and translating between formats (email to slide deck, technical spec to plain English). These are all tasks where "statistically probable next token" aligns well with "useful output."

Double-check every specific fact, number, date, and citation. Not because the model is usually wrong — it's usually right — but because you have no way to distinguish its correct outputs from its hallucinated ones by looking at the text alone. The confidence is always the same. The tone is always the same. The only reliable check is an external one.

Treat temperature and sampling settings as levers on creativity vs. predictability. When the model samples from its probability distribution with high temperature, it's more willing to pick lower-probability tokens — which means more creative, surprising, and potentially wrong outputs. Low temperature means it sticks closer to the highest-probability tokens — more predictable, more conservative, more likely to match consensus answers. Knowing this lets you tune the tool to the task.

Remember that the model has no persistent memory, no beliefs, and no goals. Each conversation is a fresh sequence of token predictions conditioned on the context window. It doesn't "want" anything. It doesn't "know" you. It's recalculating from scratch every time. This is liberating: it means you can't offend it, you can't break it by asking hard questions, and you don't need to manage its feelings. Just manage your prompts.

The Takeaway

Every time ChatGPT amazes you, what you're witnessing is math pretending to talk. That's not a reason to dismiss it — the pretense is extraordinarily useful. But it is a reason to use it with clear eyes. The model doesn't know what's true. It knows what sounds right. Your job is to know the difference.

The builders and operators who thrive with AI in 2025 won't be the ones who trust it the most. They'll be the ones who understand exactly what it is — a prediction engine with no truth checker — and design their workflows accordingly. Use it for leverage. Verify the output. And never confuse statistical probability with understanding.

I break down one AI concept in plain English every week at jayprasad.com. If this clicked, there's more where it came from.

Discussion

Responses, reactions, and open questions.

The article stays static. The conversation sits underneath it. Sign in with your email, react to the argument, and join the discussion.

0 published comments0 total reactions

Join the discussion

Use your email to get a one-time sign-in code. First comments may wait in moderation before they appear publicly.

Loading discussion…