← All guides
How LLMs Work · Ep 01

What Is an LLM?

A Large Language Model is not a tiny brain storing memorized facts. It turns text into numbered pieces and predicts the most likely next piece — one calm step at a time.

Text → Tokens → Probabilities → Next Word ↻
Step 1 · Tokenize

Chop text into numbered tokens

Before an LLM reads your prompt (“The cat sat on the”), it splits it into small pieces and looks up each piece’s ID number.

The 464
cat 3797
sat 3332
on 319
the 262
Step 2 · Predict Next

Score what piece is most likely next

Using patterns learned during training, the model assigns a probability to every possible next piece and picks a strong match.

“mat”
68%
“sofa”
18%
“floor”
9%
“moon”
0.1%
Step 3 · Repeat the Loop

Append the word and guess again

Every long reply is just this same step repeated: add “mat” back onto your sentence, then predict “and” → “fell” → “asleep.”

The cat sat on the + mat → and → fell → asleep.
Plain English Summary

What “L · L · M” really means

L
Large Trained on billions of pages of books, articles, and code.
L
Language Learns patterns, tone, and meaning — not memorized lookup answers.
M
Model Predicts one likely next piece at a time, in a loop.