Next Token Prediction: Why AI Answers Name or Omit a Brand
Short answer
A model can name your brand in one answer and miss it in another. Next token prediction helps explain why. The model builds its answer from learned patterns and the context it receives. Search results can change that context. A missing name alone does not reveal the cause. The model may have missed your pages, seen them but skipped your brand, or answered without naming vendors.

You'll learn:
- How a model scores and picks each next token, with a worked example.
- How training and retrieved sources differ.
- What two anonymized scan records from 25 August 2026 (n = 2) show.
- How to choose a defensible content correction instead of guessing why a brand disappeared.
Key dated facts:
Two complete API answers to one question, collected 25 August 2026 (n = 2, not a current ranking): one cited a publisher's page 3 times, the other 0 times, and neither recommended the publisher as a service provider.
Xtrusio price as stated by Xtrusio, read 27 November 2026: first month free (50 prompts across six AI platforms, 300 answers), then plans from $1,500 a month.
Disclosure: Xtrusio is our product, and its saved answers are used in the example.
- 1Save the buyer question, models, date and complete answers.
- 2Mark each answer: recommendation, passing mention, citation or no mention.
- 3Check the cited pages for a specific fact error before editing anything.
- 4Change one thing, then retest the same question.
- 5Check the exact cited URL; one result does not prove the edit caused it.
For a marketing team, the useful question is more specific: Was the brand recommended, mentioned in passing, cited as a source, or absent from the saved answer? These are different outcomes that call for different work.
How a model picks the next token
Next-token prediction is the one task a language model is trained for: given the text so far, it gives every token in its vocabulary a score for coming next. A krishnaik.in tutorial (last updated 30 September 2026, read 27 November 2026) shows the steps with made-up scores for the word after “The cat sat on the”. A function called softmax turns the scores into probabilities that add up to 1.
| Candidate word | Made-up score | Probability |
|---|---|---|
| mat | 4.0 | 0.582 |
| floor | 3.1 | 0.237 |
| sofa | 2.6 | 0.144 |
| roof | 1.2 | 0.035 |
| moon | -1.5 | 0.002 |
“Moon” gets 0.002: small, not zero. Every word keeps some chance. The same tutorial says always taking the top word is called greedy decoding and gives the same answer every time, while chat APIs usually pick at random, weighted by these probabilities, so the same question can get different answers. It notes that temperature and top-p reshape or cut the probabilities before a word is picked, and that a likely word is not always a true one.
- Tokens. Jon Whittle's primer (Substack, 16 September 2026, read 27 November 2026) says a token may be a whole word, part of a word or punctuation.
- Context. The same primer says the next token is influenced by what came before: a conversation about single malt makes “whisky” a good guess. A search tool can also put a fact into context that the model did not know a moment earlier, such as a competitor's 15% price cut.
- The loop. apxml.com describes appending the chosen token and repeating until a stopping condition, such as an end-of-sequence token.
- No advance plan. Stork.ai says the model does not plan its whole answer in advance; it predicts each token from the previous ones.
None of these sources says how a particular commercial answer engine chooses brands. The tutorial scores are illustrative, not measurements of any brand.
Start with the answer, not an imagined brand score
A model predicts the next token, a word or part of a word. A step then picks the output. The answer grows from there. It does not check a fixed list of approved brands. Google's language-model introduction explains the basic model. Hugging Face explains how output choices work.
A token score is not a brand visibility score. One company name may use several tokens. A missing name is not proof of a penalty.
Start with the question. Someone asking for practical advice may want steps and sources, not a vendor list. A buyer asking for options expects a different answer. Do not treat both as the same chance to earn a recommendation.
Xtrusio saves buyer questions, answers and cited links. A team can use these records to study a specific gap. Its collection methodology explains the difference between API records and the consumer app. The example below uses saved API records. It is not a new test of the consumer app.
Training text and retrieved sources play different roles
Training changes what a model has learned. When it answers, the app also gives it context. That context may include instructions, the question and search results. These are separate ways information can affect an answer.
The GPT-3 paper shows how a model can use examples in context without new training. The retrieval-augmented generation paper pairs a trained model with a document index. These papers explain the distinction. They do not describe every commercial answer engine.
A new product page does not instantly change a model. A search-enabled app may find the page and use its current facts. But you still need evidence that it did so in a given answer.
| Evidence available | What it lets you say | What remains unknown |
|---|---|---|
| Brand in answer text | That passage named the brand | Which training examples or retrieved passages caused the wording |
| Particular cited URL | The output attributes a claim or reference to that page | Whether it was the only material retrieved or caused a recommendation |
| No name in the saved output | The name was absent under the checked definition | Whether the model knows the company or retrieved an uncited page |
| Current product page | The page supplies facts a reader can verify | Whether an answer system fetched it or will use it next time |
Anthropic's context-engineering explanation explains how apps bring outside facts into limited context. A public website may still be absent from a given answer.
A real scan example: cited publisher, no recommendation
We reviewed two complete API answer records collected by Xtrusio on 25 August 2026 UTC, for the exact question “How to do SEO for Perplexity AI?” Each came from a different model, with one saved answer per model. We anonymized the publisher as Publisher A and the records as A and B.
These are three-month-old observations (n = 2), not a current ranking; they show how to read records and measure nothing. The private review record keeps the model names, source links and checksums. The table hides those names. It shows fields checked against the full answers and source lists.
| Checked field | Record A | Record B |
|---|---|---|
| Publisher A's page in the saved source list | Yes | No |
| Inline links to Publisher A in the answer | 3 | 0 |
| Publisher A recommended as a service provider | No | No |
| Saved source entries | 6 | 6 |
In A, the answer cites Publisher A for SEO advice. It does not suggest hiring the publisher or buying its service. In B, the full answer and source list contain neither its name nor the matching page.
The three links in A are three references to one publisher's page, not three independent recommendations. Six source entries are output records, not every page fetched behind the scenes. We read the complete answers rather than treating an automatic mention flag as the result for this anonymized publisher.
If the goal is citations, A offers one useful observation. If the goal is a vendor recommendation, neither answer has one. The question asks for an SEO method, not an agency shortlist. Check the reader question before planning a comparison page.
The answers came from different models. We did not repeat the test with the same model under controlled conditions. We also lack token scores and a full search log. B cannot prove the model has never heard of Publisher A.
Why consistent public facts and cited pages matter
A useful public page links a clear company name to a clear answer. State what the company offers and who it serves. Add availability and proof for claims that matter.
If your pages disagree about availability, readers and answer systems may see mixed facts. Fixing the conflict improves the public record. It does not guarantee a mention. Keep names and key facts consistent, but retain real differences between plans, markets or versions.
For Google AI features, Search Central says basic SEO still matters. A page must be indexed and eligible for a Search snippet. That does not guarantee display. Google also advises clear text and markup that matches visible content. These rules do not cover every answer engine.
Read the cited page. Does it support the claim in the answer? Is it about your brand, a rival or the whole category? A citation is not always a recommendation. A brand mention may even contain an error that needs fixing.
Make a specific correction and retest record
Here is the completed diagnosis and proposed follow-up for this example. No page correction or retest was run for this article; the table shows the plan a team would follow.
| Record entry | Finding or decision | Follow-up and acceptance condition |
|---|---|---|
| Observed baseline | A cites Publisher A three times without recommending its service; B does neither | Preserve question, original models, collection date, complete answers and source sets |
| Correction justified by these outputs | No product-fact error about Publisher A was identified in the checked passage | Do not invent an error or change a page solely because B omitted the publisher |
| Citation objective | Check whether the page supports the advice attached to A's links | Record the exact passage and dated page version before proposing a correction |
| Recommendation objective | The question requests a method, not a vendor shortlist | Select a buying question as a separate baseline, not an improvement on this question |
| Future comparison | Not run; the original model may no longer be available | Match question and method where possible; record model/context changes and start a new baseline when necessary |
This keeps you from editing a page based on a guessed cause. It also keeps you from changing the question and calling the result a fair before-and-after check.
If a later answer still misses the publisher, save that result. If it cites the page, check the exact URL and claim. Neither result alone proves the edit caused a change. Xtrusio's Xtrusio's citation guidance separates a live page from proof that an answer cited it.
Take one buyer question. Mark the answer as a recommendation, passing mention, citation or no mention. Xtrusio can link that record to a page task and later URL checks. Start with the saved answer, not a guess about model memory.
Questions people ask
Does repeating a brand name make it appear?
A next-token explanation does not establish that tactic. Write accurate, useful company information answering the reader's question. Repetition is not evidence that a system retrieved or recommended the company.
Can an AI cite my page without recommending my business?
Yes. Record A shows source attribution without a service recommendation. Classify the surrounding sentence rather than counting every domain string as a recommendation.
Does an omitted brand need to enter the training data?
You cannot infer that from one output. Examine the question, answer and available sources. Retrieved context is a separate information route, whose presence still does not guarantee inclusion.
Can better public facts guarantee an AI mention?
No. They improve material available for people and eligible retrieval systems. Whether a later answer names the brand remains an outcome to check.
Is Xtrusio free to try?
Xtrusio is free for the first month: it scans 50 prompts across six AI platforms (300 answers): ChatGPT, Claude, Gemini, Perplexity, Google AI Overviews and Google AI Mode; Grok on request. Price as stated by Xtrusio: first month free, then plans from $1,500 a month. PR is not part of the fee; it is a separate arrangement.
Method
The example uses two saved API answer records collected on 25 August 2026 for one question; it is not a test of the consumer apps. Explanations of next-token prediction follow the Google and Hugging Face pages linked in Sources.
Frequently asked questions
Does repeating a brand name make it appear?
A next-token explanation does not establish that tactic. Write accurate, useful company information answering the reader's question. Repetition is not evidence that a system retrieved or recommended the company.
Can an AI cite my page without recommending my business?
Yes. Record A shows source attribution without a service recommendation. Classify the surrounding sentence rather than counting every domain string as a recommendation.
Does an omitted brand need to enter the training data?
You cannot infer that from one output. Examine the question, answer and available sources. Retrieved context is a separate information route, whose presence still does not guarantee inclusion.
Can better public facts guarantee an AI mention?
No. They improve material available for people and eligible retrieval systems. Whether a later answer names the brand remains an outcome to check.
Sources
Sources checked 18 October 2026. The first-party example is the historical August 25 collection, not a current ranking or controlled intervention.
- Google: language-model introduction
- Hugging Face: generation strategies
- Brown and coauthors: GPT-3
- Lewis and coauthors: retrieval-augmented generation
- Anthropic: context engineering
- Google: AI features and your website
- Xtrusio: answer-collection methodology
- Xtrusio: exact published-URL citation checks
- krishnaik.in: Next-token prediction tutorial (read 27 November 2026)
- Jon Whittle: Beyond next-word prediction (Substack, 16 September 2026, read 27 November 2026)
- apxml.com: Next Word Prediction in LLMs (read 27 November 2026)
- Stork.ai: How LLMs Think (read 27 November 2026)
Idea credit: HarperCarrollAI's reel prompted the original probability explanation. This article develops a separate brand-visibility analysis from our saved scan records.
Topics
- Next Token Prediction
Gaurav
AI visibility research at Xtrusio, Xtrusio
Xtrusio is the Perception Engine for B2B brands.
Free check
See how AI engines answer about you
Get your free AI visibility check
Keep reading
AI Visibility · 29 November 2026 · 4 min readWhat is Cognizo in 2027? AI answer tracking and publishing compared with Conductor’s enterprise SEO platform
See what Cognizo tracks in 2027, what its pricing page lists, how it compares with Conductor, and when a dedicated tracker or managed service fits.
AI Visibility · 29 November 2026 · 4 min readWhat is Scrunch AI? In 2027, choose it when your enterprise needs to see how AI agents read its site
Compare Scrunch AI Core and Enterprise in 2027, including pricing, agent traffic, Agent Pages and when a managed service fits.
AI Visibility · 29 November 2026 · 10 min read