For the complete documentation index, see llms.txt. Every page on this site is also served as Markdown: append `.md` to any URL, or send `Accept: text/markdown`.
Skip to content

Claude vs Gemini: what each citation contains

Claude and Gemini decide when to search and cite what they used. In the Claude API's web search tool, a citation carries the source URL, title and up to 150 characters of your text. In the Gemini API's grounding, it links a span of the answer to a source URL, with the searches run. Claude-SearchBot and Google-Extended govern eligibility.

Write for Claude with sentences that stand alone. Write for Gemini by answering the sub-questions it searches.

Last verified
Start free

7 days free · card requiredHow the trial works

stored answers that mention Claude
35 of 121
n=121 ChatGPT and Perplexity answers
stored answers that mention Gemini
44 of 121
n=121 ChatGPT and Perplexity answers
ChatGPT answers that mention Gemini, against 6 of 60 on Perplexity
38 of 61
n=61 ChatGPT answers
Analyst agentAnalyst · Counted these readingsstored ChatGPT and Perplexity answers to the attensira.com workspace's 61 tracked prompts, read over the Attensira MCP on 4 October 2026 · to

Is retrieving a page the same as citing it?

No. Asked "how does AI pick which sources to cite" on 3 October 2026, ChatGPT split it into two decisions, which pages to retrieve and which to attach to a claim. Claude and Gemini make the same split. What differs is how much of the second decision each shows you.

Answer · ChatGPTasked

Question: how does AI pick which sources to cite

ChatGPT answered: There are actually two separate decisions: Search/ranking: Which pages should be retrieved? → ChatGPT Search ranks results using multiple factors intended to find relevant and reliable information. Citation selection: Of the material retrieved, which sources should be attached to particular claims? → The model is instructed to cite sources that directly support the text, rather than indiscriminately citing everything it encountered.

Sources cited

  1. 1developers.openai.com
  2. 2help.openai.com
  3. 3openai.com
  4. 4academy.openai.com
  5. 5cdn.openai.com
Researcher agentResearcher · Read this answerStored answer, attensira.com workspace, Attensira MCP · · n=1 answer

By Karl-Gustav Kallasmaa

Updated

Researcher agentResearcher · read the AI answers shown here

Analyst agentAnalyst · counted the readings in the charts

How do Claude and Gemini compare?

  • When and how it cites
  • Who decides to search

    Claude
    Claude, for current or changing information
    Gemini
    Gemini, when a Google Search can improve the answer
  • Citations returned whenever it searches (API)

    Claude
    Yes· Yes, always enabled for web search
    Gemini
    Yes· Yes, sources and supports in the grounding data
  • Citation carries an excerpt of your text (API)

    Claude
    Yes· Yes, up to 150 characters
    Gemini
    No· No; it marks a segment of its own answer
  • The searches it ran are returned (API)

    Claude
    Not verified· Not among the documented citation fields
    Gemini
    Yes· Yes, as webSearchQueries
  • What the consumer app shows the reader

    Claude
    Direct citations, source links and quotes when appropriate
    Gemini
    Sources within or below a response; a Google double-check button
  • What developers and publishers control
  • Freshness signal on each result

    Claude
    Yes· page_age, when the site was last updated
    Gemini
    Not verified· Not documented on the grounding page
  • Developer can limit which domains are used

    Claude
    Yes· allowed_domains or blocked_domains, not both
    Gemini
    Not verified· Not documented on the grounding page
  • Rule for showing citations to end users

    Claude
    Yes· Citations to the original source must be shown
    Gemini
    Partial· Developer controls how sources are displayed
  • Publisher control over use in answers

    Claude
    Yes· Claude-SearchBot and Claude-User in robots.txt
    Gemini
    Yes· Google-Extended, covering grounding and training
  • Published price per search on the API

    Claude
    Ten US dollars per 1,000 searches, plus tokens
    Gemini
    Not verified· Not stated on the grounding page
  • What we measured
  • Top-10k domains opting out at the root (n=8,036)

    Claude
    Claude-SearchBot: 442 (5.5%)
    Gemini
    Google-Extended: 992 (12.3%)
  • Requests under its own agents to attensira.com, 30 days

    Claude
    104 requests across 48 pages
    Gemini
    None labelled Gemini, of 143,601

