How AI search works: from one prompt to many searches

How ChatGPT, Google AI Overviews, AI Mode, Perplexity, Claude and Copilot find and cite pages: training data, live retrieval and query fan out explained.

By Brilliance Growth EditorialPublished 12 min read

The short answer

AI search works in two layers. A language model answers from what it learned in training, and when a question needs current facts it runs live web searches, reads the results and writes an answer with citations. One prompt often becomes several searches, which Google calls query fan out. Pages that are crawlable and rank well in ordinary search are the likeliest to be retrieved.

Key takeaways

  • An AI assistant has two sources of knowledge: training data, which is fixed at a cut off date, and live retrieval, which fetches web pages while the answer is being written.
  • Live retrieval is also called grounding or retrieval augmented generation (RAG). Google says its version relies on "our core Search ranking systems" and its Search index.
  • Query fan out is Google's term for running a set of related searches behind one question. OpenAI and Anthropic describe similar behaviour in ChatGPT and Claude.
  • Each assistant draws on a different index. Google uses its own. Microsoft Copilot uses Bing. OpenAI says ChatGPT search uses third party search providers plus its own crawler, OAI-SearchBot. Perplexity says it runs its own index.
  • Citations come from the retrieval step, so a page that cannot be crawled or indexed is very unlikely to be cited.
  • In Ahrefs' March 2026 data, 37.9% of URLs cited in Google's AI Overviews also appeared in the first 10 results blocks for the same query, down from about 76% in July 2025.

When a customer asks ChatGPT or Google's AI Mode for a recommendation, your business can reach the answer by two routes. The model may already know about you from its training, or it may find you in a live web search made while it writes. The two routes behave differently, and you can influence one far more than the other. This article explains the mechanics using each company's own documentation. It is part of our guide to SEO in the AI era.

How does AI search work, in short?

AI search is a language model combined with a search engine. The model reads your question, decides whether it needs fresh information, searches for it, and then writes an answer based on the pages it found.

The steps are broadly the same in every assistant:

  1. Read the prompt. The model works out what is being asked, including context from earlier in the conversation.
  2. Decide whether to search. OpenAI says ChatGPT "may search the web automatically when your question would benefit from current information". Anthropic says Claude searches when a request depends on information that is "current, changing, or outside its training data".
  3. Write the search queries. The model turns the prompt into one or more short queries. OpenAI says ChatGPT search "typically rewrites your query into one or more targeted queries".
  4. Retrieve results. The queries go to a search index, which returns pages or passages.
  5. Read and select. The model reviews what came back and may search again. Anthropic's documentation says this process "can repeat multiple times throughout a single request".
  6. Write and cite. The model composes the answer and attaches links to the sources it used.

Steps 3 to 5 are where a website wins or loses. A page that is not in the index, or does not rank for any of the queries, is very unlikely to reach step 6.

What is the difference between training data and live retrieval?

Training data is what a model learned before it was released. Live retrieval is what it looks up at the moment you ask. Training data shapes what the model believes. Live retrieval decides what it cites.

Training data is gathered in advance by training crawlers. OpenAI's GPTBot, for example, "is used to crawl content that may be used in training our generative AI foundation models". A model cannot learn anything published after its training ended, and it does not keep a link to where each fact came from.

Live retrieval fills that gap. Anthropic describes its web search tool as giving Claude "direct access to real-time web content, allowing it to answer questions with up-to-date information beyond its knowledge cutoff". Google calls the same idea retrieval augmented generation, or grounding, and defines it as:

AspectTraining dataLive retrieval
When it is collectedBefore the model is releasedWhile the answer is being written
Collected byTraining crawlers such as GPTBot and ClaudeBotA search index, plus fetchers that open pages on request
Can it link to a source?Not reliably. The model holds no record of sources.Yes. Citations point to the pages retrieved.
Picks up a change on your site?Only when a later model is trainedAfter the page is crawled and indexed again
What you controlLittle, beyond allowing or blocking the training crawlerA lot: crawl access, indexing, rankings and page content

Not every answer uses retrieval. Anthropic's documentation says Claude answers directly, without searching, when a request draws on "stable knowledge" such as established facts or creative writing. For those answers, what the model learned about your brand from the wider web is all it has.

What is query fan out?

Query fan out is the practice of turning one question into several related searches and combining the results. The term is Google's. Its guide to generative AI search defines query fan out as "a set of concurrent, related queries generated by the model to request more information and fetch additional relevant search results to address the user's query".

Google's own example is the question "how to fix a lawn that's full of weeds". Google says the fan out queries might include "best herbicides for lawns", "remove weeds without chemicals" and "how to prevent weeds in lawn".

Here is a hypothetical Singapore version. The sub searches are our illustration of the pattern, not a record of what any assistant ran:

Prompt:
Which aesthetics clinic on Orchard Road is good for pigmentation, and what should it cost?

Searches the assistant might run:
pigmentation treatment options compared
pigmentation laser treatment price Singapore
aesthetics clinic Orchard Road reviews
how to check a Singapore doctor is licensed

