
Claude API stop_reason=refusal Billing: Zero-Cost Early Refusals and Advisor max_tokens Cap
Claude API now bills zero tokens for stop_reason=refusal with no output, and the advisor tool accepts a per-call max_tokens cap. Operator checklist: skip zero-output refusal charges, expose advisor max_tokens in routing config, and handle stop_details.category for triage.
via Anthropic