The Count Tokens API is now available in Amazon Bedrock, enabling you to determine the token count for a given prompt or input being sent to a specific model ID prior to performing any inference.
By surfacing a prompt’s token count, the Count Tokens API allows you to more accurately project your costs, and provides you with greater transparency and control over your AI model usage. It allows you to proactively manage your token limits on Amazon Bedrock, helping to optimize your usage and avoid unexpected throttling. It also helps ensure your workloads fit within a model’s context length limit, allowing for more efficient prompt optimization.
At launch, the Count Tokens API will support Claude models, with the functionality available in all regions where these models are supported. For more information about this new feature, including supported models and use cases, visit the Count Tokens API documentation.
Categories: marketing:marchitecture/artificial-intelligence,general:products/amazon-bedrock,general:products/amazon-machine-learning
Source: Amazon Web Services
Latest Posts
- MC1243549: SharePoint and OneDrive Retire One-Time Passcode and Shift External Sharing to Microsoft Entra B2B

- MC1431365: Viva Insights Adds Agent 365 Dashboard Access for Managers in Copilot Analytics

- MC1426708: OneDrive Sync App Ends Support on Windows 10 Version 21H2 and Earlier Starting August 2026

- Amazon OpenSearch UI now supports one-click dashboard migration





