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

# Gemini 2.5 Flash and 2.5 Pro withdrawn

> gemini-2.5-flash, gemini-2.5-pro and gemini-2.5-flash-nothinking now return 503. Use gemini-3.5-flash-lite or gemini-3.8-flash; 2.5 Flash-Lite still works.

The three Gemini 2.5 Flash and 2.5 Pro model IDs were withdrawn on November 12, 2026, and requests for them now return 503. Google has deprecated both models. Switch to the Gemini 3.x model in the table below; the endpoint, API key, and request format stay the same.

* **Published**: November 12, 2026
* **Last checked**: November 12, 2026
* **Status**: Withdrawn

## Key facts

| Item | Details |
| - | - |
| Withdrawn models | `gemini-2.5-flash`, `gemini-2.5-pro`, `gemini-2.5-flash-nothinking` |
| Withdrawn on | November 12, 2026 |
| What you see | HTTP 503 with `no available channels for model gemini-2.5-flash` |
| Not affected | `gemini-2.5-flash-lite`, `gemini-2.5-flash-image` (Nano Banana), Gemini 3.x and Gemini 4 |
| Endpoints | Unchanged: OpenAI-compatible `/v1/chat/completions` and Gemini-native `/v1beta/models/{model}:generateContent` |

## Which model to use instead

| Old model | New model | When to choose it |
| - | - | - |
| `gemini-2.5-flash` | `gemini-3.5-flash-lite` | About the same price as `gemini-2.5-flash`; chat, classification, extraction, and batch jobs |
| `gemini-2.5-flash` | `gemini-3.8-flash` | Better results on code, multimodal input, and multi-step tasks |
| `gemini-2.5-pro` | `gemini-3.8-flash` | Lower price than `gemini-2.5-pro`; fits most reasoning and long-document work |
| `gemini-2.5-pro` | `gemini-3.1-pro-preview` | Complex reasoning and long-document analysis |
| `gemini-2.5-flash-nothinking` | `gemini-3.5-flash-lite` | Low-latency calls; default thinking level `minimal` |

Google also names `gemini-3.5-flash-lite` and `gemini-3.8-flash` as the official replacements for these two models. Prices and token groups are in the [model catalog](https://docs.laozhang.ai/en/models.md); price comparisons on this page use prices as of November 12, 2026.

## Who is affected

| Scope | Details |
| - | - |
| Affected | Requests with `model` set to any of the three IDs above, through the OpenAI-compatible or the Gemini-native endpoint |
| Not affected | `gemini-2.5-flash-lite` stays available; the image model `gemini-2.5-flash-image`; Gemini 3.x and Gemini 4 text models |

In the days before the withdrawal, many requests to these models returned HTTP 500 (with `code` `403`) or 429. Failed requests were not charged. Requests now fail at once with 503 and are not routed to another model.

## How to migrate

**1. Change the model ID**

Set `model` to the Gemini 3.x model from the table. The endpoint and API key stay the same.

**2. Test with your own prompts**

Check answer quality, thinking behavior, tool calls, structured output, and token usage.

**3. Confirm price and billing**

Check the price in the [model catalog](https://docs.laozhang.ai/en/models.md), make sure your token group can call the new model 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).

Example with the OpenAI-compatible endpoint:

```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": "gemini-3.5-flash-lite",
    "messages": [
      {"role": "user", "content": "Turn these meeting notes into three action items"}
    ]
  }'
```

For the Gemini-native endpoint, change the model name in the path, for example `/v1beta/models/gemini-3.5-flash-lite:generateContent`. See [Gemini native API](https://docs.laozhang.ai/en/api-reference/gemini.md) for the full request.

## FAQ

### What happens if I still call gemini-2.5-flash?

The request returns HTTP 503 with a message that the model has no available channel, for example `Current group default has no available channels for model gemini-2.5-flash`. It is not charged and not routed to another model, so change `model` yourself.

### Google retires them on December 1. Why are they gone already?

Google's [deprecations page](https://ai.google.dev/gemini-api/docs/deprecations) lists December 1, 2026 as the Gemini API shutdown date for `gemini-2.5-flash` and `gemini-2.5-pro`; on Vertex AI they retired on October 20, 2026.

From November 9, available capacity for both models kept shrinking and most requests failed, so LaoZhang API withdrew them early instead of letting requests wait more than ten seconds before failing.

### Can I still use gemini-2.5-flash-lite?

Yes. Google's deprecations page lists no shutdown date for `gemini-2.5-flash-lite`, and LaoZhang API keeps serving it at the same price.

### Will my cost change if I switch to gemini-3.5-flash-lite?

Barely. As of November 12, 2026, `gemini-3.5-flash-lite` has the same input price as `gemini-2.5-flash` and almost the same output price, and `gemini-3.8-flash` costs less than `gemini-2.5-pro`. Current prices are in the [model catalog](https://docs.laozhang.ai/en/models.md).

### How do I control thinking on Gemini 3.x?

Gemini 3 models take the thinking level as a request parameter, and the default differs by model; Gemini 3.5 Flash-Lite defaults to `minimal`. Do not add suffixes such as `-thinking` or `-nothinking`; use the model IDs listed in the [model catalog](https://docs.laozhang.ai/en/models.md).

### Will gemini-2.5-flash or gemini-2.5-pro come back?

There is no plan to bring them back. Google has deprecated both models; if that changes, this page and the [announcement index](https://docs.laozhang.ai/en/changelog.md) will be updated.

## Sources and related docs

* **Google**: [Gemini API deprecations and shutdown dates](https://ai.google.dev/gemini-api/docs/deprecations), [Vertex AI model versions and retirement dates](https://cloud.google.com/vertex-ai/generative-ai/docs/learn/model-versions)
* **LaoZhang API**: the withdrawn status is based on live calls on November 12, 2026; current models, prices, and charges are in the [model catalog](https://docs.laozhang.ai/en/models.md) and your [call logs](https://api.laozhang.ai/log)
* **Related docs**: [Gemini native API](https://docs.laozhang.ai/en/api-reference/gemini.md), [Gemini 2.5 text models unstable (October notice)](https://docs.laozhang.ai/en/announcements/gemini-2-5-unstable-2026-10.md), [How to check whether a model is available](https://docs.laozhang.ai/en/faq/model-availability.md)


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