Skip to content Are you an AI agent? QIO facts, prices and requests are here

7 min read

Why AI models hallucinate and how to reduce the risk

ChatGPT and other language models can sound equally confident about a real source and an invented one. The right prompts, a verified knowledge base and a review process can make errors less frequent and easier to spot.

A chrome speech bubble casts a distorted reflection on a mirrored surface

An AI hallucination is a plausible but false answer delivered with confidence. Examples include a non-existent legal provision, a fabricated quotation, a wrong date or a reference to a study that never took place. All large language models can hallucinate, including the newest ones. Understanding why helps businesses reduce the risk.

What are AI hallucinations?

A model can present a false statement just as confidently as a true one. OpenAI defines hallucinations as plausible but incorrect statements generated by language models.

The US National Institute of Standards and Technology (NIST) uses the term “confabulation” in its guidance on generative AI risk. It covers factual errors as well as answers that depart from the request or source data, or contradict what the model said earlier in the conversation (NIST AI 600-1).

Several types show up in practice.

  • Factual errors include incorrect dates, figures, names or product specifications.
  • Invented sources include references to articles, laws or pages that do not exist.
  • Distorted source material occurs when a model summarises a document and adds information it never contained.
  • Contradictions occur when the model reverses a claim midway through an answer.

Why do language models hallucinate?

A model learns to predict the next word from large collections of text. Fact-checking is a different task. Even when the model lacks the correct answer, it can still produce a plausible continuation.

In a 2025 analysis, OpenAI explains that training texts provide examples of coherent language without labelling claims as true or false. Larger models learn regular patterns such as spelling, but no such pattern reveals an arbitrary, rarely mentioned fact such as someone’s birthday. Evaluation also matters. When only correct answers earn points, guessing pays better than saying “I don’t know” (OpenAI).

OpenAI compared two models on SimpleQA, a test of short factual questions. Each percentage below uses the total number of questions as its denominator.

Outcomegpt-5-thinking-miniOpenAI o4-mini
Declined to answer52%1%
Correct22%24%
Incorrect26%75%

Per 100 questions, o4-mini answered 24 correctly and 75 incorrectly and skipped one. The corresponding figures for gpt-5-thinking-mini were 22 correct, 26 incorrect and 52 skipped. The two extra correct answers from o4-mini came with 49 extra errors. Outdated knowledge is another common cause. Without access to search, a model cannot know about events after training from its training data alone.

Where hallucinations can harm a business

The risk is greatest when customers take an AI answer as the company’s word or someone acts on it without checking.

  • Website chatbots. Air Canada’s chatbot told a passenger he could claim a bereavement fare after flying. The airline’s rules did not allow this. In Moffatt v. Air Canada in 2024, a British Columbia tribunal held the airline responsible for the incorrect information. The account of the case does not establish whether the bot used a language model or what caused the error.
  • Search answers about your company. Yandex, Russia’s largest search engine, warns that its Alice AI answers may contain inaccuracies. Google gives a similar warning about AI Overviews. Outdated brand information on other sites increases the risk.
  • Content and analysis. Fabricated statistics in an article, proposal or management report undermine trust and can lead to poor decisions.
  • Agents that take action. A reasoning error can become an incorrect order, email or CRM entry. Build checks and confirmations into critical steps for AI agents.

How to reduce hallucinations with better prompts

Give the model a source, let it acknowledge missing information and ask for references. These techniques can reduce errors.

  1. Supply the evidence. Paste the document or data extract and ask the model to answer using only that material.
  2. Allow “I don’t know”. The model is less likely to invent an answer when it has explicit permission to decline.
  3. Request sources and check them. Open each link. Models frequently invent titles and URLs.
  4. Split the task into stages. Extract the facts first, then draw conclusions, then draft the text.
  5. Ask the model to flag uncertainty. Start your review there and check figures and links elsewhere in the text as well.
  6. Ask again using different wording. Inconsistencies can signal a hallucination.
  7. Enable search for recent facts and specify the relevant date or period.

For example, try these prompts.

Use only the text below. If it does not contain the answer, write “The document does not say”. After each claim, identify the paragraph that supports it.
At the end of your answer, list any facts you are unsure about.

Reducing hallucinations in a product with RAG and checks

A chrome speech bubble chained to a closed document folder
RAG grounds the model’s answer in company documents.

Design the product to answer from a verified knowledge base and to decline when the evidence is missing.

Retrieval-augmented generation (RAG) means the system retrieves relevant passages from company documents and gives them to the model as context before it answers. A 2020 paper describes the approach for knowledge-intensive tasks (arXiv). Search engines use the same principle for AI answers. Google calls the process of tying an answer to retrieved sources “grounding”.

Build the following around retrieval:

  • A link from the answer to the passage that supports it
  • A way to decline and hand the question to a person when information is missing
  • A test set of questions with reference answers, checked regularly after changes
  • Conversation logs for investigating errors
  • An up-to-date knowledge base, since even a perfect model will quote an outdated price from an old price list

A website AI chatbot that cannot find an answer should say so and offer to put the customer in touch with a member of staff.

How to check AI answers

Check figures, dates, names, quotations and links. These are particularly common places for hallucinations to appear.

  • Open each link and locate the passage supporting the specific claim.
  • Check figures and dates against the original source.
  • For laws and standards, check the current version.
  • If you cannot find the source, treat the claim as unverified and leave it out of the publication.

Can you eliminate hallucinations entirely?

You can make them infrequent and easier to spot. As OpenAI explains, the model can avoid guessing on an individual question by acknowledging that it lacks information. Errors are still possible in the answers it does give.

For a business, two rules follow. Let the model decline to answer. Have a person review anything that goes to a customer or affects money, or verify it against a source.

Connecting the model to your knowledge base so it answers from company documents is the starting point for integrating an LLM into your website and CRM.

Sources

Questions and answers

What is a hallucination in the context of an LLM?

It is an answer that sounds plausible but conflicts with the facts or the source material. NIST uses the term “confabulation” for this phenomenon.

Which AI model never hallucinates?

All large language models make mistakes. They differ in how often they get things wrong and how readily they acknowledge that they do not know.

Does web search prevent hallucinations?

It reduces the risk for recent facts. The model can still misrepresent a source or rely on an incorrect page, so open the links and check them.

Why does a model invent sources?

It reproduces patterns in titles and links. If it has no knowledge of the actual source, it can construct a plausible-looking reference.

Who is responsible when a company chatbot gives the wrong answer?

Customers take the bot’s answer as the company’s word. In Moffatt v. Air Canada, the tribunal held the airline responsible for its chatbot’s incorrect information.

Follow the journal

New pieces on websites, SEO and AI come out in the QIO journal. Follow in Google, by RSS or in Telegram to get them first.

Read next

How can we help?
Discuss a project