In this lesson, the provider’s notice gave the assistant’s answer model a retirement date and named a successor. You treated the upgrade as a tested change. You ran the evals several times on each model, read every case that got worse, adjusted the prompt, checked the request settings, and switched the register well before the date.
Key Points
- A notice starts the clock. After the retirement date, every call to the old model fails, so the assistant has to move before then.
- Swapping the id and running once isn’t an upgrade. With the successor swapped into the register, one eval run gave both models 22 of 24 on a twenty-four-case set, fourteen of them in the safety slice (hazards and emergencies). The successor missed one more safety case, but only on one run. A pass rate moves by itself from run to run, so one run can’t tell two models apart.
- Run the set several times on each model. Over five runs, the current model’s safety slice alone moved from 10 to 13 of 14. Overall, the current model passed 86.7% and the successor 92.5%. The safety slice was about the same, 84.3% and 87.1%, a gap inside that spread. Your numbers will differ.
- Read the cases that got worse. Case by case, five cases got better and two got worse, both hazard questions about the Valbrune ford: one the current model always passed, and one it already often missed. The successor gave the depth and the date of the warden’s 16 July report but left out its advice against crossing.
- Newer models follow the same prompt differently. The prompt tells the model not to decide for the hiker, and the successor reads that so literally that it holds back the wardens’ advice too. A safety case that fails clearly more often, or for a new reason, blocks the change, even when the slice holds steady.
- Adjust the prompt for the new model. Prompt version 4 adds one line.
- Check the provider’s migration notes and request settings. With a temperature set, the current model answered and the successor returned a 400 error. The eval runs sent none. If your app sends one, drop it before the next runs, so they test the request you’ll ship.
- Rerun, then switch, well before the date. Five more runs on the successor passed every case every time. That’s evidence for the switch, but not proof, since the new prompt line was written for these cases. Only then do prompt version 4 and the successor ship. The overall rate went from 86.7% to 100.0%, and the safety slice from 84.3% to 100.0%, on these twenty-four cases.
Each provider publishes its retirement dates. Both pages were checked on December 2, 2026:
-
OpenAI: The deprecations page lists each shutdown date with its notice date and a recommended replacement. Generally available models get at least six months’ notice, and previews can get less.
-
Anthropic: The model deprecations page gives each model’s earliest retirement date, with at least 60 days’ notice. After that date, a call to the retired model returns a 404 error.
Before the eval runs, read the provider’s migration notes and check the request’s settings against the new model. Keep two kinds of change apart:
-
A model-specific restriction applies to one model. OpenAI’s
gpt-6.2-solrejectstemperaturewith a 400, whilegpt-5.4-mini-2026-03-17accepts it. -
An API-version change applies to every model. Anthropic’s API version 2026-10-21 removes the sampling parameters,
temperatureandtop_p, for every model.
Then send the evals the same request the app sends.
Final Code
The line added to the prompt, saved as a new version, prompts/v4.txt:
prompts/v4.txt
Always pass on advice a report gives, such as wardens advising
against crossing, with its date. That advice is the wardens',
not your decision.
The video’s runs used OpenAI on December 2, 2026: gpt-5.4-mini-2026-03-17 as the current model, gpt-6.2-sol as its successor, and gpt-6.1-terra as the judge.
Here’s the OpenAI register after the switch. gpt-6.2-sol answers as itself, and its model page lists no dated ID and no Snapshots section, so its own ID is the closest pin available. It isn’t confirmed as a snapshot and could move like an alias. If it moves, the change-detection script from Pin the Model You Ship catches it, because that script watches the model each response names:
model/config.js
// OpenAI's deprecations page, checked 2026-12-02:
// no shutdown date announced for these three.
openai: {
answer: "gpt-6.2-sol", // no snapshot listed: watch response.model
fast: "gpt-6-luna",
judge: "gpt-6.1-terra", // a snapshot, per its page
},
Next, in Exercise: Plan a Model Upgrade, you’ll make this call for the wardens. The exercise runs in your browser on recorded runs, with no key. If coding exercises on RealJS are new to you, then its Contents tab explains how they work.