Thanks for the feedback, just updated our docs to hopefully make this a little clearer. Search results count towards input tokens on every subsequent iteration
Thanks for addressing it. Still sounds like a significant discount if only the search results and not all messages count are input tokens on subsequent iterations!
Hi, stephanie from Anthropic here. Thanks for the feedback! We've updated the docs to hopefully make it a little more clear but yes search results do count towards input tokens
> Web search results in the conversation are counted as input tokens on subsequent completion requests during the current turn or on subsequent conversation turns.
https://docs.anthropic.com/en/docs/build-with-claude/tool-us...