AWS Certified Solutions Architect – Professional
Bedrock on-demand vs Provisioned Throughput vs batch: SAP-C03
The Amazon Bedrock User Guide describes on-demand inference with Reserved, Priority, Standard and Flex service tiers, Provisioned Throughput that is billed hourly for a fixed level of throughput, and batch inference that runs asynchronously from Amazon S3. Prompt caching lowers input token cost for long repeated prompt prefixes, on on-demand inference only.
On-demand inference and its service tiers
A request goes to the Standard tier when it has no service_tier parameter. Setting the parameter to priority buys the fastest response times for a price premium. Priority needs no reservation, and its requests are prioritized over Standard and Flex requests.
Setting service_tier to flex gives a pricing discount to workloads that can accept longer processing times. AWS names model evaluations, content summarization and agentic workflows. The tier is an optional parameter on the same runtime API call, so nothing else in the request changes. The on-demand quota for a model is shared across the priority, default and flex tiers.
The Reserved tier is different. You reserve input and output tokens-per-minute capacity for 1 month or 3 months, pay a fixed price per 1K tokens-per-minute, and are billed monthly. The minimums are 100,000 input and 10,000 output tokens per minute. Demand above the reservation overflows to the Standard tier. Access is arranged through the AWS account team, and not every model supports every tier.
Provisioned Throughput
Provisioned Throughput provisions a higher level of throughput for one model at a fixed cost. You buy model units. Each unit sets how many input tokens the model can process and how many output tokens it can generate per minute.
Billing is hourly and continues until you delete the Provisioned Throughput. The hourly price depends on the model, the number of model units and the commitment. With no commitment you can delete it at any time. With a 1-month or 6-month commitment you cannot delete it until the term ends, and the longer term has the lower hourly price.
Buying the capacity is not enough to use it. The application sends InvokeModel, Converse or their streaming versions with the provisioned model ARN as the modelId. Batch inference is not supported for provisioned models.
Batch inference and prompt caching
Batch inference takes input files from an S3 bucket, generates the responses asynchronously and writes them to S3. Records use either the InvokeModel or the Converse format. It has its own pricing on the Amazon Bedrock pricing page, and Amazon EventBridge can notify you when a job changes state.
A batch job that uses the Converse invocation type does not support tool calling. Records that include toolConfig fail with a 400 error. To send tool definitions in a batch, create the job with the InvokeModel invocation type and use the model's native request format.
Prompt caching reduces latency and input token cost when a long context is reused across requests. With explicit caching you place cache checkpoints, and everything before a checkpoint must stay identical between requests. Keep static content at the start of the prompt and changing content at the end. The minimum prefix is between 512 and 4,096 tokens, depending on the model, and many models keep an entry for 5 minutes, which resets on each cache hit.
Tokens written to the cache are billed at a cache-write rate that can be higher than the standard input rate. Tokens read from the cache are billed at the cache-read rate. The model still processes the rest of the prompt and generates a new response. Prompt caching works only with on-demand inference and is not supported by the batch inference API.
Where the exam catches people
- Believing the Priority tier needs capacity to be reserved: it is set per request with
service_tier. Only the Reserved tier involves a 1-month or 3-month reservation. - Believing a Provisioned Throughput stops costing money when no requests are sent: it is billed hourly until you delete it, and a commitment term cannot be deleted early.
- Believing a purchased Provisioned Throughput serves requests that name the base model: the request must specify the provisioned model ARN as
modelId. - Believing any Converse request can be moved to a batch job: Converse-type batch records that include
toolConfigfail with a 400 error. - Believing prompt caching also discounts batch jobs: it is supported only for on-demand inference.