AI Citation
How do AI visibility tools measure brand mentions in LLM answers?
Short answer
AI visibility tools send the same prompts to ChatGPT, Perplexity and Gemini many times, then count which brands each answer names. They pull names out with keyword matching and LLM entity recognition, as the LLMLens pipeline shows. Repeats matter because answers vary even at temperature 0. One 2026 study asked five engines 50 prompts ten times each, for 2,500 answers.
Published by The Woof Back, https://thewoofback.com/blog/how-do-ai-visibility-tools-measure-brand-mentions-in-llm-answers

AI visibility tools measure brand mentions by asking ChatGPT, Perplexity and Gemini the same questions many times. They read each answer, pull out the brand names and count how often each brand shows up. One study ran 50 prompts on five AI engines ten times each, for 2,500 answers in total (arxiv.org, 2026). Repeats matter because the same prompt can name different brands on each run, even at a temperature of t=0.0 (arxiv.org, 2026). Names cause errors too: six LLMs read an ambiguous name correctly only 85.3% of the time (arxiv.org). The open-source LLMLens project shows the full pipeline: N runs across M models, brand extraction, then Wilson score confidence intervals (github.com).
- Issue controlled queries
- Capture raw text
- Extract brand entities
- Classify sentiment
- Aggregate confidence intervals
This guide covers the measurement method. For how platforms track citations across Perplexity and ChatGPT side by side, see can AI visibility platforms track citations across both Perplexity and ChatGPT.
How AI visibility tools measure brand mentions, step by step
An AI visibility tool sends a fixed set of prompts to each model and saves every full answer. LLMLens documents the steps. It runs each prompt N times across M providers and stores the raw text. It finds brands with keyword matching plus LLM named entity recognition (LLM NER). It then spots comparisons, scores sentiment and works out Wilson score confidence intervals (github.com).
p_hat = (x + (z^2 / 2)) / (n + z^2)
In the Wilson score formula, x is the number of answers that mention the brand. n is the number of runs. z is the standard normal score for the confidence level you want. The interval tells you how sure you can be about a mention rate. One run tells you very little, because the next run may differ.
Visibility metrics: presence rate, prominence and Share of Model

Generative Engine Optimization (GEO) tracks three main numbers: how often a brand appears, how early it appears and which sources get cited. A 2026 study by Rejón-Guardia et al. defines visibility in generative engines as the frequency and prominence of brand mentions within generated responses (arxiv.org, 2026). Across a set of prompts, a brand's slice of all mentions is often called share of voice, or Share of Model.
| Metric Dimension | Measurement Target | Calculation Basis |
|---|---|---|
| Brand Presence Rate | Entity inclusion | Binary appearance per prompt iteration (arxiv.org, 2026) |
| Mention Prominence | Output positioning | Position-adjusted citation and text rank (arxiv.org, 2026) |
| Source Attribution | Referenced URLs | Citation-based source visibility across answers (arxiv.org, 2026) |
Position counts too. If an answer names three brands, the one in the first sentence gets more weight than the one added at the end.
Brand inclusion in AI answers versus rank tracking in search
SEO competes for a spot in a ranked list of links. GEO is about whether a brand is in the answer at all, and how high. Wen et al. (2025) draw this line between ranked link positions and inclusion in LLM answers (arxiv.org, 2026).
Retrieval-Augmented Generation (RAG) explains why. An answer engine first finds documents, often with semantic search, which matches by meaning rather than exact words. It then breaks them into tokens through tokenization and fits them into a limited context window (arxiv.org, 2026). The model writes a short answer from that. So a brand is either in the answer or left out. A small change in the wording of a question can move a brand from in to out, not just down one place.
Data collection: direct APIs versus scraping ChatGPT, Perplexity and Gemini

