Skip to content

Evaluation and modelsAnalysis

27 of the 91 top OpenAI repos default to a retiring model

On 2026-11-26 we scanned 331,970 files in the 91 most-starred active repos tagged openai for model ids that vendors have shut down, rerouted or scheduled. This is the method, the counts, three patterns, and how to check your own code and stop a retired model at request time.

By INFRO Editorial

Published

8 min read

A single amber path on a dark ground forking into two glass branches of slightly different brightness

In short

Of the 91 most-starred active repos tagged openai, 85 mention a retiring model id, and 27 (30%) send one when nobody picks a model; 7 of those are already shut down. To check your own code, search for the ids on each vendor's deprecation page, test what your app sends by default, and fail CI before a shutdown date.

Key takeaways

  • In the 91 most-starred active repos tagged openai, 85 mention a retiring id, 27 (30%) default to one, and 7 of those already default to a model that is shut down.
  • Only shipped code that sends the model when nobody picks one was counted; tests, docs, dropdowns, pricing tables and dead code were not.
  • OpenAI's TTS models shut down on 2027-01-06 and the listed replacement is not supported on /v1/audio/speech, so moving off them is a migration, not an id swap.
  • Check your own code by searching for the ids on each vendor's deprecation page, then by testing what your app sends when no model is chosen.
  • Add a CI check that fails before a shutdown date, and refuse retired ids at request time so a retired model never reaches the provider.

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

MeasureRepos
Sample after removing prompt collections and link lists91
Mention a retiring id anywhere (mostly tests, docs, model pickers)85
Default to or hard-code a model already shut down7
Default to one that shuts down or is rerouted by 2027-01-0624
Default to a retiring model, in all27 (30%)
results of the 2026-11-26 scan, after reading every hit in context.

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_error for 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.

  1. 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
  2. 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.
  3. Poll the vendor. OpenAI documents an optional shutdown_date on each model from GET /v1/models and 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.

check_retiring_models.py
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.

Questions readers ask

What is the gpt-5 shutdown date?
OpenAI's deprecations page lists gpt-5 (and gpt-5-2025-08-07), gpt-5-mini, gpt-5-nano and o3 for shutdown on 2026-12-11, with gpt-6.1-sol, gpt-6.1-terra and gpt-6-luna as the listed replacements.1
Is tts-1 deprecated, and can I swap the model id?
Yes. tts-1, tts-1-hd and gpt-4o-mini-tts shut down on 2027-01-06. OpenAI's guide says gpt-realtime-2.1-mini is not supported on /v1/audio/speech, so the move is a change of API workflow to the Realtime API, not a renamed model.3
What is happening to gemini-2.5-flash?
Google's deprecations page says that from 2026-12-01 requests to gemini-2.5-flash are routed to gemini-3.5-flash-lite and requests to gemini-2.5-pro to gemini-3.8-flash. Nothing errors; a different model answers. Google lists these as the earliest possible dates.4
How do I check code for deprecated OpenAI models?
Search code, config and stored settings for every id on the vendor's deprecation page, then run your app with no model chosen and record what it sends. OpenAI also exposes an optional shutdown_date field on GET /v1/models that you can poll.1

From the team that builds it

Where this shows up in INFRO

INFRO is a control plane in front of the provider accounts you already hold. The capabilities below are the parts of it this article touches, each with the documentation that defines its behaviour.

  • Model retirements

    Available with a plan

    INFRO records each vendor's model deprecations and shutdown dates, warns organizations still sending a retiring model, and from the shutdown date refuses it before any provider call, naming the replacement.

  • Model availability from your keys

    Available with a plan

    INFRO reads the model list your own provider key returns every three hours, and stops offering a model your key has stopped listing, with the date it stopped.

  • Health-aware routing

    Available with a plan

    Named routes use priority or weighted targets over your own connections, with health checks, retries and failover.

    Read the documentation for Health-aware routing
  • Automatic failover

    Available with a plan

    A route that times out or 5xxs before the response starts is retried elsewhere without your client seeing it.

    Read the documentation for Automatic failover

INFRO accounts are self-serve. Provider usage is billed to you by your providers; INFRO charges a software subscription and takes 0% of model spend. See plans.

Sources

Numbered in order of first citation. Each was opened and checked against the claim on the date shown.

  1. 1.Deprecations (OpenAI API) (opens in a new tab) — OpenAI. Accessed Nov 26, 2026.
  2. 2.OpenAI's October 23 shutdowns: find every call that still fails (opens in a new tab) — INFRO. Accessed Nov 26, 2026.
  3. 3.Text to speech (OpenAI API guide) (opens in a new tab) — OpenAI. Accessed Nov 26, 2026.
  4. 4.Gemini deprecations (Google AI Studio) (opens in a new tab) — Google. Accessed Nov 26, 2026.
  5. 5.Model deprecations (Claude Platform Docs) (opens in a new tab) — Anthropic. Accessed Nov 26, 2026.

About this article

Read on 2026-11-26: OpenAI's deprecations page (markdown version), OpenAI's text-to-speech guide, Google's Gemini deprecations page, Anthropic's model deprecations page, and INFRO's own write-up of OpenAI's 23 October shutdowns. Repository counts are the study's own and are not re-derivable from the vendor pages.

Last checked against its sources on . The next review is due by . No separate named reviewer is recorded for this article.

How articles are written, sourced and corrected is set out in the editorial standards.