# When does AI answer from training data, and when does it search?

> AI assistants answer from what the model learned in training or from pages they retrieve. How ChatGPT, Claude, Gemini, Copilot and Perplexity decide.

Canonical: https://promptlyfound.com/ai-search/training-data-vs-live-retrieval
Updated: 2026-11-20

## Short answer

An AI assistant answers **from training data or from a live search**. From training data, the model writes from what it learned before its knowledge cutoff and shows no sources. From a live search, it retrieves web pages at answer time, writes from them and usually cites them. ChatGPT, Claude, Gemini and Microsoft Copilot decide per question whether to search. Perplexity searches the web when you ask a question.

## Key findings

- OpenAI says ChatGPT may search the web automatically when a question would benefit from current information, and that a user can also start a search manually. [1]
- Anthropic says Claude searches when a request depends on information that is current, changing or outside its training data, and answers directly for established facts, math, creative writing and content already in the conversation. [4]
- In the Gemini API, the model analyzes the prompt and determines whether a Google Search can improve the answer before it searches. [7]
- Perplexity says that when you ask a question, it searches the internet in real time, and that every answer includes citations to the original sources. [12]
- Microsoft says Copilot may fetch information from the Bing search service when web information helps give a better, more grounded response, and shows the exact queries it sent in Copilot Chat. [13]

A page published today can reach an AI answer only if the assistant searches the web and finds it. Anthropic says its current Claude models were trained on data up to June 2026, so anything newer reaches those models only through retrieval.