Other assistants describe the same behaviour in their own words:

  • ChatGPT. OpenAI says that after reviewing initial results, ChatGPT search "may send additional, more specific queries to other search providers".
  • Claude. Anthropic's developer documentation says single fact questions typically use one to three searches, while comparative research can use 10 or more.
  • Perplexity. Perplexity says its Research mode "performs dozens of searches automatically, reads hundreds of sources".

Research modes go much further. In one test reported by Ahrefs on 2 March 2026, ChatGPT's Deep Research ran 420 searches for a single prompt about buying a red phone case. That is one prompt in one test, so treat it as an illustration of the upper end and not as a typical figure.

Fan out queries are mostly hidden from site owners. Google Search Console's Generative AI performance report groups impressions by page, country, date and device, with no list of queries. Bing Webmaster Tools goes a step further: its AI Performance report shows a sample of "grounding queries", which Microsoft describes as "the key phrases the AI used when retrieving content".

Query fan out has one practical consequence. Your page can be cited for a question it never targeted, as long as it answers one of the sub searches well. That rewards covering a topic thoroughly on a good page. It does not reward publishing a thin page for every possible sub search, which Google's guide says can breach its scaled content abuse policy.

How does each AI assistant find and cite web pages?

Each AI assistant relies on a search index, and the indexes are not the same. The table summarises what each company says in its own documentation as of November 2026.

AssistantWhere its web results come from, per its own documentationCrawlers it documentsHow it cites
Google AI Overviews and AI ModeGoogle's Search index, through Google's core ranking systemsGooglebot. Google-Extended is a robots.txt token for Gemini, not a separate crawler."prominent, clickable links" to supporting pages
ChatGPT search (OpenAI)"third-party search providers, as well as content provided directly by our partners", plus sites surfaced by OpenAI's own crawlerOAI-SearchBot for search, GPTBot for training, ChatGPT-User for pages opened on a user's requestInline citations and a Sources list
PerplexityIts own index, which Perplexity says covers "hundreds of billions of webpages"PerplexityBot for search, Perplexity-User for pages opened on a user's requestNumbered citations linking to each source
Claude (Anthropic)A web search tool. Anthropic's help pages do not name the provider of text results.Claude-SearchBot for search, ClaudeBot for training, Claude-User for pages opened on a user's requestAnthropic says "every response includes citations"
Microsoft CopilotBing. Microsoft's advertising blog describes Copilot as "powered by Bing's search index".Bingbot"hyperlinked citations" after the text

Some details behind the table are worth knowing:

  • Google. To appear as a supporting link in AI Overviews or AI Mode, Google says "a page must be indexed and eligible to be shown in Google Search with a snippet". Google's guide to generative AI search adds that the site "must be included in Search generative AI features in Search Console". Inclusion is the default, and owners can switch it off with the Search generative AI control. Google-Extended does not affect Google Search. It controls whether content may be used to train Gemini models and to ground answers in the Gemini apps.
  • ChatGPT. OpenAI does not publish a full list of its search providers. Its help page points readers to Microsoft's and Shopify's privacy policies for how providers process queries. OpenAI also says that sites which opt out of OAI-SearchBot "will not be shown in ChatGPT search answers", though they can still appear as navigational links.
  • Perplexity. Perplexity says its index divides documents into "fine-grained units" that are "individually surfaced and scored". In plain terms, it retrieves passages, not only whole pages.
  • Claude. Anthropic says Claude-SearchBot "navigates the web to improve search result quality for users". Blocking it "may reduce your site's visibility and accuracy in user search results".
  • Microsoft Copilot. Microsoft's transparency note says Copilot "centers its response on high-ranking content from the web". Its documentation on web search in Microsoft Copilot and Microsoft Copilot Chat says the generated queries are sent to "the Bing search service".

The crawler names matter because each one obeys its own robots.txt rules. Our guide to AI crawlers and robots.txt lists what to allow and what each choice costs.

Why does ranking in ordinary search still matter?

Ranking in ordinary search still matters because the retrieval step is a search. An assistant can only cite pages that its index returns for the queries it runs, and indexes return the pages they rank highest.

The companies say this themselves. Google's definition of grounding relies on "our core Search ranking systems". Microsoft says Copilot centres its response on "high-ranking content from the web".

Independent data points the same way, with a twist. Ahrefs compared the pages cited in Google's AI Overviews with the pages ranking for the same query:

Ahrefs studySampleShare of AI Overview citations also in the top 10
July 20251.9 million citationsAbout 76%
March 2026863,000 keyword results pages, 4 million AI Overview URLs37.9%

In the March 2026 update, a further 31.2% of cited URLs ranked in positions 11 to 100, and 31.0% were outside the top 100.

Ahrefs offers two explanations for the drop. First, it says AI Overviews have run on Gemini 3 since January 2026, and it suggests that fan out queries now play a bigger part in choosing sources. Second, Ahrefs improved how it detects citations, so the two studies are not perfectly comparable. Both explanations are Ahrefs' reading of its own data. Google has not confirmed either.

