Add glm 5.2 direct integration (#3269)
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled

This commit is contained in:
Reynaldi Chernando
2026-06-17 09:40:10 -04:00
committed by GitHub
parent c2ddfd6867
commit 0b41d992a4
@@ -69,6 +69,13 @@ const visionModel = (
// Hardcoded from https://docs.z.ai/api-reference/llm/chat-completion and
// https://docs.z.ai/guides/overview/pricing.
export const ZAI_MODELS: IChatModel[] = [
textModel(
'glm-5.2',
'GLM-5.2',
1_000 * K,
128 * K,
usdPerMToken(1.4, 4.4, 0.26),
),
textModel(
'glm-5.1',
'GLM-5.1',