- Newest
- Most votes
- Most comments
Hello.
There is no charge if you simply enable model access in the Amazon Bedrock console.
You will only be charged for actually using that model.
If you only want to enable model access, you will be charged an on-demand fee.
This means that once you use the model, you only pay for what you use.
I think what you are talking about as a monthly fee is probably the fee for a monthly contract for provisioned throughput.
This will not be a monthly fee unless you set it up using the steps in the document below.
https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html
Hi,
With no special action, you will be charged with the "on-demand" model: "provisioned throughput" mode needs some very specific actions on your side describe in service documentation.
Note: to avoid billing surprise, you can quite precisely estimate your costs with on-demand mode by leveraging the input and output token counts present in the response http header metadata of your Bedrock inference.
You can access them this way (Python)
response = await client.invoke_model(
body=body,
modelId=model_id,
accept="application/json",
contentType="application/json"
)
response['ResponseMetadata']['HTTPHeaders']['x-amzn-bedrock-input-token-count']
response['ResponseMetadata']['HTTPHeaders']['x-amzn-bedrock-output-token-count']
Best,
Didier
Relevant content
- Accepted Answerasked 7 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 5 days ago
- AWS OFFICIALUpdated 19 days ago
- AWS OFFICIALUpdated 8 months ago