Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

citations changedbuild-with-claude/citations

Nearest release: v2.1.308, published 2 hours 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+6added
Lines−6removed
From line 374 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 374, old and new numbered
/
lines
from line 374
374374### Token costs
375375 
376376* Enabling citations incurs a slight increase in input tokens because of system prompt additions and document chunking.
377* However, the citations feature is very efficient with output tokens. Internally, the model outputs citations in a standardized format that are then parsed into cited text and document location indices. The `cited_text` field is provided for convenience and does not count toward output tokens.
377* However, the citations feature is very efficient with output tokens. Internally, the model outputs citations in a standardized format, and those citations are then parsed into cited text and document location indices. The `cited_text` field is provided for convenience and does not count toward output tokens.
378378* When passed back in subsequent conversation turns, `cited_text` is also not counted toward input tokens.
379379 
380380### Feature compatibility
from line 974
974974</Tabs>
975975 
976976<Accordion title="Example plain text citation">
977 ```json
977 ```text
978978 {
979979 "type": "char_location",
980980 "cited_text": "The exact text being cited", // not counted toward output tokens
from line 1790
17901790</Tabs>
17911791 
17921792<Accordion title="Example PDF citation">
1793 ```json
1793 ```text
17941794 {
17951795 "type": "page_location",
17961796 "cited_text": "The exact text being cited", // not counted toward output tokens
from line 2109
21092109</CodeGroup>
21102110 
21112111<Accordion title="Example citation">
2112 ```json
2112 ```text
21132113 {
21142114 "type": "content_block_location",
21152115 "cited_text": "The exact text being cited", // not counted toward output tokens
from line 2127
21272127 
21282128When citations are enabled, responses include multiple text blocks with citations:
21292129 
2130```json
2130```text wrap
21312131{
21322132 "content": [
21332133 { "type": "text", "text": "According to the document, " },
from line 2206
22062206 
22072207<AccordionGroup>
22082208 <Accordion title="Example streaming events">
2209 ```sse
2209 ```text
22102210 event: message_start
22112211 data: {"type": "message_start", ...}
22122212 
Feedback