11C.5 Model Lifecycle on One Page
The model name in your code is a dependency, like a library version, and it has an end date. This short lesson gives you four habits that keep a working LLM feature from breaking or drifting without you noticing: pin an exact model version, watch for retirement notices, rerun your eval set after any model change, and know what your provider stores about your data. It is deliberately one page. The background on how each provider names and retires models is in 02.9, Part 8, and the CI machinery for pinning and lifecycle checks is in 11C.2, Part 6. This lesson links both instead of repeating them, and adds one new thing: a small model registry that ties each model id to the id your eval set last ran on.
What you'll learn
- The difference between a pinned snapshot and a floating alias, and which each of OpenAI and Anthropic gives you
- How retirement works: states, notice periods, where notices appear, and how to find out what you still use
- The minimum you do after changing a model: rerun the eval set before releasing
- The questions to ask about data retention for the OpenAI API and the Anthropic API: what is stored, for how long, and whether it trains models
- A tiny model registry you can run in CI, and a one-page checklist
What you don't need
- API keys. The one program here is standard-library Python that reads a table; it makes no calls. No Docker, no services.
- Legal knowledge. This lesson explains what the providers publish, not what your contract or law requires. For governance see 14A.7.
Setup
Python 3.11 or newer, standard library only. As of 1 December 2026 there is nothing to install. Every provider fact below was checked on 1 December 2026 against the official page named beside it. Providers change these pages, so treat the dates as a snapshot and re-check before you rely on one.
What you must be able to do after this lesson#
- Pin an exact model id in configuration and log it with every request
- Explain the difference between a snapshot and an alias, and which one each provider's IDs are
- List the retirement states and the stated minimum notice for OpenAI and Anthropic, and say where to look for notices
- Rerun the eval set on a replacement model, per slice, before releasing any model change
- Run a model registry check that flags retired models, near-term retirements, unevaluated models and floating aliases
- Ask the three data-retention questions (what is stored, for how long, does it train) before sending real user data to a provider
Why this matters for an AI engineer#
A model change can break a feature three different ways: the model is retired and requests fail, it is replaced by a different one under the same name and behaviour drifts, or you switch and quality quietly drops. All three are cheap to prevent and expensive to debug after the fact. The data-retention habit is separate but just as practical: someone will ask what the provider keeps, and "I think it is not stored" is not an answer.
| You'll hear... | You'll understand it after... |
|---|---|
| "Pin the model." | Part 1 |
| "That model is being retired in January." | Part 2 |
| "Did we rerun the evals after the upgrade?" | Part 3 |
| "Is our data used for training?" | Part 4 |
| "Can CI warn us before a model disappears?" | Part 5 |
Part 1: Pin a specific model version#
An alias is a name that a provider can point at a newer model later. A snapshot is one fixed model version. In production, call a specific version, keep its id in configuration (not scattered through code), and log it with every request. The full treatment is in 02.9, 8.1 Aliases vs snapshots and 8.3 Pinning in production, and 11C.2, 6.1 turns it into a checked inventory.
The one-line version per provider (official docs, checked 1 December 2026): Anthropic dateless IDs such as claude-sonnet-5-5 are themselves pinned snapshots, and an update ships under a new ID (Model IDs and versioning). OpenAI plain names can be aliases for dated snapshots, so use the exact string from the model page and re-check it for dated variants before each release. "Pinned" removes the big surprise, not every surprise, so keep a regression eval running anyway. Part 5 shows a registry.
Part 2: Models get retired, plan the switch#
Reference
Every model ID has its own retirement schedule: active, then deprecated (still works, a retirement date is announced), then retired (requests fail). The stages, the notice periods and the real entries that show the pace are in 02.9, 8.2 Lifecycle stages and notice periods. The nightly check that reads provider lifecycle fields is 11C.2, 6.2, and the deprecation calendar belongs in the dependency review of 11C.4, 5.4.
What to remember, as stated on the providers' pages on 1 December 2026:
- Notice. OpenAI states at least 6 months for generally available models (Deprecations). Anthropic states at least 60 days for publicly released models (Model deprecations). Partner clouds such as Amazon Bedrock set their own dates.
- Know what you use. Keep every model id in one registry (Part 5). Anthropic's Console can export usage by API key and model (Usage page, Export), which finds forgotten callers.
- Start early. Anthropic announced on 23 November 2026 that
claude-opus-4-5-20251101retires on 22 January 2027 (replacementclaude-opus-5-5), and OpenAI listsgpt-4o-2024-08-06shutting down on 14 January 2027. Treat each notice as a ticket with a date.
Part 3: After changing a model, rerun your eval set#
Switching a model, even to the provider's recommended replacement, changes behaviour in ways nobody can predict from the release notes. So the rule is simple: never release a model change without rerunning your eval set on the new model and comparing it with the old one. The full procedures are the model-upgrade playbook, 10A.8 section 8.1 (baseline, shadow evaluation, per-slice comparison, canary, rollback) and 11C.2, 6.3 (the CI view). This lesson adds only two reminders.
- A new model id means a new baseline. Record per-case scores for the old id first. If you evaluated a different id than the one you ship, the eval says nothing about what users get. The registry in Part 5 flags exactly this.
- Record which model produced each result. 10B.12, 2.6 (optional) explains why an alias in an eval run makes two runs a month apart incomparable, and 10B.17, 6.5 (optional) shows a run record that stores versions with every score.
Part 4: Data retention, the basics#
Reference
Before sending real user data to a provider, know three things: what is stored, for how long, and whether it is used to train models. The provider snapshot table (training use, retention, zero data retention, residency) is in 02.9, 9.2 Provider snapshot, the questions to ask are in 9.1, and vendor files and retention schedules are in 11C.4, 2.7 and 3.2. None of this is legal advice: read the linked pages and ask your provider or security team.
Three points to carry from here, as the providers published them on 1 December 2026.
- "Not used for training" is not "not stored". OpenAI keeps abuse-monitoring logs for up to 30 days, with a 30-day default for Responses API application state when
storeis true (Your data). Anthropic's privacy centre says it deletes inputs and outputs from its backend within 30 days, and may keep content flagged under the Usage Policy for up to 2 years (classification scores up to 7 years) (How long do you store my organization's data?, dated 1 July 2026). Some models (Covered Models, see 02.9 9.2) carry their own retention rules. Zero data retention needs approval or agreement with the provider. - Your own logs count too. The traces and logs you keep (03.12 and 11A.3) are your retention policy. Redact before you store.
- A model switch can change the terms. Different endpoints, features (such as stored conversation state) and cloud platforms have different rules, so re-check when you change the model, the endpoint or the cloud. 14A.7 covers vendor and data governance.
Part 5: A model registry you can run in CI#
This part extends 11C.2, 6.2, whose check_model_deprecations.py reads provider lifecycle fields. The registry here adds one idea that script does not have, the link between the model id a feature uses and the id its eval set last ran on, and it needs no catalogue file or network.
This program is a sketch of the habits above, in about 50 lines. A REGISTRY says which model each feature uses and which model its eval set last ran on. A LIFECYCLE table, copied by hand from the providers' pages on 1 December 2026, holds states and retirement dates. check warns about retired models, retirements within 90 days, a model that differs from the one last evaluated, a floating alias, and unknown ids. It makes no network calls. The dates are the providers' as read that day, and None means no retirement date was listed when read. In a real project you would keep these tables in a file, review changes to them, and refresh the lifecycle table from the provider pages each time notices arrive.
# model_registry.py: one place for model ids, plus a check you can run in CI (stdlib only)
import json
import sys
from datetime import date
TODAY = date(2026, 12, 1) # fixed so the output below is reproducible; use date.today() in CI
WARN_DAYS = 90
# What your app is configured to use. In a real project this is a JSON or YAML file in git.
REGISTRY = {
"support_chat": {"provider": "anthropic", "model": "claude-sonnet-5-5", "evaluated_model": "claude-sonnet-5-5"},
"ticket_triage": {"provider": "openai", "model": "gpt-4o-2024-08-06", "evaluated_model": "gpt-4o-2024-08-06"},
"old_summarizer": {"provider": "anthropic", "model": "claude-opus-4-5-20251101", "evaluated_model": "claude-opus-4-5-20251101"},
"legacy_helper": {"provider": "anthropic", "model": "claude-sonnet-4-5", "evaluated_model": "claude-sonnet-4-5-20250929"},
"new_idea": {"provider": "openai", "model": "gpt-6-luna", "evaluated_model": "gpt-6-luna-old-test"},
}
# Copied BY HAND from the providers' deprecation pages on 2026-12-01 (the lesson links them).
# None means "no retirement date listed when I looked". Dates are the provider's, not a promise.
LIFECYCLE = {
"claude-sonnet-5-5": {"state": "active", "retires": None, "note": "'not sooner than' 2027-09-28"},
"claude-opus-4-5-20251101": {"state": "deprecated", "retires": date(2027, 1, 22)},
"claude-sonnet-4-5-20250929": {"state": "retired", "retires": date(2026, 11, 30)},
"claude-sonnet-4-5": {"state": "retired", "retires": date(2026, 11, 30), "note": "undated alias of the retired snapshot"},
"gpt-4o-2024-08-06": {"state": "deprecated", "retires": date(2027, 1, 14)},
"gpt-6-luna": {"state": "active", "retires": None},
}
def check(registry=REGISTRY, lifecycle=LIFECYCLE, today=TODAY):
problems = []
for role, cfg in registry.items():
model, notes = cfg["model"], []
info = lifecycle.get(model)
if info is None:
notes.append("UNKNOWN: not in the lifecycle table, add it")
else:
if info["state"] == "retired":
notes.append("RETIRED: requests will fail")
elif info["retires"] is not None:
left = (info["retires"] - today).days
if left <= WARN_DAYS:
notes.append(f"RETIRING in {left} days ({info['retires']}): plan the switch")
if model != cfg["evaluated_model"]:
notes.append(f"NOT EVALUATED: eval set last run on {cfg['evaluated_model']}")
if model.endswith("-latest"):
notes.append("FLOATING ALIAS: pin a specific model id")
print(f"{role:15s} {cfg['provider']:10s} {model:26s} {'; '.join(notes) or 'ok'}")
problems += notes
return problems
if __name__ == "__main__":
print(f"checked on {TODAY}")
sys.exit(1 if check() else 0)python3 model_registry.py; echo "exit=$?"Output (real, run on 1 December 2026; the date is fixed in the code so it reproduces):
checked on 2026-12-01
support_chat anthropic claude-sonnet-5-5 ok
ticket_triage openai gpt-4o-2024-08-06 RETIRING in 44 days (2027-01-14): plan the switch
old_summarizer anthropic claude-opus-4-5-20251101 RETIRING in 52 days (2027-01-22): plan the switch
legacy_helper anthropic claude-sonnet-4-5 RETIRED: requests will fail; NOT EVALUATED: eval set last run on claude-sonnet-4-5-20250929
new_idea openai gpt-6-luna NOT EVALUATED: eval set last run on gpt-6-luna-old-test
exit=1Read it row by row. support_chat is fine. ticket_triage and old_summarizer have retirement dates in 44 and 52 days, so each needs a migration ticket today. legacy_helper uses an undated alias whose model is already retired, and it was evaluated on a different id, so it needs a switch and a fresh eval. new_idea is active but its eval set last ran on another id, so it is not safe to ship. The non-zero exit code makes CI fail. That failure is the feature.
Part 6: Evaluate it#
The eval link for this lesson is one section, and you already have it: 10A.8, 8.1 The model-upgrade playbook. Read it first.
DeepEval lessons (required track): 10B.2, 10B.3, 10B.4, 10B.5, 10B.6 and 10B.7, whose CI part is where a model-change gate would run.
Inspect lessons (optional): 10B.12, 2.6 on pinning dated snapshots, 10B.17, 6.5 on recording versions with every result, and the rest of the track (10B.8 to 10B.16).
What to measure for a model change: per-case scores on your existing eval set for the old and new model id, with scores grouped by slice, plus cost and latency per successful task.
A tiny eval design.
| Part | Choice |
|---|---|
| Inputs | Your standing eval set (at least the cases that cover each feature and each known failure), run once on the old model id and once on the new one, with the same prompts and graders |
| Metric | Pass rate overall and per slice, and cost per successful task |
| Pass rule | No slice drops by more than a margin you set before the run, the overall pass rate is not lower beyond noise, and cost and latency stay inside budget. If a slice fails, do not release, and either fix the prompt or keep the old model until its retirement date allows |
Common misconceptions#
- "A dateless Claude ID is an alias that always moves forward." From the 4.6 generation on, the dateless ID is the pinned snapshot. For older models, the short undated name is an alias.
- "If the provider recommends the replacement, I can just swap it." Behaviour changes. Rerun your evals first.
- "Not used for training means not stored." Both providers keep API data for a period by default. Training use and storage are separate questions.
- "A pinned model never changes at all." The weights are fixed per ID, but the serving infrastructure can change slightly.
- "Retirement is the provider's problem." It is yours the day the requests start failing.
Key takeaways#
- Pin an exact model id in production, keep it in config, and log it with each request.
- Every model id retires. Read the deprecation pages and emails, keep a registry, and migrate with margin before the date.
- Rerun the eval set on the new model before any release, per slice, against a baseline recorded on the old one (10A.8, 8.1).
- Know what each provider stores, for how long, and whether it trains. Ask for the stricter option if you need it, and re-check when you change model, endpoint or cloud.
- Automate the boring part: a registry and a CI check make these habits hard to forget.
Terms introduced in this lesson#
| Term | Meaning |
|---|---|
| Snapshot | One fixed model version whose weights do not change under that id |
| Alias | A name that a provider can move to a newer model later |
| Pinning | Calling an exact model version so behaviour stays the same until you change it |
| Deprecation | The announcement that a model will be retired, with a date and a recommended replacement |
| Retirement (shutdown) | The date after which requests to a model fail |
| Model registry | A single table of which model each feature uses, with its eval and lifecycle status |
| Zero Data Retention (ZDR) | A provider arrangement, by approval or agreement, under which customer content is not kept in abuse-monitoring logs or the default store |
| Data retention | How long a provider keeps the inputs and outputs of your API calls |
Exercises#
- Update the registry. Add a new feature that uses
claude-opus-5-5and one that uses a made-up id. What doeschecksay about each? Hint: unknown ids appear as UNKNOWN, and you must add a lifecycle row for the real one from the provider's page. - Change the warning window. Set
WARN_DAYSto 30 and re-run. Which rows change? Hint: the retirements 44 and 52 days away drop out. - Read two pages. Open the OpenAI deprecations page and the Anthropic deprecation page today. Write down one model you use and its status. Hint: the dates in this lesson are from 1 December 2026 and may be out of date.
- Write a retention note. In five lines, write what your provider stores for your feature, for how long, and whether it trains. Hint: use the provider snapshot in 02.9, 9.2 and the pages linked in Part 4, and flag anything you could not confirm.
Check yourself#
- What is the difference between a snapshot and an alias?A snapshot is one fixed model version. An alias is a name the provider can move to a newer version later.
- What does Anthropic's documentation say a dateless ID such as
claude-sonnet-5-5is?A pinned snapshot, not an alias. The dateless ID maps to a single fixed snapshot, and an update ships under a new ID. - What is OpenAI's stated minimum notice for retiring a generally available model?At least 6 months, as stated on the deprecations page on 1 December 2026, unless safety or compliance requires faster.
- What is Anthropic's stated minimum notice for publicly released models?At least 60 days for publicly released models.
- What happens to requests after a model is retired on the Claude API?They fail. The Messages API returns a 404
not_found_error. - What must you do after changing a model, before releasing?Rerun your eval set on the new model and compare it with the baseline from the old one, per slice, before releasing.
- Is data sent to the OpenAI API or Anthropic's commercial API used for training by default?No, by default, for both. There are exceptions, such as explicit opt-in or feedback you send to Anthropic.
- Does "not used for training" mean "not stored"? Explain.No. Both providers keep API data for a period by default (30 days in the published pages), for example for abuse monitoring. A stricter arrangement such as zero data retention needs approval or agreement.
Further resources#
- 02.9 — The Model Landscape: aliases and snapshots, lifecycle stages and notice periods, and pinning practices for every provider.
- 10A.8 — Regression Testing, CI and Experiment Tracking: the upgrade playbook.
- 14A.7 — Data, Vendor and Supply-Chain Governance: retention in a governance context.
- OpenAI: Deprecations and Your data.
- Anthropic: Model deprecations and Model IDs and versioning.
- Anthropic privacy center: How long do you store my organization's data? and Is my data used for model training?.
← 11C.4 — Operating LLM Systems: Governance, Incidents and the Production Checklist | Module 11C overview | 11C.6 — Open-Weight and Local Models →