How LLMs Work
Every time an AI assistant names your brand, that answer is the end of a long pipeline — one that started months ago with a crawler reading your website, and finished half a second ago with a live fetch of one of your pages.
Most of AEO strategy is just knowing which stage of that pipeline you're winning or losing. This guide explains how large language models (LLMs) are built and how they answer questions, then shows you how to watch it happen on your own domain inside the AI Agent Traffic report.
1. How a Language Model Gets Built#
Step 1 — Pretraining: the great crawl#
An AI company assembles an enormous corpus of text: public web pages, books, code, forums, documentation, news archives. To gather the web portion, they run crawlers — the same way Google has always crawled — under names like GPTBot (OpenAI), ClaudeBot (Anthropic), Google-Extended (Google), Meta-ExternalAgent (Meta), and ByteSpider (ByteDance).
If your pages are readable and not blocked, your content goes into that pile.
Step 2 — Learning to predict#
Here is the part that surprises most people: the model does not store your webpage. It is not a database or a search index. During training it reads text and repeatedly guesses the next word, then adjusts billions of internal numbers ("weights") based on how wrong it was. Do that trillions of times and what survives is not your sentences — it's statistical association.
The phrase "reliable emergency plumber in Brooklyn" ends up mathematically close to certain brand names, because those names appeared in that context over and over, across many different sources.
Step 3 — Fine-tuning and alignment#
The raw pretrained model is a good text predictor but a bad assistant. So it's fine-tuned on curated examples and then tuned further with human feedback (RLHF) to be helpful, safe, and conversational.
A side effect matters to you: this stage teaches the model to be cautious and to favor well-established, mainstream, verifiable answers. That's a large part of why AI assistants keep recommending the same handful of recognized brands — hedging toward the safe, well-attested answer is trained behavior.
Step 4 — The knowledge freeze#
Training ends on a date. Everything the model knows from memory is frozen at that training cutoff, and retraining costs many months and enormous sums. A model released this year may have learned about your industry a year ago — and knows nothing of the article you published last week.
Which is exactly why there's a second pipeline.
2. How an Answer Actually Gets Made#
Because frozen memory goes stale — and because a model working purely from memory can't give you a clickable source — modern assistants search the live web while they answer you. The industry term is retrieval-augmented generation (RAG). In practice:
- You ask a question in ChatGPT, Perplexity, Claude, or Google AI Overviews.
- The assistant silently rewrites your question into one or more search queries.
- It runs those queries against a search index.
- It fetches a handful of the resulting pages live, right then. That fetch lands on your server as a hit from
ChatGPT-User,PerplexityBot, orClaude-User. - It reads what it just fetched, writes the answer, and attaches citations to the pages it used.
So there are two completely different ways to be present in an AI answer:
| Path | How you get in | How fast it moves | What it looks like in the answer |
|---|---|---|---|
| Memory (training) | Be present, repeatedly, across the open web before the training cutoff | Months to years | The AI names your brand from memory, usually with no link |
| Retrieval (live fetch) | Rank for the query and publish a page worth quoting | Days to weeks | The AI quotes and cites your URL as a footnote |
3. The Three Jobs Behind Every Bot That Visits You#
Every AI crawler that touches your domain is doing exactly one of three jobs. RankMonster labels each hit with its category so you can tell them apart at a glance:
| Category | What it's doing | Who you'll see | What a hit means for you |
|---|---|---|---|
| Training | Harvesting text to teach a future model | GPTBot, ClaudeBot, Anthropic-AI, Google-Extended, Meta-ExternalAgent, ByteSpider, Applebot, Cohere-AI | You're being banked into the next model's memory. Long game — the payoff arrives with the next model release. |
| Indexer | Building a conventional search index | Googlebot, Bingbot, DuckAssistBot, YouBot | You're getting into the index the assistants query in step 3 above. No index presence, no retrieval. |
| Retrieval | Fetching your page to answer a question right now | ChatGPT-User, OAI-SearchBot, PerplexityBot, Perplexity-User, Claude-User | Someone asked a question and your page was pulled in as source material. This is the fastest feedback loop you have. |
Put together, the whole pipeline looks like this:
flowchart LRA["Your content"] --> B["Training crawlers<br>GPTBot, ClaudeBot, Google-Extended"]A --> C["Indexers<br>Googlebot, Bingbot"]B --> D["Model memory<br>frozen at training cutoff"]C --> E["Search index"]F["A user asks a question"] --> G["The assistant"]D --> GE --> H["Live retrieval fetch<br>ChatGPT-User, PerplexityBot"]H --> GG --> I["The answer<br>mention + citation"]
4. Watching It Happen on Your Own Domain#
All of the above is invisible in Google Analytics — bots don't run JavaScript, so they never appear in a standard analytics tag. RankMonster reads it straight from your CDN's request logs instead, which is why the AI Agent Traffic report can show you every stage of the funnel as it hits your site.
Go to Traffics in the left sidebar, then open AI Agent Traffic.
Total AI Requests Over Time shows crawl volume across your selected window (1D through Max). Spikes are normal and usually mean a training crawler is doing a deep sweep of your site; a sustained flat line near zero is the signal worth worrying about.
Top Agents & Types is the funnel view. Each bot is tagged with its job, so you can read your position at a glance. In the example above, Meta and ByteDance (both Training) dominate by volume, while OpenAI (Retrieval) is a fraction of the total — a completely normal and healthy pattern. Training crawlers sweep thousands of pages indiscriminately; retrieval bots fetch only the two or three pages needed for one specific answer. Retrieval hits are rarer and worth far more per hit.
Page hits by Bot Type#
Scroll down and the same data breaks out per URL — this is where it becomes actionable.
Read this table in two passes:
- Filter to Retrieval rows first. These are your proven assets — pages an AI has actually pulled into a live answer for a real user. In the example,
/blog/ai-interview-platforms-ranked-by-speed-an…was fetched 28 times by ChatGPT-User and 8 times by PerplexityBot. That page is doing the work. Keep it updated, add statistics and quotable sentences, and build more pages on that theme. - Then look at the Training rows.
Meta-ExternalAgentandByteSpiderhitting your posts means those pages are being banked toward a future model's memory. You won't see a return this quarter — but this is the traffic that eventually turns into unprompted brand mentions.
One detail worth noticing: /screenz-logo.avif appears in the training rows. Modern crawlers collect images too, and file names and alt text are read as text. Name your image files descriptively.
5. Diagnosing Your Own Mix#
| What you see | What it means | What to do |
|---|---|---|
| Healthy Training volume, almost no Retrieval | You're being learned, but you aren't ranking for the queries assistants actually search | Work the Searches and Cited Sources tabs — you need to appear in the index for the questions your buyers ask |
| Good Retrieval, thin Training | You win when someone asks a specific question, but the model doesn't know you unprompted | Off-site authority: reviews, listicles, Reddit, Wikipedia/Wikidata — repetition across independent sources |
| Indexer traffic only | Classic SEO is working; the AI layer hasn't found you | Check that you aren't blocking AI user-agents, then focus on quotable, well-structured content |
| Almost nothing at all | Usually a blocking problem, not a content problem | Check robots.txt, your WAF, and any bot-fight setting at your CDN — and confirm the integration is Active |
6. Turning the Report On#
Bot traffic is only visible at the edge, so this report needs a CDN connection:
- Go to Settings → Integrations → Traffics & Analytics.
- Choose your provider: Vercel, Cloudflare Workers, or Cloudflare Enterprise Log Push.
- Follow the generated instructions (there's a share link you can hand straight to your IT team).
- Your status flips to Active automatically, typically 5–10 minutes after setup completes.
Key Takeaways#
- An LLM doesn't store your page — it learns statistical patterns. Repetition across independent sources beats one perfect page on your own site.
- Model memory is frozen at a training cutoff. Anything recent reaches the AI only through live retrieval.
- Training builds long-term brand memory. Retrieval wins today's answer. You need both, and they're earned differently.
- Retrieval hits are rare and high-value — treat any page a retrieval bot fetches as a proven asset and invest in it.
- If you see no AI bots at all, suspect blocking before you suspect your content.