Lesson 2 of 5 Amazon Bedrock

Choosing Bedrock Pricing and Throughput Options

This lesson explains the Amazon Bedrock pricing models and routing options. Choosing the right pricing model, and using fewer tokens, are the main ways to control generative AI costs.

Learning outcomes

After completing this lesson, you will be able to:

  • Distinguish on-demand, batch and Provisioned Throughput pricing.
  • Describe cross-Region inference and Intelligent Prompt Routing.
  • Identify the measures that reduce the cost of using foundation models.

Pricing models

Bedrock has three ways to pay, suited to different usage patterns. On-demand pricing charges for each input and output token, or each image or video, with no commitment; output tokens usually cost more than input tokens. It suits variable traffic and experimentation. Batch inference takes a file of prompts from S3 and returns the results later, at typically about half the on-demand price, which suits large jobs that are not urgent, such as summarising a backlog of documents.

Provisioned Throughput reserves dedicated capacity, measured in model units, with no commitment or a discounted one- or six-month term. It is paid for whether or not it is used, so it suits steady high volumes, and it is required to serve some customised models. The following table summarises the options.

OptionHow you payBest for
On-demandPer input and output token (or per image/video), no commitment; output tokens usually cost moreVariable traffic and experimentation
Batch inferenceA file of prompts in S3, results returned asynchronously, typically about half the on-demand priceLarge offline jobs, such as summarising a document backlog
Provisioned ThroughputDedicated model units, with no commitment or a 1- or 6-month discounted term; paid whether used or notSteady high volume; required to serve some custom (fine-tuned) models

The following diagram compares how cost grows with steady usage.

How Bedrock's pricing options compare as steady usage grows. On-demand charges per input and output token with no commitment, so cost grows with usage and is zero when idle. Provisioned Throughput reserves model units and is paid whether used or not, so it becomes cheaper only at steady high volume, and it is required for some custom models. Batch inference costs about half the on-demand price but returns results later.
On-demand suits variable use; Provisioned Throughput suits steady high volume.
Fill in the value

Pricing a workload

Exam skills 2.1.4 · 2.3.4

Each request sends 1,500 input tokens and receives 500 output tokens. Input costs 0.002 USD and output 0.008 USD per 1,000 tokens.

Log in to try this activity Interactive activities are free with an account.

Routing options

Amazon Bedrock provides several options for routing requests to models. The following list describes them.

  • Cross-Region inference increases throughput and resilience.
  • Intelligent Prompt Routing sends each request to a cheaper or more capable model in the same family.
  • Flex and priority service tiers (on supported models) trade latency against price.
Match the pairs

Routing requests

Exam skills 2.3.4

Match each Bedrock routing option with what it does.

Log in to try this activity Interactive activities are free with an account.

Reducing cost

The pricing model is only one lever on cost. The others are the size of the model and the number of tokens processed: a smaller model that meets the quality bar, shorter prompts, a cap on output tokens, prompt caching for repeated context, distillation for high-volume tasks and RAG rather than fine-tuning to add knowledge. The lesson Reducing Cost and Latency on Amazon Bedrock explains each of these features and when to use it.

Worked example

Choosing a pricing option for three workloads

A company runs three generative AI workloads on Bedrock and picks a pricing option for each:

WorkloadPatternOptionWhy
Internal chat assistantBusy in office hours, quiet at night, unpredictableOn-demandPay only for tokens used; no idle cost
Summarise 2 million archived documentsOne-off, no deadlineBatch inferenceAbout half the on-demand price; results arrive later
Customer-facing assistant on a fine-tuned modelSteady, high volume all dayProvisioned ThroughputGuaranteed capacity; needed to serve some custom models

The chat assistant also uses a long system prompt on every call. Turning on prompt caching bills that repeated context at a lower rate, and switching from a large model to a smaller one that tests show is good enough cuts the per-token price several times over. Model choice and token count are the two biggest levers on cost.

Check yourself

How is on-demand Amazon Bedrock usage charged?

Show answer

Per token, with input and output tokens priced separately, so longer prompts and answers cost more.

Exam Tips

Remember for the exam

  • Variable or unpredictable traffic suits on-demand pricing (pay per token).
  • Large offline jobs at lower cost suit batch inference.
  • Guaranteed, steady high throughput, or hosting a custom model, calls for Provisioned Throughput.
  • When prompts repeat a long context, use prompt caching.
  • Cost grows with the number of input and output tokens and with model size.
  • To get a cheaper model with similar quality for one task, use distillation.