Advisor tool max_tokens parameter and no billing for refusals
The advisor tool now supports a max_tokens parameter to cap the advisor model's output per call. On the Claude API, you are no longer billed for a request when it returns stop_reason: "refusal" without Claude having generated any output.
Fetched July 3, 2026

