Skip to content
← Back to release · 2.1.295
Improvements / v2.1.295

Use AWS CountTokens for token counts

CHANGELOG · original

Improved token counts behind a Claude apps gateway on Amazon Bedrock, which /context and large file reads use: the gateway now gets them from AWS's CountTokens API instead of a one-token model request. Grant bedrock:CountTokens to use it
Open official changelog ↗

Related documentation

Background on the feature; see the changelog above for this specific change.

Change details