productinterview.tools
MenuClose

Design a Router Between a Cheap and an Expensive Model

The interviewer asksYour assistant uses one expensive model for everything. Design a router that sends easy requests to a cheaper model without hurting quality.

AI Product EngineerAI Platform PMAI Infrastructure PM (secondary)CoreSystem design roundRepresentative10 min

On this page
  1. The 30-second version
  2. What it's really testing
  3. How to structure your answer
  4. The interview, played out
  5. The strong answer, distilled
  6. How it's scored
  7. How the answer changes by role
  8. Common mistakes
  9. More follow-ups to practise
  10. Go deeper
  11. Sources

The 30-second version

  1. Look at traffic: what share of requests are easy, and what makes them easy?
  2. Router: a small classifier (or rules) predicts difficulty; uncertain cases go to the strong model.
  3. Evaluate the router: how often hard requests go to the cheap model (the costly error).
  4. Compare answer quality per route against the strong model on the same requests.
  5. Estimate savings and monitor quality signals by route after launch.

Watch it played outSee the strong answerHow it's scored

What it's really testing

  • Routing design
  • Evaluating a router
  • Cost-quality trade-offs

How to structure your answer

  1. Understand traffic.
  2. Design the router.
  3. Evaluate it.
  4. Estimate savings and monitor.

The interview, played out

A written example interview, not a real candidate or company transcript.Strong moveMissed signalRevealed when asked
  1. Interviewer
    Your assistant uses one expensive model for everything. Design a router that sends easy requests to a cheaper model without hurting quality.
  2. Candidate
    What do requests look like? Is there an obvious easy group?
  3. Revealed when asked
    About 60% are short factual or formatting tasks; the rest need multi-step reasoning.
  4. Candidate
    Then a router: a small classifier reads each request and predicts whether the cheap model can handle it. If it's unsure, send it to the strong model; the expensive mistake is sending a hard request to the cheap one.
  5. Strong move
    Identifies which routing error matters more.
  6. Candidate
    To build it, label a few thousand past requests by whether the cheap model's answer was as good as the strong one's; that's the training and test data.
  7. Interviewer
    How do you know quality didn't drop?
  8. Candidate
    Two checks: router accuracy, especially hard requests sent cheap, and answer quality per route compared with the strong model on the same requests. After launch, watch user signals by route.
  9. Missed signal
    Should estimate the savings to justify the work.
  10. Candidate
    If 60% go cheap at a tenth of the price, cost falls by more than half.

The strong answer, distilled

  • Traffic: ~60% short, easy tasks.
  • Router: small classifier; unsure → strong model.
  • Data: past requests labelled by whether the cheap answer matched the strong one.
  • Evaluate: misroutes (hard → cheap), and answer quality per route.
  • Savings: 60% at a tenth of the price → over half the cost saved.
  • Monitor: user signals by route after launch.

This is one strong answer, not the only one.

How it's scored

Dimension Weak (2) Passable (3) Strong (5)
Traffic Assumed Asked Quantified with what makes requests easy
Design Rules guess Classifier Classifier with confidence threshold
Evaluation None Answer quality Router errors and quality per route
Business case None Cheaper Estimated savings

Round scorecard: FDE: AI system design round, filled in for the mock candidate

DimensionWeakPassableStrongThe mock candidate
RequirementsAssumes them.Asks about scale.Users, data, scale, latency, cost and risk, before drawing anything.Strong. Asked what traffic looks like and what "quality" means.
ArchitectureOne component.A reasonable flow.Full skeleton, then depth on the parts this system depends on.Strong. Classifier router with confidence threshold and escalation.
Quality and evalsNone.Mentions testing.Evals per component and end to end, and how they're built.Strong. Evaluated the router's misroutes as well as answers.
Failure and costIgnored.Mentions one.Fallbacks, guardrails, latency and cost levers, tied to requirements.Passable. Cost savings estimated only when asked.

How the answer changes by role

Role What to emphasise
AI Product Engineer Building and evaluating the router
AI Platform PMProduct Manager. Decides what a product should do, for whom, and why. Read the full explanation Offering routing to platform customers
AI Infrastructure PM Capacity and cost per model

Common mistakes

  • Not evaluating the router itself
  • Treating both routing errors as equal
  • No monitoring by route

More follow-ups to practise

  • "The cheap model gets an upgrade." Hint: re-label and re-tune the threshold.
  • "Latency matters more than cost." Hint: route by latency need too.

Go deeper

Sources

Representative question: written to match system design rounds for AI product roles, not a specific reported interview.