You need to migrate a production feature from an expensive model to a cheaper one. How do you do it safely?
Quick-fire answer from the Awesome Generative AI Guide (MIT)
Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.
Model answer: the part to lead with
Treat it as a measured experiment, not a swap. First build or reuse an eval set that reflects real traffic and run both models through it to quantify the quality gap per case type, so you know where the cheaper model holds and where it breaks. Where it falls short, try to close the gap with prompt or context changes or by routing only the hard cases back to the expensive model, then shadow or A/B test on live traffic while watching quality, cost, and user signals. Roll out gradually behind a fast rollback, and keep monitoring because the cheaper model may fail differently on the tail. The savings only count if quality holds, so the eval and the staged rollout are the whole job.
Full worked answer
Treat it as a measured experiment, not a swap. First build or reuse an eval set that reflects real traffic and run both models through it to quantify the quality gap per case type, so you know where the cheaper model holds and where it breaks. Where it falls short, try to close the gap with prompt or context changes or by routing only the hard cases back to the expensive model, then shadow or A/B test on live traffic while watching quality, cost, and user signals. Roll out gradually behind a fast rollback, and keep monitoring because the cheaper model may fail differently on the tail. The savings only count if quality holds, so the eval and the staged rollout are the whole job.
Learn more: Evaluation topic
What a good answer covers
- Treat it as a measured experiment, not a swap
- First build or reuse an eval set that reflects real traffic and run both models through it to quantify…
- Where it falls short, try to close the gap with prompt or context changes or by routing only the hard…
- Roll out gradually behind a fast rollback, and keep monitoring because the cheaper model may fail…
- The savings only count if quality holds, so the eval and the staged rollout are the whole job
Key terms: Learn more
Quick-fire answer from the Awesome Generative AI Guide (MIT) · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep