3 ms·
If you use your own search tool, you would have to pay for input tokens again every time the model decides to search. This would be a big discount if they only
by potlee 1y ago
If you use your own search tool, you would have to pay for input tokens again every time the model decides to search. This would be a big discount if they only charging once for all output as output tokens but seems unclear from the blog post
- stephpang 1y agoThanks for the feedback, just updated our docs to hopefully make this a little clearer. Search results count towards input tokens on every subsequent iteration https://docs.anthropic.com/en/docs/build-with-claude/tool-use/web-search-tool#usage-and-pricing https://docs.anthropic.com/en/docs/build-with-claude/tool-us...
- potlee 1y agoThanks 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!