Skip to main content
A request for a retired model fails at once, either with HTTP 404 and a message that names the replacement, or with HTTP 503 no available channels. Neither is billed. To fix it, change only the model value; the base URL, API key and request format stay the same.
  • Last checked: November 24, 2026
  • Status: Updated as models change

Retired models and their replacements

The model IDs in these tables can no longer be called on LaoZhang API. Unless a row says otherwise, the replacement is the model that the 404 error message suggests.

OpenAI text models

Retired on LaoZhang API on November 16, 2026. OpenAI shut these models down on October 23, 2026 (see the OpenAI deprecations page).

OpenAI image models

Retired on LaoZhang API on November 16, 2026. The GPT Image 2.6 IDs are gpt-image-2.6-sunburst and gpt-image-2.6-flare. Request examples are in the GPT Image 2.6 guide and the GPT Image 2.5 guide.

OpenAI speech and transcription models

Transcription with Gemini goes through the Gemini native API, not /v1/audio/transcriptions. The audio transcription guide has the full request.

Google Gemini models

Shutdown dates come from Google’s Gemini API deprecations page. gemini-3.5-flash-lite costs about the same as gemini-2.5-flash. gemini-3.1-flash-lite has its own Google shutdown date, listed in the next section. Details of the Gemini 2.5 Flash and Pro change are in the Gemini 2.5 announcement.

Anthropic Claude models

DeepSeek models

Grok and Sora models

See the Grok Imagine Image announcement and the Sora 2 retirement page for what changed and how to move video work.

What the error looks like

HTTP 404: the model is retired and a replacement is named

OpenAI-compatible endpoints (/v1/chat/completions, /v1/responses, /v1/images/generations) and the Gemini native /v1beta API return this body:
The Claude Messages endpoint (/v1/messages) returns the same information in Anthropic’s error format, plus a request_id field:

HTTP 503: no available channels

Speech models and a few other retired IDs return HTTP 503 without a suggested replacement. The error message contains a line like this one, shortened here:
For both errors:
  • Not billed: a 404 or 503 response does not charge your balance.
  • No automatic switch: the gateway never sends your request to a different model. The call keeps failing until you change model.

Still callable, but a shutdown is announced

These models still work on LaoZhang API, but their vendor has announced a shutdown date or has already stopped serving them. A model stays available while calls to it still succeed. Once the vendor stops serving it, the ID switches to the 404 error that names the replacement, and there is no fixed date for that switch here. Migrate before the vendor date. Notes on the table:
  • For the two pro models, call gpt-6.1-sol through the Responses API with reasoning.mode set to pro.
  • OpenAI’s page lists the dated snapshots behind gpt-4o, gpt-4o-mini, gpt-4.1 and gpt-4.1-mini.
  • On LaoZhang API, the two Gemini image preview names are served by the GA models at the same price. Switching to the GA ID changes nothing else.
Vendor dates are from the OpenAI deprecations page and Google’s Gemini API deprecations page, checked November 24, 2026.

How to migrate to the replacement model

1

Find every place that uses the old model ID

Search your code, config files, environment variables and workflow tools. For example:
2

Change only the model value

Set model to the replacement from the tables above. Keep the base URL https://api.laozhang.ai/v1, your API key and the request format. For Gemini native requests, change the model name in the URL path; for Claude /v1/messages, change model in the body.
3

Test with your own prompts

Compare output quality, reasoning or thinking behavior, tool calls, structured output and token usage. If the new model returns a 400 error about a parameter, check the parameters your old code still sends.
4

Confirm price, token group and billing

Check the new model’s price in Models and pricing, make sure your token group can call it on the token page, and after switching confirm the model name and charge in your call logs.
A request with the replacement for gpt-3.5-turbo:
A successful call returns HTTP 200 with the answer in choices[0].message.content.

FAQ

Is gemini-2.5-flash still available on LaoZhang API?

No. gemini-2.5-flash and gemini-2.5-pro were removed on November 12, 2026, and calls now return HTTP 404 with a suggested replacement. Use gemini-3.5-flash-lite, which costs about the same as Gemini 2.5 Flash, or gemini-3.8-flash for stronger results.

When is gemini-2.5-flash shut down?

Google’s Gemini API deprecations page lists December 1, 2026 as the shutdown date for gemini-2.5-flash and gemini-2.5-pro. On LaoZhang API both stopped earlier, on November 12, 2026.

Is gpt-4o still available, and when does it shut down?

Yes, gpt-4o still works on LaoZhang API. OpenAI lists January 14, 2027 as its shutdown date, so move to gpt-6-luna before then. The dated snapshot gpt-4o-2024-05-13 is already retired; use gpt-5.6-sol instead.

Are calls to retired models billed?

No. Requests that fail with HTTP 404 (model retired) or HTTP 503 (no available channels) do not charge your balance. You can confirm this in your call logs.

Why does /v1/models still list gpt-3.5-turbo?

Retired IDs that return the 404 replacement message can still appear in GET /v1/models, so that list does not prove a model can be called. The Models and pricing page lists only models you can call.

Can LaoZhang API map my old model name to the new one automatically?

No. The gateway never swaps one model for another, because a replacement can differ in output, supported parameters and price. Change model in your request; the 404 message tells you which ID to use. Official sources: