Skip to content

Verify gpt-4o-mini retirement status; decide on new default fallback if retired #46

Closed

Description

@stackbilt-admin

Background

Spun off from #44 / PR #45. AEGIS ecosystem-pulse flagged `gpt-4o` proper as retired 2026-04-03 but did not flag `gpt-4o-mini`. The routine-fire note in #44 said mini's status should be confirmed separately.

As of Jan 2026 model-retirement pages, `gpt-4o-mini` had no announced retirement date — but OpenAI's deprecation page is the source of truth, not memory.

Why this matters (P1, not P0)

`gpt-4o-mini` is load-bearing in this repo:

  • `src/factory.ts:1107` — default vision model when only OpenAI is configured
  • `src/providers/openai.ts:153` — fallback when `request.model` is unset in `formatRequest`
  • `src/providers/openai.ts:308` — fallback in response assembly
  • `src/providers/openai.ts:486` — fallback in streaming path

If it's retired, every OpenAI-default consumer breaks silently. Unlike `gpt-4o` proper (which is only hit when explicitly resolved), mini is the hot path when callers don't specify a model.

Ask

  1. Verify status against https://platform.openai.com/docs/deprecations (or OpenAI's current deprecation policy page). Look for `gpt-4o-mini` specifically and any successor (e.g., `gpt-4.1-mini`, `gpt-5-nano`, etc.).
  2. If still active: close this issue with a note and today's verification date.
  3. If retired or scheduled to retire:
    • File a migration PR replacing the 4 fallback sites with the successor
    • Add `@deprecated` to `MODELS.GPT_4O_MINI` pointing at the successor constant
    • Drop `gpt-4o-mini` from `OpenAIProvider.models[]` + capabilities (use the drift test in `src/tests/model-drift.test.ts` as a correctness check)
    • Bump minor version, update CHANGELOG

Priority

P1 — default fallback path, not a fringe consumer. Not a 2-day deadline like Haiku 3 was, but shouldn't sit indefinitely.


Filed as follow-up per reviewer ask on PR #45.

Activity

  1. stackbilt-admin commented on Apr 21, 2026

    @stackbilt-admin
    MemberAuthor

    Verified 2026-04-21 — gpt-4o-mini is still active on the OpenAI API

    Source of truth check:

    • OpenAI community moderator (thread: What is the sunset date for gpt-4o-mini?): "There are currently no announced deprecations for gpt-4o-mini."
    • No entry for gpt-4o-mini on OpenAI's deprecations page.
    • The Feb 2026 retirement wave covered gpt-4o (retired 2026-02-16), chatgpt-4o-latest (retired 2026-02-17, successor gpt-5.1-chat-latest), gpt-4.1-turbo, and o4-mini — gpt-4o-mini was not in scope.

    Action: No change needed. The 4 load-bearing fallback sites (src/factory.ts:1107, src/providers/openai.ts:153/308/486) keep their gpt-4o-mini default.

    Forward-looking note (not acted on now): Azure retired its hosted gpt-4o-mini family on 2026-02-27 on their own schedule. That's platform-specific (Azure pulls models independently of OpenAI) and doesn't affect this package since we talk to api.openai.com directly — but it's a weak signal that OpenAI may follow within a few quarters. Next ecosystem-pulse sweep should re-verify. Successor path when it comes: gpt-5.1-mini (general) or o3-mini (reasoning-heavy).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions