You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 15, 2026. It is now read-only.
Repository navigation
Commit cdf481c
Browse filesBrowse the repository at this point in the historyBrowse files
roomote[bot]
authored
feat: add GLM-5 model support to Z.ai provider (#11440)
"GLM-4.7 is Zhipu's latest model with built-in thinking capabilities enabled by default. It provides enhanced reasoning for complex tasks while maintaining fast response times.",
122
122
},
123
+
"glm-5": {
124
+
maxTokens: 16_384,
125
+
contextWindow: 202_752,
126
+
supportsImages: false,
127
+
supportsPromptCache: true,
128
+
supportsReasoningEffort: ["disable","medium"],
129
+
reasoningEffort: "medium",
130
+
preserveReasoning: true,
131
+
inputPrice: 0.6,
132
+
outputPrice: 2.2,
133
+
cacheWritesPrice: 0,
134
+
cacheReadsPrice: 0.11,
135
+
description:
136
+
"GLM-5 is Zhipu's next-generation model with a 202k context window and built-in thinking capabilities. It delivers state-of-the-art reasoning, coding, and agentic performance.",
"GLM-4.7 is Zhipu's latest model with built-in thinking capabilities enabled by default. It provides enhanced reasoning for complex tasks while maintaining fast response times.",
283
298
},
299
+
"glm-5": {
300
+
maxTokens: 16_384,
301
+
contextWindow: 202_752,
302
+
supportsImages: false,
303
+
supportsPromptCache: true,
304
+
supportsReasoningEffort: ["disable","medium"],
305
+
reasoningEffort: "medium",
306
+
preserveReasoning: true,
307
+
inputPrice: 0.29,
308
+
outputPrice: 1.14,
309
+
cacheWritesPrice: 0,
310
+
cacheReadsPrice: 0.057,
311
+
description:
312
+
"GLM-5 is Zhipu's next-generation model with a 202k context window and built-in thinking capabilities. It delivers state-of-the-art reasoning, coding, and agentic performance.",
0 commit comments