# 29.5 Release planning (/building-ai-workers/model-selection-and-cost/release-planning)

---
type: Document
title: "29.5 Release planning"
description: "How long a model id lasts, what a pinned id promises, what a migration checks, and how to switch to a new model one step at a time."
status: stable
order: 329.05
ksor:
  owner: team:panaversity
  audience:
    - public
  approval:
    by: process:panaversity
    at: 2026-11-30T10:58:07Z
chapter: '29'
part: III
expert_status: manager
concepts: [ "29.5" ]
last_verified: '2026-11-30'

sources:
  - id: anthropic-cost-and-intelligence
    title: Optimizing for cost and intelligence, Anthropic (verified 2026-11-30)
    resource: https://platform.claude.com/docs/en/about-claude/models/optimizing-for-cost-and-intelligence
  - id: anthropic-models
    title: Models overview, Anthropic (verified 2026-11-30)
    resource: https://platform.claude.com/docs/en/about-claude/models/overview
  - id: anthropic-migration-guide
    title: Migrating to Claude Opus 5.5, Anthropic (verified 2026-11-30)
    resource: https://platform.claude.com/docs/en/models/opus-5-5/migration-guide
  - id: anthropic-deprecations
    title: Model deprecations (Anthropic, verified 2026-11-30)
    resource: https://platform.claude.com/docs/en/about-claude/model-deprecations
  - id: anthropic-model-ids
    title: Model IDs and versions (Anthropic, verified 2026-11-30)
    resource: https://platform.claude.com/docs/en/about-claude/models/model-ids-and-versions
  - id: anthropic-migration-guide-haiku
    title: Migrating to Claude Haiku 5.5 (Anthropic, verified 2026-11-30)
    resource: https://platform.claude.com/docs/en/models/haiku-5-5/migration-guide
  - id: anthropic-cache-diagnostics
    title: Cache diagnostics (Anthropic, verified 2026-11-30)
    resource: https://platform.claude.com/docs/en/build-with-claude/cache-diagnostics
generated:
  at: 2026-11-30T10:58:07Z
  by: esl-rewrite/1.2.0+ksor.1
trust_tier: unverified
build_id: sha256:d6ce3f28a2cf8e492a60bae1b426b7cc6466e35e83d70c3b9763db2c55009f4b
dirty: true
ksor_version: 0.0.60
---

**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.[^anthropic-models] 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:[^anthropic-deprecations]

| 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.[^anthropic-deprecations] 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.[^anthropic-deprecations] To find which keys still call a deprecated model, export the Console's usage as a CSV by API key and model.[^anthropic-deprecations]

### What does a pinned id promise, and what does it not?

**Its weights, the numbers the model learned in training ([0.1.1](../../how-ai-works/what-ai-actually-is/the-machine.md)), 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."[^anthropic-model-ids] 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.[^anthropic-model-ids] Pin the full id in one place, as [21.13](../agent-loop-by-hand/versions-models-and-keys.md) 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".[^anthropic-model-ids] 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:[^anthropic-migration-guide][^anthropic-migration-guide-haiku]

- **The effort.** Run a fresh effort sweep ([29.2](thinking-and-effort.md)). The default may differ: Opus 5.5 defaults to `medium`, where Opus 4.7 defaults to `high`.
- **The sampling settings.** Remove `temperature`, `top_p` and `top_k` ([29.1](tokens-and-why-output-varies.md)).
- **The thinking setting.** Replace `budget_tokens` with 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](../prompts-and-structured-output/defensive-parsing.md)).
- **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](tokens-and-why-output-varies.md)). 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.[^anthropic-cost-and-intelligence] 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:

1. **Pin the candidate's full id** in a branch. Production keeps the old one.
2. **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](../evaluating-ai-workers/metrics-you-can-defend.md) says. [29.8](realtime-or-batch.md) shows how. Apply 29.3's keep rule step by step.
3. **Run one recorded day on the candidate,** such as Monday's invoices, and price it. The cache is per model,[^anthropic-cache-diagnostics] so the first run writes the cache again, and that cost belongs to the switch, not to the normal day ([29.7](caching-by-how-often-content-changes.md)).
4. **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.
5. **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](../hosted-agents/resources-as-code.md)). Each step's next week of checks, its gate counts or its check by code, confirms its switch before the next step moves.
6. **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.

<!-- EDITOR: the spec says "on a schedule" and gives no interval. Proposed: once a week, on Sunday night, so the result is read on Monday with the week's report. The other option: once a month, at a quarter of the cost. -->

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.

<!-- EDITOR: anthropic-thinking-steering is a new source id. The brief's shared list has no id for the page "thinking-steering-and-cost", which holds "max_tokens is a hard cap" and the two remedies. Part A's anthropic-thinking-cost named the same page, and was merged into this id in review round 1. -->

[^anthropic-models]: Models overview, Anthropic, read November 30, 2026.
[^anthropic-deprecations]: Model deprecations, Anthropic, read November 30, 2026.
[^anthropic-model-ids]: Model IDs and versions, Anthropic, read November 30, 2026.
[^anthropic-migration-guide]: Migrating to Claude Opus 5.5, Anthropic, read November 30, 2026.
[^anthropic-migration-guide-haiku]: Migrating to Claude Haiku 5.5, Anthropic, read November 30, 2026.
[^anthropic-cost-and-intelligence]: Optimizing for cost and intelligence, Anthropic, read November 30, 2026.
[^anthropic-cache-diagnostics]: Cache diagnostics, Anthropic, read November 30, 2026.
