29.5 Release planning
- Approved by
- Panaversity ·
In everyday life. A print shop's ink supplier writes: a new ink is coming, and the old one will stop being sold in a few months. The shop does not pour the new ink into every machine on the first day. It prints its usual test sheet with the new ink, compares it with the old sheet, and switches one machine at a time. It keeps a box of the old ink until every machine passes. And even with the same ink, a print can change a little on a humid day, so the shop prints a test sheet every week. In this section, the ink is the model and the test sheet is the suite. The box of old ink is the old model id, and the weekly sheet is the suite on a schedule.
What you will learn. You practice this in Lab 29, Task 5, where you write docs/release-plan.md.
- How long does a model id last?
- What does a pinned id promise, and what does it not?
- What does a migration check?
- How do you switch to a new model?
Why it matters. A new model changes every step's cost per accepted result at once: its price, its token counts and its answers. A model you never chose to leave will still be retired. A release plan turns both into a change you test and can undo.
At work. Wednesday, May 12, 2027. Dave read yesterday's report and asks one more question: "What happens when Anthropic retires the model the extraction runs on?" Anthropic's models page says Claude Sonnet 5.5 retires "not sooner than" September 28, 2027.1 So there is time, and you write the plan now.
How long does a model id last?
Until it is retired, and Anthropic gives at least 60 days' notice before that. A model passes through four states:2
| State | What it means |
|---|---|
| Active | Fully supported |
| Legacy | No more updates. It may be deprecated |
| Deprecated | It still works. It has a named replacement and a retirement date |
| Retired | Requests fail, with a 404 not_found_error on the Claude API |
The notice is "at least 60 days'" for publicly released models.2 For example, claude-opus-4-5-20251101 was deprecated on November 23, 2026, and retires on January 22, 2027, with claude-opus-5-5 as its replacement.2 To find which keys still call a deprecated model, export the Console's usage as a CSV by API key and model.2
What does a pinned id promise, and what does it not?
Its weights, the numbers the model learned in training (0.1.1), never change. How it is served can. From the 4.6 generation on, a model id has no date, such as claude-sonnet-5-5. It "maps to a single, fixed model snapshot", and "it is not an alias". Anthropic says it "does not update the weights or configuration of an existing model ID."3 Older ids carry a date, and their short alias "points to the most recent dated snapshot", so an alias can move to a newer model without warning.3 Pin the full id in one place, as 21.13 did.
The pin does not freeze everything. The serving infrastructure, "request router, safety classifiers, and sampling logic", can change, and that can cause "minor differences in observable behavior".3 So a step can drift on a pinned id, and only a test you run again will show it.
What does a migration check?
The settings the new model treats differently, before any answer is compared. Anthropic's migration guides list what to check:45
- The effort. Run a fresh effort sweep (29.2). The default may differ: Opus 5.5 defaults to
medium, where Opus 4.7 defaults tohigh. - The sampling settings. Remove
temperature,top_pandtop_k(29.1). - The thinking setting. Replace
budget_tokenswith effort. - The token counts. Count them again on the new model.
- The stop reasons. Handle
refusal. Brightline's stop-reason gate already does (25.10). - For Haiku 5.5: replace an assistant prefill, and raise a small
max_tokens, because thinking is on by default.
Count tokens again, because the same text can be a different number of tokens on a new model (29.1). More tokens do not have to mean a higher cost per accepted result. Anthropic measured that Haiku 5.5 passed 93% of a task set where Haiku 4.5 passed 62%, at about 84% less for each passed attempt.6 Only your own steps can say which way your cost moves.
How do you switch to a new model?
Pin it, test it the way it can fail, compare step by step, switch one step at a time, and keep the old id. The plan in docs/release-plan.md has six steps:
- Pin the candidate's full id in a branch. Production keeps the old one.
- Run each step's suite cases on the candidate, three trials each, beside the current model. The release suite runs as a batch, as 24.6 says. 29.8 shows how. Apply 29.3's keep rule step by step.
- Run one recorded day on the candidate, such as Monday's invoices, and price it. The cache is per model,7 so the first run writes the cache again, and that cost belongs to the switch, not to the normal day (29.7).
- Compare cost per accepted result step by step, never as one total. A model that costs less on the triage can cost more on the extraction.
- Switch one step at a time. The extraction's model is in the portal's config. The triage's is in its agent definition (23.4). Each step's next week of checks, its gate counts or its check by code, confirms its switch before the next step moves.
- Keep the old id for rollback until the old model's retirement date. Going back is then one line, not a new test.
After the switch, run the suite on a schedule on the pinned id, because serving changes can move answers that no code change touched. It runs as a batch, at half the price, where nobody waits for it.
Moving a model change through Brightline's three environments is Chapter 30's subject. This plan says what is tested and what is kept. Chapter 30 says where each test runs.
The operating rule: pin the full id, and run the suite cases and one recorded day on the candidate. Compare cost per accepted result step by step, and switch one step at a time. Keep the old id, and run the suite on a schedule.
Check yourself
Question 1 / 6
0 answered
What happens to a request that names a model after it is retired?
Sources
- Owner
- Panaversity