From 81e2c4abcc449dbc361c6825d8648408cf612cf4 Mon Sep 17 00:00:00 2001 From: Bryce Hoehn Date: Wed, 13 May 2026 09:17:53 -0400 Subject: [PATCH 1/2] update default zai model to glm-5.1 --- packages/types/src/providers/zai.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/types/src/providers/zai.ts b/packages/types/src/providers/zai.ts index fc4051dc81..166c3519b4 100644 --- a/packages/types/src/providers/zai.ts +++ b/packages/types/src/providers/zai.ts @@ -11,7 +11,7 @@ import { ZaiApiLine } from "../provider-settings.js" // https://bigmodel.cn/pricing export type InternationalZAiModelId = keyof typeof internationalZAiModels -export const internationalZAiDefaultModelId: InternationalZAiModelId = "glm-4.6" +export const internationalZAiDefaultModelId: InternationalZAiModelId = "glm-5.1" export const internationalZAiModels = { "glm-4.5": { maxTokens: 16_384, @@ -229,7 +229,7 @@ export const internationalZAiModels = { } as const satisfies Record export type MainlandZAiModelId = keyof typeof mainlandZAiModels -export const mainlandZAiDefaultModelId: MainlandZAiModelId = "glm-4.6" +export const mainlandZAiDefaultModelId: MainlandZAiModelId = "glm-5.1" export const mainlandZAiModels = { "glm-4.5": { maxTokens: 16_384, From df4e296586b8ff5a7f43346f93cafbf209723893 Mon Sep 17 00:00:00 2001 From: Bryce Hoehn Date: Wed, 13 May 2026 09:26:56 -0400 Subject: [PATCH 2/2] change default model to glm-4.7 per coding plan recs --- packages/types/src/providers/zai.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/types/src/providers/zai.ts b/packages/types/src/providers/zai.ts index 166c3519b4..dacc9f210a 100644 --- a/packages/types/src/providers/zai.ts +++ b/packages/types/src/providers/zai.ts @@ -11,7 +11,7 @@ import { ZaiApiLine } from "../provider-settings.js" // https://bigmodel.cn/pricing export type InternationalZAiModelId = keyof typeof internationalZAiModels -export const internationalZAiDefaultModelId: InternationalZAiModelId = "glm-5.1" +export const internationalZAiDefaultModelId: InternationalZAiModelId = "glm-4.7" export const internationalZAiModels = { "glm-4.5": { maxTokens: 16_384, @@ -229,7 +229,7 @@ export const internationalZAiModels = { } as const satisfies Record export type MainlandZAiModelId = keyof typeof mainlandZAiModels -export const mainlandZAiDefaultModelId: MainlandZAiModelId = "glm-5.1" +export const mainlandZAiDefaultModelId: MainlandZAiModelId = "glm-4.7" export const mainlandZAiModels = { "glm-4.5": { maxTokens: 16_384,