Skip to content

Routing and reliabilityBrief

GLM 5.2 leaves Mistral on Oct 31: what to move and test

Mistral retires Z.ai's GLM 5.2 on its platform on 31 October, two days from now. This is a short runbook for teams that call third-party models through Mistral, Alibaba Model Studio or Perplexity's Agent API: find the ids, choose a successor, test it, and put a failover rule in front.

By INFRO Editorial

Published

4 min read

Luminous routing paths connecting one application node to many AI model endpoints

In short

Mistral retires zai-glm-5-2 on 31 October 2026 and names zai-glm-5-3 as the replacement at the same price 1. Search code, config and request logs for the id, test the successor (and GLM 5.3 Flash as a separate candidate) on your own prompts, then put a fallback in front before the date.

Key takeaways

  • Mistral's changelog says zai-glm-5-2 retires on 31 October 2026 and names zai-glm-5-3 as the replacement at the same price.
  • GLM 5.3 Flash is a separate, smaller model with its own rates, not Mistral's named successor; qualify it as a candidate, not a drop-in.
  • Search for the model id in code, config, prompt stores and request logs; hosted third-party ids differ in spelling per platform.
  • A fallback only helps if the replacement has been tested on your prompts before the cutoff.

What is retiring, and what the vendor says to use

Mistral's changelog lists Z.ai GLM 5.2 (zai-glm-5-2) as deprecated, retiring on 31 October 2026, and says to use Z.ai GLM 5.3 (zai-glm-5-3) instead, at the same price.1 GLM 5.3 became generally available on Mistral on 28 September.1 The page does not say how a request to the retired id will fail, so plan for an error and do not assume an automatic redirect.

GLM 5.3 Flash (zai-glm-5-3-flash) arrived on 22 October. Mistral describes it as a multimodal mixture-of-experts model with 320B parameters, 18B active and a 1M-token context, at $0.15 input, $0.03 cached input and $0.50 output per million tokens.1 It is not the named successor. It is a different model, and the changelog gives no rate for zai-glm-5-3, so compare the two on your own bill before choosing.

This is a different class of problem from the usual calendar entry. The model is a third party's, served under a host's id, and the host sets the date. INFRO's own tracker lists it as a Mistral shutdown, with the date four days out when it was last updated.2

Find every call, including the ones that are not in code

Hosted third-party ids are spelled differently per platform. Mistral uses zai-glm-5-2. Alibaba Model Studio's recommended list shows GLM 5.3 as both glm-5.3 and ZHIPU/GLM-5.3.3 Perplexity's Agent API uses provider/model ids such as openai/gpt-5.4.4 Search for all spellings:

find-ids.sh
rg -n -i 'zai-glm-5-2|glm[-_. ]?5[-_.]?2|zhipu/glm' \
  --glob '!node_modules' --glob '!*.lock' .
# also: .env files, Helm values, feature-flag exports, prompt/config tables

Code is the easy half. The harder places are a config table, a feature-flag payload, an eval harness, a notebook and a vendor's no-code workflow that stores a model string. Then check traffic, not just source: group the last 30 days of requests by model id in your gateway or provider logs. A string that appears there but not in your repo is a caller you have not found. Perplexity's October retirement notice told users to update "direct model selections and fallback chains" before the cutoff, which is the same two places to look.4

Choose the successor and test it first

Start with zai-glm-5-3, since the vendor names it. Add zai-glm-5-3-flash only if you want the lower-rate tier and are willing to qualify it separately. Before moving traffic, replay a sample of real prompts against each candidate and check:

  • Output shape: JSON validity, tool-call arguments and refusal behaviour on your own schemas.
  • Length and latency: time to first token and total tokens per task, since a model that answers longer costs more at the same rate.
  • Cost per task: use the list rates your provider bills, then your contract rate if you have one.
  • Region and key: Model Studio regions differ in endpoints, supported models and pricing, and API keys are not interchangeable across regions.5 A model id that works in one region may not exist in another.

Put a failover rule in front

A migration done in one deploy has no way back. A rule in front of the call lets you change the model without shipping code, and keeps one working path if the new one misbehaves.

With INFRO, name a route in your application and put the model choice in the route's targets. Priority targets are tried in order, and weighted targets let you send a small share to the candidate first.6 Failover applies before the first token; a provider 5xx, timeout, 429 or even a 404 moves the request to the next target.7 If you call a model directly, a request-level fallbacks array takes up to five catalog model ids, tried in order once the primary has failed.7

