How ChatGPT and Gemini Choose Which Brands to Recommend: A Pipeline Walkthrough
Ask ChatGPT which payment gateway to use and you get a confident, well reasoned answer. It sounds like the model knows the market. It doesn't, at least not from training. The answer comes from a pipeline: the model searc
Ask ChatGPT which payment gateway to use and you get a confident, well reasoned answer. It sounds like the model knows the market. It doesn't, at least not from training. The answer comes from a pipeline: the model searches the web, picks top results, reads passages, reasons over them, then writes. The language model is one stage in that chain, and not the one that decides whether your brand is in the running.
The Short Version
- The language model is a frozen snapshot. Its knowledge stops months before you ask.
- The apps hand the model tools. For product questions it makes at least two tool calls: a web search, then a fetch of pages worth reading.
- Your prompt gets rewritten into several search queries. Ordinary search ranking decides which pages reach the model at all.
- The model reads passages, not whole pages, then weighs them against what it already believed.
- Every step is a filter. To come out the other end, a brand has to be indexed, fetchable, quotable and backed up by other people.
The model on its own cannot know about you
A large language model is trained in two phases. Pretraining feeds it a huge slice of the public web so it learns patterns. Fine-tuning then teaches it to be helpful and follow instructions. Both phases finish on a fixed date, and after that date the weights do not change. Nothing new gets in.
That date is the knowledge cutoff, and it usually sits further back than people assume. GPT-5 shipped in August 2025 with a September 2024 cutoff. Gemini 2.5 Pro has a January 2025 cutoff. Newer models narrow the gap, but there is always a gap. A model released this month still knows nothing about the pricing page you shipped last week.
There is a second, quieter problem. Inside the cutoff, what the model holds about your brand is a statistical impression rather than a record. It has seen your name near some words more often than near others. It cannot reliably tell your 2024 feature set from your 2025 one. Ask a model with no tools for the best CRM for a 10 person agency, and you get a confident answer built from patterns that are a year old. It will not flag that for you.
The model's memory is out of date. GPT-5 was 11 months behind on launch day and 2 years behind today.
So the product teams did the obvious thing. They stopped asking the model to know things and started asking it to look things up.
Tools: the model asks, software answers
The mechanism is called tool calling, and it is simpler than the name suggests. The model cannot open a web page. All it can do is produce text. So the app gives it a short menu of actions written in plain language: search the web, open this URL, find this phrase on the page. When the model wants one of those, it writes a small structured request instead of an answer. The app catches that request, runs the real search or fetch, and pastes the result back into the conversation. Think of it as a colleague handing the model a printout.
The model reads the printout, thinks about what it says, and writes the answer. If a page looks worth opening, it asks for that too before writing.
This is the whole idea. A model that cannot see the internet becomes a model that sends errands and reads what comes back. OpenAI, Google, Perplexity and Anthropic all run some version of this. Google's developer docs for Gemini lay it out in five stages: the model looks at the prompt, decides whether a search would help, writes one or more queries, runs them, then works the results into a response. ChatGPT's browsing tool does the same job with different plumbing.
The rest of this post goes through those steps one at a time, because each step throws pages away. The pages that survive are the ones that get your brand named.
Step 1: the model decides whether to search
Not every prompt triggers a search. Explain compound interest usually does not. Best project management tool for a remote team of 12 almost always does, because the model has learned that product questions go stale. In ChatGPT a small decision layer makes this call before any search runs. In Gemini the model makes it as part of its reasoning.
For anyone trying to get a brand named, the practical point is short. Anything that names a category, a price, a comparison or the current year goes to the web. Your brand's fate on that prompt depends on what the web says today, not on what the model absorbed in training. Which is a relief, because you can change the web.
Step 2: your question becomes several queries
The model does not paste your prompt into a search box. It rewrites it. One question becomes a set of narrower searches, each aimed at one facet of what you asked. Google calls this query fan-out and describes it as issuing multiple related searches concurrently across subtopics and multiple data sources. ChatGPT does the same thing, it just has not named it.
Take which payment gateway should a UK subscription business use. A plausible fan-out looks like this:
- payment gateways for subscription billing UK
- Stripe vs GoCardless vs Adyen recurring payments
- payment gateway fees comparison 2026
- SCA and 3D Secure support subscription payments
- best payment gateway reviews small business UK
Notice that your page does not need to rank for the original question. It needs to rank for at least one of the sub-queries, and the narrow ones are the easier target because fewer strong pages compete for them.
ChatGPT's shopping answers go one step further. Profound looked at about 200,000 shopping prompts and found a second fan-out layer that turns the prompt into product-specific sub-queries before any candidate is picked. Same pattern: many narrow searches rather than one broad one.
Step 3: a search engine picks the candidates
Each of those queries runs against a real search index. For ChatGPT that is a mix of providers with Bing as the main one, plus whatever OpenAI's own crawler, OAI-SearchBot, has indexed. For Gemini, AI Overviews and AI Mode it is Google's index, its Knowledge Graph and, for products, its Shopping Graph. Perplexity runs its own index and ranker.
What comes back is a ranked list: title, URL, snippet, date. Not the page, just the listing. The model sees maybe 10 results per query, so the search engine's ranking decides which pages even exist as far as the model is concerned.
This is where classic SEO still earns its keep. An early study of ChatGPT search found 87% of its citations matched Bing's top results. The overlap has loosened since, but the principle holds. If no search engine ranks your page for any of the fan-out queries, you were never a candidate.
Two things follow. Being invisible on Bing now hurts you in ChatGPT in a way it never did in Google. And a robots.txt rule that blocks OAI-SearchBot or Google's crawler removes you from the pool entirely, however good the page is.
Step 4: the model opens the pages and reads
Now the second tool call. The model looks at the listings and picks the ones worth opening. For those, the app fetches the live page. OpenAI does this with a separate fetcher, ChatGPT-User, which only runs when someone's question needs it. Google reads from its own cache and from the live web.
The model does not read the whole page. Fetched pages get stripped to plain text, and the model reads them in passages, looking for the bit that answers the sub-query it is working on, then moves on. A 3,000 word page contributes the two paragraphs that match. If they match.
That changes how I think about writing a page:
- A claim buried in the fourth paragraph of a section is easy to miss. The same claim in the first sentence under a clear heading is easy to lift.
- A sentence that only makes sense with the paragraph around it cannot be quoted on its own. Fees start at 1.4% plus 20p per transaction can. Our fees are competitive cannot.
- Pages that only render their main content after JavaScript runs often come back nearly empty to the fetcher. Worth checking yours.
You can watch this step happen. In ChatGPT, expand the Searched the web line above an answer and you see the queries it ran and the pages it opened. Gemini shows the same in its sources panel. Doing this for your own category is the fastest education in GEO I know.
The four pages behind one answer: two of the vendor's own, two from its rivals.
Step 5: the model reasons over what it read
With a stack of passages in front of it, the model does what it is actually good at. It compares them. It notices when four independent pages make the same claim and when only one does. It weighs a vendor's own page against a review site against a Reddit thread. And it blends all that with what it already believed from training, which still counts. A brand the model has seen a thousand times starts with a prior in its favour. There is no way around that except to be seen more.
Newer reasoning models make this step longer and more deliberate. They plan, search, read, notice a gap, search again. GPT-5 Thinking, Gemini's Deep Research and Perplexity's Pro Search all run several rounds before writing. The number of tool calls behind one answer can run into the dozens.
What survives this stage is usually not the loudest page. It is the claim that is specific, checkable, and repeated by other sources. Vague positioning gets a brand listed. A number, a named feature and a third party saying the same thing get it listed first.
There is data for this. In Profound's shopping study, the product in the top slot had a median of 787 reviews against 352 for the rest. Nobody told the model to count reviews. It reads a review count as other people agreeing, and acts on it.
Step 6: the model writes, and cites
Finally it writes a conversational answer and attaches citations. Those citations are the pages that made it through all five steps: ranked by a search engine, chosen for opening, read, and found useful. They are the audit trail of the whole process, and I read them that way.
A citation is also the only link a reader might click, and very few do. Pew tracked 900 US adults and found people clicked a source inside an AI Overview on about 1% of visits. So being cited matters because it means you were in the answer, not because it sends you traffic. It mostly does not.
Why people trust these answers
Put the steps together and what comes out is a synthesis of 10 to 30 pages, cross-checked, with the disagreements smoothed over and a recommendation on top. That is a better first draft of a decision than a page of blue links, and people behave accordingly.
The same Pew study found that when an AI summary appears, people click a traditional result on 8% of searches, against 15% when there is no summary. ChatGPT passed 900 million weekly users in February 2026 and kept growing. Google's AI Mode, built on exactly these steps, is now how a large share of searchers meet a product category for the first time.
None of that means the answers are always right. The process inherits whatever the top search results say, and the top results for a commercial query are not exactly neutral. But the answers are consistent, confident, and they arrive in one place, and that turns out to be enough to move where the decision gets made. OpenAI's own retreat from in-chat checkout in March 2026 shows the shape of it: people decide in the chat and buy on the site.
Which pages survive the steps
Step back and the steps are a series of filters, each one removing pages. What the studies say about the survivors is roughly this.
Sources are concentrated, and they move. Semrush tracked 230,000 prompts over 13 weeks and watched Reddit's share of ChatGPT citations fall from about 60% to about 10% in a single quarter, while PR Newswire, Forbes and Medium rose. The set of trusted sources per category is small and it does not sit still. Whatever the model cited last month is not a safe bet for next month.
Each engine has its own habits. In the same period Google's AI Mode leaned on LinkedIn, YouTube and Reddit, and cited Wikipedia in around 2% of answers. ChatGPT cited Wikipedia far more. Being visible in one engine tells you little about the others, because the search index behind each one is different.
Fresh, specific pages beat broad, old ones. The fetcher reads passages, so a focused page that answers one sub-query head-on tends to beat a general page that mentions the topic in passing. Recency is right there in the listing the model sees, so it uses it.
Third parties carry more weight than you do. Your own page tells the model what you claim. A review site, a forum thread or a comparison article tells it whether anyone agrees. The model treats agreement as evidence, which, to be fair, is what most of us do too.
Putting the work in order
The steps themselves dictate the order:
- Be in the index. Google's and Bing's. Let
OAI-SearchBotandChatGPT-Userthrough. - Be readable. Server-rendered text, clear headings, one claim per sentence, numbers where numbers exist.
- Be backed up. Get the same specific claims onto pages you do not own.
- Be measured. Run the prompts your buyers ask, weekly, on every engine you care about, and log which pages got cited and where your brand landed in the list.
The fourth one is the step most teams skip, and it is the only one that tells you whether the first three worked. Doing it by hand for 20 prompts across four engines takes me about an afternoon a week. Lumirank exists to turn that into a dashboard, but I would still do the manual version once. Open ChatGPT, ask the question a buyer would ask, expand the search panel, and read the list of pages it chose. Everything in this post is visible in that list.
Reference
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.

