Consolidation fails when it is run as a lift-and-shift: point the old prompts at the new model and hope. It succeeds when it is run as a migration with evaluation gates, shadow traffic and a retirement plan. This playbook is the sequence that survives contact with production.
Step 1: Inventory honestly
For every endpoint in production, record: owning team, monthly tokens, surfaces served, evaluation coverage, and last change date. The surprises are usually in the last two columns — models with no evaluation and no recent change are the easiest wins and the least understood.
| Field | Why it matters |
|---|---|
| Monthly tokens | Cost weight in the decision |
| Surfaces | Blast radius of migration |
| Evaluation coverage | Whether you can prove safety |
| Last change | Staleness and prompt debt |
Step 2: Pick the target set
Choose two to four models to keep, based on traffic coverage and capability, not fashion. A common shape: one high-quality general model, one fast low-cost model, one long-context model. Everything else is a candidate for retirement or isolation as a declared specialist.
Step 3: Build the migration harness
- Shadow traffic. Send a copy of live requests to the target model without serving its output. Log responses for scoring.
- Prompt translation. Port the old template faithfully first; optimize only after the baseline passes.
- Evaluation gates. Per-surface thresholds on conformance, groundedness and latency. No surface moves on a global average.
- Rollback switch. A per-surface flag that returns traffic to the old endpoint within minutes.
Key takeaway Run the migration per surface, not per model. A surface is the unit that either works or does not.
Step 4: Migrate in waves
- Low-traffic, high-evaluation-coverage surface first. It proves the harness.
- Then the highest-traffic surface, with extended shadow time.
- Long-context and reasoning-heavy surfaces last; they need their own strata.
- Keep each wave at least a week before the next, so retry and review rates settle.
Step 5: Fix the prompt, not the model
Most migration regressions are prompt gaps: instructions tuned to the old model’s quirks, schemas that relied on its format habits, examples that overfit. Expect to spend more time on prompts than on infrastructure. That is the work, and it compounds — the consolidated prompt is better than either original.
Step 6: Retire and reinvest
Retirement is the point. Decommission the endpoint, delete its dashboards, archive its evaluation set, and reassign the on-call knowledge. Then reinvest the saved capacity in serving depth: better batching, tuned quantization, phase-appropriate hardware. This is where the system-level payoff is realized.
Failure modes to expect
- Global averages hiding a surface regression. Use per-surface gates.
- Shadow traffic that is not representative. Sample by surface and context length, not uniformly.
- Ownership vacuum. Assign each surviving model a named owner before retirement.
- Premature optimization. Do not tune the new model while proving equivalence.
What success looks like
Six months after a good consolidation, the team can state its evaluation status per surface from memory, the cost per accepted answer has fallen, and the on-call rotation deals with system issues rather than model mysteries. The endpoint count is lower, but that is a symptom, not the goal.
FAQ
How long does a consolidation take?
For a mid-sized product, six to twelve weeks of part-time effort. Attempts to compress it below a month usually skip shadow traffic and pay for it later.
Should we consolidate fine-tunes too?
Evaluate each against the general model on its own task set. Many fine-tunes can be replaced by better prompting; the rest deserve their bundle.
What if a team refuses to migrate?
Make the operating cost visible. Consolidation decisions are easier when the inventory includes each endpoint’s full bundle, not just its tokens.