Skip to content

[merge 12-11] feat: o3, gpt-5-mini and gpt-5-nano retire — gpt-5.4-mini and gpt-5.6-luna take their rungs - #18

Merged
VickyXAI merged 3 commits into
mainfrom
chore/retire-openai-1211
Nov 24, 2026
Merged

VickyXAI merged 3 commits into
mainfrom
chore/retire-openai-1211

Conversation

@VickyXAI

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 #17 (the 12-01 Gemini 2.5 retirement). Merge #17 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 → gpt-5.4-mini ($2/$8 → $0.75/$4.50), gpt-5-mini → gpt-5.6-luna ($0.25/$2 → $0.20/$1.20) and gpt-5-nano → gpt-6-luna.

Chains (src/config.ts)

  • openai/o3 rungs dropped in auto and premium REASONING. Each sat directly behind gpt-5.4-mini, its successor, so by the dedupe rule the order actually served doesn't change.
  • Agentic MEDIUM primary openai/gpt-5-mini → openai/gpt-5.6-luna, in place. Luna wasn't already in that chain. I picked the successor over promoting the next rung (gemini-3.6-flash, $0.75/$3.75) for two reasons. It is what the gateway serves under the old name from 12-11. And it keeps the tier's cost where it was ($0.20/$1.20 vs $0.25/$2).
  • gpt-5-nano was in no chain.

Affinity (src/portfolio.ts)

The 16 "gpt-5-mini" band values move to "gpt-5.6-luna" unchanged (TerminalComplexHigh, WebResearch, retail, airline, toolAgent, parallel*). So do its places in the code_agent, tool_agent and tool_agent_parallel evidence pools and the web-research order. Luna had no band values of its own. These values are carried from gpt-5-mini, not measured, and the comment above the bands says so. One caveat goes beyond the Gemini carry-overs: gpt-5-mini is a reasoning model and Luna runs without reasoning. The Terminal-Bench 4/7 and tau2 airline 5/6 evidence behind the agentic MEDIUM primary is therefore a placeholder for Luna. See owner decisions below.

Probe / capabilities

