Why does the same question give different answers?
For every possible next word, a language model works out how well that word fits, turns that into odds, and picks one like weighted dice. Change how you ask, and watch the odds move.
Three ways of asking for the same thing, the capital of France:
The model's odds for the first word of its answer
What it picked
Press Draw one to see a single answer, or Run 1,000 times to see how often each one comes up.
How your wording changes the odds
Chance of getting the capital of France, for three ways of asking.
France narrows it down, but a near miss like Lyon still gets a share.
Technical name: temperature. Apps usually set it for you, and some newer models do not let you change it at all.
Chance of the answer you wanted
How often Paris comes up, over many tries.
Chance of a different answer
Any other word, including near misses.
Chance of nonsense
The chance of picking banana.
What shapes the odds
- 1 What it learned · Fixed During training the model learned which words tend to follow which. You cannot change this.
- 2 The words you write · Yours Your question shifts the scores. A clear one moves the odds toward what you meant, a vague one spreads them out.
- 3 The variety setting · Usually the app's How boldly it picks from the odds. Its technical name is temperature. Most apps set it for you.
What the variety dial does
The trap
At variety 0 the model always takes its top pick, so the answer barely changes between runs (hosted models can still differ a little). A steady answer is easy to trust, and if the top pick is wrong, it is wrong every time. What helps is the question you ask, and checking the answer.
Open Under the hood to see the formula with the numbers from your current setting.
Real systems add more on top, such as cutting off the least likely words (top-p, top-k). At variety 0 the formula would divide by zero, so the model takes the highest score. A real answer is drawn one token at a time, so every later token can vary too, and hosted models at temperature 0 can still differ a little between runs.
Why knowing this helps you
What you write and how you check the result are the parts you control.
Say what you mean
A vague question spreads the odds over answers you did not intend. Name the topic, the format and the limits, like the specific question above.
Ask twice
If two answers to the same question disagree, treat the answer as uncertain and check it. If they agree it is a better sign, though the model can repeat the same mistake.
Check what matters
A smooth answer can still be wrong. For facts, numbers and names, ask for sources or look them up.
One answer is one roll
One answer says little about the next one. Judge the model over a few tries.
Checked on 2026-10-06 against the OpenAI and Anthropic API references (temperature runs 0 to 2 at OpenAI, default 1, and newer reasoning models fix it), llama.cpp's docs on temperature 0, and Thinking Machines (2025), where 1,000 runs of one prompt at temperature 0 on a served Qwen3 model gave 80 different answers. Settings differ by provider and model.
Where this goes next
Next: errors in long tasks
If each step of a task is right 95% of the time, a 20-step task finishes cleanly about 36% of the time. Why checks between steps matter.
Then: context
Why more text in the prompt can make the important sentence count for less.
Every number on this page comes from a C engine compiled to WebAssembly. The scores are made up for three questions, and a real model scores tens of thousands to a few hundred thousand tokens.