citations changedbuild-with-claude/citations
Nearest release: v2.1.307, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+3added
Lines−3removed
From line
311
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits14to this page, all time
The whole hunk
from line 311, old and new numbered
/
from line 311
311311
312312 Compared to prompting Claude to cite sources, the citations feature offers the following advantages:
313313
314 * **Cost savings:** If your prompt-based approach asks Claude to output direct quotes, you may see cost savings because `cited_text` does not count toward your output tokens.
314 * **Cost savings:** If your prompt-based approach asks Claude to output direct quotes, you might see cost savings because `cited_text` does not count toward your output tokens.
315315 * **Better citation reliability:** Because the API parses citations into the response formats described in the following sections and extracts `cited_text` directly, citations are guaranteed to contain valid pointers to the provided documents.
316316 * **Improved citation quality:** In Anthropic's evaluations, the citations feature is significantly more likely to cite the most relevant quotes from documents than purely prompt-based approaches.
317317</Tip>
from line 338
338338 </Step>
339339
340340 <Step title="Claude provides cited response">
341 * Responses may now include multiple text blocks where each text block can contain a claim that Claude is making and a list of citations that support the claim.
341 * Responses might now include multiple text blocks where each text block can contain a claim that Claude is making and a list of citations that support the claim.
342342
343343 * Citations reference specific locations in source documents. The format of these citations is dependent on the type of document being cited from.
344344
from line 988
988988
989989### PDF documents
990990
991PDF documents can be provided as base64-encoded data, a URL, or by `file_id`. PDF text is extracted and chunked into sentences. As image citations are not yet supported, PDFs that are scans of documents and do not contain extractable text are not citable.
991PDF documents can be provided as base64-encoded data, as a URL, or by `file_id`. PDF text is extracted and chunked into sentences. As image citations are not yet supported, PDFs that are scans of documents and do not contain extractable text are not citable.
992992
993993<Tabs>
994994 <Tab title="Base64">
No line in this hunk matches that.