AI gives different answers because it picks each next word from a range of likely options, with a deliberate element of chance, rather than looking up one stored answer. Your conversation history, memory settings, web searches and model updates add more variation. For drafting that's often useful; for anything you need to repeat, you can narrow it.
You ask for three subject lines for a newsletter and get three good ones. You click regenerate out of curiosity and get three completely different ones. Then you ask a factual question twice and the answers disagree in a detail. The first feels like a feature; the second feels like a fault. Both come from the same mechanism.
Why does AI give different answers to the same prompt?
AI gives different answers because of how a language model writes. It doesn't retrieve a finished answer from storage. It builds the reply one small piece at a time, called a token (roughly a word or part of a word). At each step, the model works out how likely every possible next token is, then picks one.
If it always picked the single most likely token, the same prompt would usually give the same reply. Chat tools don't do that by default, because always taking the most likely word tends to produce flat, repetitive text. Instead they sample: they pick from the likely options with a controlled amount of chance. Change one early word and everything after it follows a different route.
That's non-determinism: the same input doesn't guarantee the same output.
Temperature, in plain words
Temperature is the setting that controls how adventurous that sampling is.
| Temperature | What the model does | Feels like |
|---|
| Low | Sticks closely to the most likely next words | Steady, predictable, sometimes dull |
| Medium | Mostly likely words, with some variety | The usual chat experience |
| High | Gives less likely words a real chance | Varied, surprising, more prone to wander |
A related setting, top-p, limits the choice to the smallest group of tokens that together cover most of the probability. Both narrow or widen the field. Everyday chat apps generally don't show either control; they're set for you. Developers calling a model through an API can usually adjust them.
Is it only chance, or is something else changing?
Chance is one source. Several others are easy to miss, and they often explain bigger differences than sampling does:
- The conversation above. A model reads the whole chat before replying. The same question at the start of a fresh chat and twenty messages into a long one can get different answers.
- Memory and custom instructions. If your tool remembers things about you, or you've set standing instructions, those are added to what the model sees.
- Web search. If the tool searches, it may find different pages each time.
- Files. A document attached in one chat and not the other changes everything.
- The model itself. Makers update models, and a tool may route your prompt to different versions. Last month's answer may come from a different model than today's.
When Hamish, an HR adviser in Perth, and his colleague get different summaries of the same policy, the cause is often one of these, not dice.
When does the variation actually matter?
For creative work, variety is the point. Ideas for a team-building day, ten headline options, a different angle on a stuck paragraph: regenerating is a cheap way to get more choice.
Variation matters when you need the same thing twice:
- a weekly report that should follow the same shape each time
- a summary that colleagues will compare
- a classification, such as tagging customer emails by topic, where consistency is the whole job
- any factual answer you intend to rely on
The last one is the important one. If two answers to a factual question disagree, treat it as a warning that the model may be guessing. When a model fills a gap with something plausible but false, that's a hallucination, and inconsistency is one of its tells. Our guide on how to spot AI hallucinations covers the others.
How can I get more consistent answers?
You can't make a chat app fully repeatable, but you can make it much steadier. Most of the gain comes from the prompt.
- Fix the format. Say exactly what shape you want: headings, number of points, length, order.
- Give an example. One sample of a good output does more than a paragraph of description.
- Supply the material. Paste the source text rather than asking from memory, and tell it to use only that.
- Start fresh. Run recurring tasks in a new chat so earlier messages don't steer the reply.
- Save the prompt. Reuse the same wording every time rather than retyping it.
A prompt built for repeatable output:
Summarise the meeting notes below in exactly this format. Decisions: a numbered list, one line each. Actions: a table with columns for action, owner and deadline. Open questions: a bulleted list. Use only what's in the notes. If a field is missing, write "not stated". Don't add commentary.
Even with all of this, wording will drift slightly. The structure, though, will hold. Structured prompts for consistent results takes this further, and prompt templates for recurring tasks shows how to build a set you reuse.
Who doesn't need to worry about this?
If you use AI mainly for brainstorming, rewording or getting past a blank page, the variation is working in your favour. Regenerate freely. The habit to keep is the one that always applies: check facts against a source before you rely on them.
Where Teach me AI teaches this
How large language models work is the module for the mechanics behind this: how a model turns a prompt into text, token by token. Lessons use step-through explainers for ideas such as tokens, rather than equations. Prompting well is the module for the practical side: getting the output you asked for. Both are in the curriculum, and the glossary has a plain page for non-determinism, temperature and top-p.
Prompts that work can be kept in your toolkit, to copy and reuse. If you're a Pro member, the Lab gives feedback on a prompt you've written, so you can tighten one before you rely on it.
Quick reference
- Different wording, same substance: normal.
- Different facts: check the source.
- Need repeatable output: fixed format, an example, a fresh chat, a saved prompt.
- Comparing with a colleague: same settings, same files, new chats.