See how many output tokens went to thinking

Messages API responses now break thinking tokens out of the output tokens you are billed for.

Department
Engineering
Related links
Share

Messages API responses include usage.output_tokens_details.thinking_tokens, which tells you how many of the billed output tokens were thinking tokens. You can see what thinking costs on real traffic and tune your budget from that.

When you stream, the breakdown arrives only on the final message_delta event.

Earlier updates

May 21, 2026
May 19, 2026
May 13, 2026
May 12, 2026
May 11, 2026
All updates