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
- Amazon S3 now supports attribute-based access control

- App-only certificate-based authentication now available in SharePoint Online Management Shell [MC1188595]
![App-only certificate-based authentication now available in SharePoint Online Management Shell [MC1188595] 3 pexels bess hamiti 83687 36487](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Updates available for Microsoft 365 Apps for Current Channel [MC1188610]
![Updates available for Microsoft 365 Apps for Current Channel [MC1188610] 4 pexels steve 14003554](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Microsoft 365: Modern Access Request and Access Denied web page [MC1188599]
![Microsoft 365: Modern Access Request and Access Denied web page [MC1188599] 5 pexels cottonbro 7429474](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)


![App-only certificate-based authentication now available in SharePoint Online Management Shell [MC1188595] 3 pexels bess hamiti 83687 36487](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-bess-hamiti-83687-36487-150x150.webp)
![Updates available for Microsoft 365 Apps for Current Channel [MC1188610] 4 pexels steve 14003554](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-steve-14003554-150x150.webp)
![Microsoft 365: Modern Access Request and Access Denied web page [MC1188599] 5 pexels cottonbro 7429474](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-cottonbro-7429474-150x150.webp)
