See how many output tokens went to thinking

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

Dipartimento
Engineering
Link correlati
Condividi

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.

Aggiornamenti precedenti

21 mag 2026
19 mag 2026
13 mag 2026
12 mag 2026
11 mag 2026
Tutti gli aggiornamenti