What was scanned, and when
The sample was GitHub's 100 most-starred repositories tagged openai that had been pushed since 2026-08-28. Nine of them were prompt collections and link lists, which contain model names but run no code, so they were dropped. That left 91 repositories. Each was shallow-cloned on 2026-11-26, and 331,970 files were scanned for model ids that a vendor has shut down, rerouted or scheduled to shut down.
A string match only finds candidates. Every hit was then read in context and sorted into one of two groups: code that sends the model when nobody picks one, and everything else. This matters because model ids appear in many places that never reach a provider. The article's headline numbers use only the first group.
The result is a statement about one sample: 27 of the 91 most-starred active repos tagged openai. It is not an estimate of how many AI apps will break, and nothing here should be read that way. The sample is open-source projects chosen by stars, not production systems.
What counted as a default
"Default" means what runs when nobody picks a model. A repository was counted only when shipped code sends a model id in one of two ways: a hard-coded call, or a default value that the code path actually uses. Someone who sets their own model is unaffected until that model reaches its date.
Not counted:
- tests and fixtures
- documentation and README examples
- dropdowns and model pickers that list many ids
- pricing tables
- dead code that nothing calls
The undated aliases gpt-4o, gpt-4o-mini and gpt-4.1 were also not counted. OpenAI's deprecations page lists only dated snapshots for those families, such as gpt-4o-2024-08-06 and gpt-4.1-2025-04-14, which shut down on 2027-01-14.1 Counting the bare aliases would have meant guessing which snapshot each one resolves to.
The numbers
| Measure | Repos |
|---|---|
| Sample after removing prompt collections and link lists | 91 |
| Mention a retiring id anywhere (mostly tests, docs, model pickers) | 85 |
| Default to or hard-code a model already shut down | 7 |
| Default to one that shuts down or is rerouted by 2027-01-06 | 24 |
| Default to a retiring model, in all | 27 (30%) |
The gap between 85 and 27 is the point of reading hits in context. Most mentions are inert: a test fixture, a doc line, a list of choices. Only 27 repositories would send a retiring id when run as shipped.
The dates behind "already shut down" and "by 2027-01-06" come from the vendors. OpenAI shut down gpt-3.5-turbo, gpt-4, gpt-4-turbo, o1, o3-mini, o4-mini and gpt-image-1 on 2026-10-23.2 Its page lists gpt-5, gpt-5-mini, gpt-5-nano and o3 for 2026-12-11, and tts-1, tts-1-hd and gpt-4o-mini-tts for 2027-01-06.1 OpenAI defines shutdown as the model no longer accepting requests through the standard API.1
Pattern one: speech has no drop-in replacement
The three OpenAI text-to-speech models share one replacement on the deprecations page: gpt-realtime-2.1-mini.1 OpenAI's text-to-speech guide then adds the catch: the move is "a change of API workflow", because gpt-realtime-2.1-mini isn't a supported model for /v1/audio/speech. Existing integrations can keep using the Speech API until shutdown.3
So a repository that calls audio.speech.create(model="tts-1", ...) cannot fix the date by editing a string. The replacement goes through the Realtime API, which has its own session, streaming and voice handling. OpenAI's Agents SDK defaults its voice pipeline to gpt-4o-mini-tts, and Open WebUI fills in tts-1 once an admin picks its OpenAI speech engine; both face this migration by 2027-01-06 for anyone still pointed at OpenAI. It is the largest effort per repository of anything in the scan, and the date is the furthest away, which is the usual reason it gets left.
Pattern two: Google reroutes silently
Google's behaviour differs from OpenAI's and Anthropic's. Its deprecations page says that from 2026-12-01 requests to gemini-2.5-pro are routed to gemini-3.8-flash, and requests to gemini-2.5-flash to gemini-3.5-flash-lite.4 There is no error. The request succeeds and a different model answers. Google gives these as the earliest possible dates, so check the page again before you plan around them.
A rerouted model is harder to notice than a shutdown. A shutdown produces an error that someone sees on the day. A reroute produces answers with different length, tone, cost and latency, and no failing check. Pinning the id does not help when the id itself is the one that is rerouted. What helps is recording which model actually answered. Compare the response's reported model with the one you requested, and alert when they differ. The same drift can be caught with a golden set; see catching silent model drift.
Pattern three: evaluation tools default to retiring models
The third pattern is in tooling that exists to test other models, with a few defaults in libraries and gateways next to it. Examples, named factually:
- MLflow's simulator defaults to
gpt-5, which OpenAI lists for shutdown on 2026-12-11.1 - Opik's evaluations default to
gpt-5-nano, listed for the same date.1 - Semantic Kernel (.NET) defaults image generation to
gpt-image-1, already shut down on 2026-10-23.2 - OmniRoute and 9router check Anthropic keys with a probe request to a retired Claude model. Anthropic's Messages API returns a 404
not_found_errorfor a retired model, so the probe no longer exercises the key against a model that exists, and key-level problems it was meant to catch can slip through.5
None of this reflects badly on the maintainers. A default chosen as a sensible small, fast model eighteen months ago becomes a retiring id on a date nobody was watching. Evaluation tools are exposed because they sit one step removed from production: nobody's revenue fails when the judge model disappears, so the failure waits until someone runs an evaluation.
Anthropic's own page shows how close the next date is. claude-sonnet-4-5-20250929 is deprecated with a tentative retirement date of 2026-11-30 and claude-sonnet-5-5 as the recommended replacement; the retirement includes the undated claude-sonnet-4-5.5
What happened upstream
On 2026-11-26 the study opened 21 reports: 8 pull requests and 13 issues. Each named the vendor's listed replacement for the model in question.
One maintainer closed theirs as unneeded. Their reasoning was reasonable: the model is a free setting, and the same setting also drives self-hosted speech servers that accept arbitrary model names. Where the model is an open setting and the user is expected to choose one, the default matters much less. A default is risky when the code assumes it, and harmless when a person chooses on first run. That is why the 27 counts only repositories where the shipped default is used.
Check your own code
Three steps, in order of effort.
- Search code and config for the ids on each vendor's deprecation page. Include environment files, YAML, notebooks, stored database settings and infrastructure templates. Search the undated aliases as well, since Anthropic notes that a retirement covers the same model's id without a date.5
- Check what your app sends when no model is chosen. Run each entry point with no model argument and log the outgoing request. Library defaults, SDK defaults and fallback chains are invisible to grep. This is the step that separates 85 from 27.
- Poll the vendor. OpenAI documents an optional
shutdown_dateon each model fromGET /v1/modelsand the retrieve endpoint.1 Anthropic documents a usage export by API key and model in the Console.5
Then make it permanent. A CI check that fails before a shutdown date turns a quiet date into a red build. The open-source model-retirement-check skill in github.com/infroio/infro-skills does this; the sketch below shows the shape of it.
import datetime as dt
import pathlib
import sys
# id -> shutdown date, copied from each vendor's deprecation page
RETIRING = {
"gpt-5": "2026-12-11",
"gpt-5-mini": "2026-12-11",
"gpt-5-nano": "2026-12-11",
"o3": "2026-12-11",
"tts-1": "2027-01-06",
"tts-1-hd": "2027-01-06",
"gpt-4o-mini-tts": "2027-01-06",
"claude-sonnet-4-5": "2026-11-30",
}
WARN_DAYS = 45
today = dt.date.today()
failures = []
for path in pathlib.Path(".").rglob("*"):
if not path.is_file() or ".git" in path.parts or path.stat().st_size > 1_000_000:
continue
try:
text = path.read_text(errors="ignore")
except OSError:
continue
for model, date in RETIRING.items():
days = (dt.date.fromisoformat(date) - today).days
if f'"{model}"' in text or f"'{model}'" in text:
if days <= WARN_DAYS:
failures.append(f"{path}: {model} ends {date} ({days} days)")
print("\n".join(failures))
sys.exit(1 if failures else 0)This flags every mention, including tests and docs. Treat it as a first pass, then read the hits the way the study did. Matching on the exact quoted id avoids flagging gpt-5.6 or o3-mini when you search gpt-5 or o3.
Stop a retired model at request time
CI only sees the code you wrote. It misses a stored setting, a customer-supplied model name or an older deployed version. The second layer is the request path.
A gateway in front of your own provider keys can do two things. While a key still sends a retiring model, it warns, naming the date and the replacement. From the shutdown date, it refuses the request before the provider call and names the replacement, so a retired id returns a clear policy error instead of a provider error or a silent reroute. INFRO does this on the customer's own provider accounts: it records each vendor's deprecations and shutdown dates, warns organizations still sending a retiring model, and refuses it from the shutdown date. Its model-availability sync also stops offering a model your key has stopped listing, with the date it stopped. The provider is still billed directly by you; INFRO is not in the billing path. The product docs are at infro.io/docs (opens in a new tab).
Whichever layer you use, the order is the same: find what sends a retiring id, move it before the date, and make the old id impossible to send afterwards. For a dated example of the full sequence, see GPT-5 and o3 shut down Dec 11 and whisper-1, tts-1 and legacy realtime shutdowns.
Limits of this study
The sample is 91 repositories, picked by stars and tag. The classification was done by reading, so another reader could draw a few lines differently, particularly on "a default that is actually used". Counts are as of 2026-11-26; vendor dates move, and Anthropic labels its dates tentative.5 A repository that was clean on that day can acquire a retiring default tomorrow, which is why the check belongs in CI and not in a one-off audit.
