Skip to content

Commit

Permalink
💄 style: update zhipu model info (lobehub#3949)
Browse files Browse the repository at this point in the history
  • Loading branch information
LovelyGuYiMeng authored Sep 13, 2024
1 parent 197ef18 commit bbdbfde
Showing 1 changed file with 74 additions and 9 deletions.
83 changes: 74 additions & 9 deletions src/config/modelProviders/zhipu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ const ZhiPu: ModelProviderCard = {
enabled: true,
functionCall: true,
id: 'glm-4-alltools',
pricing: {
currency: 'CNY',
input: 100,
output: 100,
},
tokens: 128_000,
},
{
Expand All @@ -21,44 +26,74 @@ const ZhiPu: ModelProviderCard = {
enabled: true,
functionCall: true,
id: 'glm-4-plus',
pricing: {
currency: 'CNY',
input: 50,
output: 50,
},
tokens: 128_000,
},
{
description: 'GLM-4-0520 是最新模型版本,专为高度复杂和多样化任务设计,表现卓越。',
displayName: 'GLM-4-0520',
enabled: true,
functionCall: true,
id: 'glm-4-0520',
pricing: {
currency: 'CNY',
input: 100,
output: 100,
},
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',
enabled: true,
functionCall: true,
id: 'glm-4-airx',
pricing: {
currency: 'CNY',
input: 10,
output: 10,
},
tokens: 8192,
},
{
description: 'GLM-4-Air 是性价比高的版本,性能接近GLM-4,提供快速度和实惠的价格。',
displayName: 'GLM-4-Air',
enabled: true,
functionCall: true,
id: 'glm-4-air',
pricing: {
currency: 'CNY',
input: 1,
output: 1,
},
tokens: 128_000,
},
{
description: 'GLM-4-AirX 提供 GLM-4-Air 的高效版本,推理速度可达其2.6倍。',
displayName: 'GLM-4-AirX',
functionCall: true,
id: 'glm-4-airx',
tokens: 8192,
},
{
description: 'GLM-4-Long 支持超长文本输入,适合记忆型任务与大规模文档处理。',
displayName: 'GLM-4-Long',
enabled: true,
functionCall: true,
id: 'glm-4-long',
pricing: {
currency: 'CNY',
input: 1,
output: 1,
},
tokens: 1_024_000,
},
{
Expand All @@ -67,41 +102,71 @@ const ZhiPu: ModelProviderCard = {
enabled: true,
functionCall: true,
id: 'glm-4-flash',
pricing: {
currency: 'CNY',
input: 0,
output: 0,
},
tokens: 128_000,
},
{
description: 'GLM-4V-Plus 具备对视频内容及多图片的理解能力,适合多模态任务。',
displayName: 'GLM-4V-Plus',
enabled: true,
id: 'glm-4v-plus',
pricing: {
currency: 'CNY',
input: 10,
output: 10,
},
tokens: 8192,
vision: true,
},
{
description: 'GLM-4V 提供强大的图像理解与推理能力,支持多种视觉任务。',
displayName: 'GLM-4V',
enabled: true,
id: 'glm-4v',
pricing: {
currency: 'CNY',
input: 50,
output: 50,
},
tokens: 2048,
vision: true,
},
{
description:
'CodeGeeX-4 是强大的AI编程助手,支持多种编程语言的智能问答与代码补全,提升开发效率。',
displayName: 'CodeGeeX-4',
enabled: true,
id: 'codegeex-4',
pricing: {
currency: 'CNY',
input: 0.1,
output: 0.1,
},
tokens: 128_000,
},
{
description: 'CharGLM-3 专为角色扮演与情感陪伴设计,支持超长多轮记忆与个性化对话,应用广泛。',
displayName: 'CharGLM-3',
id: 'charglm-3',
pricing: {
currency: 'CNY',
input: 15,
output: 15,
},
tokens: 4096,
},
{
description: 'Emohaa 是心理模型,具备专业咨询能力,帮助用户理解情感问题。',
displayName: 'Emohaa',
id: 'emohaa',
pricing: {
currency: 'CNY',
input: 15,
output: 15,
},
tokens: 8192,
},
],
Expand Down

0 comments on commit bbdbfde

Please sign in to comment.