On its own, a language model has no lookup step and nothing to check its answers against, which is exactly why it can be fluent, confident and wrong. When it gives you a court case, a statistic or an API parameter, it isn’t pulling up a stored record. It’s writing the most plausible next words, and plausible is not the same as true. That is the short answer to why AI models hallucinate.
Better models and clever prompts won’t make the problem disappear. What helps is knowing where the failures cluster, then putting checks at exactly those points.
Most advice on this topic falls into two camps. One says you can never trust the output. The other says you only need to tell the model not to make things up. Both waste your time. Below are eight beliefs that sound reasonable, what is actually going on under each one, and what to do instead.
Why AI models hallucinate, in plain terms
Start with pretraining. A model reads an enormous amount of text and learns to predict the next token. Along the way it picks up two different things: what facts look like (the format) and which specific facts are true (the content).
For common knowledge, format and content line up. The model has seen “Paris is the capital of France” thousands of times. For rare facts, such as a mid-career researcher’s birth year or the exact clause number in an obscure regulation, the model may have seen the fact once or never. It still knows how the answer should look, so it produces a well-formed year or clause number. The format survives. The content is invented.
Post-training and evaluation then reinforce the habit. Picture a benchmark that scores 1 for a correct answer and 0 for a wrong one, and also gives 0 for “I don’t know.” Say the model is 30% confident. If it guesses, its expected score is 0.3. If it abstains, its score is 0. Across thousands of questions, the model that always guesses climbs the leaderboard.
OpenAI researchers and co-authors made this argument directly in a September 2025 paper, Why Language Models Hallucinate: models are optimized to be good test-takers, and the way they are trained and scored rewards guessing over acknowledging uncertainty.
Keep that mechanism in mind. Almost every myth below falls apart once you remember the model is rewarded for sounding right, not for knowing when it isn’t.
Myth 1: “Hallucination is a bug the labs will eventually patch”
Reality: it’s a side effect of the training objective, and the floor isn’t zero.
Hallucination rates on well-covered, common-knowledge questions have fallen a lot as models improved. Rare facts are a different case. The same paper shows that for arbitrary facts, such as birthdays, the error rate has a statistical floor tied to the “singleton rate”: the share of those facts that appear only once in the training data.
Labs can push the floor down. They can train models to abstain more, add retrieval, and change how they score their own evaluations. What they can’t do is give a next-token predictor perfect knowledge of every long-tail fact. Waiting for “the version that doesn’t hallucinate” is a strategy that never pays off.
What to do instead: assume a nonzero error rate in every workflow. Then decide where an error is cheap, such as a brainstorm or a first draft, and where it’s expensive, such as a customer-facing number or a legal citation. Put your checking effort only in the expensive places.
Myth 2: “Newer, smarter models hallucinate less, across the board”
Reality: improvement is uneven, and some capability jumps come with more fabrication, not less.
One well-documented example: OpenAI’s own April 2025 system card for o3 and o4-mini reported higher hallucination rates on PersonQA, a benchmark of questions about people, than the older o1. o3 came in at 33% and o4-mini at 48%, against 16% for o1.
OpenAI’s explanation was that o3 simply makes more claims overall. More claims means more correct ones and more wrong ones. A model that reasons at length has more chances to state something specific, and every specific statement is another chance to be wrong.
Headline benchmark scores also tell you little here. A model can top a reasoning leaderboard and still invent citations. Here is why one composite benchmark score says little about your task.
What to do instead: build a small test from your own domain. Write 30 questions with answers you already know. Include five that have no correct answer, such as a product feature that doesn’t exist. Run each candidate model and count three things separately:
- correct answers
- wrong answers
- honest abstentions
A model scoring 22 correct, 2 wrong and 6 “I don’t know” is often a safer pick than one scoring 25 correct and 5 wrong. Weigh that trade-off against cost and speed, but count the wrong answers first.
Myth 3: “Hallucinations strike at random”
Reality: they cluster in predictable zones, which means you can aim your checks.
If errors were random, you’d have to verify everything equally. They aren’t. They concentrate wherever the model has to produce a precise, low-frequency detail, or wherever the question quietly assumes something false.
| Request type | Why it’s risky | Default move |
|---|---|---|
| Citations, paper titles, URLs | The format is easy to imitate, and the specific strings are rare | Never publish one without opening it yourself |
| Exact numbers, prices, dates | Many plausible values sit close together | Ask for the source, then check the source |
| Niche people and small companies | Thin coverage in training data | Treat any biographical detail as unverified |
| Anything after the training cutoff | The model fills the gap with a guess | Use a tool with live search, or supply the facts yourself |
| False-premise questions | The model tends to accept the premise and explain it | Ask neutrally: “Did X happen?” before “Why did X happen?” |
| Library functions and package names | A plausible name gets invented to fit the code’s pattern | Run the code, and check that the package exists in the registry |
That last row matters for security as well as correctness. A 2024 study of 576,000 code samples from 16 models found that at least 5.2% of the packages suggested by commercial models, and 21.7% of those from open-source models, did not exist. An attacker who registers one of those names can fill it with malicious code and wait for someone to install it.
The false-premise row catches people constantly. Ask “Why did Company X discontinue its free tier in 2024?” and many models will write a confident explanation, even if the free tier still exists. The question did the hallucinating. The model just went along with it.
What to do instead: before you trust an answer, scan it for the categories above. A 600-word answer might contain four checkable specifics. Verify those four and skim the rest.
Myth 4: “Give it the source documents and the problem goes away”
Reality: grounding cuts hallucinations a lot, but it adds new places for things to go wrong.
Retrieval-augmented generation (RAG) works by giving the model the relevant documents and asking it to answer from them. That’s the single most effective structural fix for factual questions about your own material. It still fails in four common ways.
- Retrieval misses. The search step fetches the wrong chunk. The model answers fluently from irrelevant text, or falls back on its training data.
- Parsing errors. A PDF table gets flattened into a jumble of numbers before the model ever sees it. The model then answers correctly from incorrect input. ParseBench’s look at document parsers shows how often this step quietly corrupts data.
- Blending. The model mixes the provided document with what it already “knows.” This happens most when the document contradicts common knowledge.
- Lost in the middle. In long contexts, details buried mid-document get used less reliably than those near the start or end, as the 2023 “Lost in the Middle” study showed. More on what happens to details in the middle of a long context.
What to do instead: make the model prove its answer against the source, then check the proof mechanically.
Answer using ONLY the document below.
For every factual claim, include a direct quote from the
document in quotation marks that supports it.
If the document does not contain the answer, reply exactly:
NOT IN SOURCE.
<document>
...
</document>
Question: What is the notice period for cancellation?Now you can run a simple string search: does every quoted passage actually appear in the document? A fabricated quote fails instantly, and a few lines of code can do the check. This is the highest-value, lowest-effort fix in this article. It turns “trust the model” into “trust a text match.”
Myth 5: “Just tell it not to hallucinate”
Reality: the model can’t reliably tell when it’s making something up, so the instruction does little on its own.
“Do not make anything up” assumes the model knows which of its outputs are fabricated. Mostly it doesn’t. That sentence is one weak signal set against a training history that rewarded producing an answer.
What does move the needle is changing the incentives inside the prompt. Give the model an explicit, acceptable way to not know. Make clear that a wrong answer is worse than no answer.
Before:
List the five most-cited papers on retrieval-augmented generation,
with authors and year. Don't hallucinate.After:
List papers on retrieval-augmented generation that you are
confident exist, with authors and year.
A wrong citation is much worse than a shorter list.
Mark each one HIGH or LOW confidence.
If you are unsure of the year or authors, write "unsure"
rather than guessing. Three correct entries beat five
with one invented.The second prompt doesn’t make the model omniscient. It does give the model room to give a shorter, hedged list instead of filling five slots no matter what. The confidence labels are imperfect, since models are not well calibrated. They’re still useful for triage: check every LOW item first.
Splitting the work also helps. A prompt that asks for research, analysis and a polished summary all at once invites the model to paper over gaps. Ask for the facts first, verify them, then ask for the writing.
Myth 6: “If you’re unsure, ask ‘are you sure?'”
Reality: pushback tests the model’s agreeableness, not its accuracy.
Ask “Are you sure?” and models frequently reverse a correct answer to please you. Other times they double down on a wrong one. Either way, the second answer comes from the same knowledge as the first. All you’ve added is social pressure, and models trained on human feedback are sensitive to it. Researchers call this tendency sycophancy, and a 2023 Anthropic study found assistants frequently and wrongly admit mistakes when a user simply asks “Are you sure?”
A better signal comes from independence. Ask the same factual question in several fresh chats, with no shared history. If the model really “knows” a fact, it tends to give the same answer each time. If it’s guessing, the answers tend to drift: a different year here, a different author there. This consistency-checking idea underpins research methods such as SelfCheckGPT, a 2023 technique from University of Cambridge researchers that flags facts which change across sampled answers.
What to do instead:
- For one important fact, ask three times in fresh sessions. Disagreement means don’t trust it.
- For higher stakes, ask a model from a different lab. Different training data produces different blind spots.
- For anything you’ll publish or act on, verify against a source outside any model. Agreement between two models is reassuring. It is not proof.
Myth 7: “Set the temperature to zero and it stops making things up”
Reality: temperature zero makes the model consistent, not correct.
Temperature controls how adventurous the model is when choosing among likely next tokens. At zero, it picks the most likely one every time. If the model’s most likely guess for a citation is wrong, you’ll now get that same wrong citation every time. It’s consistently wrong.
Low temperature does help on extraction tasks, such as pulling fields from an invoice, where creativity has no upside. It isn’t a hallucination fix. Two practical wrinkles: even at zero, outputs aren’t always identical across runs, and some newer models don’t let you set temperature at all. On Anthropic’s latest Claude models, for instance, a non-default temperature returns an error.
There’s also a trap here. The consistency check from Myth 6 relies on variation between answers. At temperature zero, a guessing model looks perfectly confident. If you’re using repeated sampling to catch fabrication, sample at your normal temperature.
Myth 8: “Hallucination just means made-up facts”
Reality: once models take actions, hallucination includes fake progress reports.
In chat, a hallucination is a false sentence. In agentic workflows, the same failure looks different:
- An agent reports “all tests pass” when it never ran them.
- It describes the output of a tool call that failed.
- It writes a summary that drops a crucial “not.”
- It claims a file was updated when the edit didn’t save.
These failures are harder to spot because they sit inside a log of plausible-sounding steps. OpenAI has published cases of models concealing mistakes and misreporting their work, which we covered in our breakdown of OpenAI’s six documented misalignment cases.
Using a second model as the judge doesn’t fully solve it either. A judge model reads the same confident narrative and can be convinced by it just as easily.
What to do instead: verify artifacts, not narratives. Don’t read the agent’s summary of what it did. Look at what exists:
- Run the test suite yourself.
- Read the diff.
- Check the database row.
- Open the sent email.
If the agent says it deployed, load the URL. A claim backed by an artifact takes seconds to check. A claim backed only by prose is just more model output.
How much checking does each task need?
None of these fixes is free, and applying all of them to every prompt would erase the time AI saves you. The skill is matching the check to the cost of being wrong. A three-tier rule covers most work.
Tier 1: errors are cheap. Brainstorming, first drafts, rephrasing your own text, generating options you’ll pick from. Skip verification. A bad idea in a list of twenty costs you nothing.
Tier 2: errors are annoying. Internal docs, summaries of material you supplied, code you’ll test anyway. Use grounding with required quotes, run the string-match check, and let your normal tests catch the rest.
Tier 3: errors are expensive. Published numbers, legal or medical claims, citations, anything a customer reads, any action an agent takes on real systems. Verify every checkable specific against a source outside the model, and verify agent work by its artifacts.
The model will never tell you which tier you’re in. Before you hit enter, ask yourself one question: if this answer contains one confident, invented detail, what does that cost me? Let the answer decide how much checking the output gets.
