> ## Documentation Index
> Fetch the complete documentation index at: https://docs.laozhang.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Retired Models: Shutdown Dates, Replacements

> Retired and deprecated OpenAI, Gemini, Claude and DeepSeek model IDs on LaoZhang API, the replacement for each, and vendor shutdown dates still ahead.

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](https://developers.openai.com/api/docs/deprecations)).

| Retired model IDs | Replacement | Error and notes |
| - | - | - |
| `gpt-3.5-turbo`, `gpt-3.5-turbo-0125`, `gpt-3.5-turbo-0613`, `gpt-3.5-turbo-1106`, `gpt-3.5-turbo-16k`, `gpt-3.5-turbo-16k-0613` | `gpt-5.6-terra` | 404 |
| `gpt-4o-2024-05-13` | `gpt-5.6-sol` | 404; the `gpt-4o` alias still works for now |
| `o1`, `o1-2024-12-17`, `o1-pro`, `o1-pro-2025-03-19`, `o1-preview`, `o1-preview-2024-09-12` | `gpt-5.6-sol` | 404 |
| `o1-mini`, `o1-mini-2024-09-12` | `gpt-5.6-terra` | 404 |
| `o3-mini`, `o3-mini-2025-01-31`, `o3-mini-low`, `o3-mini-medium`, `o3-mini-2025-01-31-low`, `o3-mini-2025-01-31-medium`, `o3-mini-2025-01-31-high` | `gpt-5.6-sol` | 404 |
| `gpt-4.1-nano`, `gpt-4.1-nano-2025-04-14` | `gpt-5.6-luna` | 404 |

### OpenAI image models

Retired on LaoZhang API on November 16, 2026.

| Retired model IDs | Replacement | Error and notes |
| - | - | - |
| `gpt-image-1` | `gpt-image-2.5-sunburst` or `gpt-image-2.5-flare` | 404; GPT Image 2.6 also works |
| `dall-e-3` | `gpt-image-2.5-sunburst` or `gpt-image-2.5-flare` | 404; GPT Image 2.6 also works |

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](https://docs.laozhang.ai/en/api-capabilities/gpt-image-2-6.md) and the [GPT Image 2.5 guide](https://docs.laozhang.ai/en/api-capabilities/gpt-image-2-5.md).

### OpenAI speech and transcription models

| Retired model IDs | Replacement | Error and notes |
| - | - | - |
| `gpt-4o-transcribe`, `gpt-4o-mini-transcribe` | A Gemini model such as `gemini-3.8-flash` | 503 since November 16, 2026 |
| `whisper-1` | A Gemini model such as `gemini-3.8-flash` | 503 since October 28, 2026 |
| `tts-1`, `tts-1-hd`, `gpt-4o-mini-tts` | None on LaoZhang API | 503 since November 16, 2026 |

Transcription with Gemini goes through the Gemini native API, not `/v1/audio/transcriptions`. The [audio transcription guide](https://docs.laozhang.ai/en/api-capabilities/audio-transcription.md) has the full request.

### Google Gemini models

Shutdown dates come from Google's [Gemini API deprecations page](https://ai.google.dev/gemini-api/docs/deprecations).

| Retired model IDs | Replacement | Error and notes |
| - | - | - |
| `gemini-2.5-flash`, `gemini-2.5-flash-nothinking` | `gemini-3.5-flash-lite`, or `gemini-3.8-flash` for stronger results | 404; removed November 12, 2026; Google shuts it down December 1, 2026 |
| `gemini-2.5-pro` | `gemini-3.8-flash` | 404; removed November 12, 2026; Google shuts it down December 1, 2026 |
| `gemini-2.0-flash-lite` | `gemini-3.1-flash-lite` | 404; Google shut it down June 1, 2026 |
| `gemini-3-pro-preview` | `gemini-3.1-pro-preview` | 404; Google shut it down March 9, 2026 |
| `gemini-2.5-flash-lite` | `gemini-3.1-flash-lite` or `gemini-3.5-flash-lite` | Retired on LaoZhang API on November 24, 2026 (404 with the replacement); Google has not announced a shutdown |

`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](#still-callable-but-a-shutdown-is-announced). Details of the Gemini 2.5 Flash and Pro change are in the [Gemini 2.5 announcement](https://docs.laozhang.ai/en/announcements/gemini-2-5-flash-pro-retired-2026-11.md).

### Anthropic Claude models

| Retired model IDs | Replacement | Error and notes |
| - | - | - |
| `claude-sonnet-4-5-20250929` | `claude-sonnet-4-6` or `claude-sonnet-5-5` | 404; removed November 4, 2026; Anthropic retires it from its API November 30, 2026 |

### DeepSeek models

| Retired model IDs | Replacement | Error and notes |
| - | - | - |
| `deepseek-chat`, `deepseek-reasoner`, `deepseek-v3.2`, `deepseek-v3-20250324` | `deepseek-flash` | 404 |

### Grok and Sora models

| Retired model IDs | Replacement | Error and notes |
| - | - | - |
| `grok-imagine-image` | `grok-imagine-image-2.0` | 503 since October 30, 2026 |
| `sora-2`, `sora-2-pro` | Wan 2.7 or Seedance 2.0 | Retired; no new requests |

See the [Grok Imagine Image announcement](https://docs.laozhang.ai/en/announcements/grok-imagine-image-retired-2026-10.md) and the [Sora 2 retirement page](https://docs.laozhang.ai/en/api-capabilities/sora2/official-forward.md) 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:

```json theme={null}
{
  "error": {
    "param": "",
    "localized_message": "",
    "code": "invalid_request",
    "type": "shell_api_error",
    "message": "The model gpt-3.5-turbo has been retired by OpenAI and is no longer available. Switch to gpt-5.6-terra, OpenAI's recommended replacement: only the model name changes."
  }
}
```

The Claude Messages endpoint (`/v1/messages`) returns the same information in Anthropic's error format, plus a `request_id` field:

```json theme={null}
{
  "type": "error",
  "error": {
    "type": "not_found_error",
    "message": "The model claude-sonnet-4-5-20250929 has been retired and is no longer available. Switch to claude-sonnet-4-6 or claude-sonnet-5-5: only the model name changes."
  }
}
```

### 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:

```text theme={null}
Current group default has no available channels for model tts-1 ...
```

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.

| Model ID | Vendor shutdown | Replacement |
| - | - | - |
| `gpt-image-1.5`, `gpt-image-1-mini` | December 1, 2026 | `gpt-image-2.6-sunburst` or `gpt-image-2.6-flare` |
| `o3`, `o3-pro`, `gpt-5`, `gpt-5-pro` | December 11, 2026 | `gpt-6.1-sol` |
| `gpt-5-mini` | December 11, 2026 | `gpt-6.1-terra` |
| `gpt-5-nano` | December 11, 2026 | `gpt-6-luna` |
| `gpt-4o`, `gpt-4o-mini`, `gpt-4.1`, `gpt-4.1-mini` | January 14, 2027 | `gpt-6-luna` |
| `gpt-image-2` | February 10, 2027 | `gpt-image-2.6-sunburst` or `gpt-image-2.6-flare` |
| `gpt-5.1` | April 1, 2027 | `gpt-6-sol` |
| `o4-mini` | Already shut down by OpenAI (October 23, 2026) | `gpt-5.6-terra` |
| `gemini-2.5-flash-image` | March 15, 2027 | `gemini-3.1-flash-lite-image` |
| `gemini-3.1-flash-lite` | May 7, 2027 | `gemini-3.5-flash-lite` |
| `gemini-3.1-flash-lite-preview` | Already shut down by Google (May 25, 2026) | `gemini-3.1-flash-lite` |
| `gemini-3-pro-image-preview` | Already shut down by Google (June 25, 2026) | `gemini-3-pro-image` |
| `gemini-3.1-flash-image-preview` | Already shut down by Google (June 25, 2026) | `gemini-3.1-flash-image` or `gemini-nano-banana-2.1` |

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](https://developers.openai.com/api/docs/deprecations) and Google's [Gemini API deprecations page](https://ai.google.dev/gemini-api/docs/deprecations), 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:

```bash theme={null}
grep -rnE "gpt-3\.5-turbo|o1-mini|gemini-2\.5-flash|dall-e-3" .
```

**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](https://docs.laozhang.ai/en/models.md), make sure your token group can call it on the [token page](https://api.laozhang.ai/token), and after switching confirm the model name and charge in your [call logs](https://api.laozhang.ai/log).

A request with the replacement for `gpt-3.5-turbo`:

```bash theme={null}
export LAOZHANG_API_KEY="YOUR_LAOZHANG_API_KEY"

curl https://api.laozhang.ai/v1/chat/completions \
  -H "Authorization: Bearer $LAOZHANG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.6-terra",
    "messages": [
      {"role": "user", "content": "Summarize this support ticket in two sentences."}
    ]
  }'
```

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](https://ai.google.dev/gemini-api/docs/deprecations) 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](https://api.laozhang.ai/log).

### 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](https://docs.laozhang.ai/en/models.md) 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.

## Related docs

* [Models and pricing](https://docs.laozhang.ai/en/models.md): current model IDs, prices and token groups
* [GPT Image 2.6](https://docs.laozhang.ai/en/api-capabilities/gpt-image-2-6.md) and [GPT Image 2.5](https://docs.laozhang.ai/en/api-capabilities/gpt-image-2-5.md): replacements for `gpt-image-1` and `dall-e-3`
* [Gemini 2.5 Flash and 2.5 Pro withdrawn](https://docs.laozhang.ai/en/announcements/gemini-2-5-flash-pro-retired-2026-11.md)
* [Grok Imagine Image retired](https://docs.laozhang.ai/en/announcements/grok-imagine-image-retired-2026-10.md)
* [Sora 2 retirement and alternatives](https://docs.laozhang.ai/en/api-capabilities/sora2/official-forward.md)
* [Audio transcription with Gemini](https://docs.laozhang.ai/en/api-capabilities/audio-transcription.md)

Official sources:

* [OpenAI API deprecations](https://developers.openai.com/api/docs/deprecations)
* [Google Gemini API deprecations](https://ai.google.dev/gemini-api/docs/deprecations)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.