Deprecations: retired model ids and their successors
A retired id with a direct successor keeps working: the gateway sends the request to the successor, bills it at that model's price, and says so in an X-1xai-Model-Alias header. An id with no successor defined is removed and answers 410 with code model_retired. Both tables on this page are the ones the gateway itself uses.
Last updated:
A retired id with a successor
- A request naming an id of the table's first column is sent to the model of its second column. The vendor only ever sees the successor's id.
- Letter case and spaces around the id do not matter; any other difference does. Near names are never guessed: an id that is not in the table goes to the vendor as written.
- The response carries an
X-1xai-Model-Aliasheader, in the formrequested -> served, and themodelfield of the response body is the served model. - The call is billed at the successor's price, which can be higher than the retired model's was, and its usage row names the successor.
- The
@defaultsuffix (Vertex's notation) is removed:claude-sonnet-5@defaultisclaude-sonnet-5, at the same price. - A key with a model list accepts the request when either id is on its list (key controls).
X-1xai-Model-Alias: gemini-2.0-flash -> gemini-2.5-flash
| Requested id | Served as | Vendor |
|---|---|---|
claude-3-5-haiku | Served as:claude-haiku-4-5 | Vendor:Anthropic |
claude-3-5-haiku-20241022 | Served as:claude-haiku-4-5 | Vendor:Anthropic |
claude-3-5-sonnet | Served as:claude-sonnet-4-6 | Vendor:Anthropic |
claude-3-5-sonnet-20240620 | Served as:claude-sonnet-4-6 | Vendor:Anthropic |
claude-3-5-sonnet-20241022 | Served as:claude-sonnet-4-6 | Vendor:Anthropic |
claude-3-7-sonnet-20250219 | Served as:claude-sonnet-4-6 | Vendor:Anthropic |
claude-3-haiku | Served as:claude-haiku-4-5 | Vendor:Anthropic |
claude-3-haiku-20240307 | Served as:claude-haiku-4-5 | Vendor:Anthropic |
claude-3-haiku@20240307 | Served as:claude-haiku-4-5 | Vendor:Anthropic |
claude-4-sonnet-20250514 | Served as:claude-sonnet-4-6 | Vendor:Anthropic |
claude-haiku-4 | Served as:claude-haiku-4-5 | Vendor:Anthropic |
claude-haiku-4.5 | Served as:claude-haiku-4-5 | Vendor:Anthropic |
claude-haiku-4.6 | Served as:claude-haiku-4-5 | Vendor:Anthropic |
claude-opus-4.5 | Served as:claude-opus-4-5 | Vendor:Anthropic |
claude-opus-4.6 | Served as:claude-opus-4-6 | Vendor:Anthropic |
claude-opus-4.7 | Served as:claude-opus-4-7 | Vendor:Anthropic |
claude-opus-4.8 | Served as:claude-opus-4-8 | Vendor:Anthropic |
claude-sonnet-4-20250514 | Served as:claude-sonnet-4-6 | Vendor:Anthropic |
claude-sonnet-4.5 | Served as:claude-sonnet-4-5 | Vendor:Anthropic |
claude-sonnet-4.6 | Served as:claude-sonnet-4-6 | Vendor:Anthropic |
deepseek-v3 | Served as:deepseek-v4-flash | Vendor:DeepSeek |
deepseek-v3.2 | Served as:deepseek-v4-flash | Vendor:DeepSeek |
gemini-2.0-flash | Served as:gemini-2.5-flash | Vendor:Google |
gemini-2.0-flash-lite | Served as:gemini-3.5-flash-lite | Vendor:Google |
gemini-2.0-flash-lite-001 | Served as:gemini-3.5-flash-lite | Vendor:Google |
gemini-3.1-pro | Served as:gemini-3.1-pro-preview | Vendor:Google |
dall-e-2 | Served as:gpt-image-1-mini | Vendor:OpenAI |
dall-e-3 | Served as:gpt-image-1 | Vendor:OpenAI |
gpt-5.2-nano | Served as:gpt-5.4-nano | Vendor:OpenAI |
Removed models
Their vendors retired these models, and no successor takes their place automatically. No model list offers them, GET /v1/models/{id} answers 410 for them, and a request naming one answers 410 with code model_retired (or 402 with code model_not_priced when no price is left for it). A dated snapshot of each (such as sora-2-2025-10-06) is removed too. The last column is the model we suggest instead; requests are not sent to it automatically.
| Id | Vendor | Removed on | Use instead |
|---|---|---|---|
veo-2.0-generate-001 | Vendor:Google | Removed on:2026-10-22 | Use instead:gemini-omni-1.1-flash |
veo-3.0-fast-generate-001 | Vendor:Google | Removed on:2026-10-22 | Use instead:gemini-omni-1.1-flash |
veo-3.0-generate-001 | Vendor:Google | Removed on:2026-10-22 | Use instead:gemini-omni-1.1-flash |
veo-3.1-fast-generate-001 | Vendor:Google | Removed on:2026-10-22 | Use instead:gemini-omni-1.1-flash |
veo-3.1-fast-generate-preview | Vendor:Google | Removed on:2026-10-22 | Use instead:gemini-omni-1.1-flash |
veo-3.1-generate-001 | Vendor:Google | Removed on:2026-10-22 | Use instead:gemini-omni-1.1-flash |
veo-3.1-generate-preview | Vendor:Google | Removed on:2026-10-22 | Use instead:gemini-omni-1.1-flash |
veo-3.1-lite-generate-preview | Vendor:Google | Removed on:2026-10-22 | Use instead:gemini-omni-1.1-flash |
gpt-4o-mini-search-preview | Vendor:OpenAI | Removed on:2026-10-07 | Use instead:No direct successor |
gpt-4o-search-preview | Vendor:OpenAI | Removed on:2026-10-07 | Use instead:No direct successor |
sora-2 | Vendor:OpenAI | Removed on:2026-09-24 | Use instead:No direct successor |
sora-2-pro | Vendor:OpenAI | Removed on:2026-09-24 | Use instead:No direct successor |
sora-2-pro-high-res | Vendor:OpenAI | Removed on:2026-09-24 | Use instead:No direct successor |
Updating your code
- Search your settings and code for the ids of either table's first column, and put in the successor or the suggested model.
- Log the
X-1xai-Model-Aliasheader to find the calls that still use an old id. In the usage log, each call's row names the model that ran. - Read the live list of ids from
GET /v1/models(models).
from openai import OpenAI
client = OpenAI(base_url="https://1xai.ir/v1", api_key="1xai-...")
raw = client.chat.completions.with_raw_response.create(
model="gemini-2.0-flash",
messages=[{"role": "user", "content": "Hello"}],
)
alias = raw.headers.get("X-1xai-Model-Alias")
if alias:
print("retired id in use:", alias) # "gemini-2.0-flash -> gemini-2.5-flash"
completion = raw.parse()These two tables are written from the gateway's own tables, and a test fails when they differ, so this page changes whenever the gateway does.
1xAi is an independent gateway. It is not affiliated with, endorsed by, or a reseller for OpenAI, Anthropic, Google, DeepSeek, xAI, Moonshot AI, Z.ai, Alibaba Qwen, MiniMax or Tencent Hunyuan. Requests are relayed upstream rather than answered by models of our own, so each provider's own usage policies apply to what their models will and will not do, and their model availability is theirs to change. Current reachability is published on the status page.