Skip to content

[merge 12-11] fix(chat): o3, gpt-5-mini and gpt-5-nano retire; gpt-5-mini leaves fast - #234

Open
VickyXAI wants to merge 2 commits into
chore/retire-gemini-25-1201from
chore/retire-openai-1211
Open

VickyXAI wants to merge 2 commits into
chore/retire-gemini-25-1201from
chore/retire-openai-1211

Conversation

@VickyXAI

@VickyXAI VickyXAI commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Merge on 2026-12-11, not before, and only after the base/sol/arc [merge 12-11] gateway PRs are deployed. This PR is stacked on #232 (the 12-01 Gemini 2.5 retirement). Merge #232 first without --delete-branch, retarget this PR to main, then merge it.

OpenAI shuts down o3, gpt-5-mini and gpt-5-nano on 2026-12-11 (deprecations page, notice 2026-06-11). From that day the gateways redirect o3 and gpt-5-mini before pricing and quote the successor. gpt-5-nano is not redirected (owner decision 2026-11-24). The gateways serve it from Azure at its own $0.05/$0.40 until 2027-02-09.

Retired Gateway target Price
openai/o3 openai/gpt-5.4-mini $2/$8 → $0.75/$4.50
openai/gpt-5-mini openai/gpt-5.6-luna $0.25/$2 → $0.20/$1.20
openai/gpt-5-nano (hidden) not redirected until 2027-02-09 $0.05/$0.40, unchanged
openai/gpt-4.1-nano (base) openai/gpt-5-nano, unchanged $0.10/$0.40 → $0.05/$0.40

Changes

  • fast: openai/gpt-5-mini is removed. gpt-5.6-luna already sat one slot earlier, so from 12-11 the tier would have tried the same model twice. The order that is actually served doesn't change, and every other member keeps its position. No other tier named o3, gpt-5-mini or gpt-5-nano.
  • o3 and gpt-5-mini price rows stay for pinned calls. Each over-covers its successor on both axes, and still covers any rail that bills the old id until it ships the redirect (the claude-opus-4 rule).
  • gpt-5-mini gains a >272K step of $0.5/$3, which is its own row at OpenAI's 2x/1.5x. gpt-5-mini has a 200K window and never reached 272K. Its successor luna has a 1M window and bills $0.40/$1.80 above 272K. Without the step, a pinned gpt-5-mini at 700K chars reserved $0.096 against luna's $0.151 quote. The new retirement test caught this.
  • gpt-4.1-nano row dropped (the o3-mini rule). $0.1/$0.4 under-reserves Solana, which has sent gpt-4.1-nano to gpt-4.1-mini ($0.4/$1.6) since 2026-11-03. Base sends it to gpt-5-nano ($0.05/$0.4). The $5/$30 default covers both. Arc still serves gpt-4.1-nano itself.
  • gpt-5-nano never had a row. The default reserve covers its own price, and it stays in no tier.
  • No tool description changed, so the schema-cost tables don't move. The fast tier's worst member is still gemini-3.6-flash, so no reserve moves.

Tests

  • test/retired-models.test.ts now covers o3, gpt-5-mini, gpt-5-nano and gpt-4.1-nano through the existing tier, row, rate and every-prompt-size checks. Two new tests:
    • fast's first four members are pinned, so gpt-5-mini's removal moves nothing else;
    • gpt-4.1-nano carries no row and covers both rails' targets (gpt-6-luna and gpt-4.1-mini) at 1K, 100K and 700K chars.
  • npm run typecheck clean. npm test: 1527/1527 pass. npm run build OK. npm run verify:prices: exit 0, Solana and Base 0 under-reserved.
  • Mutation check, each run reverted, failed, then restored:
    • gpt-5-mini back in fast: 2 tests fail.
    • gpt-4.1-nano row restored: 3 fail.
    • gpt-5-mini >272K step removed: 1 fails.
    • o3 row set below gpt-5.4-mini: 2 fail.

All four were killed.

Owner decision (decided 2026-11-24)

gpt-5-nano stays on Azure at its own price until 2027-02-09; it is not redirected to gpt-6-luna. The amendment commit 60b3da9 drops it and gpt-4.1-nano from the redirect table. Two tests replace them:

  • "gpt-5-nano is not redirected before 2027-02-09: in no tier, and the reserve covers its own price";
  • the gpt-4.1-nano test, which now covers gpt-5-nano (base) and gpt-4.1-mini (Solana).

npm test passes 1528/1528. typecheck and build pass. verify:prices exits 0 with 0 under-reserved on Base and Solana. Three more mutations, all killed: gpt-5-nano in fast, the gpt-4.1-nano $0.1/$0.4 row restored, a gpt-5-nano row below its own price.

🤖 Generated with Claude Code

…ves fast

OpenAI shuts down o3, gpt-5-mini and gpt-5-nano on 2026-12-11
(developers.openai.com/api/docs/deprecations, notice 2026-06-11). From
that day the gateways redirect o3 -> gpt-5.4-mini, gpt-5-mini ->
gpt-5.6-luna, gpt-5-nano -> gpt-6-luna and (base) gpt-4.1-nano ->
gpt-6-luna, quoting the successor's price.

- fast: gpt-5-mini's slot is removed. gpt-5.6-luna already sat one slot
  earlier, so the order that is actually served does not change.
- o3 and gpt-5-mini price rows stay for pins: each over-covers its
  successor. gpt-5-mini gains a >272K step ($0.5/$3, its own row at
  OpenAI's 2x/1.5x) because luna has a 1M window and bills $0.4/$1.8
  above 272K, which a pinned gpt-5-mini can now reach.
- gpt-4.1-nano's $0.1/$0.4 row is dropped: it under-reserves base's new
  target (gpt-6-luna, $0.1/$0.5) and Solana's gpt-4.1-mini ($0.4/$1.6,
  since 2026-11-03). The $5/$30 default covers both.
…rice until 2027-02-09

Owner decision 2026-11-24: the gateways keep serving openai/gpt-5-nano from
Azure at $0.05/$0.4 until 2027-02-09 instead of redirecting it to
gpt-6-luna. It stays in no tier with no price row (the default reserve
covers it); the retirement table no longer lists it as a redirect.

gpt-4.1-nano: base keeps redirecting it to gpt-5-nano ($0.05/$0.4) until
then. Its $0.1/$0.4 row stays dropped, because Solana sends it to
gpt-4.1-mini ($0.4/$1.6); the test now covers gpt-5-nano and gpt-4.1-mini.
@VickyXAI

Copy link
Copy Markdown
Contributor Author

Amended for the owner's 2026-11-24 decision in 60b3da9: gpt-5-nano is not redirected to gpt-6-luna. The gateways serve it from Azure at $0.05/$0.40 until 2027-02-09.

  • gpt-5-nano: it stays out of every tier with no price row, because the default reserve covers it. It leaves the redirect table.
  • gpt-4.1-nano: its row stays dropped. Base sends it to gpt-5-nano, but Solana sends it to gpt-4.1-mini at $0.4/$1.6, which the old row under-reserves.
  • Verification:
    • npm test passes 1528/1528. typecheck and build pass.
    • verify:prices exits 0.
    • All 3 new mutations are killed.

I updated the description.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant