Skip to content

Bedrock knowledge base pricing example

0

Hi everyone,

I’ve been reviewing the AWS Bedrock pricing page - https://aws.amazon.com/bedrock/pricing/, but I’m finding it a bit difficult to estimate my actual costs. Could someone help me understand how to calculate the usage for the following setup?

Configuration:

  1. Data Source: 10 PDF files in S3 (approx. 5 MB and 900 pages each).
  2. Parsing Strategy: Bedrock Data Automation parsing
  3. Embeddings Model: Amazon Nova Multimodal Embeddings v1 (Float vector, 3072 dimensions).
  4. Vector Store: Amazon S3 Vectors.

Usage Scenario:

  1. Input: A question of roughly 20 words, 100 times per day
  2. Output: An answer of roughly 500 words per each question

based on these parameters, what would the estimated expense be per transaction or ingestion? What are one time costs and recurring cost for each question? AWS provides free tier?

Thanks!

asked 10 months ago612 views

1 Answer
0

Based on your configuration and usage scenario, I can break down the costs for your Amazon Bedrock Knowledge Base setup.

For document ingestion (one-time cost):

  • 10 PDF files with 900 pages each = 9,000 total pages
  • Using Bedrock Data Automation parsing with standard output costs $0.010 per page
  • Total ingestion cost: 9,000 pages × $0.010 = $90.00

For each query (recurring costs):

  1. Knowledge Base retrieval costs
  2. Foundation model inference costs for generating answers

The exact query costs would depend on the specific foundation model you're using to generate responses (which wasn't specified in your scenario), as well as the actual token counts for your inputs and outputs. Different models have different pricing per input and output token.

Regarding the Amazon Nova Multimodal Embeddings model you mentioned for embeddings, this would be used during both ingestion (to create vector embeddings of your documents) and during queries (to create embeddings of your questions for retrieval).

It's worth noting that the default parser for Knowledge Bases doesn't incur charges, but since you've chosen to use Bedrock Data Automation for parsing (which is better for documents with tables, figures, and other visual elements), you'll incur the per-page charges mentioned above.

AWS does offer some free tier benefits for certain Bedrock services, but the specific details would depend on the models you're using and your overall AWS account status.
Sources
Amazon Bedrock Pricing – AWS
How to estimate Amazon Bedrock costs for public sector applications | AWS Public Sector Blog

answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.