What is Claude?

Anthropic's assistant and API, whose web search tool returns cited sources alongside the answer, with citation fields the developer receives on the text itself.

What is Gemini?

Google's model family, whose grounding with Google Search returns the search queries it ran, the web sources it used and supports that link segments of the answer to those sources.

When should you choose Claude?

Write for Claude with sentences that stand alone. Claude attaches up to that much quoted text to each citation, so the sentence it lifts has to carry your point alone. Keep Claude-SearchBot and Claude-User allowed.

When should you choose Gemini?

Write for Gemini by answering the sub-questions it searches. It returns the queries it executed and ties each source to a span of the answer, so pages that answer the sub-questions behind a prompt get cited for those spans. Its grounding draws on Google Search.

Where does Attensira fit?

Software that does your AI-search visibility work. Attensira reads ChatGPT, Perplexity, Claude and Google AI, with Gemini from Growth and keeps every answer, so you can read the exact text each one quoted from your pages.

What sets Claude and Gemini apart?

  • A Claude citation shows the reader your words; a Gemini citation shows which part of Gemini's own answer you backed, so the same page can win one and lose the other.
  • Gemini's grounding is invisible in your logs because it reads what Googlebot already fetched, while Claude's fetches arrive under Anthropic's own user agents.
  • One Google-Extended line removes a site from Gemini's grounded answers without touching its Google rankings; no single Anthropic token does both jobs for Claude.

What does each one return when it cites?

In the Claude API, the web search tool attaches citations to the text of the answer. Anthropic states that citations are always enabled for web search, and each one carries the URL of the source, its title, an encrypted index that must be passed back in multi-turn conversations, and up to 150 characters of the cited text. Each search result also carries a page_age, described as when the site was last updated. Apps that show Claude's output directly to users must include the citations.

In the Gemini API, grounding with Google Search returns a different shape. It lists the web sources it used, each with a URL and title, and a set of supports that tie a segment of the answer, marked by start and end positions, to one or more of those sources. It also returns the search queries the model ran. Google says the structure gives developers complete control over how sources are displayed.

So the two answer different questions about your page. A Claude citation tells the reader what you said, in your words. A Gemini citation tells the reader which part of Gemini's answer you supported.

What do the Claude and Gemini apps show a reader?

Less detail than the APIs, but the same idea. Anthropic's help centre says that when Claude searches the web in its app, every response includes citations: direct citations to sources, source links for further reading, and relevant quotes when appropriate. Google's Gemini Apps help says Gemini may show sources and related content within and below its response, behind a Sources button or inline, and offers a Google button that double-checks statements against Google Search. Neither vendor documents exactly how many characters of your page the app displays, so the API fields above are the closest documented guide to what a citation can carry.

Both decide for themselves. Anthropic documents that Claude searches when a request depends on information that is current, changing or outside its training data, including prices and specific organisations, people or products that might have changed, and answers directly for stable knowledge. Google documents that with the search tool enabled, Gemini analyses the prompt and determines whether a Google Search can improve the answer.

For a brand, the overlap is what matters. Questions about your product, your pricing and how you compare with a named competitor are the kind both are built to look up. Questions about general concepts may be answered from memory, with no citation at all, which is why a citation strategy starts with the questions that change.

What does the difference in granularity mean for your pages?

It changes what a good passage looks like. Claude quotes up to 150 characters of each source, which is about one sentence. If your key claim needs two sentences, or depends on the paragraph before it for its subject, the excerpt Claude attaches will be a fragment. Write the sentence you want quoted so it carries the subject, the claim and the qualifier on its own: "Acme's Team plan includes ten seats", not "It includes ten".

Gemini ties sources to segments of its own answer and shows the searches it ran. Because it can turn one prompt into several searches, a page can be cited for one segment while another page wins the next. Pages that answer the specific sub-questions behind a buyer's prompt, such as pricing, integrations, limits and comparisons, have more chances to be one of those sources than one long page that answers everything at the same depth.

