How AI answers choose their sources
AI answers cite pages their search systems can crawl, retrieve and quote. How retrieval and query fan-out work, and what you can control.
AI search7 min read
An AI answer cites the pages its search system retrieved for the question and the model then found useful for writing the reply. To be one of them, a page has to be crawlable by that engine, present in the index it searches, and relevant to one of the searches the engine ran. The exact selection rules are not public, and they differ between Google, ChatGPT, Claude, Gemini and Perplexity.
Two kinds of answer#
It helps to separate two cases, because only one of them cites anything.
Answers from training data. A language model learned from a large body of text up to a cut-off date. If it answers from that memory alone, there are no live sources and usually no links. What it says about your brand reflects whatever was written about you before the cut-off.
Answers from live retrieval. The assistant runs web searches, reads the results, and writes an answer from them, with links. Google calls this retrieval-augmented generation, or grounding, in its guide for site owners. This is the case you can influence quickly, and the rest of this article is about it.
Many products switch between the two depending on the question. A request for today's prices triggers a search. A request to explain a general concept may not. The work of influencing either kind goes by two names, covered in What is AEO? and What is GEO?
The pipeline, step by step#
The products differ in detail, but the outline is shared.
- Interpret the question. The model works out what is being asked.
- Generate searches. It writes one or more search queries. Google's AI features documentation says AI Overviews and AI Mode may use query fan-out, issuing multiple related searches across subtopics and data sources.
- Retrieve. Those searches run against a search index, and a set of candidate pages comes back.
- Read and select. The model reads the candidates, or passages from them, and uses what helps.
- Write and cite. It produces the answer and attaches links to some of the pages it relied on.
A page can drop out at any step. It may not be in the index. It may not match any of the generated searches. It may be retrieved but add nothing the other candidates did not already say.
What fan-out means for you#
Google gives an example in its guide: for a question about fixing a lawn full of weeds, the model might also search for the best herbicides for lawns. The person never typed that second query.
So the searches that decide whether you are cited may not be the keywords you track. A page that answers the main question and the natural follow-up questions has more chances to be retrieved than a page that answers only the headline.
What each engine draws on#
| Engine | Where its sources come from | How it shows them |
|---|---|---|
| Google AI Overviews and AI Mode | Google's own search index | Links to supporting pages beside or in the answer |
| ChatGPT search | Web search; OpenAI's OAI-SearchBot crawler surfaces sites in ChatGPT search | Inline citations and a Sources list |
| Claude | Web search; Anthropic's Claude-SearchBot and Claude-User agents fetch pages | Citations with source links |
| Perplexity | Its own crawler, PerplexityBot, plus pages fetched on request by Perplexity-User | Links to the pages it used |
| Gemini | Grounding with Google Search | Links to sources when a reply is grounded |
The crawler names are from the vendors' own pages: OpenAI, Anthropic and Perplexity. The help centres for ChatGPT search and Claude web search describe how each shows its citations, and Google documents grounding with Google Search for Gemini.
Google says AI Overviews and AI Mode may use different models and techniques, so the answers and links they show will vary, even between those two.
What you can control#
Access#
For Google, a page must be indexed and eligible to be shown in Google Search with a snippet. Google states there are no additional technical requirements. That gives you a short list of things that will keep a page out:
- it is blocked in robots.txt, or by a CDN or firewall;
- it has a
noindexdirective; - it has
nosnippet, which stops Google quoting it; - its content only exists after JavaScript runs and the crawler did not render it.
The technical site audit checklist covers how to check each of these.
For the assistants, check the crawler you actually care about. OpenAI says a site that opts out of OAI-SearchBot will not be shown in ChatGPT search answers, and that GPTBot, its training crawler, is controlled separately. Blocking GPTBot does not remove you from ChatGPT search, and allowing it does not put you in.
Requests made on a user's behalf behave differently again. OpenAI says robots.txt rules may not apply to ChatGPT-User, and Perplexity says Perplexity-User generally ignores robots.txt, because a person asked for that specific page.
Google also offers a site-level switch. The Search generative AI control in Search Console lets you include or exclude a site's links and content from AI Overviews, AI Mode and generative features in Discover. Sites are included by default, and Google says the setting does not affect ranking.
Relevance to the questions asked#
- Answer real questions directly, near the top of the page or section.
- Cover the follow-ups: cost, time, alternatives, risks, how to choose.
- Use the words your customers use, including the plain-language versions of technical terms.
- Give each page a clear subject. A page about everything matches nothing well.
Being worth quoting#
When several retrieved pages say the same thing, any of them will do. What earns a citation is the detail the others lack: a specific figure with its source, a first-hand test, a clear comparison, a precise definition. Google's guide calls this "valuable, non-commodity content".
Presence on the pages that already get cited#
For many commercial questions, the cited pages are third-party: reviews, round-ups, directories, community threads. Find them, and see whether you belong there.
What you cannot control#
- The selection logic. No vendor publishes how it chooses between candidate pages.
- Variation. The same question can produce different answers and sources from one run to the next.
- Personal context. Location, conversation history and account settings can change the answer.
- API versus app. Answers collected through an engine's API can differ from what people see in the consumer product.
- The model's memory. What a model learned in training cannot be edited. It changes only when the vendor releases a new model.
Anyone who says they can guarantee a citation is claiming control nobody has.
Common mistakes#
- Treating one answer as the truth. Run the prompt several times, on several days, before you draw a conclusion.
- Optimising only your own pages when the answer is built from third-party sources.
- Blocking AI crawlers wholesale through a firewall preset, then wondering why assistants never cite you.
- Adding llms.txt and expecting Google to read it. Google says it does not use it.
- Breaking content into fragments. Google says there is no requirement to do this.
- Hiding the answer. Long introductions, content behind tabs that load on click, and text inside images all make a page harder to use.
- Publishing claims you cannot support. A model that finds your figure contradicted elsewhere has no reason to prefer yours.
How to measure it#
- Choose your prompts. Ten to thirty questions a real buyer would ask is a workable start.
- Collect answers repeatedly. Same wording, same engines, on a schedule.
- Count mentions and citations. Note which of your pages are cited.
- List the other cited sources. Group them: competitors, publishers, directories, forums.
- Read a sample. Check that what is said about you is correct.
- Change one thing and compare. Update a page or earn a listing, record the date, and look at the trend afterwards. How to prove SEO work worked describes the method.
For Google's own features, Search Console's Generative AI performance report shows impressions in AI Overviews and AI Mode by page. It does not show which queries triggered them.
Read these numbers as indicators, not proof. They show whether you are present in a sample of answers. They do not show how many people saw those answers.
How NulSEO helps#
NulSEO's AI visibility tools show you the sources directly. Prompt Explorer runs one prompt in up to four engines and puts the answers and citations side by side. Prompt Tracking collects answers on a schedule, and its Citations tab lists which pages are cited, yours and everyone else's. NulSEO states plainly that these are API answers and can differ from the consumer apps, and it never counts a failed check as an absence. Your agent can use the AI Visibility Audit skill to turn the cited-source list into a short set of changes.