An AI assistant can answer a question in two ways. It can write from what its model learned in training, which is fixed at a knowledge cutoff date. Or it can search the web at answer time, pass the pages it finds to the model and write from them, a method called [retrieval-augmented generation](https://promptlyfound.com/ai-search/rag). An answer written from retrieved pages is a grounded answer, and it can cite those pages. [What is grounding in AI?](https://promptlyfound.com/ai-search/grounding) compares how each provider defines the term.

The two routes reach a site through different crawlers and on different schedules. They also leave different traces in the answer.

## Answers from training data

Training data shapes what a model says about a brand with no link back to any source. A model's training data is the text it learned from before release. What it learned is stored in its weights, often called parametric memory, and that store does not change after training ends. The model keeps no list of the pages it learned from. So an answer written from training data cannot point to a source. [What is training data?](https://promptlyfound.com/llms/training-data) covers what models learn from and where that data comes from.

Every model has a knowledge cutoff. [Anthropic's help article on training data](https://support.claude.com/en/articles/8114494-how-up-to-date-is-claude-s-training-data) says Claude Fable 5.2, Opus 5.5, Sonnet 5.5 and Haiku 5.5 were trained on data up to June 2026. The models may not know about events after their cutoff dates, the article adds, and may not have accurate information about them.[5] [OpenAI's models page](https://developers.openai.com/api/docs/models) lists knowledge cutoffs of May 18, 2026 for GPT-6.2 Astra and June 1, 2026 for GPT-6.2 Sol.[6]

A page published after a model's cutoff is not in that model's training data. It can reach the model's answers only through retrieval, until a later model is trained on newer data.

## Answers from live retrieval

Live retrieval can put a new page in front of a reader, with a link. A grounded answer starts with a search. The system turns the question into one or more search queries and runs them. It gives the model extracts of the results along with the question. The model writes the answer from those extracts and links to the pages it used. [Query fan-out](https://promptlyfound.com/ai-search/query-fan-out) describes how one question can become many searches.

Retrieval brings in pages published after the cutoff. [Google's documentation for Grounding with Google Search](https://ai.google.dev/gemini-api/docs/google-search) says the tool lets Gemini cite verifiable sources "beyond its knowledge cutoff".[7] [Anthropic's web search tool documentation](https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-search-tool) says the same of Claude.[4]

## How each assistant decides to search

Most assistants decide per question. Perplexity is the exception among the products below: its help center describes a web search for every question.

### ChatGPT

The [OpenAI Help Center article on searching the web](https://help.openai.com/en/articles/9237897-chatgpt-search) says ChatGPT may search the web automatically when a question would benefit from current information. A user can also start a search manually: select Search from the tools menu, type `/` and choose Search, or regenerate an answer and choose Search the web.[1]

When ChatGPT search uses its partner search providers, it typically rewrites the question into one or more targeted queries and sends those to the providers.[1] In the API, [OpenAI's web search documentation](https://developers.openai.com/api/docs/guides/tools-web-search) says the model can choose from the prompt whether to search. With `tool_choice` set to auto, search is optional. A developer sets it to required to force a search.[2]

### Claude

Anthropic's help article on [using web search in Claude](https://support.claude.com/en/articles/10684626-enable-and-use-web-search) says that when a user asks about topics that benefit from current information, Claude invokes a search tool to ground its response in content from the live web.[3] The new Claude experience has no web search toggle. Claude searches the web when it helps. On Team and Enterprise plans, an Owner must first turn on web search for the organization.[3]

The developer documentation is more specific. Claude searches when a request depends on information that is current, changing or outside its training data, such as recent events, current prices, details about organizations or products that might have changed, or an explicit request to search. It answers directly, without searching, for established facts, math, science basics, coding concepts, creative writing and content already in the conversation.[4] A user can ask Claude to search, or not to search, in the prompt.[3]

### Gemini, AI Overviews and AI Mode

In the Gemini API, the model makes the decision. Google's grounding documentation says the model reads the prompt and judges whether a Google Search can improve the answer. If so, it writes one or more search queries, runs them and returns an answer with citations.[7]

For the Gemini app, Google describes what grounding is but not when it happens. [Google's page on its common crawlers](https://developers.google.com/crawling/docs/crawlers-fetchers/google-common-crawlers) defines grounding in Gemini Apps as "providing content from the Google Search index to the model at prompt time to improve factuality and relevancy".[8] The [Gemini Apps help page on sources](https://support.google.com/gemini/answer/14143489) says not all responses include related links or sources.[9] Google does not publish the rule the app uses to decide when to search.

AI Overviews and AI Mode are part of Google Search, and Google describes both as retrieving pages. [Google's guide to generative AI features](https://developers.google.com/search/docs/fundamentals/ai-optimization-guide) defines retrieval-augmented generation, "also known as grounding", as retrieving relevant, up-to-date pages from the Search index with Google's core ranking systems.[11] [Google's page on AI features and your website](https://developers.google.com/search/docs/appearance/ai-features) says both may issue several related searches across subtopics. AI Overviews are shown only when Google's systems judge them additive to classic Search.[10] So in Google Search, the decision is whether to show an AI response at all.

### Microsoft Copilot

[Microsoft's documentation on web search in Copilot](https://learn.microsoft.com/en-us/microsoft-365/copilot/manage-public-web-access) says Microsoft Copilot and Copilot Chat may fetch information from the Bing search service when information from the web helps give a better, more grounded response. Copilot parses the prompt and picks out terms where web information would improve the answer. It then sends Bing a generated query of a few words.[13]

Microsoft's examples show both outcomes. A request for a document written by a coworker generates no web search query, and Copilot answers from the organization's Microsoft 365 data. A request about a company's public strategy generates queries such as "Fabrikam strategy", and the answer has a separate section headed "From the web".[13] Administrators can turn web search off, and users can turn off a Web content toggle when their administrator allows it.[13]

### Perplexity

Perplexity's help article [How does Perplexity work?](https://www.perplexity.ai/help-center/en/articles/10352895-how-does-perplexity-work) says that when you ask a question, Perplexity searches the internet in real time and summarizes what it finds. It says each answer includes numbered citations that link to the original sources.[12] The article does not describe a mode that answers without searching.

  <thead><tr><th scope="col">Assistant</th><th scope="col">Who decides to search</th><th scope="col">Search index</th><th scope="col">Sign of a search in the answer</th></tr></thead>
  <tbody>
    <tr><th scope="row">ChatGPT</th><td>ChatGPT, when current information would help; or the user</td><td>Sites surfaced by OAI-SearchBot, and partner search providers</td><td>Citations and a Sources button</td></tr>
    <tr><th scope="row">Claude</th><td>Claude, when the question needs current or outside information; or the user</td><td>Not named by Anthropic; Claude-SearchBot crawls to improve its results</td><td>Search indicator and citations</td></tr>
    <tr><th scope="row">Gemini app</th><td>Not documented</td><td>Google Search index</td><td>Sources button, when sources are available</td></tr>
    <tr><th scope="row">AI Overviews and AI Mode</th><td>Google; AI Overviews appear only when judged additive</td><td>Google Search index</td><td>Supporting links</td></tr>
    <tr><th scope="row">Microsoft Copilot</th><td>Copilot, when web information helps; administrators can turn it off</td><td>Bing</td><td>Citations; search queries listed in Copilot Chat</td></tr>
    <tr><th scope="row">Perplexity</th><td>Searches when you ask a question</td><td>Sites surfaced by PerplexityBot</td><td>Numbered citations</td></tr>
  </tbody>

## What each route requires of a site

The two routes depend on different crawlers, so a site can stay eligible for live answers while it opts out of training. [What is the difference between training bots and search bots?](https://promptlyfound.com/crawlers/training-vs-search-bots) compares them in detail.

To be in a model's training data, a page must be collected by a training crawler or included in a dataset such as [Common Crawl](https://promptlyfound.com/crawlers/common-crawl) before the model's cutoff. OpenAI's [overview of its crawlers](https://developers.openai.com/api/docs/bots) says GPTBot crawls content that may be used to train its foundation models.[14] Anthropic's [help article on its crawlers](https://support.claude.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler) says ClaudeBot collects content that could contribute to training.[15] Google's Google-Extended token lets a site decide whether Google may use its content to train future Gemini models and for grounding in Gemini Apps.[8]

To appear in a live answer, a page must be in the index the assistant searches, and its crawler must be able to fetch it:

- ChatGPT search: OpenAI says sites opted out of OAI-SearchBot will not be shown in ChatGPT search answers.[14] Its help center adds that the host or CDN must allow traffic from OpenAI's published search bot IP addresses.[1]
- Claude: Anthropic says disabling Claude-SearchBot prevents its system from indexing a site's content, and disabling Claude-User prevents Claude from retrieving the content in response to a user's question. Either may reduce the site's visibility.[15]
- AI Overviews and AI Mode: a page must be indexed and eligible to show in Google Search with a snippet.[10] Google's guide adds that the site must be included in Search generative AI features in Search Console.[11]
- Microsoft Copilot: answers draw on the Bing search service, so a page must be in Bing's results.[13]
- Perplexity: the [Perplexity crawler documentation](https://docs.perplexity.ai/docs/resources/perplexity-crawlers) says PerplexityBot surfaces and links websites in Perplexity's search results and is not used to crawl content for AI foundation models.[16]

The controls are independent. OpenAI says a site can allow OAI-SearchBot and disallow GPTBot, and stay eligible for search results while opting out of training.[14] Google says Google-Extended does not affect a site's inclusion in Google Search.[8] Run your robots.txt through the [AI crawler checker](https://promptlyfound.com/tools/ai-crawler-checker) to see which of these crawlers it allows.

The two routes also differ in timing. A page can enter a live answer as soon as the assistant's index holds it. It enters a model's training data only when a new model is trained, and what that model learned from it stays fixed afterward.

## How to tell which route an answer used

The clearest sign of retrieval is a citation. Each product marks it in its own way:

- ChatGPT: answers that use web search may include citations, and a Sources button lists cited sources and other relevant links.[1]
- Claude: an indicator shows that Claude is searching the web, and every response that uses web search includes citations.[3]
- Gemini app: a Sources button appears at the bottom of a response or in line when sources are available.[9]
- Copilot Chat: the linked citation section lists the exact queries sent to Bing. Microsoft says these query citations are not shown in the Copilot pane inside Microsoft 365 apps such as Word.[13]
- Perplexity: every answer carries numbered citations.[12]

Developers can see the decision directly. The OpenAI API returns a `web_search_call` item with the queries it ran.[2] Claude's API returns a `server_tool_use` block with the query, and the Gemini API returns a `google_search_call` step.[4][7]

> The reading below follows from the documentation above. No provider says how much of a grounded answer comes from the retrieved pages and how much from the model's training.

An answer with no citations and no search indicator was most likely written from training data. It reflects what the model learned before its cutoff and cannot be traced to a page. An answer with citations used retrieval. The model still writes it with the language and knowledge it learned in training, so the cited pages show which sources reached the model without showing where every claim came from.

For tracking, test the two routes separately. Ask an assistant about a brand with search turned off to approximate what the model learned in training. Then ask with search on to see which pages it retrieves and cites. [What is grounding in AI?](https://promptlyfound.com/ai-search/grounding) covers how grounded answers attach citations to passages.

## Sources

1. Searching the web with ChatGPT. OpenAI Help Center. https://help.openai.com/en/articles/9237897-chatgpt-search
2. Web search. OpenAI API documentation. https://developers.openai.com/api/docs/guides/tools-web-search
3. Enable and use web search. Claude Help Center. https://support.claude.com/en/articles/10684626-enable-and-use-web-search
4. Web search tool. Claude Platform Docs. https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-search-tool
5. How up-to-date is Claude's training data?. Claude Help Center. https://support.claude.com/en/articles/8114494-how-up-to-date-is-claude-s-training-data
6. Models. OpenAI API documentation. https://developers.openai.com/api/docs/models
7. Grounding with Google Search. Google AI for Developers. https://ai.google.dev/gemini-api/docs/google-search
8. Google's common crawlers. Google for Developers, 2026-10-30. https://developers.google.com/crawling/docs/crawlers-fetchers/google-common-crawlers
9. View related sources from Gemini Apps. Gemini Apps Help. https://support.google.com/gemini/answer/14143489
10. AI features and your website. Google Search Central, 2025-12-10. https://developers.google.com/search/docs/appearance/ai-features
11. Optimizing your website for generative AI features on Google Search. Google Search Central, 2026-07-10. https://developers.google.com/search/docs/fundamentals/ai-optimization-guide
12. How does Perplexity work?. Perplexity Help Center, 2026-11-17. https://www.perplexity.ai/help-center/en/articles/10352895-how-does-perplexity-work
13. Data, privacy, and security for web search in Microsoft Copilot and Microsoft Copilot Chat. Microsoft Learn, 2026-10-29. https://learn.microsoft.com/en-us/microsoft-365/copilot/manage-public-web-access
14. Overview of OpenAI Crawlers. OpenAI. https://developers.openai.com/api/docs/bots
15. Does Anthropic crawl data from the web, and how can site owners block the crawler?. Claude Help Center. https://support.claude.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler
16. Perplexity Crawlers. Perplexity. https://docs.perplexity.ai/docs/resources/perplexity-crawlers

---

This is a plain-text copy of https://promptlyfound.com/ai-search/training-data-vs-live-retrieval from Promptly Found. The web page is the canonical version and includes the charts.
