It does not choose a word. It rolls loaded dice, fifty thousand sides, once per token.
- Score
- 0
- Hits
- 0
- Balls
- 8
- Temp
- 1.00
A real model was asked to finish the prompt below, and its actual odds for the next token are laid out as slots. You are told which one to land on. The only lever you get is temperature, which stretches or flattens those odds before the ball drops.
The prompt
The United States of?
Land onAMERICA· 0.1% per ball at this setting
- America99.3%
- the0.3%
- AMERICA0.1%
- Europe0.1%
- American0.1%
- North0.1%
Set the dial, then drop. Cold makes the top token near-certain; hot spreads the mass to the tail.
Here is the entire operation. The model reads everything so far, produces a score for every one of fifty thousand possible next tokens, picks one, adds it to the text, and starts again.
Loading the measurements…
How an LLM answers
NextWhy the failures happen+What is actually going onWhy not always take the most likely token?Because the result is flat, repetitive text. That was measured, and it is why sampling exists at all.
Taking the top token every time is called greedy decoding, and it sounds like it should be the best possible strategy. Holtzman and colleagues showed it is not: the output degenerates, loops and repeats itself, because the most likely continuation of a likely continuation is likelier still, and the text collapses into a groove.
So real systems sample instead, and usually cut off the long tail first. Only the tokens that make up the top slice of probability are eligible at all. The dial in the game is the simple version of that machinery.
Take it apart yourself: What an LLM actually isBeat the Predictor · 7 min. Optional.
+What is actually going onSo why does the same question give me different answers?Because a token is drawn, not chosen. Run it twice and you drew twice.
Any temperature above zero means the reply is one sample from a distribution, not the distribution itself. Two runs of the same prompt are two rolls of the same dice. Once an early token differs, everything after it is built on that difference, so the answers can diverge completely.
There is a practical habit in that. If an answer matters, ask twice in separate chats and compare. Where the two agree, the model was confident. Where they diverge is exactly where it was guessing, and that is the cheapest uncertainty signal you will ever get out of one of these systems.
Take it apart yourself: Where it breaksPushback · 8 min. Optional.
+Watch somebody explain itNext-token prediction, end to end, without the maths.
Optional: watch someone explain it
Large Language Models explained briefly
3Blue1Brown
Next-token prediction, end to end, without the maths.
+Go and try this on a real assistantAsk the same question twice and compare the wording.
Go and try this
Ask the same question in three fresh chats
Take a question from your own work with a factual answer. Ask it in three separate new chats. New chats, not follow-ups, so that each one starts from the same context.
Line the three answers up and mark everything that differs.
What to watch for: Which parts come back identical and which parts move. The stable parts are where the model is confident; the parts that change every time are the parts you need to check yourself.
+Check yourselfIt marks itself, and nothing is sent anywhere.
Where in this loop does the model check whether something is true?
Sources
- DistilGPT-2
Hugging Face
The model whose real next-token probabilities are on this page. Every percentage in the game is its own output, recorded rather than illustrated.
Apache 2.0
- The Curious Case of Neural Text Degeneration
Holtzman, Buys, Du, Forbes & Choi (arXiv:1904.09751, 2019)
Why always taking the most likely token produces flat, repetitive text, and where sampling settings came from.
- Why Language Models Hallucinate
Kalai, Nachum, Vempala & Zhang (arXiv:2509.04664, 2025)
The account of why nothing in this loop checks anything: the training rewards a confident guess over an admission of uncertainty.
- Large Language Models explained briefly
3Blue1Brown
The same loop, end to end, in a few minutes and without the maths.