Ask a model the same question twice and you will usually get two different answers. Sometimes the difference is only wording. Sometimes the substance changes, which is more troubling. There are four separate causes, and telling them apart matters because only some of them are yours to control.
Is the model choosing randomly?
Partly. At each step the model produces probabilities across possible next tokens, and rather than always taking the leading candidate, one is sampled from the distribution. That deliberate randomness exists because always taking the top option produces flat, repetitive text.
The consequence is that a single different token early in an answer changes everything after it, since every subsequent step is conditioned on what came before. A small divergence in the first sentence can produce an entirely different second half.
Can you turn the variation off?
Through an API, mostly. Set temperature to zero, and optionally a seed, and output becomes highly consistent. It does not become guaranteed, because parallel arithmetic on server hardware is not always bit-identical and requests are batched in ways that can shift results slightly.
In a consumer chat interface you cannot set it at all. The provider chooses a middle value and does not expose it, which is a reasonable default for general use and a genuine limitation if you need repeatability.
What changes without you being told?
Quite a lot, and this is the cause people underestimate. The system prompt behind a chat product is updated regularly. Models are refreshed under the same public name. Features such as search, code execution or memory may activate on one request and not another, changing what material the model has in front of it.
Any of these can change an answer for reasons that have nothing to do with sampling. If a prompt that worked reliably for months starts producing different results, this is the most likely explanation, and no amount of adjusting the prompt will reveal it.
What in your own input causes variation?
- Conversation history. The same question in a fresh chat and in a long thread are different requests, because everything before it is part of the input.
- Stored memory. Notes saved about you are inserted into new conversations and can differ between sessions.
- Custom instructions. Set once, applied to everything, easy to forget about.
- Small wording changes. A rephrasing you consider identical may not be, particularly around words that imply a format or a stance.
Is variation a sign of unreliability?
It depends on what varies. Different phrasing with the same substance is expected and harmless. Different facts, different figures or a reversed conclusion is a signal that the model is uncertain and generating plausible text rather than reporting something it reliably knows.
That makes repetition a useful diagnostic. Ask the same factual question three times in separate conversations. Consistent answers suggest the material was well represented in training. Answers that disagree with each other are a warning that at least two of them are invented, and possibly all three.
How do you get consistent results when you need them?
Constrain the output rather than fighting the sampling. Specify the exact format, give an example of a correct response, ask for a fixed number of items, and supply the source material rather than relying on recall. A tightly specified request has fewer plausible continuations, so there is less room for the randomness to matter.
For anything running repeatedly, use an API with temperature at zero, pin the model to a dated version rather than a moving name, and keep a small set of test cases you re-run after any change. That is the only way to notice when the ground has shifted underneath a workflow.
What should you expect as normal?
Wording that changes every time, structure that changes often, and substance that stays put. When the substance moves, treat it as information about the question rather than a fault in the tool, and check the claim somewhere else before using it.