onema
AI solutions
MVP
Web development
Mobile apps
UX/UI design
Branding
Find out your project cost
office@onema.ru
Questions and suggestions
Get a cost estimate

AI hallucinations: what they are and why the model won't stay silent

A hallucination is a confident but made-up AI answer. Why the model doesn't say ‘I don't know’ and how architecture protects customers from fabrications.
Marina B.
QA Lead at onema
AI hallucinations: what they are and why the model won't stay silent — illustration for the onema article
An AI hallucination is a confident, plausible but made-up answer. A language model does not check facts: it completes text statistically, and when the facts run short it does not fall silent — it invents, in the same tone it uses for the truth. For businesses, this is the main risk of ‘plugging in an AI directly’: the customer receives the error.

Why the model doesn't say ‘I don't know’


Because it was never taught to. An LLM predicts the next token (what is an LLM) — it has no built-in check for ‘is this a fact or something I made up?’. In September 2025, OpenAI researchers identified a second cause: model training and benchmarks reward guessing. A model that answers ‘I don't know’ scores zero on a test. A model that guesses right earns a point. That is how models learn to answer confidently where they ought to stay silent.

Ask ‘how much is your hair serum?’ and you will get an answer with a price either way: either from the data the model was given, or out of thin air. From the outside, the two answers are indistinguishable — and that is the problem.

What this means for the product


A hypothetical example. A shopper asks a shop's assistant: ‘Do you have lactose-free milk?’ The model, with no access to stock, replies: ‘Yes, $1.45 a litre — shall I add it to your basket?’ There is no milk, and the price is made up. The customer got a promise; the business got a cancelled order and a complaint. That is why, in customer-facing scenarios, hallucinations are not a ‘cute bug’ but direct damage, and they must be tackled with architecture, not with a prompt saying ‘please don't make things up’.

How to fix it


  • RAG— the model answers from your database, not ‘off the top of its head’: before generation, the system finds the facts and passes them to the model (what is RAG). Fabrications become far less frequent, but the model can still distort what it finds.
  • Direct answers without generation— critical data (prices, stock) is inserted from the database; the model does not write it.
  • Routing— standard requests never reach generation at all (three levels of an assistant).
  • The right to say ‘I don't know’— in the instructions and in quality checks, an honest refusal is valued above guessing, and the interface offers a handover to a human.

Where to start


Not by choosing a ‘model that doesn't lie’ — there is no such thing. Start by asking which of your assistant's answers are critical, and keep them out of generation. This is a design decision — how we make it is described on our AI development page.

A real-world example

In Sigma.AI, an assistant for the Sigma.Market grocery marketplace, recommendations are built from a catalogue in which every ingredient is linked to a stock item, and prices and availability come from a database with up-to-date data. Standard scenarios and popular recipes are handled without generation. The local model is used only for new, non-standard requests — there a wording error is possible, but the model does not invent prices or stock levels: the database shows them. More details in the Sigma.AI case study.
Want an assistant you can trust with your customers?
Describe your task in the estimate form — we'll show which answers should be taken out of generation and what it costs. For a live example, see the Sigma.AI case study; our approach is described on our AI development page.

FAQs

Cost calculation
Tell us where your product has hit a wall, in the estimate form
After the audit, we'll tell you what to migrate, what to keep and how much it costs
More articles