Model upgrades, deprecations and regressions
The model under your feature has a retirement date you did not choose, so you keep the evals, the way back and the calendar that turn a notice into a plan: read what the old model did for free, fix it in the right layer and cut over with a reserve
Esohe's candidate model fails 19 of 240 cases, against 14 for the current model. Ten of the cases that now fail passed before, and all ten are sender-ID questions for Kenya and South Africa. She has 60 days. What is the most useful first move?
A model on a hosted API is a dependency with a retirement date, set by someone else. The previous chapters cover the parts you control: the eval set, the prompt as code, the monitor, the cost budget. This chapter covers the day the dependency moves. It is a lead’s chapter because the decisions reach past one feature. They decide how much of the quarter the migration takes, what support operations hand to people for a month and what the company tells its customers.
The technique belongs to the course. Choosing a model covers the axes and the habit of re-evaluating, evals in CI covers noise and the gate, and prompt management covers bundles, rollout and rollback. This chapter is what you answer for: the plan, the reading of the failures, the way back and the people who must hear about it.
The figures extend the earlier Wrenpost chapters. The assistant handles about 3,000 conversations a month (700 a week). The 240 cases are the 90-case regression set from the prompts chapter, the 24 attack cases from the abuse-case chapter, and 126 cases added since from the weekly read (90 + 24 + 126 = 240). The abuse chapter runs its attack cases five times; here every case runs three times, so one gate covers the whole set. All of it is illustrative. The dispatcher still refuses a resend unless the sender ID is approved, so none of the failures below can send a wrong SMS. They are wrong answers, and nothing worse.
The model: you own readiness, the vendor owns the date
You cannot move the retirement date, so the only variable you own is how ready you are when the notice arrives. Readiness is not a plan for one candidate. It is four things that exist before anyone is worried.
- An eval set you can rerun in an afternoon, with a noise floor already measured. Without it the first week of the notice is spent building the instrument.
- A model identifier in one place. At Wrenpost it is a line in the release manifest, as the prompts chapter describes. If the string is copied into three services and a notebook, the migration starts with a search.
- A no-model route. The scoping chapter asks for the result that returns a feature to its no-model version. For the support assistant that is the human queue. It is also the only rollback that still exists after the old model is gone.
- A calendar entry that nobody can miss. The vendor emails customers with active deployments, so the account’s contact address should be a team mailbox, not the inbox of whoever created the key.
Anthropic’s page for the Claude API states its policy plainly, and Wrenpost’s assistant runs on it.
The page says Anthropic notifies customers with active deployments of upcoming retirements, “providing at least 60 days’ notice before model retirement for publicly released models”. It names four states: active, legacy, deprecated (still working, with a replacement and a retirement date) and retired, where requests fail. Its dates apply to Anthropic-operated platforms, and partner-operated platforms such as Amazon Bedrock set their own schedules. It tells you to test replacements well before the date and to contact support for migration help. It describes no process for extending a date.as of 2026-11Read that as a floor and not a promise about your vendor. Other vendors have other notice periods, and on a partner cloud the schedule may differ from the vendor’s own. Sixty days is enough only if the work is mostly done by the day the notice arrives.
What changes when the model changes
A new model does not differ in one way. Check each thing in the table, because the failures you will find in the eval set are the ones you thought of.
| What can move | Example at Wrenpost | How you find out |
|---|---|---|
| Behaviour on your cases | The old model hedged about sender-ID timelines; the candidate states a number | The paired run, then reading the flips |
| Request parameters | A parameter your code has always sent is rejected or ignored | A test call with your real request, and the vendor’s migration guide |
| Token counts | The 6,000-token handbook counts differently, so cost and context room move | Count the handbook and a typical conversation with the candidate |
| The cache | The cached prefix of rules and handbook starts cold on the new model | Watch the hit rate for the first day of rollout |
| Latency | Time to first word and total time per reply | Measure the median and the slow tail on the set |
| Tool use | Which tool, how often, with what arguments | The action cases against the stub of resend_message |
| The grader | The judge that scores reply wording is itself on a retiring model | Recalibrate it against human labels before trusting any number |
Two rows deserve a longer look. On parameters, the same page lists settings whose handling changed in a newer API version.
The page liststemperature, top_p and top_k as removed in API version 2026-10-21, where a request that sets them returns a 400 error, and says that earlier API versions can return an error on newer models when they are set to a non-default value. Read the migration guide for your candidate before assuming your request carries over.as of 2026-11
A request your code has sent for a year can fail in staging on the first call. It is the cheapest failure on this list to find and the most embarrassing to find in production. On the cache, the prompt cache prefix lesson shows why a prefix match is exact. Vendor documentation for caching lists details per model, so plan for a cold start and verify, instead of assuming a warm one.
On the grader, the vendor’s evaluation guidance says that it is generally best practice to grade with a different model from the one that generated the output. If your judge shares a model with your feature, a retirement notice may have landed twice. The judge’s agreement with your human labels is a number you measured once, and it is the first thing a new judge model must reproduce.
Read the failures before you pick a lever
The first run gives you two columns. Run each of the 240 cases three times, count a pass when two of three pass, and run the current model against itself first for the noise floor. At Wrenpost that floor is 3 flips.
| Current model | Candidate | |
|---|---|---|
| Cases passed | 226 of 240 (94.2%) | 221 of 240 (92.1%) |
| Cases failed | 14 | 19 (7.9%) |
The totals are close. The flips are not. Of the 240 cases, 216 pass on both, 9 fail on both, 5 are fixed by the candidate and 10 are broken. Ten flips against a floor of 3, all in one subject, is a cluster. The prompts chapter gives the reading order, and the reading is the same here: flips before totals, clusters before cases, a sentence you can test before a fix.
| Cluster | Candidate fails | Broken (passed before) | What the old model did | Lever |
|---|---|---|---|---|
| Kenya sender IDs | 8 of 36 | 6 | Said registration “depends on the carrier” and told the customer to wait | Context, then a rule |
| South Africa sender IDs | 7 of 30 | 4 | Same hedge, and did not repeat the registrar’s free-text note | Context, then a rule |
| Developer questions with JSON | 2 | 0 | Failed these already (5 failures before, 3 fixed by the candidate) | Rule |
| Promises about refunds | 2 | 0 | Failed these already (3 before, 1 fixed) | Output check in code |
The mechanism for the first two rows is the old model’s habit of hedging. The handbook has a 140-token paragraph on sender IDs that says registration depends on the carrier and gives no timelines. The old model filled the gap by saying it could not promise a date. The candidate fills it by giving one, with confidence. Nothing in the rules or the handbook ever told either model what to say. The old model had been doing a job nobody wrote down, the same shape as rule 9 in the prompts chapter.
Sort every failure into one of four causes before you spend any days.
- Missing knowledge. The model does not have the fact. The fix is context: a handbook page per country, written by the people who know. That is Kanyin’s and Adhiambo’s work, and it cannot be done by an engineer from the transcript.
- Wording. The rule says something the candidate reads differently. The fix is a rule edit through the gate, with two cases.
- A duty that belongs in code. If a wrong answer costs money or a promise, as the refund cases do, check it in code and stop relying on either model to behave.
- A real capability gap. The candidate cannot do the task at any price you will pay. The fix is a different candidate, and you will know it by failures that look scattered and survive every edit.
Most migrations are mostly the first two. A capability gap is rarer than the fear of it, and it is the cause that justifies asking for a second candidate.
Four moves, and what each costs
When the candidate is not good enough on day 10, four moves are open. They are not exclusive, and each has a price you can write down.
Migrate and patch. Fix the handbook and rules, rerun, ship when the slices pass. It costs the days to write, label and gate the country pages. It is the right default when the failures are knowledge and wording and there is slack. It fails when the patch is not ready on the day you must cut over, because you then ship known failures or miss the date.
Migrate and route the failing intents to people. The assistant keeps everything it does well and hands one narrow class of conversation to a person with the record attached, while the patch is built behind it. At Wrenpost, sender-ID conversations are about 11% of traffic, or 330 a month, and Kenya and South Africa are about 45% of those, so about 150 a month. At 8 minutes each that is 20 hours of agent time a month (illustrative), spread across 12 support staff. It is the right move when the failing slice is narrow, a wrong answer lands on customers and the patch cannot be gated in time. The route must live in code and key on the account’s country field, not on the model’s judgement of the topic, or it fails in the same way as the feature.
Try a second candidate. Run the whole set on another model. It costs about a week of Esohe’s time and Vaughn’s, and it finds out whether the failure follows the model. Do it when the failures are scattered or the cost and latency are wrong. If the failures sit in one place and are knowledge, a second candidate will probably fail in a different place for the same reason.
Ask for an extension. It costs an email, and the vendor’s page describes no process for it. Ask anyway if you have a real reason, and write the plan as if the answer is no, because the day it arrives is the day you learn whether your plan worked.
Cutover, and the way back that changes
Do not switch every conversation at once. Before the cutover, run the candidate in shadow on a sample of live inputs, without letting it act, and compare against the current model on the judge and the cost. Then roll out in stages, for example 5%, 25% and 100% by account, with the monitor from the monitoring chapter watching the judge score, resends per 1,000 conversations, handoff rate and the cache hit rate. Write the stop condition before the first stage, as a number.
The rollback has two phases, and the plan must name both.
- Before the retirement date, rollback is a configuration change. The manifest still names the old model, the old release still loads, and flipping back takes minutes. Keep this release loadable until the day after retirement.
- After the retirement date, requests to the old model fail. The rollback is no longer another model. It is the no-model route: the human queue. A migration plan that lists “revert to the old model” as its rollback after the retirement date has no rollback.
That is why the routing from the last section matters beyond this migration. The queue, the handoff with the record attached and the people who can answer are the part of the system that still works when the model does not. Practise it before you need it.
Leave a reserve. A rule of thumb: finish the cutover by about three quarters of the way through the notice, which at Wrenpost is day 45, and plan nothing for days 46 to 60 but fixes. A migration that runs to the last week has no room for the surprise, and surprises are the ordinary case.
The programme view
A migration is a small programme with owners, dates and risks, and the people it touches are not all engineers. Support operations (Adhiambo) must know which intents move to staff and for how long. The PM (Akanni) must know that the pass bar is unchanged and that the route is temporary. Finance needs the new cost per conversation. Security needs to know if any tool or its description changed. A one-page plan with a date for each is the artefact. How a TPM runs the same work as a cross-team programme is in the TPM track’s chapter on AI programmes. How a PM reads a pass rate and decides what to promise is in AI products. The testing AI features chapter covers the test design behind the set.
Where practitioners disagree
Pin or follow the newest. Pinning gives stability and a retirement date. Following gives improvements and a surprise. Many teams pin in production and run the newest model in a shadow monitor, so a move is measured before the notice. The philosophies chapter prices this at about three hours a quarter for a rerun on a second model.
One prompt for every model or one per model. A single prompt keeps the work small and tends to carry the old model’s habits. A prompt per model fits each but doubles the upkeep. The authors of the O’Reilly “Year of Building with LLMs” essays warn that a prompt that works on one model can fail on another, which is the argument for a set you can rerun, whichever you choose.
Day to day
- Monthly, 15 minutes. Read the vendor’s deprecation page for every model you use, including the judge’s, and write the earliest retirement date next to each in the team calendar. Check that the notice address is a team mailbox.
- Quarterly, about three hours. Rerun the set on the newest model in shadow, read the flips, and keep a standing note of which clusters appear. A cluster that appears every quarter is a gap in your handbook, and it is cheaper to fix when nothing is retiring.
- On a notice, day 0 to 2. Record the notice in one page: model, date, replacement named by the vendor, who owns the work. Export usage by key and model from the vendor console, as the page suggests, to find every place the old model is still called. Tell support operations and the PM the same day.
- Days 3 to 10. The candidate run, the noise floor, the flips table, cost and latency. Decide on one of the four moves by day 10, in writing.
- Days 11 to 30. The fixes, each a change-log entry with a run. New cases first. Kanyin and Adhiambo’s team write the country pages; Esohe gates them.
- Days 31 to 45. Shadow, then staged rollout, with stop conditions as numbers. Routing for the failing intents goes live before the first stage.
- Days 46 to 60. Reserve. Remove the old identifier from every config, confirm the usage export shows no calls to it, and lift each route when its slice passes.
- After the date. Write a short review: what the notice cost in days, what the old model was doing unwritten, and which new cases were added. Add the lessons to the handbook and the set.
When it breaks. A stage fails its stop condition. Roll back to the old model by configuration if the date allows, and if it does not, route the failing intent to the queue and keep the rest on the candidate.
There is one model call and one engineer. Keep the identifier in a single config line, keep 50 to 100 cases in a spreadsheet you can rerun in an afternoon, and read the vendor’s page when you read your own invoice. The plan is a page: the notice date, the failures and the fix. The no-model route can be the founder’s inbox. Do not build shadow infrastructure. Run the candidate on last month’s real conversations, read every flip and ship to everyone on one day with a week in hand.
Several features share a vendor, and each has its own identifier, prompt and owner, so one notice becomes five plans. Keep a list of every model in use, its feature and its retirement date, and give it one owner. Add shadow runs and staged rollout, and put the plan on one page the support lead and PM read. The risk is that each team migrates alone, finds the same gap in a shared handbook and fixes it five different ways.
A model change passes a model-risk review, a change board and procurement, and the 60 days can be used up before the work starts. Agree the approvals in advance: which changes need a full review and which need only evidence from the set. Keep a register of models, versions, owners and dates, with vendors’ different schedules and partner-cloud dates side by side. Hold a rehearsal each year of a forced migration, with the no-model route included. The eval report is what the review board wants to read.
Template
# Migration plan: <feature>, <old model> to <candidate> · <date> · owner <name>
## The clock
Notice received: day 0 · Retirement: day <n> · Working days left: <n>
Source: <vendor page, date checked> · Other models on the same list: <judge, other features>
## What depends on the model
Identifier lives in: <places> · Parameters sent: <list> · Cache prefix: <size>
Grader model: <name> · Cost per conversation: now <x>, candidate <y>
## Candidate results (<n> cases, <k> runs each, pass = <m> of <k>)
Candidate release: <name, e.g. r5-c1> · What changed: <model line only, or more>
Noise floor (old against itself): <n> flips
Fixed <n> · Broken <n> · Both pass <n> · Both fail <n>
Pass rate: old <x>% · candidate <y>%
## Failure clusters
| Cluster | Candidate fails | Broken | What the old model did unwritten | Cause | Lever | Owner |
|---|---|---|---|---|---|---|
## Decision
Move chosen: <patch / route / second candidate / extension> because <reason>.
Not chosen: <each, with its cost and when it would be right>
Routing (if any): keyed on <code field> · volume <n a month> · people's time <hours> · lifted when <result>
## Schedule
| Days | Work | Output | Owner |
|---|---|---|---|
Cutover complete by day <n> · Reserve: days <n> to <n>
## Rollout and stop conditions
Stages: <5% / 25% / 100%> · Watched: <judge score, handoffs, cache hit rate, cost>
Stop if: <numbers>
## Rollback
Before retirement: <how, how long it takes, how long the old release stays loadable>
After retirement: <the no-model route, who staffs it, how it is tested>
## Who is told what, and when WORKED EXAMPLE
Wrenpost is a fictional messaging API: about 180 staff, 55 engineers, about 2,400 business customers. Esohe owns the support assistant, which handles about 3,000 conversations a month (illustrative). Vaughn owns the model line in the manifest; Kanyin handles South African accounts and labels cases. The candidate is release r5-c1, named as the prompts chapter names candidates: the model line moves, and RULES v12 and HANDBOOK 2026-10 do not.
The clock. Notice at day 0, retirement at day 60, about 42 working days. Source: the vendor’s model deprecations page, checked this month. The judge model is a different model and not on the notice. Results. 240 cases, three runs each, pass at two of three. Noise floor 3 flips. Fixed 5, broken 10, both pass 216, both fail 9 (5 + 10 + 216 + 9 = 240). Old 226 of 240, 94.2%; candidate 221, 92.1%.
| Cluster | Candidate fails | Broken | Cause | Lever | Owner |
|---|---|---|---|---|---|
| Kenya sender IDs | 8 of 36 | 6 | Knowledge: handbook gives no timelines; old model hedged, candidate invents one | Handbook page, then a rule | Kanyin, Adhiambo’s team |
| South Africa sender IDs | 7 of 30 | 4 | Knowledge: same, plus the registrar’s note repeated as a promise | Handbook page, then a rule | Kanyin |
| Developer JSON | 2 | 0 | Wording: already weak | Rule edit | Esohe |
| Refund promises | 2 | 0 | Duty for code | Output check | Vaughn |
Decision. Migrate and route. Sender-ID chats for Kenyan and South African accounts, about 150 a month, go to staff with the record attached, about 20 hours a month. Patch-only would need two gated country pages by day 40, and the labels will not be ready. A second candidate costs about a week and would probably fail in the same gap. An extension is requested and not relied on. The route keys on the account’s country in code and lifts per country when the slice matches the old model: Kenya at least 34 of 36, South Africa at least 27 of 30. The Kenya page is dated for review on 1 March 2027 (illustrative), when the direct carrier connection is due and registration steps and timelines may change; until then it states only what the carrier has confirmed.
Schedule. Days 0 to 2 notice and usage export; 3 to 10 run and decision; 11 to 30 country pages, rules, refund check; 31 to 45 shadow and 5%, 25%, 100%; 46 to 60 reserve. Rollback. Until retirement on day 60, flip the manifest back to the old model; the release stays loadable to day 61. After that, the queue takes sender-ID chats, tested in a drill on day 40. Stop if the judge score falls 3 points below the old model’s 7-day figure or handoffs exceed 20% of conversations.
Now you
You are Vaughn, the platform engineer at Wrenpost. While the assistant’s own migration is in progress, a second notice arrives: the model that grades the assistant’s reply-wording cases, the judge, retires in 45 days. The judge scores 80 of the 240 cases: tone, promises, and answers to developers who paste curl and JSON. Kanyin has labelled all 80 by hand. The current judge agrees with her on 74 of 80 (92.5%). The candidate judge agrees on 68 of 80 (85.0%). Twelve of the 80 are promise cases, where Kanyin marks five of them as failures, and the candidate judge passes all five. The release gate currently asks for 95% on the judge-scored cases, and the baseline scores in the change log were all produced by the old judge. The assistant’s own migration still has 38 days to run. Write the plan for the judge: the clock, the decision, the schedule with a reserve, what happens to the stored baselines and the gate, and a rollback that works after day 45.
Self-check
The model under Wrenpost's support assistant retires in 60 days. The candidate fails 19 of 240 eval cases (7.9%), and 15 of the 19 are Kenyan and South African sender-ID cases where it states a registration timeline that no handbook page gives; the current model hedged instead. The dispatcher already blocks any resend to an unapproved sender ID, so no wrong SMS can go out. Sender-ID chats for those two countries are about 150 a month. Kanyin and Adhiambo's team can write the country pages, but labelling them will take until about day 35. What does Esohe do?
- DOC Model deprecations Anthropic
States the notice commitment, the four lifecycle states, which platforms the dates cover and the parameters removed in a newer API version. Read it for your own provider's equivalent before the first notice arrives.
- DOC Migration guides Anthropic
Index of the vendor's per-model migration guides. Use it for the request and behaviour differences your candidate carries, which no eval set will list for you.
- DOC Prompt caching Anthropic
Says cache hits need identical prompt segments and lists per-model details such as minimum lengths and pricing. It is the reason to plan for a cold cache and a cost check on the candidate.
- DOC Define success criteria and build evaluations Anthropic
Task-specific, automatable evals, and the advice to grade with a different model from the one being graded. Use it when you check whether your judge shares the retiring model.
- POST What We Learned from a Year of Building with LLMs (Part II) Eugene Yan, Bryan Bischof, Charles Frye, Hamel Husain, Jason Liu and Shreya Shankar, 2024
The operations half of six practitioners' lessons, with a discussion of versioning models and moving between versions, and the point that a prompt good on one model can fail on another.
All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.