Why does the quoted text matter so much?

Because it is what the reader sees next to your link. A Claude citation carries up to 150 characters of your page; if those characters are a fragment, the citation does little for you even when it is there. Gemini's supports show which part of its answer your page backed; if that part is a minor detail rather than the recommendation, you were cited for the wrong thing.

The fix in both cases is on the page. Move the sentence you want quoted to the top of the section that answers the question, and make it say the whole thing: who, what, how much, as of when. Reading the citation, not just counting it, tells you whether the page is doing its job.

How do the engines we track describe choosing a citation?

As a passage decision. Asked "how does AI pick which sources to cite" on 3 October 2026, Perplexity said engines cite the passages that best support the answer and are easy to verify. Claude's 150-character excerpt and Gemini's answer segments are two ways of showing that passage.

Answer · Perplexityasked

Question: how does AI pick which sources to cite

Perplexity answered: AI picks sources by retrieval-augmented generation: it fetches candidate pages, ranks them by relevance, authority, freshness, and how well a passage supports the answer, then cites the most suitable passages. It often cites passages that are easy to verify and directly answer the question.

Sources cited

  1. 1truescreen.io
  2. 2cite.solutions
  3. 3statuslabs.com
  4. 4aipogeo.com
  5. 5authoritytech.io
  6. 6contextbolt.com
  7. +3 more
Researcher agentResearcher · Read this answerStored answer, attensira.com workspace, Attensira MCP · · n=1 answer

Which controls decide whether you can be cited?

For Claude, Anthropic's agents. Claude-SearchBot navigates the web to improve search result quality; Anthropic says disabling it stops your content being indexed for search and may reduce your visibility in user search results. Claude-User fetches a page when a person asks Claude something; blocking it stops Claude retrieving your content for that person. Anthropic says its bots honour robots.txt, so both lines are real controls.

For Gemini, two Google controls. Googlebot governs Google Search, which is where grounding gets its results. Google-Extended is a token, not a crawler: it governs whether content Google crawls may be used to train future Gemini models and to ground answers in Gemini Apps and the Vertex AI API. Google states it does not affect Google Search. A site can therefore rank in Search and still ask Google not to use its pages in Gemini's grounded answers.

How many sites have opted out of each?

More from Gemini than from Claude. On 3 September 2026 we read the robots.txt files of the top 10,000 domains in a dated Tranco list and parsed 8,036 (the full study). 992 (12.3%) disallow Google-Extended at the root, which by Google's documentation covers Gemini grounding as well as training. 442 (5.5%) disallow Claude-SearchBot. Many of the Google-Extended lines were probably written as training opt-outs; the grounding consequence comes with them whether intended or not.

If you have a Google-Extended disallow and you care about being cited in the Gemini app, reread Google's description of the token and decide whether the trade is still the one you want.

What does neither publish?

How it chooses among the sources it retrieved. Neither Anthropic's web search documentation nor Google's grounding documentation explains why one retrieved page is cited and another is not. Anything claiming to know the ranking factors for either is inference. What both do publish is enough to work with: when they search, what a citation contains, and which robots.txt lines decide whether your pages are eligible.

The engines we do track say little more. Asked how AI picks which sources to cite, ChatGPT and Perplexity both described the mechanism in general terms, retrieval first and then the passages that best support each claim, and ChatGPT drew most of its citations from OpenAI's own help and documentation pages. Expect Claude and Gemini to defer to their makers' documentation in the same way; we do not read either, so treat that as a hypothesis to check.

Whose pages get cited when people ask how citation works?

On ChatGPT, mostly its maker's. In the 30 days to 4 October 2026, 726 of the 1,204 citations in 57 ChatGPT answers to "how does AI pick which sources to cite" went to four OpenAI domains. Perplexity's 42 answers leaned on third-party guides. Neither cited attensira.com once.

ChatGPT citations that went to four OpenAI domains
726 of 1,204
n=57 ChatGPT answers
Perplexity citations to its top source, aisearch.similarweb.com
41 of 397
n=42 Perplexity answers
answers citing an attensira.com page
0 of 99
n=99 answers
Analyst agentAnalyst · Counted these readingsdeciding sources for one tracked prompt, attensira.com workspace, read over the Attensira MCP · to

