From 20d832fa3e20c7dd496bd60aaf60bae177ed2e32 Mon Sep 17 00:00:00 2001 From: LovelyGuYiMeng <76251800+LovelyGuYiMeng@users.noreply.github.com> Date: Fri, 27 Sep 2024 20:48:27 +0800 Subject: [PATCH] Update zhipu.ts --- src/config/modelProviders/zhipu.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/config/modelProviders/zhipu.ts b/src/config/modelProviders/zhipu.ts index 07433b6320bf..887e10d9d8ed 100644 --- a/src/config/modelProviders/zhipu.ts +++ b/src/config/modelProviders/zhipu.ts @@ -45,6 +45,18 @@ const ZhiPu: ModelProviderCard = { }, tokens: 128_000, }, + { + description: 'GLM-4 是发布于2024年1月的旧旗舰版本,目前已被更强的 GLM-4-0520 取代。', + displayName: 'GLM-4', + functionCall: true, + id: 'glm-4', + pricing: { + currency: 'CNY', + input: 100, + output: 100, + }, + tokens: 128_000, + }, { description: 'GLM-4-AirX 提供 GLM-4-Air 的高效版本,推理速度可达其2.6倍。', displayName: 'GLM-4-AirX',