Add GLM-5 to Z.AI model list (#5138)

* Initial plan

* Add glm-5 to Z.AI model list with 200k context

Co-authored-by: Cohee1207 <18619528+Cohee1207@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Cohee1207 <18619528+Cohee1207@users.noreply.github.com>
This commit is contained in:
Copilot
2026-02-12 00:21:08 +02:00
committed by GitHub
parent 50e566ee0d
commit 1b5d65e34c
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -3865,6 +3865,7 @@
</select>
<h4 data-i18n="Z.AI Model">Z.AI Model</h4>
<select id="model_zai_select">
<option value="glm-5">glm-5</option>
<option value="glm-4.7">glm-4.7</option>
<option value="glm-4.7-flash">glm-4.7-flash</option>
<option value="glm-4.7-flashx">glm-4.7-flashx</option>
+1
View File
@@ -4821,6 +4821,7 @@ function getZaiMaxContext(model, isUnlocked) {
}
const contextMap = {
'glm-5': max_200k,
'glm-4.7': max_200k,
'glm-4.7-flash': max_200k,
'glm-4.7-flashx': max_200k,