Amazon Bedrock pricing: on-demand, batch, service tiers and provisioned throughput

How Amazon Bedrock bills. On-demand tokens with the Standard, Priority and Flex tiers, batch at half price for select models, Provisioned Throughput that bills until you delete it, and the Reserved tier.

GazeekAMAZON BEDROCK DEEP DIVE·LESSON 4
LESSON 4

Amazon Bedrock pricing: on-demand, batch, service tiers and provisioned throughput

How Amazon Bedrock bills. On-demand tokens with the Standard, Priority and Flex tiers, batch at half price for select models, Provisioned Throughput that bills until you delete it, and the Reserved tier.

0:00 / 2:16

Diagrams in this video · 1Free in archhy

Copy and edit in archhy: How Bedrock bills (new tab)

The diagrams, full size

Copy any of them into archhy, free, and change it for your own system.

After this lesson you can

  • Describe on-demand pricing and its service tiers
  • Say when batch inference saves money
  • Explain why Provisioned Throughput needs care
  • Say what the Reserved tier is for
Transcript

Amazon Bedrock pricing: on-demand, batch, service tiers and provisioned throughput

Space Llama here. Last time, cross-Region inference. Today, the bill. How Bedrock charges you, and the one thing that keeps billing when you're not looking.

You pay for tokens

Most of the time, you pay for tokens. Roughly, pieces of words. Input tokens, what you send, and output tokens, what the model writes, each with its own price, and every model has its own prices. So the first cost lever is choosing the model. A small model for a simple job can cost far less than a large one.

How Bedrock bills

There are three ways to pay. On-demand is where everyone starts. Pay per token, in the Standard tier by default. Priority costs seventy-five percent more and answers faster. Flex costs half, and may wait. Which tiers you get depends on the model, so check its model card. And for steady, large workloads, the Reserved tier reserves tokens per minute, through your account team. Batch. Put your requests in files in Amazon S3, the Simple Storage Service, and the results come back there. For select models, it's half the on-demand price. Provisioned Throughput. You buy model units by the hour, and you need it to run a model you've customized. With no commitment, it bills until you delete it, so delete it. A one- or six-month term is a commitment for the term.

Two more savings

Two more ways to save. Prompt caching. When the start of your prompt repeats, Bedrock can cache it. Reading from the cache is cheaper, and writing to it can cost a little more, so it pays when the same start is reused. More on that in part two. And, from last time, a global cross-Region profile costs about ten percent less.

Remember

Let's recap. You pay for input and output tokens, priced per model. Priority costs seventy-five percent more, Flex half as much. Batch is half price for select models. And Provisioned Throughput bills until you delete it.

Practice and what's next

That's part one done. Next, part two, calling models, starting with the Converse API. See you there. More videos on the channel. Alpaca Mango. I'll be there. I'm always there. Mate.

Gazeek Flash · free

Exam questions on your phone

Free questions on Amazon Bedrock: quick-fire batches and timed exams, on the web or Android.