Inference, Serving & Production·Question 66 of 76Quick-fire

How do you decide which model to use for a given step (model routing)?

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

Match model capability to task difficulty and constraints: use the smallest, cheapest, fastest model that clears the quality bar for that step, and escalate to a stronger or reasoning model only for the hard cases. Implement this as a router (rules or a lightweight classifier) so the common, easy path stays cheap and only the tail pays for the big model. Validate the routing with an eval so you know the cheap model actually holds quality where you use it. Revisit the choice as models get cheaper and better.

Full worked answer

Match model capability to task difficulty and constraints: use the smallest, cheapest, fastest model that clears the quality bar for that step, and escalate to a stronger or reasoning model only for the hard cases. Implement this as a router (rules or a lightweight classifier) so the common, easy path stays cheap and only the tail pays for the big model. Validate the routing with an eval so you know the cheap model actually holds quality where you use it. Revisit the choice as models get cheaper and better.

Learn more: Production topic

What a good answer covers

  • Match model capability to task difficulty and constraints
  • Implement this as a router (rules or a lightweight classifier) so the common, easy path stays cheap and…
  • Validate the routing with an eval so you know the cheap model actually holds quality where you use it
  • Revisit the choice as models get cheaper and better

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