---
title: "How to Spot and Reduce AI Hallucinations: 6 Habits and a Checklist"
description: "AI hallucinations can't be fully eliminated, but you can reduce them. Learn why models make things up, 6 prompting habits, and a pre-publish checklist to catch fabricated facts."
url: https://cdnping.org/en/blog/ai-hallucination-how-to-check
language: en
published: 2026-12-03
category: "AI concepts"
tags: ["AI hallucination","prompting","fact-checking","beginner guide","LLM"]
source: cdnping.org
license: Free to quote and summarize with a link to the url above.
---
# How to Spot and Reduce AI Hallucinations: 6 Habits and a Checklist

An AI hallucination is when a model produces content that looks plausible but is wrong or doesn't exist at all, such as a paper that was never written or a function that isn't in the library. There is currently no way to make hallucinations disappear completely. What you can do is lower the odds through how you ask, and verify the key facts before you use anything. This article covers the causes first, then methods you can apply right away.

## Why does AI say wrong things so confidently?

A large language model works by predicting the most likely next word given the context. It is good at writing text that looks like an answer, but it doesn't look things up first the way a database does. When it lacks solid grounding, it still tends to produce a fluent answer instead of stopping to say "I don't know."

Common triggers:

- The question involves obscure, very recent, or very specific facts, such as the page number of a particular paper or the parameters of a niche library.
- The question contains a false premise, for example "Tell me about the product that company X released in 2019" when that product doesn't exist.
- The context is too long or contradicts itself, and the model latches onto the wrong part.
- You ask for exact numbers, quotations, links, or identifiers.

In all of these cases the model's tone is usually just as confident, so "it sounds sure" is not evidence that it's right.

## What do hallucinations usually look like?

| Type | Example | How to catch it |
| --- | --- | --- |
| Fabricated sources | Gives a paper, book title, or link that looks properly formatted | Actually search for it in a search engine or on the official site |
| Fabricated APIs or commands | Code calls a function or parameter that doesn't exist | Check the official docs, or just run it |
| Misattribution | Credits person B with person A's view | Go back to the original text |
| Wrong numbers | Dates, amounts, or percentages don't add up | Ask again a different way, or check primary sources |
| Going along with you | You state a false premise and it accepts it | Have it check whether the premise holds first |

## 6 prompting habits that reduce hallucinations

1. Allow it to say it doesn't know. State in the prompt: "If you're not sure about something, say you're unsure instead of guessing." This reduces the tendency to make things up, but doesn't guarantee anything.
2. Limit the scope. Change "tell me about this field" to "answer only based on the passage below," and paste the passage in. With source material, the model is mostly organizing rather than recalling from memory.
3. Ask for sources, then check them yourself. Have it indicate which sentence in the material supports each conclusion. Note: without web search, the links and references it gives are very likely invented, so you must open them and confirm.
4. Break the question down. Asking one thing at a time is usually less error-prone than asking for a whole report in one go, and it's easier to tell which step went wrong.
5. Ask again a different way. Ask the same question with two different phrasings, or have it "give a conclusion first, then check that conclusion step by step." If the two answers disagree, that point needs verification.
6. Check the premise first. Add a line such as "If anything in my description is wrong or you can't confirm it, point it out first."

Here is an example prompt you can adapt:

```
请只根据下面“材料”回答问题。
要求：
1. 每个结论后面用括号标出对应的材料原句。
2. 材料里没有的信息，写“材料中未提及”，不要补充。
3. 如果我的问题里有你无法确认的前提，先指出来。

材料：……
问题：……
```

(In English: answer only from the material below; after each conclusion, cite the matching sentence from the material in parentheses; for anything not in the material, write "not mentioned in the material" and add nothing; and if my question contains a premise you can't confirm, point that out first.)

## A checklist before you send or use anything

Run through this list before using AI-generated content for work, study, or publishing:

- Have you checked every person name, organization name, date, amount, and version number against the original source?
- Have you personally opened every cited paper, book, and link, and confirmed it exists and says what is claimed?
- Have you actually run the code? Can the functions and parameters it uses be found in the official docs?
- Has high-stakes content (medical, legal, financial) been confirmed by a professional or an authoritative source?
- For the one or two facts that matter most to the conclusion, do you have at least two independent sources?
- If this content is wrong, how bad are the consequences? The higher the stakes, the stricter the checking should be.

Focus your checking on the parts where a mistake would cause real trouble. There's no need to re-verify every sentence word by word.

## Do web search and long-document summaries avoid hallucinations?

They reduce them, but don't guarantee anything. Web retrieval gives the model pages it can cite, but it can still misread them, quote out of context, or cite low-quality pages. Handing it a long document to summarize can also cause it to drop key qualifiers. For specific ways to handle documents, see our post [Summarizing PDFs and long documents with AI: methods and accuracy checks](/en/blog/ai-summarize-pdf).

Another easily confused case is refusal. When a model says it "can't answer," that is usually a policy or phrasing issue, not a hallucination. See [What to do when Claude refuses to answer: policy limit or how you asked](/en/blog/claude-refuses-to-answer-what-to-do) for how to handle it.

Hallucination risk deserves extra attention when you use AI for studying. Treat it as a teacher whose work you need to double-check, as described in [How to use AI for studying: let it be your teacher, not your ghostwriter](/en/blog/use-ai-for-studying). If you're just getting started, read [How to start using AI from zero: from picking a product to asking your first good question](/en/blog/ai-beginner-how-to-start) first.

## Do other models or services hallucinate less?

Models do differ, and the same model performs differently across tasks. The safest approach is a small comparison with your own real questions: prepare five to ten questions whose answers you know, ask each model, and record which answers were wrong and which were fabricated. For how to keep records during a trial, see [How to test an AI tool in a one-week trial: a log sheet and decision criteria](/en/blog/evaluate-ai-tool-during-trial).

If you want to see availability, latency, and quantization-precision changes for models across inference providers, take a look at cdnping's [model monitoring](/en/models). These are service-level observations, not an evaluation of answer quality. For the data methodology, see [/en/methodology](/en/methodology).

## Is there an easy way for beginners to try several models?

One practical countermeasure for hallucinations is cross-checking: ask the same question to different models and see whether the answers agree. But subscribing to several services separately is costly, and you also have to deal with payment methods.

AGI Plan is a commercial partner of cdnping. It is a multi-provider LLM aggregation gateway with monthly subscriptions, billed in Chinese yuan (RMB), with no overseas credit card required. One subscription lets you switch between several capability tiers, such as frontier reasoning, balanced general-purpose, Chinese flagship models, and fast lightweight models. If you use tools like Claude Code or Codex, you only need to change one endpoint URL. Some models are marked "overseas only"; check the [AGI Plan models page](https://agiplan.dev/models) for specifics. The service also states plainly that it is not an officially authorized channel, so read the plans and the details carefully before deciding whether it suits you.

Setup steps and an introduction are at [https://agiplan.dev/startup](https://agiplan.dev/startup).

## What to do next

1. Add the two lines "allow it to say it doesn't know" and "answer only from the material" to the prompts you use most.
2. Pick a question you ask often, put it to two different models, and compare the answers.
3. Keep the checklist handy, and run through it before sending out anything external.
4. To learn prompt writing systematically, read [How to write prompts: a four-part formula beginners can use](/en/blog/how-to-write-prompts-beginner) next.
