Migrate your prompts to new models and optimize them on Amazon Bedrock
AWS•How-to••by Jesse Manders, Claudio Mazzoni and Francisco Fagas•AWS Artificial Intelligence Blog
Amazon Bedrock Advanced Prompt Optimization optimizes your prompts for up to 5 models at once and compares original versus optimized performance across quality, latency, and cost. Migrate to a new model or improve your current one in minutes instead of weeks.
Bedrock Advanced Prompt Optimization rewrites prompts for up to 5 models in one job and reports quality, time to first token and estimated cost for original versus optimized prompts.
Who it is for
Teams running generative AI apps on Bedrock that plan to migrate prompts to a new model or improve prompts on their current model.
Key points
Three evaluation modes: Lambda metric, LLM-as-a-Judge, or steering criteria, chosen per prompt template
Limits per job: 10 templates, 100 samples per template, 5 models, 5 steering criteria per template
Optimized prompts in the sample runs used more total tokens; the authors' runs used 5 samples each and are illustrative only
Cost estimates use on-demand pricing; LLM-as-a-Judge offers 3 judge models
AI:Shows how partner Loka built a dealership voice agent on Nova 2 Sonic (speech-to-speech) with prompt iteration, Bedrock Prompt Management, LiveKit transport and ECS-hosted workers, replacing a speech-to-text/LLM/text-to-speech pipeline.
AI:Popsa replaced its rule-based Title Suggestion graph with retrieval-based few-shot prompting on Claude 3 Haiku, then moved to Amazon Nova Lite and Pro models and ConverseStream for faster titles.
AI:Bedrock model distillation moves routing logic from Nova Premier into a smaller Nova Micro, which AWS says cuts inference cost by over 95% and latency by 50%.