The practical reading is this. Ranking in the top 10 for the exact search is no longer the only way into an AI Overview, and it is no guarantee. A page still has to rank for something the assistant searches, and fan out makes that "something" wider than the words the customer typed. Good rankings across a whole topic are the entry ticket. We cover the other signals in what AI assistants cite.

One caution: these figures describe Google's AI Overviews in Ahrefs' data, and the March 2026 study does not state which countries it covers. They do not describe ChatGPT, Claude, Perplexity or Copilot.

What does this mean for your website?

The mechanics of AI search point to a short list of jobs, in this order:

  1. Get indexed in Google and Bing. A page that is missing from the index cannot be retrieved. Check yours with the Google index checker, and read how Google Search works if indexing is new to you.
  2. Do not block the search crawlers by accident. Look for OAI-SearchBot, Claude-SearchBot and PerplexityBot in your robots.txt file with the robots.txt checker.
  3. Keep the facts on your own site current. Retrieval can correct an outdated model, but only if your pages state the present address, prices and services in plain text.
  4. Answer the sub questions. Because of fan out, a page that settles the follow up questions a customer would ask can be retrieved for those questions too. How to write content AI can quote shows the method.
  5. Check what the assistants say. An AI visibility audit tests real prompts and records who gets named.

None of this replaces search engine optimisation. As we explain in AEO, GEO and LLMO explained, it is mostly the same work with a few extra checks.

From Brilliance Growth

See how AI search engines read your website

Frequently asked questions

Does ChatGPT use Google or Bing to search the web?

OpenAI does not name one search engine. Its launch post for ChatGPT search, dated 31 October 2024, says the feature uses third party search providers and content from partners. Its help page links to Microsoft's and Shopify's privacy policies for provider details. OpenAI also runs its own crawler, OAI-SearchBot, to surface websites in ChatGPT search.

Why does an AI assistant say something outdated about my business?

An outdated answer usually comes from training data, which is fixed when the model is built. If the assistant did not run a live search, it repeats what it learned earlier. You cannot edit a model's training. You can update your website and business listings, so that the next live search and the next round of training both find the correct facts.

How long does it take AI search to notice a change on my site?

No AI company publishes a guaranteed time for content changes. For robots.txt changes, OpenAI says its search systems take about 24 hours to adjust, and Perplexity says up to 24 hours. For its own index, Google says crawling can take anywhere from a few days to a few weeks. Changes reach live retrieval first and training data much later.

Does an AI assistant read my whole website when it answers?

No. At answer time an assistant retrieves a small set of pages or passages that match its searches. Perplexity, for example, says its index scores "sub-document units" individually. The wider site is read in advance by crawlers that build the index. A clear, self contained passage is therefore easier to retrieve than an answer spread across several pages.

Is query fan out the same in every AI assistant?

Query fan out is Google's name for it, and Google documents it for AI Overviews and AI Mode. Other companies describe similar behaviour without the label. OpenAI says ChatGPT search rewrites a prompt into one or more targeted queries. Anthropic says Claude's searches can repeat several times in one request. The number of searches varies by assistant, mode and question.

Sources

Every figure in this article comes from one of these. We link to the original study or the official page, not to a summary of it.

  1. Optimizing your website for generative AI features on Google Search, Google Search Central, last updated July 2026.
  2. AI features and your website, Google Search Central, last updated December 2025.
  3. List of Google's common crawlers, Google, 2026.
  4. Generative AI performance report (Search), Google Search Console Help, 2026.
  5. Search generative AI control, Google Search Console Help, 2026.
  6. Ask Google to recrawl your URLs, Google Search Central, last updated December 2025.
  7. Introducing ChatGPT search, OpenAI, October 2024.
  8. Searching the web with ChatGPT, OpenAI Help Center, 2026.
  9. Overview of OpenAI Crawlers, OpenAI, 2026.
  10. Web search tool, Anthropic, Claude Platform Docs, 2026.
  11. Enable and use web search, Anthropic, Claude Help Center, 2026.
  12. Does Anthropic crawl data from the web, and how can site owners block the crawler?, Anthropic, Claude Help Center, 2026.
  13. Introducing the Perplexity Search API, Perplexity, September 2025.
  14. Perplexity Crawlers, Perplexity, 2026.
  15. How does Perplexity work?, Perplexity Help Center, 2026.
  16. Transparency Note for Microsoft Copilot (for individuals), Microsoft Support, November 2026.
  17. Data, privacy, and security for web search in Microsoft Copilot and Microsoft Copilot Chat, Microsoft Learn, October 2026.
  18. Optimizing Your Content for Inclusion in AI Search Answers, Microsoft Advertising, October 2025.
  19. Introducing AI Performance in Bing Webmaster Tools Public Preview, Microsoft Bing Blogs, February 2026.
  20. Update: 38% of AI Overview Citations Pull From The Top 10, Ahrefs, March 2026.
  21. What is Query Fan-Out? Understanding the Hidden Queries Driving AI Search, Ahrefs, March 2026.

This article is part of SEO in the AI era: the complete guide for business owners.

Your website could be the next success story.

Setup takes five minutes. The first thirty articles are planned before your trial ends.

Start your free trial 7 day free trial · nothing charged until it ends · cancel in one click