Model upgrade day
For engineers
A vendor announces a new model and a retirement date. Read the notice, plan the dates, fix the call, run the evals, gate the release and tell users.
On a model upgrade day, the order of work is: read the notice, list the dates, fix the call, test old against new, gate the release, then tell users. Skipping a step is how a better model breaks a working feature.
The situation
Helpdesk Co. runs three AI features on one vendor's models: ticket triage, reply drafts and a weekly summary. On 18 November the vendor publishes a notice for its new small model. It says the alias vendor-small-latest will point to the new snapshot on 15 December, and that the old snapshot, vendor-small-2026-01-15, retires on 31 March 2027. (The vendor, its model ids and the dates are made up for this lesson. Real notices look like the pages in the references.)
Triage uses the alias. The weekly summary uses the pinned snapshot. Nobody on the team has read the notice yet.
Why it matters
A model change is a change to your product, even when you did not touch your code. Prompts, parsers and workarounds are tuned to one model's habits. A new model may be better on average and still worse on the tickets you care about most. Providers retire models on fixed dates, so a forced move is certain; only the date varies.
How the day goes
- Read the notice for facts. Separate what changed (a renamed field, a removed parameter, a new default, a date) from what is claimed ("better at following instructions"). Facts become tasks. Claims become tests. Check each capability claim for its condition: a beta flag, a plan, a region.
- Put the dates on the roadmap. Keep an inventory of every model id in use, which feature uses it, whether it is pinned or an alias, and when it retires. Here the alias moves first, on 15 December, so triage is the urgent one, even though the summary feature is the one that will stop working.
- Fix the API call. Compare your request to the migration guide. Here the notice renames
max_tokens, and dropstop_p. A call that still sends a removed parameter fails with an error; a parser that expects the old output format fails quietly, which is worse. - Run the side-by-side eval. Run the same golden test set on old and new, changing one thing at a time. Do not read only the average. Read the per-category results and the per-case diff, and check behaviour: length, refusals, format.
- Gate the release. Put the suite in CI. A small suite runs on every pull request, the full suite nightly and on every prompt or model change. The gate checks the overall rate, each category and the drop from a stored baseline.
- Roll out and tell users. Pin the new snapshot, move traffic in stages, keep the old snapshot as a rollback until it retires, and tell users what really changed.
Before and after
Before: the team changes the model line, edits the prompt "while we are at it", sees the average pass rate go from 91.2% to 92.0% and ships.
After: the team runs the model change alone, then the prompt change alone. The per-category table shows refunds falling from 96% to 80%. The newly failing cases show the new model answers refund questions with a short refusal. The team adds one line to the prompt, re-runs, and the refunds are back to 95%. Only then does traffic move.
A short configuration shows the pinned setup with a way back:
triage:
primary: vendor-small-2026-10-20
rollback: vendor-small-2026-01-15 # keep until 31 March 2027
prompt: prompts/triage-v7.txt
What goes wrong
- A silent format change. The new model stops wrapping JSON in a code fence, and the regex parser returns an empty result. No error, wrong tickets.
- The average hides a slice. One costly category fails while two large ones improve.
- Two changes in one run. A model and a prompt change together leave no way to find the cause.
- A fallback nobody tested. The second vendor takes over during an outage and answers worse than the first.
- A promise to users that the tests disprove. "Nothing will change" followed by shorter replies and more refusals.
The same day, with the same notice, can end in a calm switch or a bad week. The difference is whether the team treats it as a test-and-plan job instead of a one-line config change.
Steps
Read the notice for facts and claims
List every change in the notice that is a fact: renamed fields, removed parameters, new defaults, dates. Mark every other sentence as a claim to test. For each capability, write down its condition (beta, plan, region) and whether Helpdesk meets it.
Vendor notice, 18 November Changed
max_tokens is now max_output_tokens. top_p is no longer accepted. JSON replies are no longer fenced.
Dates
15 December 2026: the alias moves. 31 March 2027: the old snapshot retires.
Put the dates in the model inventory
Add every model id in use to the inventory with its feature, pinned or alias, retirement date and fallback. Sort by the first date that changes behaviour. Here that is the alias move on 15 December, not the retirement.
Update the request and the parser
Follow the migration guide: rename the output limit, remove the dropped parameter, and make the JSON parser accept a reply with or without a fence. Pin the new snapshot id and keep the old one as a rollback entry.
Run old and new side by side
Run the 300-ticket golden set on old and new, changing the model alone first and the prompt alone second. Read the per-category table and the newly failing cases, not only the average.
Check behaviour, not only the score
Compare reply length, refusal rate, format validity and latency. A higher benchmark score does not tell you that refusals rose from 1% to 4% on your tickets.
Gate the release in CI
Run a small smoke suite on every pull request and the full suite nightly and on prompt or model changes. Block on the overall rate, on each category, and on the drop from a stored baseline. Never pass a case because one of several retries passed.
Roll out in stages and tell users
Send a small share of tickets to the new snapshot, watch the same metrics, then widen. Keep the rollback until the old snapshot retires. Tell users what really changed, such as shorter drafts, and what to do if something looks worse.
Skills this scenario uses
Where to study
- Model deprecations (Claude docs) (opens in a new tab)DocsFree
Shows how a provider announces retirement dates and replacements, the format of a real notice.
- Claude migration guides (opens in a new tab)DocsFree
Per-model lists of renamed and removed parameters and behaviour changes to check when moving up.
- Models overview with training cutoffs (Claude docs) (opens in a new tab)DocsFree
Lists each model's alias beside its dated snapshot id, so you see the pinned and moving forms.
- Deprecations (OpenAI API) (opens in a new tab)DocsFree
Shutdown dates and recommended replacements for OpenAI models, to build an inventory from.
- Gemini API deprecations (opens in a new tab)DocsFree
Google's shutdown table, showing the same lifecycle on a third vendor.
- OpenRouter model fallbacks (opens in a new tab)DocsFree
How a gateway tries a list of models in order when the first fails.
- Develop test cases (Claude docs) (opens in a new tab)DocsFree
How to build a test set and grade outputs so a model or prompt change can be compared fairly.
- Promptfoo introduction (opens in a new tab)ToolFree
An open-source tool for running the same test cases across prompts and models, usable in CI.