Plan every model you call as if it has an end date. Then a retirement email starts a test you have already built, not an emergency. For a model you cannot afford to lose, keep a way out that you control.
Engineering leads ask us some version of the same question. How much warning do we get before the model under our product is retired, and what do we need ready when it happens? It usually comes up after the first forced switch, when a model ID stopped working and nobody had a plan.
What model deprecation risk looks like in production
Model deprecation is the announcement that a model will go away. Retirement is the day it is switched off. After that, calls to its model ID, the exact string in your request's model field, fail.
A retirement is the loud failure. A quiet change is harder to spot. A 2023 study compared the March and June versions of GPT-3.5 and GPT-4 on the same tasks. GPT-4 identified prime numbers with 84% accuracy in March and 51% in June. Both models also made more formatting mistakes in the code they wrote.
For your product, that shows up as JSON your parser rejects, more refusals, or answers that are longer and slower. None of it throws an error, so only a test that compares outputs catches it.
So the risk has two forms. The model can disappear, or it can change behind a name that stays the same.
How much notice you get before a model retires
The notice period is the time between the announcement and the retirement. It differs widely between providers and between kinds of model.
One major closed-model provider publishes minimum notice periods. Its generally available models get at least 6 months, and specialised variants at least 3 months. Preview models, marked "preview" in their name, can go with notice as short as 2 weeks.
Keep preview models out of production paths. Two weeks leaves no time to test a replacement.
Open models get replaced too. Our models page keeps a list of retired models, each next to its replacement. Ask every provider for its notice period in writing before you sign, and plan for the shortest one you are given.
How we retire a model: three steps, no silent switch
We are a sovereign European AI inference provider for open-source models. Our serverless models run in Paris and Finland. "Serverless" means you call a model through our API and pay per token, without running GPUs yourself. In our 29 October 2026 newsletter, our CTO set out how we retire a model:
- We email you with the model we recommend. Nothing changes yet.
- We reduce capacity, so the model may be slower.
- The model is retired.
We said we will do our best to follow the same three steps every time. For DeepSeek V4 Pro, we also said we won't switch your model automatically. Requests to a retired model ID then return 404 model not found. Our models page lists each retired model with the one to use instead.
That is a change from our 5 October 2026 retirements, when requests to retired IDs were redirected and billed at the replacement's rates. A redirect keeps your app running, but on a different model at a different price. Both cases need the same test set.
Worked example: DeepSeek V4 Pro, 21 days from email to retirement
DeepSeek V4 Pro is the first model to go through the three steps. The dates come from our newsletter, the prices from our models page. The token volume is a hypothetical workload, not a customer's.
| Step | Date | Days after the email |
|---|---|---|
| Email with the recommended model | 29 October 2026 | 0 |
| Reduced capacity | 5 November 2026 | 7 |
| Retirement | 19 November 2026 | 21 |
The recommended replacement is DeepSeek V4.1 Flash, model ID deepseek/deepseek-v4.1-flash. On our models page, DeepSeek V4 Pro 0813 costs $2.00 per million input tokens and $4.00 per million output tokens. DeepSeek V4.1 Flash costs $0.50 and $1.50.
Take a hypothetical product that sends 200 million input tokens and receives 40 million output tokens a month. Cached input is left out.
Monthly cost = input tokens (millions) x input price + output tokens (millions) x output price
DeepSeek V4 Pro 0813: 200 x $2.00 + 40 x $4.00 = $400 + $160 = $560
DeepSeek V4.1 Flash: 200 x $0.50 + 40 x $1.50 = $100 + $60 = $160
Input price: $0.50 instead of $2.00 = 75% less
Output price: $1.50 instead of $4.00 = 62.5% less
In this example, the switch cuts the bill from $560 to $160 a month, about 71% less. The 75% and 62.5% in our newsletter are the cuts in each price line. The saving only holds if the replacement passes your tests. A different model can write longer or shorter answers, and that changes the output line.
The dates matter more than the prices. A team with a test set ready can run it in the first 7 days, while capacity is unchanged. A team that starts building one on the day of the email will still be testing when the model slows down.
The example has limits. It covers one retirement and list prices only. It ignores cached input, and it says nothing about answer quality. If you need help switching, our newsletter asks you to reply with your workload.
Call an exact model ID so you choose when to migrate
Version pinning means calling a model by a name that always points at the same model. An alias is a name whose target the provider can move. A dated model ID is a name that carries the release in it.
Our models page lists DeepSeek V4 Pro under two IDs: deepseek/deepseek-v4-pro and the dated deepseek/deepseek-v4-pro-0813. Where a dated ID exists, call it. Then the model only changes when you change the string.
Pinning controls when you migrate, not whether. A pinned ID still retires on its date. What it buys you is that the change happens on a day you pick, after your tests pass.
GET /models is the authoritative list of IDs our serverless API accepts, and it reflects what is served right now. Run a check in your deployment pipeline that fails when an ID your app uses is missing:
from openai import OpenAI
client = OpenAI(base_url="https://api.lyceum.technology/openai/v1", api_key="YOUR_LYCEUM_API_KEY")
MODELS_IN_USE = {"deepseek/deepseek-v4.1-flash"}
served = {model.id for model in client.models.list()}
missing = MODELS_IN_USE - served
if missing:
raise SystemExit(f"Model IDs no longer served: {sorted(missing)}")
As our serverless inference docs note, a listed ID with no backend free at that moment can also answer 404 model not found. Retry with backoff before you treat a 404 as a retirement.
The regression test to build before the next notice
A regression test replays your own saved prompts on the new model and compares the results with the old one. Build it from real requests in your logs, with the output you expect or a check for each.
Compare four things:
- Format: the output still parses, and required fields are still there.
- Correctness and refusals: answers stay right, and the new model does not refuse prompts the old one answered.
- Speed: time to first token (the delay before the first word arrives) and tokens per second under your normal load.
- Cost per call: price times the tokens actually used, including any change in answer length.
These are the same things production teams check. A published framework for replacing a model at end of life evaluated correctness, refusal behaviour and style, for one commercial question-answering system. To compare candidates on price and quality together, use our guide to finding the cheapest open model that clears your quality bar. When you measure speed on our API, check our status page for incidents first.
Keep the test set small enough to run in a day. A few hundred prompts that cover your real traffic beat thousands that nobody maintains.
When a model must outlive the catalogue: open weights on a dedicated endpoint
Open weights are model files that the developer publishes so anyone can run them. When a provider retires an open model, the weights stay online. DeepSeek V4 Pro 0813's weights are published under the MIT licence.
That gives you a way out a closed model cannot. Our dedicated endpoints take a model by its Hugging Face model ID. They run it on GPU replicas reserved for you, behind an OpenAI-compatible endpoint. You pay for the time the replicas run, not per request. Our dedicated inference docs show the setup.
This route suits a model your product cannot lose, where a switch would mean weeks of retuning. Reserved GPUs cost more than per-token calls at low traffic, so size it with us first.
Staying on a retired model forever has its own cost. OWASP lists outdated or deprecated models that are no longer maintained as a supply-chain risk. A dedicated endpoint buys time to migrate on your schedule. It does not replace the migration. For the wider exit plan, see our three-step plan to avoid LLM vendor lock-in.
Before your next contract or renewal, ask your provider in writing how much notice it gives before it retires a model. Then build your test set this week. Our supported models page lists the IDs you can call today.
Frequently asked questions
Can I keep using a model after it is retired on serverless inference?
Not through the shared API. For an open model, you can run its published weights on a dedicated endpoint or on your own GPUs.
How do I find out that a model I use is being retired?
Watch two signals. Our retirement email names the model and its replacement. In your pipeline, an ID that drops out of GET /models is no longer served.