Urgent.News

What's breaking now, across thousands of outlets.

AI

Four Amazon Bedrock inference choices that affect cost

Your Amazon Bedrock inference bill can keep climbing even after you tune prompts and application logic. Four request-level choices (cache duration, service tier, reasoning effort, and maxTokens) change how many tokens the service processes and the rate applied. We show how we tested each and how to verify the effect.

Amazon Bedrock inference costs can be influenced by various request-level choices, including cache duration, service tier, reasoning effort, and maxTokens. These factors can affect the number of tokens processed and the rate applied to them, without changing the model or prompt. The guide provides information on testing these options and verifying their impact through response metadata, logs, and billing data.

To explore these settings, users can refer to the Amazon Bedrock Samples notebooks and GitHub repositories for sample codes that set specific model IDs and inference parameters. By adjusting the model ID and inference parameters, users can optimize their Amazon Bedrock inference costs according to their workload and desired performance.

Brief written by urgent.news from AWS Machine Learning's own syndicated text. Machine-written — may contain errors; check the original before relying on it.

This story

This is one outlet's version. Read the fullest account.

Read the original at aws.amazon.com →

More in AI

More from Thursday 12 November →