Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.260 ·

Bedrock upstream gains native CountTokens support

Bedrock now uses its native token-counting API instead of a workaround request.

TierUnder the hoodhow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaBedrockwhat it touches
KindImprovementsin v2.1.260,
Under the hood

Bedrock now uses its native token-counting API instead of a workaround request.

The Bedrock SDK client wrapper now exposes a countTokens method that calls Bedrock's native CountTokens API through a lazily-created client, with a fallback warning path that uses a max_tokens: 1 request for the aborted-request token count if the call fails.

See this entry in the whole of v2.1.260 →

Feedback