Tools collect answers in one of two ways. Some call the model's developer API. Others load the consumer chat screen in a headless browser and scrape it. The two methods give very different results. Surfer compared 13,779 AI answers collected on August 4, 2026. Brand name overlap between API answers and scraped answers was only 15.5% to 32% (surfer.ai, 2025).
Brand Overlap Range: 15.5% to 32% across collection methods
Page Citation Overlap: 4.8% to 19.7% across collection methods
Surfer found that APIs wrote longer answers and named many more brands (surfer.ai, 2025). On ChatGPT, the consumer screen cited more sources than the API. On Perplexity and Gemini, the API cited more. Page-level citation overlap was just 4.8% to 19.7%. A good tool keeps plain-text mentions and linked citations as separate counts, because the two methods produce them so differently. If your API numbers and your screen numbers disagree, that is the time to bring in Answer Engine Optimization help.
Multi-engine query sampling with zero-shot prompts
Good measurement asks the same prompts across several engines. In the Ranqo reference study (2026), researchers sent 50 unbranded prompts to five AI engines ten times each. That gave 2,500 answers across ten CRM brands (arxiv.org, 2026).
These prompts are zero-shot prompts: plain questions with no examples, the way a real buyer asks. Using the same prompts on ChatGPT, Perplexity and Gemini lets a tool compare engines fairly. Repeating each prompt shows which citation habits belong to one engine and which are just run-to-run noise.
Why the same prompt gives different brands
LLMs pick words by probability, so repeated answers vary. Auditing research found that even at a low temperature of t=0.3, the same prompt named different brands across repeats (arxiv.org, 2026). Lowering the temperature does not remove this.
Renze and Guven showed that LLM output still varies at a temperature of t=0.0 (arxiv.org, 2026). The causes are floating-point maths, batched inference and hardware-level non-determinism. So a tool that promises identical answers at zero temperature is promising something the hardware cannot deliver.
Measuring stability: Jaccard similarity and Rank Biased Overlap
AI visibility is a sampling problem, not a fixed ranking. You measure it by repeating prompts and comparing the sets of brands each run returns. One study of four AI search engines compared brands across repeated runs within 24 hours. It used every run with a non-empty answer and did not require citation links (arxiv.org, 2026).
J(A, B) = |A ∩ B| / |A ∪ B|
Jaccard similarity compares two runs. It divides the brands both runs share by all the brands either run named (arxiv.org, 2026). Rank Biased Overlap (RBO at p=0.9) adds position. It gives more weight to brands near the start of an answer.
How many runs are enough? The Dice Roll Method works it out from a small pilot (arxiv.org, 2026):
n = 4 × residual / cell_variance
Here n is the number of runs, residual is the variance the model leaves unexplained, and cell_variance is the variance of the group you care about. The formula breaks down when a model returns empty answers, or when no run mentions any brand.
Entity resolution: brand extraction error rates
Brand extraction can confuse a brand name with a common word, a place or a person. Entity resolution is the step that decides which one the answer means. In a test of six LLMs, models picked the right reading for 85.3% of ambiguous names without any hint (arxiv.org).
Baseline Disambiguation Accuracy: 85.3%
Accuracy with Entity Type Hints: 90.5%
Residual Extraction Failure Rate: ~10%
Adding a hint about the entity type raised accuracy to 90.5% (arxiv.org). That still left about 10% wrong. When the hint pointed to the other reading, models got it right 85.1% of the time. The models also leaned one way by category. They read fruit and animal names as the plain word, and place and person names as companies. If your brand shares its name with a fruit or an animal, check that your tool has manual rules for it.
Sentiment classification and brand positioning
Good tools also check how a brand is described, not just whether it appears. Amplitude, for example, has an LLM read the words around each brand mention to score sentiment, rather than matching keywords (amplitude.com). Automated sentiment can drift with small prompt changes, even when the brand is still recommended, so read a sample of answers yourself.
Use this checklist to judge any AI visibility tool:
- Ask whether it scrapes the consumer screens or calls the APIs, so you know its citations match what users see (surfer.ai, 2025).
- Require repeated runs, such as 10 per prompt, on every engine you care about (arxiv.org, 2026; arxiv.org, 2026).
- Check for disambiguation rules if your brand name is also a common word or a place (arxiv.org).
- Look for overlap measures like Rank Biased Overlap (at
p=0.9), not a single rank position (arxiv.org, 2026).
Ready to see your own numbers? The Woof Back runs your growth department as one system, and that includes auditing how AI answers name your brand.
Published by The Woof Back. Grade your site free.
| Metric Dimension | Direct API Calls | Scraped Consumer Interfaces | Observed Discrepancy / Overlap |
|---|---|---|---|
| Response Generation Length | Notoriously longer narrative generations | Shorter, conversational summaries | APIs yield significantly expanded response text |
| Citation Frequency | Higher citation counts on Perplexity and Gemini | Nearly 4x more citations on ChatGPT | Engine-dependent citation distribution splits |
| Page-Level Source Attribution | Underlying retrieval APIs pick differing source sets | Web UI integrates user-facing citation cards | 4.8% to 19.7% page-level URL overlap |
| Context Condition | Target Entity Type Bias | Disambiguation Success Rate | Failure Rate / Risk |
|---|---|---|---|
| Prompts with Entity Type Hints | Explicit company framing (e.g., "company Apple") | 90.5% correct readings | ~10% residual misidentification rate |
LLM Brand Visibility & Wilson Score Estimator
Calculates the statistical brand presence rate and 95% Wilson score confidence interval across repeated LLM query iterations, accounting for model stochasticity in AI visibility tracking.
Total query executions (n):
Observed brand presence rate (p̂):
Wilson adjusted midpoint:
Margin of error (95% CI):
Lower 95% confidence bound:
Upper 95% confidence bound:
Frequently Asked Questions
What does "brand visibility" mean?
In generative engine optimization, brand visibility is defined as the frequency and prominence of brand mentions within generated AI responses, alongside domain presence and position-adjusted citation prominence.
How to measure LLM visibility?
In practice, tools typically measure AI visibility by sending standardized queries across multiple models, extracting brand entities from text via keyword matching and LLM NER, and tracking mention rates and rank over repeated iterations.
How to track brand mentions in AI search?
Run unbranded prompts many times on each engine and compare the brand sets with Jaccard similarity or Rank Biased Overlap.
Why do API results differ from scraped consumer AI answers?
APIs write longer answers that name many more brands, while consumer screens differ in which sources they cite.
Sources
- suraj-phanindra/LLM-Lens - github.com (accessed 2026)
- Don’t Measure Once: Measuring Visibility in AI Search (GEO) - arxiv.org (2026-04-08)
- The Dice Roll Method: A Standardized Protocol for Repeated-Query Auditing of Large Language Model Brand Recommendations - arxiv.org (2026-10-14)
- Arxiv - arxiv.org (accessed 2026)
- Generative Engine Optimization at Scale: Measuring Brand Visibility Across AI Search Engines - arxiv.org (2026-06-18)
- AI Visibility | Amplitude Docs - amplitude.com (2026-10-13)
- Why You Cannot Track AI Visibility Through an API: 2026 Data From ChatGPT, Perplexity, Gemini, AI Mode, and AI Overviews - surfer.ai (2025-07-23)