Move GLM 5.2 to 5.3
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.
This commit is contained in:
@@ -129,9 +129,9 @@ used" — so `claude-mode openrouter` always means `default`.
|
||||
|
||||
| preset | provider | opus | sonnet | haiku | fable |
|
||||
|---|---|---|---|---|---|
|
||||
| `default` | openrouter | `deepseek/deepseek-v4-flash-0731` | `qwen/qwen3.7-flash` | `openrouter/free` | `z-ai/glm-5.2` |
|
||||
| `default` | openrouter | `deepseek/deepseek-v4-flash-0731` | `qwen/qwen3.7-flash` | `openrouter/free` | `z-ai/glm-5.3` |
|
||||
| `cheap` | openrouter | `deepseek/deepseek-v4-pro` | `deepseek/deepseek-v4-flash-0731` | `qwen/qwen3.7-flash` | `openai/gpt-5.6-luna-pro` |
|
||||
| `zai` | zai | `glm-5.2` | `glm-5.2` | `glm-4.7` | `glm-5.2` |
|
||||
| `zai` | zai | `glm-5.3` | `glm-5.3` | `glm-4.7` | `glm-5.3` |
|
||||
| `lmstudio` | lmstudio | `kwaipilot_kat-coder-v2.5-dev` (all tiers) | | | |
|
||||
| `lmstudio-qwen` | lmstudio | `qwen3.6-35b-a3b-uncensored-heretic-native-mtp-preserved` (all tiers) | | | |
|
||||
|
||||
|
||||
+2
-2
@@ -1251,7 +1251,7 @@ function Invoke-Models {
|
||||
|
||||
if ($mode -eq 'zai') {
|
||||
Write-Head 'Z.AI GLM models (from Z.AI docs - no public catalogue endpoint)'
|
||||
@('glm-5.2 - flagship coding model (opus/sonnet tier)',
|
||||
@('glm-5.3 - flagship coding model (opus/sonnet tier)',
|
||||
'glm-4.7 - fast/cheap tier (haiku tier)') | ForEach-Object { Write-Host " $_" }
|
||||
Write-Host ' Full list: https://docs.z.ai/devpack/tool/claude'
|
||||
return
|
||||
@@ -1856,7 +1856,7 @@ function Get-ModelChoices {
|
||||
elseif ($provider -eq 'zai') {
|
||||
# Z.AI publishes no public catalogue endpoint; these are the documented
|
||||
# coding-plan models. Anything else can still be typed manually.
|
||||
$out += [pscustomobject]@{ Id = 'glm-5.2'; Key = 'glm-5.2'; Label = 'glm-5.2'; Detail = @('flagship coding model - opus/sonnet tier') }
|
||||
$out += [pscustomobject]@{ Id = 'glm-5.3'; Key = 'glm-5.3'; Label = 'glm-5.3'; Detail = @('flagship coding model - opus/sonnet tier') }
|
||||
$out += [pscustomobject]@{ Id = 'glm-4.7'; Key = 'glm-4.7'; Label = 'glm-4.7'; Detail = @('fast/cheap tier - haiku') }
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -1169,7 +1169,7 @@ cmd_models() {
|
||||
;;
|
||||
zai)
|
||||
head_ 'Z.AI GLM models (from Z.AI docs - no public catalogue endpoint)'
|
||||
say 'glm-5.2 - flagship coding model (opus/sonnet tier)'
|
||||
say 'glm-5.3 - flagship coding model (opus/sonnet tier)'
|
||||
say 'glm-4.7 - fast/cheap tier (haiku tier)'
|
||||
;;
|
||||
*)
|
||||
@@ -1620,7 +1620,7 @@ ui_pick_model() {
|
||||
done < <(lms_catalogue "$base")
|
||||
;;
|
||||
zai)
|
||||
ids+=('glm-5.2'); ui_add_item 'glm-5.2' 'flagship coding model - opus/sonnet tier'
|
||||
ids+=('glm-5.3'); ui_add_item 'glm-5.3' 'flagship coding model - opus/sonnet tier'
|
||||
ids+=('glm-4.7'); ui_add_item 'glm-4.7' 'fast/cheap tier - haiku'
|
||||
;;
|
||||
esac
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"opus": "deepseek/deepseek-v4-flash-0731",
|
||||
"sonnet": "qwen/qwen3.7-flash",
|
||||
"haiku": "openrouter/free",
|
||||
"fable": "z-ai/glm-5.2"
|
||||
"fable": "z-ai/glm-5.3"
|
||||
},
|
||||
"subagentModel": "inherit",
|
||||
"gatewayModelDiscovery": true,
|
||||
|
||||
+3
-3
@@ -7,10 +7,10 @@
|
||||
"keyRef": "zai"
|
||||
},
|
||||
"models": {
|
||||
"opus": "glm-5.2",
|
||||
"sonnet": "glm-5.2",
|
||||
"opus": "glm-5.3",
|
||||
"sonnet": "glm-5.3",
|
||||
"haiku": "glm-4.7",
|
||||
"fable": "glm-5.2"
|
||||
"fable": "glm-5.3"
|
||||
},
|
||||
"subagentModel": "inherit",
|
||||
"gatewayModelDiscovery": false,
|
||||
|
||||
Reference in New Issue
Block a user