Dashboard
0%
1
Curious builder0 XP earned · 300 to level 2
0 daysFinish a lesson to begin
Badge collection0 of 6 unlocked
51 small wins to finish your pathNext question →

Q40HardScenario

Your company wants to move a high-volume feature from a commercial LLM API to a self-hosted open model. Plan the migration.

30-second answerSay your answer out loud first, then reveal.

Phases

PhaseWorkExit criteria
1. Business caseVolume, cost model (GPU TCO at realistic utilisation incl. engineering), data/compliance driversClear savings or a strategic reason
2. Model selectionEval 2–4 open models on the golden set; consider fine-tuning or distillation from API outputs (check terms)Within agreed quality tolerance
3. PlatformInference cluster, gateway integration, observability, autoscaling, load testsSLOs met under 1.5x peak
4. ShadowMirror 10–100% of traffic; judge outputs side by sideQuality parity confirmed on real traffic
5. Canary5% → 25% → 50% → 100%, API fallback on errors/latencyStable SLOs, quality, cost
6. OperateOn-call, runbooks, upgrade process, capacity reviewsSmooth for 1–2 months before reducing API commitments

Risks and mitigations

  • Quality gaps on edge cases: route hard cases to the API (hybrid routing).
  • Underestimated ops cost: include on-call, GPU procurement, upgrades.
  • Utilisation: peaks may require API overflow rather than idle GPUs.
  • Model lifecycle: you now own upgrades and security patches.
Interview signal. Treating it as a business decision plus a careful, reversible engineering migration.

Every expert started right here.