Skip to content
mentoor

Topic 1 of 4 · 3 min read

Same prompt, different answers

Goal: Explain why one AI answer is a sample and decide when to run an important question more than once.

An AI answer is one draw from many possible answers, so the same prompt can give different results each time you send it. Treat a single reply as a sample, not as the answer.

Check yourself · 1 of 3

You send the same question to an AI chat assistant twice and get two different answers. What is the most likely reason?

Choose one answer

Why it matters

You ask ChatGPT, Claude or Gemini a question and get a clear reply. You ask again tomorrow and the reply says something else. Neither one is wrong in the way a calculator would be wrong. The model builds its answer one small piece at a time. At each step it picks from a list of likely next pieces. Some randomness in that pick is built in on purpose, because it makes text sound natural. So two runs can take different paths.

If you only ever see one run, you may mistake a lucky or unlucky draw for a fact.

What makes answers vary

  1. Sampling. The model picks among likely pieces instead of always taking the top one. More randomness gives more variety.
  2. Hidden settings. Chat apps set the randomness for you. You often cannot see or change it. Developers using an API can lower it, but even then answers may still differ a little.
  3. Server-side effects. Researchers have shown that even with randomness turned off, answers can change. Your request may be grouped with other users' requests, and the way the work is split can change tiny numbers inside the model.
  4. Model updates. The company may change the model behind a name, so last month's answer may not match this month's.
  5. Context. Earlier messages, memory features and uploaded files all change the answer.

How to use this

  • For a casual idea, one run is fine. Variety is even a benefit when you want options.
  • For a fact, a number, a decision or a classification, run it two or three times. If the runs agree, your confidence goes up. If they differ, you have learned the model is unsure.
  • Open a new chat for each run. A reply in the same chat is shaped by what came before.
  • Keep the prompt and the answer together if you rely on the result. You cannot count on getting it again.

Before and after

Before: You ask once, "Is this clause risky?" The reply says no. You sign.

After: You ask in three new chats. Two say no, one says the termination date is risky. You read that date yourself and talk to a lawyer.

The second approach costs two minutes and turned a hidden disagreement into a visible one.

What goes wrong

  • People re-ask until they get the answer they like. That is picking a result, not testing it.
  • People assume that a confident tone means a stable answer. Tone does not change between a stable answer and a lucky guess.
  • People assume turning down randomness makes the model correct. It makes the answer more repeatable, not more true.

Examples

Three runs of one question

You ask Claude, in three new chats: "Which of these two suppliers has the better payment terms?" and paste both contracts. Two replies pick Supplier A. One picks Supplier B and quotes a late-fee clause. The split tells you to read the late-fee clause yourself before choosing.

When variety is the point

You ask ChatGPT for ten slogans for a bake sale. Running it again gives ten different ones. Here the variation helps: you get more options to choose from, and no single run needs to be the answer.

Key points

  • The same prompt can give different answers because models sample from likely next pieces of text.
  • Chat apps hide the randomness settings, and answers can still shift because of server-side effects or model updates.
  • One run is a sample; for facts, numbers and decisions, run the question two or three times in fresh chats.
  • Agreement across runs raises confidence a little, and disagreement shows the model is unsure.
  • Repeatable is not the same as correct: a model can give the same wrong answer every time.

Common mistakes

  • Treating the first reply as the answer without checking whether it would repeat.
  • Re-asking in the same chat and calling it a test, when the earlier reply shapes the next one.
  • Running the question again and again until the preferred answer appears.
  • Believing that a low-randomness setting makes the answer true.

Check yourself · 2 of 3

You need an AI to classify a customer complaint as "refund" or "no refund", and the result will drive a decision. What is the best habit?

Choose one answer

Check yourself · 3 of 3

A developer sets the randomness setting of an API model to its lowest value. Which statement is the most accurate?

Choose one answer

Practice items, not counted towards your mastery.

Start here