Optimize for cost, latency, and accuracy
Boost accuracy and performance while controlling cost with tools to evaluate and optimize AI
Lower AI costs without trading off performance
Amazon Bedrock helps you lower costs while keeping the speed and accuracy you need. Smart routing sends each request to the model with the best price-performance. Bedrock Gateway gives every team a dollar budget, so spend stays on plan. Prompt caching cuts costs by up to 90% on repeated context, and distilled models cost up to 75% less. Choose on demand, batch or reserved pricing to fit each workload.
Improve performance. Reduce costs.
Use prompt caching to reduce costs up to 90% and latency up to 85% for supported models
Many foundation model (FM) use cases will reuse certain portions of prompts (prefixes) across API calls. With prompt caching, supported models will let you cache these repeated prompt prefixes between requests. This cache lets the model skip recomputation of matching prefixes.
- Improve performance for multiple use cases
- Cache the relevant portions of your prompt to save on input token costs
- Integrate with other Amazon Bedrock features to accelerate multi-step tasks or longer system prompts to help refine agent behavior without slowing your responses down
Accelerate prompt engineering for generative AI applications
Amazon Bedrock Prompt Management simplifies the creation, evaluation, versioning, and running of prompts to enable developers get the best responses from FMs for their use cases.
- Prompt Management lets you test different FMs, configurations, tools, and instructions
- Prompt optimization in Prompt Management automatically rewrites prompts to improve accuracy and provide more concise responses from FMs
- Test prompts with the latest FMs instantly without any deployment
- Quickly build generative AI applications and collaborate on prompt creation in Amazon SageMaker Unified Studio
Get the right model for every task with smart routing (preview)
Smart routing in Amazon Bedrock evaluates each request and sends it to the best-fit model. Complex tasks go to frontier models, and simpler ones go to lower-cost models, lowering inference costs by 40-50% in early results.
- Route every request automatically: Each choice factors in task complexity, model strengths and your cache state, so you get frontier quality where it counts and lower costs everywhere else.
- See the savings before you switch: Run smart routing in shadow mode on your live traffic to see what it would choose and what you would save.
- Start in minutes: Build your own router with the models you choose and swap one model ID in your code.
Distilled models in Amazon Bedrock are up to 500% faster and up to 75% less expensive than original models, with less than 2% accuracy loss for use cases like RAG
Use smaller, faster, more cost-effective models that deliver use case–specific accuracy—comparable to the most advanced models in Amazon Bedrock.
Fine tune a ‘student’ model with a ‘teacher’ model that has the accuracy you want.
- Maximize distilled model performance with proprietary data synthesis
- Reduce cost by bringing your production data. Model Distillation lets you provide prompts, and then uses them to generate synthetic responses and fine-tune the student models
- Boost function calling prediction accuracy for agents. Enable smaller models to predict function calling accurately to help deliver substantially faster response times and lower operational costs
Govern all AI requests in one place with Amazon Bedrock Gateway (preview)
Amazon Bedrock Gateway gives you one place to see who is using which models and what it costs. Connect the identity provider you already use, set access by team, and give every user and group a real budget.
- Know who made every request: Connect IAM, Okta or Microsoft Entra ID, and each request is tied to the application or person that sent it.
- Control model access: Choose which users and groups can use which models, and share one gateway across multiple AWS accounts so the same rules apply everywhere.
- Set budgets that hold: Give each user, group or AWS role a dollar budget. Requests stop before they reach a model once a budget is used up, and each response shows how much budget is left.
Did you find what you were looking for today?
Let us know so we can improve the quality of the content on our pages