I am doing model access of SDXL 1.0 on AWS Bedrock. How can I know my bill will be by on demand or by monthly if I click "submit" on this page?

0

Bedrock-pricing-issue

2 Answers
1

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

profile picture
EXPERT
answered a month ago
profile picture
EXPERT
reviewed a month ago
profile pictureAWS
EXPERT
reviewed a month ago
1

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

profile pictureAWS
EXPERT
answered a month ago
profile picture
EXPERT
reviewed a month 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.

Guidelines for Answering Questions