None needed, $0 spent. gpt-5.6-luna and gpt-5.4-mini already have tool evidence (supportsTools: true) and live profiles. model-capabilities.ts is not re-synced here. The retired ids stay in the generated catalog snapshot until the gateways ship the redirect, and the next sync drops them (same as #16). They are no longer routed, and retired-models.test.ts proves it.

Decision snapshot diff

  • 0 of 88 primaries move. 0 tiers move.
  • 29 rows change only their candidate lists. 20 rename gpt-5-mini → gpt-5.6-luna and 9 drop o3. 26 of the 29 are exactly the rename plus the dedupe.
  • In 3 eco rows (prompts 1, 11, 16) Luna sits three places lower, and 4 eco rows' candidateScores change. This is the name-hash artifact: the snapshot prices models from a hash of the name, so gpt-5-mini was $2.20/$2.50 and Luna is $3.60/$6.70.
  • Real prices: I re-routed the same corpus with the live blockrun.ai catalog prices, comparing [merge 12-01] feat: Gemini 2.5 retires — 3.5 Flash-Lite and 3.8 Flash take its rungs #17's config with this one. 4 of 88 move, all gpt-5-mini → gpt-5.6-luna on eco tool_agent turns (1 SIMPLE, 3 MEDIUM). The moved rows cost 35% less. No real-price row picked o3 before.

Tests

  • retired-models.test.ts covers the three ids, plus a new web-research case: web tools and a research prompt, across every profile.
  • Fixtures rename gpt-5-mini → gpt-5.6-luna. portfolio.test.ts keeps the synthetic price; hardening.test.ts uses Luna's real $0.20/$1.20.
  • npm run check: typecheck, 197/197 tests and build pass. README updated (carry-over note, test count). dist/ rebuilt.
  • README examples 1 and 2 re-run on the new config with live prices: unchanged. Example 3's candidates=12 was already not reproducible on [merge 12-01] feat: Gemini 2.5 retires — 3.5 Flash-Lite and 3.8 Flash take its rungs #17's config (27 at live prices), and this PR moves it by one dedupe, so I left it alone.
  • Mutation check, each reverted, failed, then restored:
    • o3 back in auto REASONING: 2 of 5 retirement tests fail.
    • gpt-5-mini back as the agentic MEDIUM primary: 2 fail.
    • gpt-5-mini back in the tool_agent evidence pool: 1 fails.
    • gpt-5-mini back in the web-research order: the retirement tests pass, because that list only reorders already-eligible models and can't leak an id. portfolio.test's deep-web-research slot assertion fails, though.

All four were killed.

Owner decisions

  • Agentic MEDIUM primary on carried evidence. Luna inherits gpt-5-mini's calibrated bands without a run of its own. If you would rather not promote on carried values, the alternative is gemini-3.6-flash, already the next rung, whose tool_agent band 0.88 is itself carried from 3.5 Flash. A Terminal-Bench/tau2 run on Luna would settle it. I did not spend on one here.
  • gpt-5-nano → gpt-6-luna is dearer for a pinned caller (2x input, 1.25x output). That decision is on the gateway side. Nothing here routes gpt-5-nano.

ClawRouter's router-core pin is not bumped here; that happens after merge.

🤖 Generated with Claude Code

…pt-5.6-luna take their rungs

Merge on 2026-12-11, not before. OpenAI shuts down o3, gpt-5-mini and
gpt-5-nano that day (developers.openai.com/api/docs/deprecations, notice
2026-06-11) and the gateways redirect o3 -> gpt-5.4-mini ($0.75/$4.50),
gpt-5-mini -> gpt-5.6-luna ($0.20/$1.20) and gpt-5-nano -> gpt-6-luna.

Chains: both o3 rungs (auto and premium REASONING) sat directly behind
gpt-5.4-mini, so the dedupe rule drops them. The agentic MEDIUM primary
gpt-5-mini becomes gpt-5.6-luna in place; luna was not already in that
chain. gpt-5-nano was in no chain.

Affinity: the sixteen "gpt-5-mini" band values move to "gpt-5.6-luna"
unchanged, and so do its places in the code_agent, tool_agent and
tool_agent_parallel evidence pools and the web-research order. They are
CARRIED, not measured. gpt-5-mini is a reasoning model and luna runs without
reasoning, so the comment above the bands calls them a placeholder until a
Terminal-Bench/tau2 run on luna.

Decision snapshot: 0 of 88 primaries move, 0 tiers. 29 rows change only
their candidate lists: 20 rename gpt-5-mini -> gpt-5.6-luna and 9 drop o3.
26 are exactly the rename plus the dedupe. In 3 eco rows luna sits three
places lower, and 4 eco rows' candidateScores change. Both are the name-hash
price artifact: the snapshot prices gpt-5-mini at $2.20/$2.50 and luna at
$3.60/$6.70. Re-routing the corpus with the live catalog's real prices moves
4 of 88, all gpt-5-mini -> gpt-5.6-luna on eco tool_agent turns, 35% cheaper.

README carries the carry-over note and the test count. dist/ rebuilt.

Tests: retired-models.test.ts covers the three ids plus a web-research turn.
Fixtures rename gpt-5-mini -> gpt-5.6-luna (synthetic price in portfolio.test,
luna's real price in hardening.test). Mutation check: o3 back in auto
REASONING fails 2 of 5; gpt-5-mini back as the agentic MEDIUM primary fails
2; gpt-5-mini back in the tool_agent pool fails 1; gpt-5-mini back in the
web-research order fails the portfolio.test slot assertion.
1bcMax added 2 commits November 24, 2026 16:57
…thout calling it a redirect

Owner decision 2026-11-24: the gateways keep serving openai/gpt-5-nano from
Azure at its own $0.05/$0.40 until 2027-02-09 instead of redirecting it to
gpt-6-luna. It was never in a chain, so routing is unchanged; the config
comment and the REDIRECTED test table no longer claim a redirect, and a
dedicated test keeps it out of every chain until its retirement.
@VickyXAI

Copy link
Copy Markdown
Contributor Author

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

  • Routing is unchanged, because gpt-5-nano was never in a chain.
  • The config comment and the REDIRECTED test table no longer claim a gpt-5-nano → gpt-6-luna redirect.
  • A dedicated test keeps openai/gpt-5-nano out of every chain. It fails when the model is inserted into a chain.
  • I merged origin/main first. npm run check passes: 198 tests in 12 files, tsc, build. dist is rebuilt and the README test count is updated.

@VickyXAI
VickyXAI merged commit d57f021 into main Nov 24, 2026
2 checks passed
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