Where does AI get its information? Training data and live search explained (2026)
AI gets its information from training data (web crawls, licensed books, human feedback) and from live search at answer time. Here's how each works and where it breaks.

AI gets its information from two places. Most of what a chatbot "knows" comes from training data: huge collections of public web pages, licensed datasets, books, code and conversations, which the model compresses into billions of numbers before you ever type a word. The rest comes at answer time, when tools like ChatGPT search or Google's AI Mode fetch live pages, or read files you've uploaded, and summarise them for you.
That split explains most of how these tools behave, including why they sound sure about stale facts. I think it's the most useful mental model you can have for judging an AI answer.
Training data and live retrieval: where does AI get its information
Here's the compact version. A large language model (if the term is new, our guide to LLMs covers it) is built in stages. During pre-training it reads a vast amount of text and learns to predict the next word. During post-training, people rate its answers and it learns to be more useful and safer. Once that's done, the model is frozen. It doesn't keep reading the internet on its own.
OpenAI is unusually direct about its inputs. Its models are built from three primary sources: information that's publicly available on the internet, information it gets through partnerships with third parties, and information that users, human trainers and researchers provide or generate. It also says it's using more synthetic data, meaning training examples written by its own models.
Anthropic's list for Claude is close to identical. Its training notice names public web pages collected by its crawler, ClaudeBot, third-party datasets it buys or licenses (including "physical texts"), user chats where people have opted in, and data it generates internally.
So "how does AI get its information?" has a two-part answer. Training data gives a model its general knowledge, writing ability and sense of how facts relate. Retrieval gives it fresh, specific facts for one particular question. Most modern assistants use both, often in the same reply.
The mechanics behind training and retrieval
Training: billions of pages, squeezed into weights
Training doesn't store pages like a database. Both OpenAI and Anthropic say their models keep no copies of the text they learn from; the training run nudges billions of numerical weights until the model gets good at predicting text. That's why a model can explain photosynthesis without being able to quote the exact page it learned it from.
A huge share of public web text reaches AI labs through crawls. Common Crawl, a non-profit founded in 2007, keeps a free archive of more than 300 billion pages and adds 3 to 5 billion new ones each month. Labs also run their own crawlers (GPTBot for OpenAI, ClaudeBot for Anthropic), filter out spam and adult content, and drop known sites that aggregate personal data.
A worked example helps with scale. OpenAI's 2020 GPT-3 paper, "Language Models are Few-Shot Learners", listed a training mix in which filtered Common Crawl text supplied about 410 billion tokens and 60% of the training weight; books, Wikipedia and a curated web set made up the rest. A token is roughly three quarters of an English word, so a 2,000-word article works out to around 2,700 tokens. Divide 410 billion by 2,700 and you get about 150 million articles' worth of text from one source alone. Current models are trained on far more than that, though labs no longer publish exact figures (which I find frustrating, for what it's worth).
Retrieval: fetching pages while you wait
Retrieval works differently. When you ask ChatGPT something current, it may search the web, rewrite your question into one or more targeted queries, send them to search partners, read the results, and then write an answer with citations. OpenAI's own example turns a biotech question about CCR8 cancer drugs into the query "CCR8 immunotherapy drug development 2025", followed by narrower searches once it has seen the first results.
Google does something similar at a larger scale. AI Mode uses what Google calls a query fan-out technique: it breaks your question into subtopics and runs many searches at once on your behalf. If you're curious how that plays out in practice, our AI Mode review goes through it.
The same pattern, called retrieval-augmented generation, also powers company chatbots that answer from internal documents. We explain the term in what RAG stands for in AI.
| Source | When it's used | How fresh | Can it cite? |
|---|---|---|---|
| Public web crawl | Training | Frozen at the knowledge cutoff | No, not reliably |
| Licensed and purchased data | Training | Frozen at the cutoff | No |
| User chats and human ratings | Post-training | Frozen at the cutoff | No |
| Live web search | Answer time | Minutes to days old | Yes, with links |
| Your uploaded files | Answer time | Whatever you upload | Yes, usually by passage |
Real examples from ChatGPT, Claude and Google
Crawlers are the clearest example of how AI collects data from the web. OpenAI runs separate bots with separate jobs: GPTBot collects pages that may be used to train its foundation models, OAI-SearchBot finds pages to show in ChatGPT search, and ChatGPT-User visits a page when a person's request needs it. A site can block GPTBot to keep its pages out of training while still allowing OAI-SearchBot so it shows up in search answers. Changes to search access take about 24 hours to apply.
Your own chats are the second example. In August 2025 Anthropic changed its consumer terms so Free, Pro and Max users choose whether their chats train future models. If you say yes, Anthropic keeps the data for five years; if you say no, the old 30-day retention applies. Business, government, education and API accounts aren't covered by that change. OpenAI also lets you opt out of having ChatGPT conversations used to improve its models.
Books are the third, and the messiest. In July 2026 a US federal court gave final approval to a $1.5 billion settlement in Bartz v. Anthropic, a class action over pirated books used to train Claude. The payout works out to about $3,000 per book across more than 400,000 titles. An earlier ruling in the case held that training on legally bought books was fair use, while building a permanent library from pirated copies wasn't. That's a useful line: what data AI uses is now shaped by courts as much as by engineers.
Licensing is the quieter fourth example. Both OpenAI and Anthropic say they pay for or partner on some datasets, though neither lists them all.
Benefits and limitations
The upside of training on a broad slice of human writing is breadth. One model can draft a contract clause, explain a tax term and fix a Python bug because it's seen millions of examples of each. Retrieval adds freshness and, just as useful for trust, a link you can click.
Each pipeline fails in its own way, though.
Failure modes to watch
- Stale facts: a model without search only knows the world up to its training cutoff, so prices, laws and product names can be months out of date.
- Confident gaps: when training data is thin on a topic, models tend to fill the hole with plausible-sounding text instead of admitting "I don't know".
- Weak citations: OpenAI's own help page warns that "Search results and citations can be incomplete, outdated, or incorrect."
- Biased coverage: training sets lean heavily on English and on whatever is easy to crawl, so smaller languages and offline knowledge are underrepresented.
- Personal data: OpenAI says its training data "may incidentally include personal information", even with filtering.
Retrieval has one more weak spot that people underrate. The model picks which pages to read from a ranked list, so an answer is only as good as the handful of sources it happened to grab. If those pages are thin, the summary will be too.
Practical takeaways for you
You don't need to know a model's full training mix to use it well. You need a short routine.
- For anything time-sensitive (prices, schedules, news, rules), turn on web search or ask the assistant to search, then open at least one cited source.
- Check that the citation actually says what the answer claims. Mismatches are common enough that I'd treat an uncited number as a draft, not a fact.
- Look at your privacy settings. On Claude and ChatGPT you can stop your chats from being used for training; it takes about a minute.
- Don't paste sensitive client or patient data into a consumer account. Business plans usually have stricter terms, which is one reason companies pay for them.
- If you run a website, decide on GPTBot, ClaudeBot and the search bots separately in robots.txt, since blocking one doesn't block the others.
Privacy rules differ by country, too. Our comparison of Swiss FADP versus the EU GDPR for AI services shows how much the legal basis for training on personal data varies once you leave the EU.
The next few years: licensing, synthetic data and opt-outs
Three shifts already seem to be under way. First, more paid licensing: after a settlement the size of Bartz, I'd guess lawyers at every lab are steering harder toward bought or licensed data. Second, more synthetic data, which OpenAI says it's using "increasingly" to fill gaps in sparse or unbalanced areas. Third, more control for site owners, as crawlers split into training bots and search bots that can be blocked one by one.
The second shift carries a risk. As more of the web is written by AI, crawls will probably pick up more machine text; as far as I can tell, nobody has a clean fix for that yet.
For everyday users, the likely result is that live retrieval matters more each year. My view: the model's memory gives it language and reasoning, but the links it fetches are what you should trust. If you want to see how companies are building on top of these pipelines, our overview of generative AI solutions is a good next read.
FAQ
How does AI get its information?
AI gets its information in two ways. During training, a model learns patterns from datasets such as public web pages, licensed books and human feedback. When you ask a question, assistants like ChatGPT can also search the web or read your files.
Where does AI get its information from?
Mostly from publicly available web pages, collected by crawlers such as GPTBot and ClaudeBot or archives like Common Crawl. Labs add licensed and purchased datasets, books, code, chats from users who allow it, ratings from human trainers and synthetic data written by other models. Search features then add live pages at answer time, which is why newer answers often come with clickable citations.
How does AI collect data?
Mainly through web crawlers that download public pages, skipping paywalled and blocked content when they follow robots.txt. Companies also buy or license datasets and collect ratings from paid reviewers. Your own chats can be collected too, unless you switch off the training setting.
What data does AI use?
Text is the biggest share: web pages, forums, books, Wikipedia and computer code. Newer models also learn from images, audio and video. At answer time, an assistant can use search results, documents you upload and connected apps. Labs say they filter out spam, adult content and sites that collect personal data before training starts.



