See how many output tokens went to thinking

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

Abteilung
Engineering
Verwandte Links
Teilen

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.

Frühere Updates

21. Mai 2026
19. Mai 2026
13. Mai 2026
12. Mai 2026
11. Mai 2026
Alle Updates