AI hallucination testing

AI hallucination testing for answers that sound right and aren’t.

Compare outputs to source data, catch fabricated citations and confident wrong answers, and measure the rate by prompt category.

What is AI hallucination testing?

AI hallucination testing checks whether an AI system produces claims that are false, fabricated, or unsupported by the source it was given. The output can be fluent, confident, and completely wrong. A general “does it look good” review will miss it.

We build test sets with known ground truth, compare outputs against the source, and categorise failures: invented facts, fabricated citations, wrong numbers, stale policy, and unsupported recommendations. The result is a rate by category, not a single trust score.

We do not guarantee zero hallucinations. A model can always produce an unsupported answer. The value is in finding the patterns, measuring them, and reducing the ones that reach users.

What we test

Six areas of hallucination coverage.

Different hallucinations need different evidence.

HALL-01

Ground-truth sets

Questions and answers with a source of truth that can be checked.

  • Known facts and policies
  • Expected answers
  • Source citations
HALL-02

Fabricated facts

Invented claims, numbers, dates, names, and URLs.

  • Unsupported assertions
  • Wrong figures
  • Invented entities
HALL-03

Citation accuracy

Whether a cited source exists and actually supports the answer.

  • Real source check
  • Quote and page match
  • Citation-to-claim support
HALL-04

Confidence calibration

Whether the system signals uncertainty when the answer is not in the source.

  • Abstention behaviour
  • Hedging versus false certainty
  • Missing-context handling
HALL-05

Category rates

Where hallucinations cluster and which user journeys are most exposed.

  • By prompt category
  • By document type
  • By model or prompt version
HALL-06

Regression and retest

Whether a fix reduced the rate without creating a new failure.

  • Baseline versus fix
  • New failure checks
  • Retest evidence
How it works

Four steps from source truth to measured rate.

The source of truth comes first; the score comes after.

01
Define the truth
We agree the source documents, expected answers, and categories that matter.
02
Build the test set
We write questions that should be answerable, unanswerable, and easy to get subtly wrong.
03
Run and classify
We compare outputs, label the failures, and calculate rates by category.
04
Fix and retest
We help prioritize the highest-impact patterns and rerun the set after the fix.
What you get

A measured failure pattern, not a trust badge.

Each finding includes the prompt, the source, the output, and the category.

Ground-truth set

Prompts, sources, and expected answers.

Failure taxonomy

Invented fact, bad citation, stale answer, and related categories.

Rate by category

Where the failures cluster.

Evidence examples

Transcripts and source comparisons.

Fix guidance

Prompt, retrieval, or product changes to test next.

Retest

A second run on the corrected build.

Who this is for

When hallucination testing is the priority.

It matters most when a wrong answer creates cost, risk, or lost trust.

The risk is the source

RAG assistant

The product answers from a document set and must not invent policy.

The risk is trust

Customer-facing chatbot

A wrong answer can become a support ticket or a refund.

The risk is the decision

Internal knowledge tool

Staff rely on the answer to make an operational decision.

Pricing factors

What changes the hallucination quote.

Scope follows the source corpus, test-set size, and scoring depth.

Source corpusA small policy set differs from a large, changing knowledge base.
Test-set sizeA focused category sample differs from broad coverage.
Answer typesFacts and numbers need different checks from recommendations.
Model accessAuthorised endpoint and rate limits determine run size.
Review depthAutomated checks differ from human adjudication of ambiguous cases.
RetestEach corrected prompt or retrieval build adds a run.

Every engagement starts with a QA Audit or a free preliminary assessment. No monetary prices are published here.

Scope boundaries

Hallucination testing is not a zero-risk guarantee.

Included by default

  • Ground-truth test sets
  • Fact, citation, and number checks
  • Confidence and missing-context behaviour
  • Rates by category
  • Fix guidance and retest

Not included

  • A guarantee that hallucinations will never occur
  • A general model benchmark
  • Training or fine-tuning the model
  • Legal or compliance advice
  • Unlimited model calls or data ingestion
Evidence discipline

Internal evidence, not a client claim

Our hallucination rubric is exercised on deterministic fixtures, including a grounded answer, an invented price, a fabricated citation, and a missing-context case. The harness classified all 10 fixtures as expected; no client documents or live model results are claimed.

Questions

Frequently asked

What is AI hallucination testing?

It checks whether an AI system produces false, fabricated, or unsupported claims. We compare outputs to source data, categorise failures, and measure the rate by prompt category.

How is it different from LLM evaluation?

LLM evaluation is the broader measurement discipline. Hallucination testing focuses on truthfulness and grounding, with test sets built around known facts and sources.

Can you test a RAG app?

Yes. We check whether the right source is retrieved, whether the answer is supported by it, and whether the system abstains when the source does not contain the answer.

Do you need access to our documents?

Yes, or a representative redacted set. Without source material, we can only review outputs in the abstract and cannot measure groundedness.

Can you guarantee zero hallucinations?

No. We can find patterns and reduce known failures, but no test can guarantee that a model will never produce an unsupported answer.

Next step

Find the answers that are confidently wrong.

Book a QA audit or ask for a free preliminary assessment.