

🎲 Why AI Gives a Different Answer Every Time You Ask the Same Question
🎲 Why AI Gives a Different Answer Every Time You Ask the Same Question
You ask ChatGPT or Claude the exact same question twice in a row, and you get back two answers that are not word for word identical, even though both are correct. That is not the AI "changing its mind" or teasing you. AI picks each word based on probability rather than looking up a fixed answer, and even when that randomness is turned down almost to zero, the way thousands of chips process a flood of questions at once can still make the result shift slightly.
A Quick Everyday Analogy
Picture a noodle shop packed with customers during the lunch rush. The cook follows one exact recipe and measures the same ratio of seasoning for every bowl, with no guesswork involved. But to serve dozens of customers at once, the kitchen does not cook each bowl separately. It simmers many bowls together in one large pot of broth, then ladles it out. The number of bowls cooked together in one batch keeps changing depending on how busy the shop is, so the heat and time each bowl actually gets varies slightly between batches, even though the recipe never changes a single word. Every bowl still follows the recipe and still tastes good, but no two bowls are ever 100 percent identical between two orders, even if you order the exact same dish.
AI answers you the same way. The recipe, the model itself, does not change. But the way the system "cooks" many people's questions together at the same moment keeps shifting, so the answer is never guaranteed to come out word for word the same.
How It Actually Works
- AI does not have a ready made answer to look up. For every next word, a large language model (LLM) calculates a probability table over tens of thousands of possible next words, then picks one from that table.
- Temperature decides how strict or loose that pick is. Set near zero, the AI almost always picks the single highest probability word, often called a "greedy" pick. Set higher, the AI will occasionally pick a less likely word so the text feels less robotic and repetitive.
- Calculating that probability table runs across thousands of parallel chips. To serve millions of people quickly and cheaply, the system typically groups many different users' requests together into one computing pass, called a batch, and processes the whole batch at once.
- In September 2025, the AI infrastructure research team at Thinking Machines Lab, a company founded by former OpenAI CTO Mira Murati, published research pinpointing the exact cause: the addition operations inside those batched calculations produce slightly different results depending on how many requests happen to be grouped into that batch. And the number of requests grouped together keeps changing nonstop depending on how busy the server is at that moment. So even if you ask the exact same question at two different times, the underlying math can come out just a tiny bit different.
- Once that first word gets picked differently because of that tiny numerical difference, everything that follows branches off in a different direction too, like a row of falling dominoes. That is why two answers to the exact same question, with the exact same settings, can end up looking quite different from each other.
What This Means for You
- Save a good answer the moment you get it. If the AI writes you a great piece of ad copy in exactly the tone you wanted, do not count on asking the identical question again to get that exact version back. Copy and save it right away, because the same question later may come back with a different result.
- Double check anything that actually matters. When you ask AI to crunch numbers or write code for something important, and you are not fully sure, ask again two or three times and compare the answers, instead of trusting the first response just because it sounds confident.
- If you are building a product that needs AI to behave consistently (say, auto grading or auto sorting orders), do not assume setting temperature to zero alone is enough. Add a cross check step or a hard rule outside the AI itself to make the final call.
Common Misconceptions
- "Setting temperature to zero guarantees the AI always answers identically." Close, but not absolutely guaranteed. The source of the drift sits in how the shared server infrastructure handles many users at once, not in how you phrased your question.
- "A different answer means the AI changed its mind or reconsidered." Not quite. Each question you ask is its own independent calculation; the AI has no memory to "change its mind" between two separate requests. The difference is just a tiny shift in a probability number at the word-picking step.
- "Only cheap, open source models have this problem, while expensive flagship models are perfectly stable." This happens on nearly every large model running on shared infrastructure, including the most expensive models from every major lab, because it comes from how the servers operate, not from how well the model was trained.
FAQ
Does setting temperature to zero guarantee an identical answer? Almost always in practice, but not 100 percent guaranteed, because the cause lies in how the shared server infrastructure handles many people's questions at once, which is outside any setting you control.
Why can't I adjust temperature in the ChatGPT or Claude web app? Consumer-facing chat apps are built for general users, so the provider presets a moderate temperature that keeps answers sounding natural instead of robotically repetitive. To control that number yourself, you need to use the developer API.
How can I get more consistent answers when I really need them? Write more specific questions with clearer constraints on format and scope, and the variation between answers shrinks. See also how to write an effective prompt. If you use the API, you can set a low temperature, but you should still verify anything important yourself rather than trusting it blindly.
Is this a bug in the AI? Not exactly a bug. It is a tradeoff that lets the system serve millions of questions at once, faster and cheaper. AI infrastructure research teams, including Thinking Machines Lab, are actively working to reduce it.
Should I worry when using AI for important numbers or code? Treat it with the same caution you would use with any tool. Always verify results independently or test run the code, and never treat a single confident-sounding answer as the final word. Understanding the roots of how AI (artificial intelligence) produces an answer will help you use the tool with a clearer head.
More articles

Why Japan Is Building Its Own AI Instead of Just Using ChatGPT or Gemini

Use AI to Write Trending Captions Without Losing Your Brand Voice

Use Claude to Write a Freelancer Job Post on Upwork and Fiverr in 15 Minutes

AI Builds Software From a Raw Idea: Inside Cole Medin's "AI Software Factory"

What Is PII Redaction in AI? How Chatbots Mask Your Personal Data

Use Claude to Check and Fix Citations in Your Essay or Report in 15 Minutes