Skip to content
context Tools and apps

Amazon Bedrock launches a tool for automatic prompt optimization and migration between models

only one source so far

Amazon Bedrock introduced Advanced Prompt Optimization – a tool that automatically optimizes prompts for up to 5 models at once and compares quality, latency (TTFT) and price to simplify migration to new models.

Amazon Bedrock introduced Advanced Prompt Optimization, a tool intended to simplify two recurring tasks in generative AI application development: migrating prompts to a new model and optimizing prompts for the existing model. According to AWS, customers typically spend days to weeks on these tasks, manually rewriting prompts, running test cases and comparing results, separately for each prompt and each model under consideration.

According to the description, the tool uses a reinforcement learning-style feedback loop without changing model weights and is model-agnostic – up to five models available on Amazon Bedrock can be specified in a single task. For each model, the system returns an optimized prompt and a direct comparison of quality, latency (measured as TTFT, the time to the first response token) and costs, allowing the user to base their choice of both model and prompt on concrete numbers.

According to the article, quality evaluation can be configured in three ways: using a custom AWS Lambda function with a specific metric (accuracy, F1, ROUGE, etc.), using the LLM-as-a-Judge method with a custom evaluation template, or using up to five natural-language criteria (called steering criteria) for things such as brand tone or output format. If the user does not specify a metric, a default combination of accuracy, response completeness and writing style is used. According to the article, the tool also supports multimodal inputs – images in PNG, JPG, JPEG, GIF, WebP formats and PDF files uploaded through Amazon S3 – for tasks such as document analysis or visual question answering. It is operated through the Amazon Bedrock console, and input data is provided in JSONL format. Details of the technical documentation and the complete procedure are not available in the source.

What changed

Why it matters

For teams running production applications built on large language models, the tool addresses a specific pain point: deciding whether to switch to a newer, faster or cheaper model has so far required manually rewriting and repeatedly testing prompts for each prompt–model combination. An automated comparison of quality, response speed and costs across up to five models from a single task may shorten this process from weeks to hours and reduce the risk of an unnoticed decline in output quality during migration.

Two audiences, two different impacts

What this means

01

For individuals

A developer tuning prompts for applications built on Amazon Bedrock can now have optimization and model comparison performed automatically instead of going through a manual cycle of rewriting and testing, saving time with every prompt adjustment or model change under consideration.

What to do Developers working with Amazon Bedrock can try the tool on their own prompt, upload input data in JSONL format and choose an evaluation method based on the type of task.
More practical updates →
02

For a business

Companies running generative AI applications on Amazon Bedrock gain a tool that shortens the process of deciding whether to migrate to a new model – instead of weeks of manually rewriting and testing prompts, they get an automated comparison of quality, speed and costs across up to five models from a single task.

Development
What to decide If a company runs applications on the Amazon Bedrock platform, it can consider trying Advanced Prompt Optimization when planning a migration to a new model.
More business impacts →
Amazon Bedrock Bedrock LLM model selection prompt optimization

Check the original

Event sources

only one source so far · 1 publisher, 0 independent. We count feeds from the same owner only once.

1
AWS Machine Learning Blog primary source · first detected Migrate your prompts to new models and optimize them on Amazon Bedrock