mistral: add zai-glm-5-3, zai-glm-5 and zai-glm-latest to the catalog
What do you want to change?
Add the zai-glm models Mistral now serves to the mistral catalog (mistral-conversations): zai-glm-5-3, zai-glm-5, zai-glm-latest. The catalog only has zai-glm-5-2. All four ids respond on api.mistral.ai today (GET /v1/models), and reasoning_effort works on them (tested "high": thinking streams).
Why?
GLM 5.3 is already out on the Z.AI side, and the tracker covers it there: #8190 for zai, #8931 for fireworks, #9616 for the coding plan. The new part is Mistral hosting the family. Without catalog entries, GLM 5.3 on Mistral needs hand-configured models or the openai-completions workaround, which loses the native Mistral prompt cache.
The reasoning dispatch also hardcodes the 5.2 id: usesReasoningEffort matches zai-glm-5-2 only, so the new ids fall back to prompt_mode, the wire format GLM 5.2 silently ignored (#9375).
How? (optional)
The catalog loader passes entries verbatim (flattenModelCatalog), so entries can carry "thinkingLevelMap": { "off": "none", "high": "high" } alongside reasoning: true. If usesReasoningEffort also dispatched on model.thinkingLevelMap !== undefined, catalog and user-declared effort models would all send reasoning_effort, and the id hardcode becomes redundant.
Related streaming bug on the same models: #9674.
Source: earendil-works/pi