Repository navigation
Commit 7f848c5
fix: drop gpt-5.4 and gpt-5.4-mini from the subscription allowlist
Both retire from the ChatGPT-subscription model picker at
2026-08-31T19:00:00Z. `openai/codex`'s shipped catalog
(codex-rs/models-manager/models.json, fetched first-hand) marks both
`visibility: "hide"` with `upgrade.retirement_at: "2026-08-31T19:00:00Z"` and
names the replacements: gpt-5.4 -> gpt-5.6-terra, gpt-5.4-mini -> gpt-5.6-luna.
Both replacements are already in `OAUTH_ALLOWED_MODELS`, so affected users land
on a working model with no further change.
This is a subscription-picker retirement, NOT an API deprecation: both ids
still carry `supported_in_api: true`, neither is on OpenAI's deprecations page,
and models.dev marks neither `deprecated`. The filter only runs when
`auth.type === "oauth"`, so API-key users are unaffected.
It will not self-heal. models.dev hard-deletes an id only once it stops serving
entirely, and these remain live API models, so the catalog keeps them. Left in
the allowlist they would sit in the subscription picker past the deadline and
fail at request time with the same opaque 400 that #1179 rebuilt this list to
prevent.
Tests: gpt-5.4 / gpt-5.4-mini move out of VERIFIED_ACCEPTED into a new
RETIRED_FROM_SUBSCRIPTION constant rather than into VERIFIED_REJECTED — they
probed HTTP 200, so they stopped being offered rather than being refused, and
collapsing the two would misrepresent the evidence. Adds coverage that each
retired id is excluded and that its documented replacement is still offered.
Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VqnuBDGkh1ZT65Ti7e6DHZ1 parent c59a5a2 commit 7f848c5
2 files changed
Lines changed: 55 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
114 | 136 | | |
115 | 137 | | |
116 | 138 | | |
117 | | - | |
118 | | - | |
119 | 139 | | |
120 | 140 | | |
121 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
58 | 63 | | |
59 | 64 | | |
60 | 65 | | |
| |||
94 | 99 | | |
95 | 100 | | |
96 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
97 | 119 | | |
98 | 120 | | |
99 | 121 | | |
| |||
177 | 199 | | |
178 | 200 | | |
179 | 201 | | |
| 202 | + | |
180 | 203 | | |
181 | 204 | | |
182 | 205 | | |
183 | | - | |
| 206 | + | |
184 | 207 | | |
185 | 208 | | |
186 | 209 | | |
| |||
0 commit comments