Skip to main content

The Messages API response now includes usage.output_tokens_details.thinking_toke

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 Messages API response now includes usage.output_tokens_details.thinking_toke

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 final message_delta event. No beta header is required.

Source: Claude Platform release notes (view original)

Was this helpful?

Keep reading