The model you removed is not an outage
On 2026-09-15 the CometAPI changelog posted a “GPT-4o Search Preview Deprecation Notice”: gpt-4o-search-preview “has been removed from CometAPI and is no longer available. This change takes effect immediately.” The same notice recommends gpt-6-astra or gpt-5.6-sol for new workloads.
Separately, the undated “Model Retirement & Replacement Summary” block on that page says: “No automatic migration will be performed — please migrate to the recommended replacement models before the shutdown dates to avoid service interruptions.”
A retry policy assumes the model is still there; the catalog is what actually decides that.
The retry table is classified by failure shape
CometAPI’s retry guide is organized around request shape, not around the model’s lifecycle state:
| Status or signal | Retry? |
|---|---|
400, 401 |
No — fix the body or the key |
403 |
Usually no — remove unsupported fields and verify model access |
429, 500, 503, 504, 524 |
Yes — backoff, keep the request ID |
500 with invalid_request |
No — fix the request shape |
Two rows matter here. First, 403 is documented as usually no, so a clean yes/no classifier will drop it into its default bucket. Second, the error-code page warns that missing required chat fields “can also surface as 500 with error.code: invalid_request” — a server-status code wrapping a deterministic request problem. The retry guide’s own sample loop runs for attempt in range(5), so a loop keyed only on status_code in {500, 503, 504, 524} can spend five attempts on a payload that will never succeed.
Runbook: delisting as its own failure class
The steps below are the author’s recommendation, built on the documented pages rather than published by CometAPI.
- Probe the catalog before you loop.
GET https://api.cometapi.com/api/modelsis, per the models page, “a public catalog endpoint and does not require anAuthorizationheader.” Cache it and refresh on a schedule. - On the first failure, check membership. If the configured model ID is absent from the catalog, classify the event as
model_delistedand stop. No backoff, no fallback that reuses the same ID. - Author’s recommendation: make every write-capable step idempotent by task or request ID. No CometAPI page states this rule; the reasoning is that a retried refund or ticket creation that eventually succeeds is not recovery.
- Author’s recommendation: set an explicit stop condition. A suggested budget, not a documented one: two retries for a
429, one for a5xx, zero for a delisted event. The documented samples allow five attempts; this is deliberately stricter. Halt the queue rather than draining it into a dead route. - Log per failure. The rate-limit guide says to “Log route, model ID, status, and latency for each request.” Adding the request ID helps separate a retired model from a rate limit.
- Escalate with evidence. The error-code page’s support checklist includes the model ID, the “Sanitized request body JSON”, the exact
error.message, and anyrequest id.
Why this is not just naming discipline
The summary block makes replacement manual, and the 2026-09-15 removal took effect immediately rather than on a future shutdown date. The inference drawn here is that a removal can arrive without a scheduled window, at whatever hour traffic happens to hit it.
Open gap: the in-window changelog entries do not state which HTTP status a request to a removed model ID returns on CometAPI today. A captured response body for a delisted ID would settle it.
What does your retry classifier do when the model ID itself is the invalid part of the request?