Deterministic vs Non-deterministic: why AI never gives the same answer twice
If you have asked AI for the same caption twice and got two different answers, nothing is broken. That is how AI works: it is non-deterministic.
Introduction
Once you understand this, you will know which work to give AI, which work needs a system with fixed results, and how to set up the system around AI so it gets the job right without wasting tokens.
What the terms mean
Deterministic means the same input gives the same output every time. 100% predictable.
Non-deterministic means the same input may give a different output each time.
| Topic | Deterministic | Non-deterministic |
|---|---|---|
| Output from the same input | Same every time | May differ every time |
| Predicting the result | Certain | Only the tendency |
| Strengths | Precise, easy to check | Varied, creative |
| Weaknesses | Only does what it was set up to do | Hard to control, needs checking |
| Best for | Money calculations, stock, automated systems | Ideas, writing content, summaries |
Everyday examples
Deterministic
- Calculator: press 2+2 and get 4 every time
- Vending machine: press A1 and get the same can every time
- Excel formula
=SUM(A1:A5): if the data does not change, neither does the total - Keyword chatbot in LINE OA: a customer types "price" and the system sends the same reply every time
Non-deterministic
- Rolling dice: Roll the same way, get a different number
- Asking locals for directions: ask the same question and each time you may get different wording, or a different route
- Ordering the same fried rice from a chef: it tastes much the same, but no two plates are identical
Which kind is AI?
Chat AI such as ChatGPT, Claude and Gemini is Non-deterministic at heart. Ask it to "write a sunscreen sales caption" 3 times and you get 3 different captions.
Why the answers differ
AI does not store ready-made answers. It writes one word at a time. Before each word, it works out which words are possible and how likely each one is, then picks one at random based on those odds.
Example: after "This sunscreen is..." the next word might be "lightweight" (45%), "waterproof" (30%) or "non-sticky" (25%). Each time, AI may pick a different word, so the whole sentence comes out different.
The percentages are hypothetical, for illustration
What is Temperature?
Temperature is the setting for how boldly AI picks words at random. You can set it when using an API or some tools.
- Low: picks the most likely words, so answers are similar each time
- High: dares to pick less common words, so answers are more varied and creative
Even with a very low Temperature, identical answers are still not guaranteed 100%
AI Can Make Mistakes
AI can be wrong even when it sounds confident, because it picks words that sound right rather than checking facts every time. When AI makes up information, it is called Hallucination
Being non-deterministic makes this worse. The same question may get a right answer the first time and a wrong one the next
Common mistakes
- Wrong numbers: wrong sums, miscalculated percentages
- Outdated information: prices, laws or app features that have since changed
- Made-up sources: research titles, links or legal sections that do not exist
- Misreading the instruction: answers off-topic because the prompt was unclear
How to handle it
- Check numbers, names, dates and prices every time before use
- Ask AI for its sources, then open the links yourself
- Have a person check before anything goes to a customer, especially work involving money, law or health
- If an answer looks odd, ask again or check it against another AI
AI is brilliant, but forgetful
To avoid wasting tokens, build a Flow, set clear rules, give AI a memory, and never let it guess.
Why we say AI is forgetful
- In a new chat, AI usually cannot remember earlier chats unless the memory feature is on or the information is stored in a Project
- In a very long chat, things said early on may be overlooked or dropped
- Whatever you leave out, AI fills in by guessing
What is a token, and where does it get wasted?
A token is a unit of text that AI reads and writes. Every word you type and every word AI replies with uses tokens, which cost money and usage quota. When AI guesses wrong, you explain again, fix again and ask again, wasting both tokens and time.
4 ways to get AI right the first time
- Build a Flow: split the work into steps, such as read the data, summarise the points, draft, then check, instead of one big instruction
- Set clear rules: Say what to do and what not to do, such as brand tone, length, banned words and answer format
- Build memory: keep information you use often in one place, such as Project instructions, business data files, template prompts or a Skill, so you do not retype it in every chat
- Do not let AI guess: Give complete real information and say "If you are not sure, ask first. Do not guess."
Prompt comparison
| Type | Prompt |
|---|---|
| Leaving AI to guess | Write a post to sell my product |
| Clear Flow and rules | Write a Facebook post selling iced coffee at 59 baht to office workers, in a friendly tone, no more than 5 lines, ending with a button to message us on LINE. If you do not have enough information, ask first. |
The first prompt is shorter, but usually needs 3 to 4 rounds of fixes, so in the end it uses more tokens than the second one, which gets it right the first time.
A prompt with a clear Flow and rules
Copy it to try, then change the product, price and audience to yours
Write a Facebook post selling iced coffee at 59 baht to office workers, in a friendly tone, no more than 5 lines, ending with a button to message us on LINE. If you do not have enough information, ask first.
Context Window: the AI's desk
The Context Window is a single desk where AI can lay things out. AI can only see and use what is on that desk.
What is on the desk
- Instructions and rules you set
- The whole conversation in that chat
- Attached files and anything the AI looked up
- The answers AI writes
The desk has a size limit
Desk size is measured in tokens. When the desk is full, older items get pushed off or shrunk. That is why AI forgets what you said at the start of a long chat.
A cluttered desk is a problem too. With unrelated things piled on it, AI may grab the wrong one, and AI generally rereads the whole desk every time it answers, so the more on it, the more tokens it uses.
Set up the desk so AI works well
- Put only what this task needs on the desk
- New topic, new chat, like clearing the desk before the next job
- When a chat gets too long, have AI summarise the key points and start a new chat from that summary
- Keep things you use often in a "cabinet" such as a Project, data files or a Skill, so AI brings them onto the desk only when needed
- Break big jobs into steps instead of piling everything on the desk at once
Read next: Why you need Sub Agents: how they save Context Window
Why AI needs a Harness
A Harness is the system wrapped around AI so it can do real work, stay on track and stay under control. A bare AI model can only take in text and reply with text.
Harness means the bridle and straps of a horse. A horse is very strong, but without a bridle it cannot pull a cart to where it needs to go.
| AI weakness | How a Harness helps |
|---|---|
| Forgetful, limited desk | A cabinet for memory: Project instructions, data files, Skills |
| Tends to guess | Puts real data on the desk: web search, reading files, pulling from systems |
| Makes mistakes | A review step: running test code, checking numbers against sources |
| Answers vary | Fixed Flows and rules keep the output in line |
| Cannot act on its own | Gives it tools: send email, create files, log tasks in systems |
| May overstep | Permissions, with important tasks needing a human to approve first |
Claude Code, Cowork and AI Agents that connect to tools are all Harnesses wrapped around a model
Putting it to work
Give AI the work that needs ideas, and use deterministic systems for work that has to be exact
| Task | Use | Why |
|---|---|---|
| Ideas, captions, hooks, content | AI | The more variety the better. Regenerate a few times and pick |
| Meeting summaries, email drafts | AI + human review | AI is fast, but it can miss things or misunderstand |
| Prices, tax, amounts of money | Excel formulas or accounting software | Needs one answer, no room for error |
| Customer replies that must be identical every time | Saved replies in LINE OA | Every customer gets the same information |
Making AI more consistent
- Set a clear answer format, such as length, headings and tone
- Include an example of the answer you want
- Give all the conditions and background in the prompt
- Save prompts that work well and reuse them
Skilled people + great AI = outstanding
Same AI, different results for different people. The outcome depends on who is using it.
Skilled people + great AI = outstanding
Unskilled user + great AI = passable
AI is a multiplier, not an addition
AI amplifies what people bring, both good skills and mistakes.
| User | Skill | × AI | Outcome |
|---|---|---|---|
| Skilled user | 500 | 100 | 50,000 |
| Unskilled user | 50 | 100 | 5,000 |
| Unskilled user, making mistakes | −50 | 100 | −5,000 |
Numbers are examples to explain the idea
500 × 10050,000
50 × 1005,000
−50 × 100−5,000
Numbers are examples to explain the idea · the pale divider = zero, left of it is a negative result
The last row matters most. If the user misunderstands, gives the wrong instruction or skips checking, AI makes that mistake bigger and faster, such as an exaggerated ad claim split into dozens of pieces and pushed out in a single day. Before adding AI power, build human skill first.
Who counts as "skilled"?
A skilled user here means someone who has all 3 of these
- Understand how to use AI: know AI's strengths and weaknesses, and can build Flows, rules and memory
- Have industry expertise: know what customers want and what good work looks like
- Have work experience: can tell which answers actually work and which are wrong
AI is fast and knows a lot, but it does not know what is right for your business. Skilled people give precise instructions, catch mistakes and build on the result. People without the grounding get generic output and cannot tell when AI is wrong.
AI does not replace expertise. It amplifies the expertise you already have. The better you are at your own work, the more AI can help.
10 people, 1 project: what do the other 8–9 do?
It used to take 10 people to run 1 project. Today, 1–2 people who understand AI and can direct it can match what a whole team once did. So what will the other 8–9 people in the company do?
It depends on whether the company sees AI as a way to cut staff or a way to grow the work.
- Path 1, cut staff: costs drop right away, but the company stays the same size and everything depends on a few people. If one of them leaves, you are in trouble.
- Path 2, grow the work: from 10 people on 1 project to 10 people on 5–10 projects
What the other 8–9 people do
- Run AI in their own work: sales, accounting and content each have AI as an assistant
- Review AI work as experts: AI produces work fast, but someone who really knows the field must check it is correct, fits the customer and carries no risk
- Do the work that needs people: look after customer relationships, negotiate, sell face to face, serve and build trust
- Open new work: take on more customers, build new products or enter markets you never had the people for
- Take on new roles created by AI: design Flows, look after AI data and memory, set prompt standards and train the team
Some repetitive roles will genuinely disappear. Good companies should give staff the time and chance to retrain, and staff should not wait. Start practising AI in your own work today.
So the question to ask yourself is not "Will AI take my job?" but "How do I become one of those 1–2 people?" The answer is the skilled-user formula: understand how to use AI, have industry expertise, and have work experience.
"1–2 people instead of 10" is a figure of speech. How much work actually shrinks depends on the type of work.
Summary
Regular software works like a calculator. AI works like a skilled, creative chef whose dishes never come out exactly the same, who sometimes gets one wrong, and who is forgetful, so it needs a system around it.
Use AI to help think and draft, set a clear Flow and rules, and have a person check before every real use.
Try it: a 10-minute activity
- Have everyone type the same prompt, such as "Write a one-paragraph caption selling iced coffee"
- Compare the answers. Nobody gets exactly the same caption (Non-deterministic)
- Work out 1,250 × 12 on a calculator. Everyone gets 15,000 (Deterministic)
- Ask AI something you know well, such as prices in your own shop, then spot where it is wrong or guessing
- Write a new prompt with a clear Flow and rules, and compare it with a short prompt to see which gets closer to what you need
- Discuss which tasks in your business can use AI and which need a system with fixed results
Prompt for activity 1
Have everyone on the team paste this prompt at the same time, then compare the answers
Write a one-paragraph caption selling iced coffee
AI Right-Hand Workshop, Cohort 2 · Saturday 19 December 2026 · N-Siri Hotel, Pathum Thani
Check before every AI task
- Does this task need a variety of ideas, or one exact answer?
- Give complete real information and tell it to ask first if unsure, never guess
- Split the work into steps and state the rules clearly
- Check numbers, names, dates, prices and sources before real use
- New topic, new chat, keep the desk clear
Written by Coach Orn (Rusada Noisong) · Numbers in this article are hypothetical examples to explain the ideas
Know a friend or team just starting to use AI at work? Send them this article first Share to Facebook Share on LINE

