Skip to content

feat: add thinking_tokens to usage models and streaming accumulation#1143

Open
Ashutosh0x wants to merge 3 commits intoanthropics:mainfrom
Ashutosh0x:fix-thinking-tokens
Open

feat: add thinking_tokens to usage models and streaming accumulation#1143
Ashutosh0x wants to merge 3 commits intoanthropics:mainfrom
Ashutosh0x:fix-thinking-tokens

Conversation

@Ashutosh0x
Copy link

This PR adds support for granular reporting of thinking tokens, addressing Feature Request #1017. Changes: Added thinking_tokens field to Usage models and updated accumulation logic.

@Ashutosh0x Ashutosh0x requested a review from a team as a code owner January 22, 2026 05:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant