Autoregressive LLMs: Tokens & Next-Token Probability
Large Language Models do not look up answers in a fact table. They break text into chunks called tokens and predict the most probable next piece, one step at a time.
Understanding next-token prediction explains both AI’s strengths and its quirks: why a single phrasing change alters output, why models can confidently guess wrong facts, and why lowering "temperature" keeps software tools predictable.
Mental Model
Like an extraordinarily well-read autocomplete engine that weighs thousands of clues from your prompt before picking each next word.
What Breaks Without This
Teams treat an LLM like a deterministic SQL database—leaving temperature high on billing tools and getting surprised when it invents plausible-sounding numbers.
Key Takeaway
Autoregressive LLMs build replies one predicted token at a time—and temperature controls how safe or adventurous each choice is.