AI · Playbook

The Model Migration Playbook: swapping models without breaking production.

Prices are halving every few months. Switching models is a production infrastructure change wearing the costume of a config edit. Here is the seven-step process — eval harness, shadow traffic, written rollback gates — plus the failure modes that bite, ranked.

N Noah · The Sharp Brief · September 22, 2026 · 9 min read

A frontier lab halves its prices and a message lands in your team channel: should we switch? Someone changes one string in a config file, the evals look fine, and it ships. Three weeks later support tickets are up 14% and nobody can say why, because the change that caused it was a one-line diff nobody flagged as risky.

Model migration is a production infrastructure change wearing the costume of a config edit. This playbook treats it as one. It assumes you have a live workload on a model, a cheaper or better option has appeared, and you want the saving without the outage.

Budget: two to three weeks of calendar time for a meaningful workload, most of it waiting for data rather than working. Rushing it is where the cost goes.

Step 0: Decide whether it is worth doing at all

Before anything else, compute the prize. Not the percentage — the dollars.

Pull 30 days of actual token usage for the workload from your provider dashboard. Multiply input and output tokens by both old and new rates. The gap is your annualised saving.

Now apply the test: if the annualised saving is less than three weeks of loaded engineering cost, do not migrate. A 50% cut on a workload spending $900 a month saves $5,400 a year and will cost you more than that to move safely. Put it on a list, migrate it opportunistically the next time you touch that code path, and move on.

Run this test per workload, not per organisation. Most companies have one or two workloads carrying 80% of token spend and a long tail of endpoints spending pennies. Migrate the head. Ignore the tail until it is free to move.

One exception: migrate a small workload anyway if it is a rehearsal for a large one on the same prompt architecture. Learning the failure modes on a $900 workload before touching a $90,000 one is cheap tuition.

Step 1: Build the eval before you touch the model

This is the step everyone skips and the reason most migrations fail silently. If your only test is “we tried ten prompts and they looked fine,” you do not have a migration plan. You have a coin flip with extra steps.

You need three layers, in this order:

Scoring matters more than case count. For structured outputs, assert on the schema and the values — exact match, field-by-field. For free text, use a rubric with a model-as-judge, but calibrate the judge against 20 human-labelled examples first and record its agreement rate. A judge you have not calibrated is a random number generator with good manners.

Sampling script sketch: pull 30 days of production requests, stratify by request type and input length, sample proportionally, then hand-label outcomes for the subset where you have ground truth (a user correction, a support ticket, a downstream conversion). Store it as versioned JSONL in the repo, not in a notebook on someone’s laptop.

Step 2: Run the baseline against the model you already have

Run the full eval against your current model first. This is not a formality.

Two things happen here, both valuable. You discover your current accuracy is lower than you assumed — almost always true, and worth knowing regardless. And you establish the number the new model has to beat, rather than the number you wish it had to beat.

Record the baseline with a commit hash, a date, and the exact model version string. Provider model aliases like latest silently move underneath you; pin versions in evals even if you use aliases in production.

Step 3: Run the candidate cold — no prompt changes

Swap only the model. Change nothing else. Resist every instinct to fix the prompt at the same time.

You are measuring one variable. If you tune the prompt and change the model together and the result improves, you have learned nothing about either, and you cannot roll back one without the other.

Expect one of four outcomes:

Step 4: Adapt the prompt, with a budget

Prompts are fitted to models. A prompt refined over eighteen months against one model has absorbed that model’s specific quirks — the phrasing that stopped it rambling, the example that fixed the date format, the all-caps instruction that stopped it apologising.

Give yourself a fixed budget: three iterations, one day. Beyond that, the honest conclusion is that the cheaper model is not suited to this task.

The three highest-yield adjustments, in order:

After each iteration, re-run the full eval including the regression set. Fixing one case while breaking three older ones is the classic prompt-tuning trap, and only the regression set catches it.

Step 5: Shadow the traffic

Evals tell you about the distribution you thought to sample. Shadow traffic tells you about the distribution you actually have.

Run both models on live requests in parallel for three to seven days. Serve the old model’s output to users. Log both. Compare offline.

Watch four things:

Step 6: Ramp with a gate at every step

Never flip 100%. Ramp 5% → 25% → 50% → 100%, holding at least 24 hours at each stage — 48 if your workload has a weekly cycle.

Define the rollback trigger before you start, in writing, with numbers. For example: roll back automatically if validation-failure rate rises above 1.5x baseline, if p95 latency exceeds the current SLA, or if the human-review override rate rises by more than 20% relative.

Keep the old model reachable by config for 30 days after full ramp. The cost of leaving a fallback path in place is approximately zero. The cost of not having one, at 2am on a Saturday, is not.

Step 7: Close the loop

Two weeks after full ramp, write down four things: realised cost delta versus projected, realised quality delta versus eval prediction, any incidents, and — most importantly — which eval cases predicted real problems and which did not.

That last item is how the eval suite improves. Add every production surprise to the golden set. The second migration should take half as long as the first, and the fifth should take a day.

Failure modes, ranked by how often they bite

The one-page version

  1. Compute the annualised saving. Under three weeks of engineering cost? Do not migrate.
  2. Build golden set, regression set, cost harness. Version them in the repo.
  3. Baseline the current model. Pin the version string.
  4. Run the candidate cold. One variable.
  5. Three prompt iterations maximum, then decide.
  6. Shadow live traffic 3–7 days. Read 50 disagreements by hand.
  7. Ramp 5/25/50/100 with written rollback triggers.
  8. Keep the fallback path for 30 days.
  9. Write the retro. Feed the surprises back into the golden set.

Prices are falling roughly every quarter now. The teams that win are not the ones that switch fastest — they are the ones that built the harness once and can now switch in a day, repeatedly, without anyone noticing.

Advertisement

Get the day, decoded — at 7 PM ET

The Sharp Brief: AI, money, business & performance in five sharp minutes. Free.

Free bonus: subscribe today and The 2026 AI Playbook lands with your welcome email.

★ Recommended by 5+ newsletters across AI, markets & business.