1 Answer
- Newest
- Most votes
- Most comments
0
Based on the information available on the AWS Bedrock pricing page, the pricing for Titan Embeddings models is per 1,000 tokens, not per API call.
Specifically, the pricing section states:
"Titan Embeddings models are priced on a per-1,000 tokens basis. The price is $0.00002 per 1,000 tokens."
So, in your example scenario, where you have a document with three sentences totaling less than 1,000 tokens, you would be charged a single $0.00002 fee, not three separate $0.00002 fees.
The key points are:
Pricing is based on the total number of tokens processed, not the number of API calls.
As long as the total number of tokens across all your calls is less than 1,000, you will be charged a single $0.00002 fee.
If the total number of tokens exceeds 1,000, you will be charged an additional $0.00002 for each additional 1,000 tokens.
answered 7 months ago
Relevant content
- asked 6 months ago
- asked 4 months ago