call.py
from openai import OpenAI

client = OpenAI(base_url="https://api.infro.io/v1", api_key="INFRO_API_KEY")
resp = client.chat.completions.create(
    model="<primary: tested GLM 5.3 id>",
    messages=[{"role": "user", "content": "..."}],
    # ids below are placeholders; use catalog ids from /providers
    extra_body={"fallbacks": ["<second: Flash candidate>"]},
)

fallbacks is ignored when model names a route, so use one mechanism per call site.7 A fallback is cross-model: your outputs will change when it fires. That is why the replay test comes first. For teams that already record retirements in INFRO, the model-lifecycle capability warns organizations still sending a retiring model and, from the shutdown date, refuses it before any provider call, naming the replacement.

After the date

Check three things on 1 November: no request still names zai-glm-5-2, the fallback is not carrying more than its expected share, and cost per task moved the way your replay predicted. The same checks apply to the next hosted-model retirement. See the deprecation calendar for dated entries and the migration playbook for the general sequence.

Questions readers ask

Is GLM 5.3 Flash the official replacement for GLM 5.2 on Mistral?
No. Mistral's changelog names zai-glm-5-3 as the replacement, at the same price as GLM 5.2 1. GLM 5.3 Flash (zai-glm-5-3-flash) is a separate model released on 22 October, so treat it as a candidate to test.
Does Alibaba Model Studio retire GLM 5.2 on the same day?
The Model Studio pages read for this article do not announce a GLM 5.2 retirement date. Each platform keeps its own schedule, so check the model's page in your region.

From the team that builds it

Where this shows up in INFRO

INFRO is a control plane in front of the provider accounts you already hold. The capabilities below are the parts of it this article touches, each with the documentation that defines its behaviour.

  • Health-aware routing

    Available with a plan

    Named routes use priority or weighted targets over your own connections, with health checks, retries and failover.

    Read the documentation for Health-aware routing
  • Automatic failover

    Available with a plan

    A route that times out or 5xxs before the response starts is retried elsewhere without your client seeing it.

    Read the documentation for Automatic failover
  • Routing rules

    Available with a plan

    If-rules on a route send matching requests to their own targets, by metadata, feature, end user, key, project, prompt size, streaming, images, tools or time of day. Failure rules decide per failure kind whether to retry, move on or stop.

    Read the documentation for Routing rules
  • Model retirements

    Available with a plan

    INFRO records each vendor's model deprecations and shutdown dates, warns organizations still sending a retiring model, and from the shutdown date refuses it before any provider call, naming the replacement.

  • Usage and cost per request

    Available with a plan

    Every request records its model, latency, token or unit counts, and estimated provider cost, queryable by project and key.

    Read the documentation for Usage and cost per request

INFRO accounts are self-serve. Provider usage is billed to you by your providers; INFRO charges a software subscription and takes 0% of model spend. See plans.

Sources

Numbered in order of first citation. Each was opened and checked against the claim on the date shown.

  1. 1.Changelog (opens in a new tab) — Mistral. Accessed Oct 29, 2026.
  2. 2.AI model updates: releases, price changes and shutdowns (opens in a new tab) — INFRO. Accessed Oct 29, 2026.
  3. 3.Recommended models, Alibaba Cloud Model Studio (opens in a new tab) — Alibaba Cloud. Accessed Oct 29, 2026.
  4. 4.Changelog (opens in a new tab) — Perplexity. Accessed Oct 29, 2026.
  5. 5.What is Alibaba Cloud Model Studio (opens in a new tab) — Alibaba Cloud. Accessed Oct 29, 2026.
  6. 6.Routes (opens in a new tab) — INFRO. Accessed Oct 29, 2026.
  7. 7.Failover & fallbacks (opens in a new tab) — INFRO. Accessed Oct 29, 2026.

About this article

Read on 2026-10-29: Mistral's changelog, Alibaba Model Studio's introduction and recommended-models pages, Perplexity's changelog, INFRO's AI updates page, and INFRO's failover and routes docs. Mistral's 31 October date is the only GLM 5.2 retirement confirmed; no Alibaba or Perplexity GLM 5.2 date was found, so none is stated.

Last checked against its sources on . The next review is due by . No separate named reviewer is recorded for this article.

How articles are written, sourced and corrected is set out in the editorial standards.