GLM 5.3 supersedes 5.2, so every reference to the older id follows it: the zai preset's opus, sonnet and fable tiers, and the fable tier of `default`, which routes to the same model through OpenRouter. Also the hardcoded Z.AI entries in both builds' model pickers, which are the one place a model id is not read from a preset - leaving those would have gone on offering a superseded model from the menu while the presets used the new one. haiku stays on glm-4.7: that is the fast/cheap tier, not a 5.x.
23 lines
568 B
JSON
23 lines
568 B
JSON
{
|
|
"provider": "zai",
|
|
"description": "Z.AI GLM coding plan. Same endpoint the official coding helper uses, but with real per-tier model mapping.",
|
|
"baseUrl": "https://api.z.ai/api/anthropic",
|
|
"auth": {
|
|
"mode": "vault",
|
|
"keyRef": "zai"
|
|
},
|
|
"models": {
|
|
"opus": "glm-5.3",
|
|
"sonnet": "glm-5.3",
|
|
"haiku": "glm-4.7",
|
|
"fable": "glm-5.3"
|
|
},
|
|
"subagentModel": "inherit",
|
|
"gatewayModelDiscovery": false,
|
|
"extraEnv": {
|
|
"API_TIMEOUT_MS": "3000000",
|
|
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"
|
|
},
|
|
"contextTokens": 1000000
|
|
}
|