What do your own logs show of each?

Claude, by name; Gemini, never. In the 30 days to 4 October 2026, Anthropic's agents made 104 requests to attensira.com across 48 pages, under their own user agents. Among all 143,601 AI-crawler requests in that window, none was labelled Gemini. That is what Google's documentation predicts: Gemini grounds on Google Search, and Google-Extended has no user agent of its own.

The consequence is for measurement. You can see Claude's agents in your logs and judge whether they reach the pages that matter. You cannot see Gemini's grounding in your logs at all, only Googlebot. The only way to know whether Gemini cites you, and for which part of its answer, is to read its answers.

What do developers building on each see?

More than end users do, which matters if your buyers use tools built on these APIs. A developer using Claude's web search can restrict it to a list of allowed domains or exclude blocked ones, though not both in one request, and pays $10 per 1,000 searches plus tokens. A developer using Gemini's grounding receives the executed queries and the segment-level supports and decides how to show them. A vertical tool built on either model may narrow the web it searches, so your visibility inside that tool depends on whether its builders let the model search your kind of site at all.

How should you test both on your own questions?

Pick ten questions your buyers ask that depend on current information: your pricing, a comparison with a named competitor, whether you integrate with a common tool. Ask both assistants each question on several days. For each answer, record whether it searched, which sources it cited, what text it quoted from each, and whether your page was among them. After a couple of weeks you will know which of your pages each assistant trusts, which passages it lifts, and where a competitor's page is doing the job yours should.

How does this relate to ChatGPT and Perplexity?

The same pattern with different detail. ChatGPT search depends on OAI-SearchBot and Perplexity on PerplexityBot, and both show links rather than quoted text. Across the four, citation is a property of passages and pages, governed by each company's own crawler or token, and measurable only by reading answers. Write for the strictest of them, a single self-contained sentence, and you serve all four.

What should a site owner do?

Five things. Keep Claude-SearchBot, Claude-User and Googlebot allowed. Decide Google-Extended knowing that it covers grounding as well as training. Write key claims as single sentences that survive a 150-character excerpt. Cover the sub-questions behind your buyers' prompts on the pages that should own them. And read both assistants' answers to your buyers' questions over weeks, recording which of your pages each one cites and what text it quoted, because the quoted sentence, not the link count, tells you whether the page is doing its job.

Questions people ask

Do Claude and Gemini always cite sources?
When they search, yes. Anthropic states that citations are always enabled for Claude's web search tool. Gemini's grounding with Google Search returns citation data that links parts of the answer to sources. Both decide for themselves whether a question needs a search; answers from training knowledge come without web citations.
What is in a Claude citation?
The URL and title of the source, an encrypted index used in multi-turn conversations, and up to 150 characters of the cited text. Anthropic says those fields do not count toward token usage, and that apps showing the output directly to users must include citations to the original source.
What is in a Gemini citation?
Two lists: the web sources it used, each with a URL and title, and supports that tie a segment of the answer, marked by start and end positions, to one or more of those sources. The response also carries the search queries the model ran, and Google says the structure gives developers complete control over how sources are displayed.
Which robots.txt lines decide whether I can be cited?
For Claude, Claude-SearchBot, which improves search result quality, and Claude-User, which fetches pages when a person asks; Anthropic says its bots honour robots.txt. For Gemini, Googlebot governs Google Search, which grounding uses, and Google-Extended governs whether Google may use your content to ground Gemini Apps and Vertex AI answers.
Does blocking Google-Extended remove me from Gemini?
It asks Google not to use your content for training future Gemini models or for grounding in Gemini Apps and the Vertex AI API, and Google states it does not affect Google Search. So a disallow can keep you out of Gemini's grounded citations while you still rank. 12.3% of the 8,036 large domains we read have one.
How should I write for 150-character citations?
Put each key claim in one sentence that stands alone: the subject named, the number stated, the qualifier included. If the sentence needs the one before it to make sense, a 150-character excerpt cuts it off. Answer the question first, then explain.

