May 27, 2026 · Anthropic
Messages API usage reports thinking_tokens within output token details
- The Messages API response now includes
usage.output_tokens_details.thinking_tokens, reporting how many of the billed output tokens were extended thinking. When streaming, the breakdown appears only on the finalmessage_deltaevent. No beta header is required.