anthropic Anthropic Python SDK Releases · · 0.104.0

Anthropic SDK Python v0.104.0 Adds Beta Token Count Support

sdkaipreviewmedia
feature

Anthropic's Python SDK has been updated to version 0.104.0, introducing beta support for 'thinking-token-count'. This feature allows developers to estimate token usage within the thinking block of streaming responses. The update is relevant for developers using the Anthropic API via the Python SDK and is available now.

Features (1)
  • api Add support for thinking-token-count beta for estimated tokens in thinking block deltas when streaming
Read the original announcement →

https://github.com/anthropics/anthropic-sdk-python/releases/tag/v0.104.0

Related releases