IN ENGLISH · API DOCS

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:

[01]DEPRECATIONS

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-Alias header, in the form requested -> served, and the model field 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 @default suffix (Vertex's notation) is removed: claude-sonnet-5@default is claude-sonnet-5, at the same price.
  • A key with a model list accepts the request when either id is on its list (key controls).
The response headerhttp
X-1xai-Model-Alias: gemini-2.0-flash -> gemini-2.5-flash
Retired ids and the model that serves them
Requested idServed asVendor
claude-3-5-haikuServed as:claude-haiku-4-5Vendor:Anthropic
claude-3-5-haiku-20241022Served as:claude-haiku-4-5Vendor:Anthropic
claude-3-5-sonnetServed as:claude-sonnet-4-6Vendor:Anthropic
claude-3-5-sonnet-20240620Served as:claude-sonnet-4-6Vendor:Anthropic
claude-3-5-sonnet-20241022Served as:claude-sonnet-4-6Vendor:Anthropic
claude-3-7-sonnet-20250219Served as:claude-sonnet-4-6Vendor:Anthropic
claude-3-haikuServed as:claude-haiku-4-5Vendor:Anthropic
claude-3-haiku-20240307Served as:claude-haiku-4-5Vendor:Anthropic
claude-3-haiku@20240307Served as:claude-haiku-4-5Vendor:Anthropic
claude-4-sonnet-20250514Served as:claude-sonnet-4-6Vendor:Anthropic
claude-haiku-4Served as:claude-haiku-4-5Vendor:Anthropic
claude-haiku-4.5Served as:claude-haiku-4-5Vendor:Anthropic
claude-haiku-4.6Served as:claude-haiku-4-5Vendor:Anthropic
claude-opus-4.5Served as:claude-opus-4-5Vendor:Anthropic
claude-opus-4.6Served as:claude-opus-4-6Vendor:Anthropic
claude-opus-4.7Served as:claude-opus-4-7Vendor:Anthropic
claude-opus-4.8Served as:claude-opus-4-8Vendor:Anthropic
claude-sonnet-4-20250514Served as:claude-sonnet-4-6Vendor:Anthropic
claude-sonnet-4.5Served as:claude-sonnet-4-5Vendor:Anthropic
claude-sonnet-4.6Served as:claude-sonnet-4-6Vendor:Anthropic
deepseek-v3Served as:deepseek-v4-flashVendor:DeepSeek
deepseek-v3.2Served as:deepseek-v4-flashVendor:DeepSeek
gemini-2.0-flashServed as:gemini-2.5-flashVendor:Google
gemini-2.0-flash-liteServed as:gemini-3.5-flash-liteVendor:Google
gemini-2.0-flash-lite-001Served as:gemini-3.5-flash-liteVendor:Google
gemini-3.1-proServed as:gemini-3.1-pro-previewVendor:Google
dall-e-2Served as:gpt-image-1-miniVendor:OpenAI
dall-e-3Served as:gpt-image-1Vendor:OpenAI
gpt-5.2-nanoServed as:gpt-5.4-nanoVendor:OpenAI
[02]DEPRECATIONS

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.

Removed models
IdVendorRemoved onUse instead
veo-2.0-generate-001Vendor:GoogleRemoved on:2026-10-22Use instead:gemini-omni-1.1-flash
veo-3.0-fast-generate-001Vendor:GoogleRemoved on:2026-10-22Use instead:gemini-omni-1.1-flash
veo-3.0-generate-001Vendor:GoogleRemoved on:2026-10-22Use instead:gemini-omni-1.1-flash
veo-3.1-fast-generate-001Vendor:GoogleRemoved on:2026-10-22Use instead:gemini-omni-1.1-flash
veo-3.1-fast-generate-previewVendor:GoogleRemoved on:2026-10-22Use instead:gemini-omni-1.1-flash
veo-3.1-generate-001Vendor:GoogleRemoved on:2026-10-22Use instead:gemini-omni-1.1-flash
veo-3.1-generate-previewVendor:GoogleRemoved on:2026-10-22Use instead:gemini-omni-1.1-flash
veo-3.1-lite-generate-previewVendor:GoogleRemoved on:2026-10-22Use instead:gemini-omni-1.1-flash
gpt-4o-mini-search-previewVendor:OpenAIRemoved on:2026-10-07Use instead:No direct successor
gpt-4o-search-previewVendor:OpenAIRemoved on:2026-10-07Use instead:No direct successor
sora-2Vendor:OpenAIRemoved on:2026-09-24Use instead:No direct successor
sora-2-proVendor:OpenAIRemoved on:2026-09-24Use instead:No direct successor
sora-2-pro-high-resVendor:OpenAIRemoved on:2026-09-24Use instead:No direct successor
[03]DEPRECATIONS

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-Alias header 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).
Reading the header with the OpenAI SDKpython
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.