Where do these facts come from?

20 sourced claims, each with the page it was read on and the day.

  1. Anthropic states that citations are always enabled for the web search tool.

    platform.claude.com · retrieved

    “Citations are always enabled for web search”
  2. Anthropic documents each web search citation as carrying the URL of the cited source, its title, an encrypted index, and up to 150 characters of the cited content, and says these fields do not count toward token usage.

    platform.claude.com · retrieved

    “cited_text - Up to 150 characters of the cited content”
  3. Anthropic states that when API outputs are displayed directly to end users, citations to the original source must be included.

    platform.claude.com · retrieved

  4. Anthropic documents each web search result as carrying url, title, page_age describing when the site was last updated, and encrypted_content.

    platform.claude.com · retrieved

    “page_age : When the site was last updated”
  5. Anthropic documents optional allowed_domains and blocked_domains lists on the web search tool, to be used one or the other, not both.

    platform.claude.com · retrieved

  6. Anthropic documents web search on the Claude API at ten US dollars per one thousand searches, plus standard token costs for search-generated content.

    platform.claude.com · retrieved · changes often, check the source

    “$10 per 1,000 searches”
Show all 20 sources
  1. Anthropic documents that Claude searches when a request depends on information that is current, changing or outside its training data, including specific organisations, people or products that might have changed.

    platform.claude.com · retrieved

    “Claude searches when the request depends on information that is current, changing, or outside its training data”
  2. Anthropic documents Claude-SearchBot as navigating the web to improve search result quality and Claude-User as accessing websites when individuals ask Claude questions, and states that its bots honour robots.txt directives.

    support.claude.com · retrieved

    “Anthropic’s Bots respect “do not crawl” signals by honoring industry standard directives in robots.txt.”
  3. Anthropic's help centre states that when Claude searches the web in its app, every response includes citations, with direct citations to sources, source links for further reading and relevant quotes when appropriate.

    support.claude.com · retrieved

    “Every response includes citations, so you can easily verify sources yourself.”
  4. Google's Gemini Apps help states that Gemini may show sources and related content within and below a response, behind a Sources button or inline, and offers a Google button that double-checks statements against Google Search.

    support.google.com · retrieved

  5. Google documents grounding with Google Search as connecting Gemini to real-time web content so it can provide more accurate answers and cite verifiable sources beyond its knowledge cutoff.

    ai.google.dev · retrieved

  6. Google documents that with the Google Search tool enabled, the model analyses the prompt and determines whether a Google Search can improve the answer.

    ai.google.dev · retrieved

  7. Google documents that the grounded response carries webSearchQueries, the search queries the model used.

    ai.google.dev · retrieved

  8. Google documents groundingChunks, the web sources used, each with a URI and title, and groundingSupports, which link a text segment of the answer, defined by start and end indices, to one or more of those sources.

    ai.google.dev · retrieved

  9. Google states that the structured citation data gives developers complete control over how sources are displayed in their user interface.

    ai.google.dev · retrieved

  10. Google documents Google-Extended as the control publishers use to manage whether crawled content may be used for training future Gemini models and for grounding in Gemini Apps and the Vertex AI API.

    developers.google.com · retrieved

  11. Of the 8,036 top-10,000 Tranco domains whose robots.txt Attensira read on 3 September 2026, 992 (12.3%) disallow Google-Extended at the site root.

    attensira.com · retrieved · changes often, check the source

  12. In the attensira.com workspace's AI traffic log, read through the Attensira MCP on 4 October 2026, Anthropic's agents made 104 requests across 48 pages in the 30 days to 4 October 2026. User agents are self-reported.

    attensira.com workspace, read over the Attensira MCP on · changes often, check the source

  13. In the attensira.com workspace's AI traffic log, read through the Attensira MCP on 4 October 2026, none of 143,601 AI-crawler requests in the 30 days to 4 October 2026 was labelled Google Gemini.

    attensira.com workspace, read over the Attensira MCP on · changes often, check the source

Put the crew to work on your brand with a 7-day free trial, card required.

7 days free · card requiredHow the trial works

Start free

7 days free · card requiredHow the trial works