🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
💄 style: Update infini-ai models (#9646)
sxjeru52742254d693
diff --git a/packages/model-bank/src/aiModels/infiniai.ts b/packages/model-bank/src/aiModels/infiniai.tsindex 3937799b81b..9234bdae206 100644--- a/packages/model-bank/src/aiModels/infiniai.ts+++ b/packages/model-bank/src/aiModels/infiniai.ts@@ -1,61 +1,70 @@import { AIChatModelCard } from '../types/aiModel';// https://cloud.infini-ai.com/genstudio/model-// All models are currently free-// Currently the platform doesn't support Function Callconst infiniaiChatModels: AIChatModelCard[] = [{abilities: {+ functionCall: true,reasoning: true,},- contextWindowTokens: 65_536,- description:- 'DeepSeek-R1 是一个专注于推理能力的大语言模型,通过创新的训练流程实现了与 OpenAI-o1 相当的数学、代码和推理任务表现。该模型采用了冷启动数据和大规模强化学习相结合的方式进行训练。',- displayName: 'DeepSeek R1',+ contextWindowTokens: 131_072,+ description: 'GLM-4.6 是智谱AI推出的最新大语言模型,具备更强的推理和生成能力。',+ displayName: 'GLM-4.6',enabled: true,- id: 'deepseek-r1',+ id: 'glm-4.6',+ maxOutput: 4096,pricing: {currency: 'CNY',units: [- { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 4, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 16, strategy: 'fixed', unit: 'millionTokens' },],},+ settings: {+ extendParams: ['enableReasoning'],+ },type: 'chat',},{- contextWindowTokens: 65_536,+ abilities: {+ functionCall: true,+ reasoning: true,+ },+ contextWindowTokens: 131_072,description:- 'DeepSeek-V3-0324 是一个强大的专家混合(MoE)语言模型,总参数量为 671B,每个 Token 激活 37B 参数。该模型采用多头潜在注意力(MLA)和 DeepSeekMoE 架构,实现了高效推理和经济训练,并在前代 DeepSeek-V3 的基础上显著提升了性能。',- displayName: 'DeepSeek V3 0324',+ 'DeepSeek-V3.2-Exp 是深度求索推出的实验性大语言模型,具有更强的推理和生成能力。',+ displayName: 'DeepSeek V3.2 Exp',enabled: true,- id: 'deepseek-v3',+ id: 'deepseek-v3.2-exp',+ maxOutput: 65_536,pricing: {currency: 'CNY',units: [- { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 3, strategy: 'fixed', unit: 'millionTokens' },],},+ settings: {+ extendParams: ['enableReasoning'],+ },type: 'chat',},{abilities: {functionCall: true,- reasoning: true,+ vision: true,},- contextWindowTokens: 128_000,- description:- 'Qwen3-235B-A22B 是 Qwen 系列第三代的大型语言模型,采用混合专家(MoE)架构,总计 2350 亿参数,每 token 激活 220 亿参数。支持无缝切换思考模式(复杂推理)和非思考模式(通用对话),在数学、编码、常识推理及多语言指令执行中表现出色。',- displayName: 'Qwen3 235B A22B',- enabled: true,- id: 'qwen3-235b-a22b',+ contextWindowTokens: 131_072,+ description: 'Qwen3 VL 235B A22B Instruct 是通义千问推出的多模态模型,支持视觉理解和推理。',+ displayName: 'Qwen3 VL 235B A22B Instruct',+ id: 'qwen3-vl-235b-a22b-instruct',+ maxOutput: 32_768,pricing: {currency: 'CNY',units: [- { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 8, strategy: 'fixed', unit: 'millionTokens' },],},type: 'chat',@@ -64,18 +73,18 @@ const infiniaiChatModels: AIChatModelCard[] = [abilities: {functionCall: true,reasoning: true,+ vision: true,},- contextWindowTokens: 128_000,- description:- 'Qwen3-30B-A3B 是 Qwen 系列第三代的大型语言模型,采用混合专家(MoE)架构,总计 305 亿参数,每 token 激活 33 亿参数。支持无缝切换思维模式(复杂推理)和非思维模式(通用对话),在数学、编码、常识推理及多语言指令执行中表现出色。',- displayName: 'Qwen3 30B A3B',- enabled: true,- id: 'qwen3-30b-a3b',+ contextWindowTokens: 131_072,+ description: 'Qwen3 VL 235B A22B Thinking 是通义千问推出的多模态推理模型,支持视觉理解和推理。',+ displayName: 'Qwen3 VL 235B A22B Thinking',+ id: 'qwen3-vl-235b-a22b-thinking',+ maxOutput: 32_768,pricing: {currency: 'CNY',units: [- { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 20, strategy: 'fixed', unit: 'millionTokens' },],},type: 'chat',@@ -85,19 +94,22 @@ const infiniaiChatModels: AIChatModelCard[] = [functionCall: true,reasoning: true,},- contextWindowTokens: 128_000,+ contextWindowTokens: 131_072,description:- 'Qwen3-32B 是 Qwen 系列第三代的大型语言模型,拥有 328 亿参数,专为高效推理和多语言任务设计。支持无缝切换思考模式(复杂推理)和非思考模式(通用对话),在数学、编码、常识推理及多语言指令执行中表现出色。',- displayName: 'Qwen3 32B',- enabled: true,- id: 'qwen3-32b',+ 'DeepSeek-V3.1-Terminus 是深度求索推出的终端优化版本大语言模型,专为终端设备优化。',+ displayName: 'DeepSeek V3.1 Terminus',+ id: 'deepseek-v3.1-terminus',+ maxOutput: 65_536,pricing: {currency: 'CNY',units: [- { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 4, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 12, strategy: 'fixed', unit: 'millionTokens' },],},+ settings: {+ extendParams: ['enableReasoning'],+ },type: 'chat',},{@@ -105,17 +117,17 @@ const infiniaiChatModels: AIChatModelCard[] = [functionCall: true,reasoning: true,},- contextWindowTokens: 128_000,+ contextWindowTokens: 131_072,description:- 'Qwen3-14B 是 Qwen 系列第三代的大型语言模型,拥有 148 亿参数,专为高效推理和多语言任务设计。支持无缝切换思维模式(复杂推理)和非思维模式(通用对话),在数学、编码、常识推理及多语言指令执行中表现出色。',- displayName: 'Qwen3 14B',- enabled: false,- id: 'qwen3-14b',+ '基于 Qwen3 的新一代思考模式开源模型,相较上一版本(通义千问3-235B-A22B-Thinking-2507)指令遵循能力有提升、模型总结回复更加精简。',+ displayName: 'Qwen3 Next 80B A3B Thinking',+ id: 'qwen3-next-80b-a3b-thinking',+ maxOutput: 32_768,pricing: {currency: 'CNY',units: [- { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 1, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 10, strategy: 'fixed', unit: 'millionTokens' },],},type: 'chat',@@ -123,57 +135,109 @@ const infiniaiChatModels: AIChatModelCard[] = [{abilities: {functionCall: true,- reasoning: true,},- contextWindowTokens: 128_000,+ contextWindowTokens: 131_072,description:- 'Qwen3-8B 是 Qwen 系列第三代的大型语言模型,拥有 82 亿参数,专为高效推理和多语言任务设计。支持无缝切换思考模式(复杂推理)和非思考模式(通用对话),在数学、编码、常识推理及多语言指令执行中表现出色。',- displayName: 'Qwen3 8B',- enabled: false,- id: 'qwen3-8b',+ '基于 Qwen3 的新一代非思考模式开源模型,相较上一版本(通义千问3-235B-A22B-Instruct-2507)中文文本理解能力更佳、逻辑推理能力有增强、文本生成类任务表现更好。',+ displayName: 'Qwen3 Next 80B A3B Instruct',+ id: 'qwen3-next-80b-a3b-instruct',+ maxOutput: 32_768,pricing: {currency: 'CNY',units: [- { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 1, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 10, strategy: 'fixed', unit: 'millionTokens' },],},type: 'chat',},{abilities: {- vision: true,+ reasoning: true,},- contextWindowTokens: 125_000,- description:- 'Qwen2.5-VL 系列模型提升了模型的智能水平、实用性和适用性,使其在自然对话、内容创作、专业知识服务及代码开发等场景中表现更优。旗舰模型 Qwen2.5-VL-72B-Instruct 在涵盖多个领域和任务的基准测试中展现出强大的竞争力,包括大学水平的问题解答、数学、文档理解、通用问答、视频理解以及视觉代理任务等。',- displayName: 'Qwen2.5 VL 72B Instruct',- enabled: true,- id: 'qwen2.5-vl-72b-instruct',+ contextWindowTokens: 131_072,+ description: 'DeepSeek V3.1 模型为混合推理架构模型,同时支持思考模式与非思考模式。',+ displayName: 'DeepSeek V3.1',+ id: 'deepseek-v3.1',+ maxOutput: 32_768,pricing: {currency: 'CNY',units: [- { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 4, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 12, strategy: 'fixed', unit: 'millionTokens' },],},type: 'chat',},{abilities: {+ reasoning: true,+ },+ contextWindowTokens: 64_000,+ description: 'Baichuan M2 32B 是百川智能推出的混合专家模型,具备强大的推理能力。',+ displayName: 'Baichuan M2 32B',+ id: 'baichuan-m2-32b',+ maxOutput: 8192,+ pricing: {+ currency: 'CNY',+ units: [+ { name: 'textInput', rate: 2.9, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 11.6, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ type: 'chat',+ },+ {+ abilities: {+ functionCall: true,vision: true,},- contextWindowTokens: 125_000,- description:- 'Qwen2.5-VL 系列模型提升了模型的智能水平、实用性和适用性,使其在自然对话、内容创作、专业知识服务及代码开发等场景中表现更优。32B 版本使用了强化学习技术优化模型,与 Qwen2.5 VL 系列的其它模型相比,提供了更符合人类偏好的输出风格、复杂数学问题的推理能力,以及图像细粒度理解与推理能力。',- displayName: 'Qwen2.5 VL 32B Instruct',- enabled: true,- id: 'qwen2.5-vl-32b-instruct',+ contextWindowTokens: 131_072,+ description: 'GLM-4.5V 是智谱AI推出的多模态模型,支持视觉理解和推理。',+ displayName: 'GLM-4.5V',+ id: 'glm-4.5v',+ maxOutput: 4096,pricing: {currency: 'CNY',units: [- { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 4, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 12, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ type: 'chat',+ },+ {+ abilities: {+ reasoning: true,+ },+ contextWindowTokens: 131_072,+ description: 'GLM-4.5系列模型是智谱AI专为智能体设计的混合推理模型,提供思考与非思考两种模式。',+ displayName: 'GLM-4.5',+ id: 'glm-4.5',+ maxOutput: 4096,+ pricing: {+ currency: 'CNY',+ units: [+ { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 8, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ settings: {+ extendParams: ['enableReasoning'],+ },+ type: 'chat',+ },+ {+ contextWindowTokens: 131_072,+ description: 'GLM-4.5-Air 是智谱AI推出的轻量级大语言模型,具备高效的推理能力。',+ displayName: 'GLM-4.5-Air',+ id: 'glm-4.5-air',+ maxOutput: 4096,+ pricing: {+ currency: 'CNY',+ units: [+ { name: 'textInput', rate: 0.6, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 4, strategy: 'fixed', unit: 'millionTokens' },],},type: 'chat',@@ -182,16 +246,35 @@ const infiniaiChatModels: AIChatModelCard[] = [abilities: {vision: true,},- contextWindowTokens: 125_000,+ contextWindowTokens: 131_072,+ description: 'Step3 是阶跃星辰推出的多模态模型,具备强大的视觉理解能力。',+ displayName: 'Step3',+ id: 'step3',+ maxOutput: 4096,+ pricing: {+ currency: 'CNY',+ units: [+ { name: 'textInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 4, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ type: 'chat',+ },+ {+ abilities: {+ functionCall: true,+ },+ contextWindowTokens: 262_144,description:- 'Qwen2.5-VL 系列模型提升了模型的智能水平、实用性和适用性,使其在自然对话、内容创作、专业知识服务及代码开发等场景中表现更优。',- displayName: 'Qwen2.5 VL 7B Instruct',- id: 'qwen2.5-vl-7b-instruct',+ '通义千问代码模型开源版。最新的 qwen3-coder-480b-a35b-instruct 是基于 Qwen3 的代码生成模型,具有强大的Coding Agent能力,擅长工具调用和环境交互,能够实现自主编程、代码能力卓越的同时兼具通用能力。',+ displayName: 'Qwen3 Coder 480B A35B',+ id: 'qwen3-coder-480b-a35b-instruct',+ maxOutput: 32_768,pricing: {currency: 'CNY',units: [- { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 9, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 36, strategy: 'fixed', unit: 'millionTokens' },],},type: 'chat',@@ -200,17 +283,17 @@ const infiniaiChatModels: AIChatModelCard[] = [abilities: {functionCall: true,},- contextWindowTokens: 32_768,+ contextWindowTokens: 131_072,description:- 'Qwen2.5 是 Qwen 大型语言模型系列的最新成果。Qwen2.5 发布了从 0.5 到 720 亿参数不等的基础语言模型及指令调优语言模型。Qwen2.5 相比 Qwen2 带来了以下改进:\n显著增加知识量,在编程与数学领域的能力得到极大提升。\n在遵循指令、生成长文本、理解结构化数据 (例如,表格) 以及生成结构化输出特别是 JSON 方面有显著提升。对系统提示的多样性更具韧性,增强了聊天机器人中的角色扮演实现和条件设定。\n支持长上下文处理。\n支持超过 29 种语言的多语言功能,包括中文、英语、法语、西班牙语、葡萄牙语、德语、意大利语、俄语、日语、韩语、越南语、泰语、阿拉伯语等。',- displayName: 'Qwen2.5 72B Instruct',- enabled: true,- id: 'qwen2.5-72b-instruct',+ '基于Qwen3的非思考模式开源模型,相较上一版本(通义千问3-235B-A22B)主观创作能力与模型安全性均有小幅度提升。',+ displayName: 'Qwen3 235B A22B Instruct 2507',+ id: 'qwen3-235b-a22b-instruct-2507',+ maxOutput: 8192,pricing: {currency: 'CNY',units: [- { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 8, strategy: 'fixed', unit: 'millionTokens' },],},type: 'chat',@@ -219,47 +302,109 @@ const infiniaiChatModels: AIChatModelCard[] = [abilities: {functionCall: true,},- contextWindowTokens: 32_768,+ contextWindowTokens: 131_072,+ description: 'Kimi K2 Instruct 是月之暗面推出的大语言模型,具有超长上下文处理能力。',+ displayName: 'Kimi K2 Instruct',+ id: 'kimi-k2-instruct',+ maxOutput: 32_768,+ pricing: {+ currency: 'CNY',+ units: [+ { name: 'textInput', rate: 4, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 16, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ type: 'chat',+ },+ {+ abilities: {+ reasoning: true,+ },+ contextWindowTokens: 32_000,+ description: 'ERNIE 4.5 300B A47B 是百度文心推出的超大规模混合专家模型,具备卓越的推理能力。',+ displayName: 'ERNIE 4.5 300B A47B',+ id: 'ernie-4.5-300b-a47b',+ maxOutput: 8192,+ pricing: {+ currency: 'CNY',+ units: [+ { name: 'textInput', rate: 2.9, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 2.9, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ type: 'chat',+ },+ {+ contextWindowTokens: 120_000,+ description: 'ERNIE 4.5 21B A3B 是百度文心推出的混合专家模型,具备强大的推理和多语言能力。',+ displayName: 'ERNIE 4.5 21B A3B',+ id: 'ernie-4.5-21b-a3b',+ maxOutput: 8192,+ pricing: {+ currency: 'CNY',+ units: [+ { name: 'textInput', rate: 1, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 1, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ type: 'chat',+ },+ {+ abilities: {+ functionCall: true,+ reasoning: true,+ },+ contextWindowTokens: 131_072,description:- 'Qwen2.5 是 Qwen 大型语言模型系列的最新成果。Qwen2.5 发布了从 0.5 到 720 亿参数不等的基础语言模型及指令调优语言模型。Qwen2.5 相比 Qwen2 带来了以下改进:\n显著增加知识量,在编程与数学领域的能力得到极大提升。\n在遵循指令、生成长文本、理解结构化数据 (例如,表格) 以及生成结构化输出特别是 JSON 方面有显著提升。对系统提示的多样性更具韧性,增强了聊天机器人中的角色扮演实现和条件设定。\n支持长上下文处理。\n支持超过 29 种语言的多语言功能,包括中文、英语、法语、西班牙语、葡萄牙语、德语、意大利语、俄语、日语、韩语、越南语、泰语、阿拉伯语等。',- displayName: 'Qwen2.5 32B Instruct',- enabled: true,- id: 'qwen2.5-32b-instruct',+ 'Qwen3-8B 是 Qwen 系列第三代的大型语言模型,拥有 82 亿参数,专为高效推理和多语言任务设计。支持无缝切换思维模式(复杂推理)和非思维模式(通用对话),在数学、编码、常识推理及多语言指令执行中表现出色。',+ displayName: 'Qwen3 8B',+ id: 'qwen3-8b',+ maxOutput: 8192,pricing: {currency: 'CNY',units: [- { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 1, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 4, strategy: 'fixed', unit: 'millionTokens' },],},type: 'chat',},{- contextWindowTokens: 32_768,+ abilities: {+ functionCall: true,+ reasoning: true,+ },+ contextWindowTokens: 131_072,description:- 'Qwen2.5-Coder 是最新的代码专用 Qwen 大型语言模型系列。Qwen2.5-Coder 在 CodeQwen1.5 的基础上带来了以下改进:\n显著提升代码生成、代码推理和代码修复能力。\n支持真实世界应用,例如代码代理,增强编码能力和数学及一般能力。\n支持长上下文处理。',- displayName: 'Qwen2.5 Coder 32B Instruct',- id: 'qwen2.5-coder-32b-instruct',+ 'Qwen3-14B 是 Qwen 系列第三代的大型语言模型,拥有 148 亿参数,专为高效推理和多语言任务设计。支持无缝切换思维模式(复杂推理)和非思维模式(通用对话),在数学、编码、常识推理及多语言指令执行中表现出色。',+ displayName: 'Qwen3 14B',+ id: 'qwen3-14b',+ maxOutput: 8192,pricing: {currency: 'CNY',units: [- { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 8, strategy: 'fixed', unit: 'millionTokens' },],},type: 'chat',},{- contextWindowTokens: 32_768,+ abilities: {+ functionCall: true,+ reasoning: true,+ },+ contextWindowTokens: 131_072,description:- 'Qwen2.5 是 Qwen 大型语言模型系列的最新成果。Qwen2.5 发布了从 0.5 到 720 亿参数不等的基础语言模型及指令调优语言模型。Qwen2.5 相比 Qwen2 带来了以下改进:\n显著增加知识量,在编程与数学领域的能力得到极大提升。\n在遵循指令、生成长文本、理解结构化数据 (例如,表格) 以及生成结构化输出特别是 JSON 方面有显著提升。对系统提示的多样性更具韧性,增强了聊天机器人中的角色扮演实现和条件设定。\n支持长上下文处理。\n支持超过 29 种语言的多语言功能,包括中文、英语、法语、西班牙语、葡萄牙语、德语、意大利语、俄语、日语、韩语、越南语、泰语、阿拉伯语等。',- displayName: 'Qwen2.5 14B Instruct',- id: 'qwen2.5-14b-instruct',+ 'Qwen3-32B 是 Qwen 系列第三代的大型语言模型,拥有 328 亿参数,专为高效推理和多语言任务设计。支持无缝切换思考模式(复杂推理)和非思考模式(通用对话),在数学、编码、常识推理及多语言指令执行中表现出色。',+ displayName: 'Qwen3 32B',+ id: 'qwen3-32b',+ maxOutput: 8192,pricing: {currency: 'CNY',units: [- { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 2.9, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 11.6, strategy: 'fixed', unit: 'millionTokens' },],},type: 'chat',@@ -267,17 +412,19 @@ const infiniaiChatModels: AIChatModelCard[] = [{abilities: {functionCall: true,+ reasoning: true,},- contextWindowTokens: 32_768,+ contextWindowTokens: 131_072,description:- 'Qwen2.5 是 Qwen 大型语言模型系列的最新成果。Qwen2.5 发布了从 0.5 到 720 亿参数不等的基础语言模型及指令调优语言模型。Qwen2.5 相比 Qwen2 带来了以下改进:\n显著增加知识量,在编程与数学领域的能力得到极大提升。\n在遵循指令、生成长文本、理解结构化数据 (例如,表格) 以及生成结构化输出特别是 JSON 方面有显著提升。对系统提示的多样性更具韧性,增强了聊天机器人中的角色扮演实现和条件设定。\n支持长上下文处理。\n支持超过 29 种语言的多语言功能,包括中文、英语、法语、西班牙语、葡萄牙语、德语、意大利语、俄语、日语、韩语、越南语、泰语、阿拉伯语等。',- displayName: 'Qwen2.5 7B Instruct',- id: 'qwen2.5-7b-instruct',+ 'Qwen3-30B-A3B 是 Qwen 系列第三代的大型语言模型,采用混合专家(MoE)架构,总计 305 亿参数,每 token 激活 33 亿参数。支持无缝切换思维模式(复杂推理)和非思维模式(通用对话),在数学、编码、常识推理及多语言指令执行中表现出色。',+ displayName: 'Qwen3 30B A3B',+ id: 'qwen3-30b-a3b',+ maxOutput: 8192,pricing: {currency: 'CNY',units: [- { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 2.2, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 8.7, strategy: 'fixed', unit: 'millionTokens' },],},type: 'chat',@@ -287,44 +434,156 @@ const infiniaiChatModels: AIChatModelCard[] = [functionCall: true,reasoning: true,},- contextWindowTokens: 65_536,+ contextWindowTokens: 131_072,+ description:+ 'Qwen3-235B-A22B 是 Qwen 系列第三代的大型语言模型,采用混合专家(MoE)架构,总计 2350 亿参数,每 token 激活 220 亿参数。支持无缝切换思考模式(复杂推理)和非思维模式(通用对话),在数学、编码、常识推理及多语言指令执行中表现出色。',+ displayName: 'Qwen3 235B A22B',+ id: 'qwen3-235b-a22b',+ maxOutput: 8192,+ pricing: {+ currency: 'CNY',+ units: [+ { name: 'textInput', rate: 5, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 20, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ type: 'chat',+ },+ {+ abilities: {+ vision: true,+ },+ contextWindowTokens: 125_000,+ description:+ 'Qwen2.5-VL 系列模型提升了模型的智能水平、实用性和适用性,使其在自然对话、内容创作、专业知识服务及代码开发等场景中表现更优。旗舰模型 Qwen2.5-VL-72B-Instruct 在涵盖多个领域和任务的基准测试中展现出强大的竞争力,包括大学水平的问题解答、数学、文档理解、通用问答、视频理解以及视觉代理任务等。',+ displayName: 'Qwen2.5 VL 72B Instruct',+ id: 'qwen2.5-vl-72b-instruct',+ maxOutput: 4096,+ pricing: {+ currency: 'CNY',+ units: [+ { name: 'textInput', rate: 10, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 10, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ type: 'chat',+ },+ {+ abilities: {+ vision: true,+ },+ contextWindowTokens: 125_000,description:- 'QwQ 是 Qwen 系列的推理模型,相比传统指令调优模型,QwQ 具备思考和推理能力,在下游任务尤其是难题上能取得显著性能提升。QwQ-32B 是一款中等规模的推理模型,其性能可与最先进的推理模型相媲美,例如 DeepSeek-R1 和 o1-mini。',+ 'Qwen2.5-VL 系列模型提升了模型的智能水平、实用性和适用性,使其在自然对话、内容创作、专业知识服务及代码开发等场景中表现更优。模型 Qwen2.5-VL-32B-Instruct 在涵盖多个领域和任务的基准测试中展现出强大的竞争力,包括大学水平的问题解答、数学、文档理解、通用问答、视频理解以及视觉代理任务等。',+ displayName: 'Qwen2.5 VL 32B Instruct',+ id: 'qwen2.5-vl-32b-instruct',+ maxOutput: 4096,+ pricing: {+ currency: 'CNY',+ units: [+ { name: 'textInput', rate: 5.8, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 5.8, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ type: 'chat',+ },+ {+ abilities: {+ vision: true,+ },+ contextWindowTokens: 125_000,+ description:+ 'Qwen2.5-VL 系列模型提升了模型的智能水平、实用性和适用性,使其在自然对话、内容创作、专业知识服务及代码开发等场景中表现更优。模型 Qwen2.5-VL-7B-Instruct 在涵盖多个领域和任务的基准测试中展现出强大的竞争力,包括大学水平的问题解答、数学、文档理解、通用问答、视频理解以及视觉代理任务等。',+ displayName: 'Qwen2.5 VL 7B Instruct',+ id: 'qwen2.5-vl-7b-instruct',+ maxOutput: 4096,+ pricing: {+ currency: 'CNY',+ units: [+ { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ type: 'chat',+ },+ {+ abilities: {+ reasoning: true,+ },+ contextWindowTokens: 32_000,+ description: 'QwQ 32B 是通义千问推出的推理专用模型,专注于推理任务。',displayName: 'QwQ 32B',- enabled: false,id: 'qwq-32b',+ maxOutput: 8192,pricing: {currency: 'CNY',units: [- { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 2.9, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 2.9, strategy: 'fixed', unit: 'millionTokens' },],},type: 'chat',},{- contextWindowTokens: 32_768,+ contextWindowTokens: 131_072,+ description:+ 'DeepSeek-V3-0324 是一个强大的专家混合(MoE)语言模型,总参数量为 671B,每个 Token 激活 37B 参数。该模型采用多头潜在注意力(MLA)和 DeepSeekMoE 架构,实现了高效推理和经济训练,并在前代 DeepSeek-V3 的基础上显著提升了性能。',+ displayName: 'DeepSeek V3 0324',+ id: 'deepseek-v3',+ maxOutput: 16_384,+ pricing: {+ currency: 'CNY',+ units: [+ { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 8, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ type: 'chat',+ },+ {+ abilities: {+ functionCall: true,+ reasoning: true,+ },+ contextWindowTokens: 131_072,description:- 'DeepSeek-R1-Distill-Qwen-32B 是基于 DeepSeek-R1 蒸馏而来的模型,在 Qwen2.5-32B 的基础上使用 DeepSeek-R1 生成的样本进行微调。该模型在各种基准测试中表现出色,保持了强大的推理能力。',+ 'DeepSeek-R1 是一个专注于推理能力的大语言模型,通过创新的训练流程实现了与 OpenAI-o1 相当的数学、代码和推理任务表现。该模型采用了冷启动数据和大规模强化学习相结合的方式进行训练。',+ displayName: 'DeepSeek R1',+ id: 'deepseek-r1',+ maxOutput: 32_768,+ pricing: {+ currency: 'CNY',+ units: [+ { name: 'textInput', rate: 4, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 16, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ type: 'chat',+ },+ {+ abilities: {+ reasoning: true,+ },+ contextWindowTokens: 32_000,+ description: 'DeepSeek R1 Distill Qwen 32B 是深度求索基于Qwen蒸馏的高效模型。',displayName: 'DeepSeek R1 Distill Qwen 32B',- enabled: false,id: 'deepseek-r1-distill-qwen-32b',+ maxOutput: 8192,pricing: {currency: 'CNY',units: [- { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 2.9, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 2.9, strategy: 'fixed', unit: 'millionTokens' },],},type: 'chat',},{- contextWindowTokens: 8192,- description:- 'Meta 发布的 LLaMA 3.3 多语言大规模语言模型(LLMs)是一个经过预训练和指令微调的生成模型,提供 70B 规模(文本输入/文本输出)。该模型使用超过 15T 的数据进行训练,支持英语、德语、法语、意大利语、葡萄牙语、印地语、西班牙语和泰语,知识更新截止于 2023 年 12 月。',- displayName: 'LLaMA 3.3 70B',- enabled: false,- id: 'llama-3.3-70b-instruct',+ contextWindowTokens: 32_000,+ description: 'Megrez 3B Instruct 是无问芯穹推出的小参数量高效模型。',+ displayName: 'Megrez 3B Instruct',+ id: 'megrez-3b-instruct',+ maxOutput: 4096,pricing: {currency: 'CNY',units: [@@ -335,120 +594,152 @@ const infiniaiChatModels: AIChatModelCard[] = [type: 'chat',},{+ abilities: {+ functionCall: true,+ },contextWindowTokens: 32_768,description:- 'Qwen2 是 Qwen 团队推出的新一代大型语言模型系列。它基于 Transformer 架构,并采用 SwiGLU 激活函数、注意力 QKV 偏置(attention QKV bias)、群组查询注意力(group query attention)、滑动窗口注意力(mixture of sliding window attention)与全注意力的混合等技术。此外,Qwen 团队还改进了适应多种自然语言和代码的分词器。',- displayName: 'Qwen 2 72B Instruct',- id: 'qwen2-72b-instruct',+ 'Qwen2.5 是 Qwen 大型语言模型系列的最新成果。Qwen2.5 发布了从 0.5 到 720 亿参数不等的基础语言模型及指令调优语言模型。Qwen2.5 相比 Qwen2 带来了以下改进:\n显著增加知识量,在编程与数学领域的能力得到极大提升。\n在遵循指令、生成长文本、理解结构化数据 (例如,表格) 以及生成结构化输出特别是 JSON 方面有显著提升。对系统提示的多样性更具韧性,增强了聊天机器人中的角色扮演实现和条件设定。\n支持长上下文处理。\n支持超过 29 种语言的多语言功能,包括中文、英语、法语、西班牙语、葡萄牙语、德语、意大利语、俄语、日语、韩语、越南语、泰语、阿拉伯语等。',+ displayName: 'Qwen2.5 32B Instruct',+ id: 'qwen2.5-32b-instruct',pricing: {currency: 'CNY',units: [- { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 2.9, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 2.9, strategy: 'fixed', unit: 'millionTokens' },],},type: 'chat',},{+ abilities: {+ functionCall: true,+ },contextWindowTokens: 32_768,description:- 'Qwen2 是 Qwen 团队推出的新一代大型语言模型系列。它基于 Transformer 架构,并采用 SwiGLU 激活函数、注意力 QKV 偏置(attention QKV bias)、群组查询注意力(group query attention)、滑动窗口注意力(mixture of sliding window attention)与全注意力的混合等技术。此外,Qwen 团队还改进了适应多种自然语言和代码的分词器。',- displayName: 'Qwen 2 7B Instruct',- id: 'qwen2-7b-instruct',+ 'Qwen2.5 是 Qwen 大型语言模型系列的最新成果。Qwen2.5 发布了从 0.5 到 720 亿参数不等的基础语言模型及指令调优语言模型。Qwen2.5 相比 Qwen2 带来了以下改进:\n显著增加知识量,在编程与数学领域的能力得到极大提升。\n在遵循指令、生成长文本、理解结构化数据 (例如,表格) 以及生成结构化输出特别是 JSON 方面有显著提升。对系统提示的多样性更具韧性,增强了聊天机器人中的角色扮演实现和条件设定。\n支持长上下文处理。\n支持超过 29 种语言的多语言功能,包括中文、英语、法语、西班牙语、葡萄牙语、德语、意大利语、俄语、日语、韩语、越南语、泰语、阿拉伯语等。',+ displayName: 'Qwen2.5 72B Instruct',+ id: 'qwen2.5-72b-instruct',pricing: {currency: 'CNY',units: [- { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 5, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 5, strategy: 'fixed', unit: 'millionTokens' },],},type: 'chat',},{- contextWindowTokens: 4096,+ contextWindowTokens: 32_768,description:- 'Yi-1.5 是 Yi 的升级版本。 它使用 500B Tokens 的高质量语料库在 Yi 上持续进行预训练,并在 3M 个多样化的微调样本上进行微调。',- displayName: 'Yi-1.5 34B Chat',- id: 'yi-1.5-34b-chat',+ 'Qwen2.5 是 Qwen 大型语言模型系列的最新成果。Qwen2.5 发布了从 0.5 到 720 亿参数不等的基础语言模型及指令调优语言模型。Qwen2.5 相比 Qwen2 带来了以下改进:\n显著增加知识量,在编程与数学领域的能力得到极大提升。\n在遵循指令、生成长文本、理解结构化数据 (例如,表格) 以及生成结构化输出特别是 JSON 方面有显著提升。对系统提示的多样性更具韧性,增强了聊天机器人中的角色扮演实现和条件设定。\n支持长上下文处理。\n支持超过 29 种语言的多语言功能,包括中文、英语、法语、西班牙语、葡萄牙语、德语、意大利语、俄语、日语、韩语、越南语、泰语、阿拉伯语等。',+ displayName: 'Qwen2.5 14B Instruct',+ id: 'qwen2.5-14b-instruct',pricing: {currency: 'CNY',units: [- { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },],},type: 'chat',},{- contextWindowTokens: 16_384,- description: 'GLM-4-9B-Chat 是智谱 AI 推出的最新一代预训练模型 GLM-4-9B 的人类偏好对齐版本。',- displayName: 'GLM-4 9B Chat',- id: 'glm-4-9b-chat',+ abilities: {+ functionCall: true,+ },+ contextWindowTokens: 32_768,+ description:+ 'Qwen2.5 是 Qwen 大型语言模型系列的最新成果。Qwen2.5 发布了从 0.5 到 720 亿参数不等的基础语言模型及指令调优语言模型。Qwen2.5 相比 Qwen2 带来了以下改进:\n显著增加知识量,在编程与数学领域的能力得到极大提升。\n在遵循指令、生成长文本、理解结构化数据 (例如,表格) 以及生成结构化输出特别是 JSON 方面有显著提升。对系统提示的多样性更具韧性,增强了聊天机器人中的角色扮演实现和条件设定。\n支持长上下文处理。\n支持超过 29 种语言的多语言功能,包括中文、英语、法语、西班牙语、葡萄牙语、德语、意大利语、俄语、日语、韩语、越南语、泰语、阿拉伯语等。',+ displayName: 'Qwen2.5 7B Instruct',+ id: 'qwen2.5-7b-instruct',pricing: {currency: 'CNY',units: [- { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 1, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 1, strategy: 'fixed', unit: 'millionTokens' },],},type: 'chat',},{- contextWindowTokens: 8192,+ abilities: {+ functionCall: true,+ },+ contextWindowTokens: 32_768,description:- 'ChatGLM3 是智谱 AI 与清华 KEG 实验室发布的闭源模型,经过海量中英标识符的预训练与人类偏好对齐训练,相比一代模型在 MMLU、C-Eval、GSM8K 分别取得了 16%、36%、280% 的提升,并登顶中文任务榜单 C-Eval。适用于对知识量、推理能力、创造力要求较高的场景,比如广告文案、小说写作、知识类写作、代码生成等。',- displayName: 'ChatGLM3',- id: 'chatglm3',+ 'Qwen2.5-Coder 是最新的代码专用 Qwen 大型语言模型系列。Qwen2.5-Coder 在 CodeQwen1.5 的基础上带来了以下改进:\n显著提升代码生成、代码推理和代码修复能力。\n支持真实世界应用,例如代码代理,增强编码能力和数学及一般能力。\n支持长上下文处理。',+ displayName: 'Qwen2.5 Coder 32B Instruct',+ id: 'qwen2.5-coder-32b-instruct',+ maxOutput: 4096,pricing: {currency: 'CNY',units: [- { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 2.9, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 2.9, strategy: 'fixed', unit: 'millionTokens' },],},type: 'chat',},{- contextWindowTokens: 32_768,- description:- 'ChatGLM3-6b-base 是由智谱开发的 ChatGLM 系列最新一代的 60 亿参数规模的开源的基础模型。',- displayName: 'ChatGLM3 6B Base',- id: 'chatglm3-6b-base',+ contextWindowTokens: 131_072,+ description: '该模型需要申请体验。GPT-OSS-120B 是 OpenAI 推出的开源大规模语言模型,具备强大的文本生成能力。',+ displayName: 'GPT-OSS-120B',+ id: 'gpt-oss-120b',+ maxOutput: 32_768,pricing: {currency: 'CNY',units: [- { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 0.8, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 3.2, strategy: 'fixed', unit: 'millionTokens' },],},type: 'chat',},{- contextWindowTokens: 4096,- description:- 'Llama2 是由 Meta 开发并开源的大型语言模型(LLM)系列,这是一组从 70 亿到 700 亿参数不同规模、经过预训练和微调的生成式文本模型。架构层面,LLama2 是一个使用优化型转换器架构的自动回归语言模型。调整后的版本使用有监督的微调(SFT)和带有人类反馈的强化学习(RLHF)以对齐人类对有用性和安全性的偏好。Llama2 较 Llama 系列在多种学术数据集上有着更加不俗的表现,为大量其他模型提供了设计和开发的思路。',- displayName: 'Llama 2 7B Chat',- id: 'llama-2-7b-chat',+ contextWindowTokens: 131_072,+ description: '该模型需要申请体验。GPT-OSS-20B 是 OpenAI 推出的开源中型语言模型,具备高效的文本生成能力。',+ displayName: 'GPT-OSS-20B',+ id: 'gpt-oss-20b',+ maxOutput: 32_768,pricing: {currency: 'CNY',units: [- { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 0.4, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 1.6, strategy: 'fixed', unit: 'millionTokens' },],},type: 'chat',},{- contextWindowTokens: 4096,- description:- 'Megrez-3B-Instruct 是由无问芯穹完全自主训练的大语言模型。Megrez-3B-Instruct 旨在通过软硬协同理念,打造一款极速推理、小巧精悍、极易上手的端侧智能解决方案。',- displayName: 'Megrez 3B Instruct',- id: 'megrez-3b-instruct',+ abilities: {+ reasoning: true,+ },+ contextWindowTokens: 131_072,+ description: '企业专属服务专用模型,包并发服务。',+ displayName: 'DeepSeek R1 (Pro)',+ id: 'pro-deepseek-r1',+ maxOutput: 32_768,pricing: {currency: 'CNY',units: [- { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 4, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 16, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ type: 'chat',+ },+ {+ contextWindowTokens: 131_072,+ description: '企业专属服务专用模型,包并发服务。',+ displayName: 'DeepSeek V3 (Pro)',+ id: 'pro-deepseek-v3',+ maxOutput: 16_384,+ pricing: {+ currency: 'CNY',+ units: [+ { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 8, strategy: 'fixed', unit: 'millionTokens' },],},type: 'chat',diff --git a/packages/model-bank/src/aiModels/modelscope.ts b/packages/model-bank/src/aiModels/modelscope.tsindex 89450784312..4b618954edb 100644--- a/packages/model-bank/src/aiModels/modelscope.ts+++ b/packages/model-bank/src/aiModels/modelscope.ts@@ -26,10 +26,10 @@ const modelscopeChatModels: AIChatModelCard[] = [reasoning: true,},contextWindowTokens: 131_072,- description: 'DeepSeek V3.1 模型为混合推理架构模型,同时支持思考模式与非思考模式。',- displayName: 'DeepSeek V3.1',+ description: 'DeepSeek V3.2 Exp 模型为混合推理架构模型,同时支持思考模式与非思考模式。',+ displayName: 'DeepSeek V3.2 Exp',enabled: true,- id: 'deepseek-ai/DeepSeek-V3.1',+ id: 'deepseek-ai/DeepSeek-V3.2-Exp',type: 'chat',},{@@ -38,10 +38,9 @@ const modelscopeChatModels: AIChatModelCard[] = [reasoning: true,},contextWindowTokens: 131_072,- description:- 'DeepSeek R1 通过利用增加的计算资源和在后训练过程中引入算法优化机制,显著提高了其推理和推断能力的深度。该模型在各种基准评估中表现出色,包括数学、编程和一般逻辑方面。其整体性能现已接近领先模型,如 O3 和 Gemini 2.5 Pro。',- displayName: 'DeepSeek R1 0528',- id: 'deepseek-ai/DeepSeek-R1-0528',+ description: 'DeepSeek V3.1 模型为混合推理架构模型,同时支持思考模式与非思考模式。',+ displayName: 'DeepSeek V3.1',+ id: 'deepseek-ai/DeepSeek-V3.1',type: 'chat',},{@@ -50,19 +49,10 @@ const modelscopeChatModels: AIChatModelCard[] = [reasoning: true,},contextWindowTokens: 131_072,- description: 'DeepSeek R1是DeepSeek最新的推理模型,专注于复杂推理任务。',- displayName: 'DeepSeek R1',- id: 'deepseek-ai/DeepSeek-R1',- type: 'chat',- },- {- abilities: {- functionCall: true,- },- contextWindowTokens: 131_072,- description: 'DeepSeek V3是DeepSeek第三代模型的最新版本,具有强大的推理和对话能力。',- displayName: 'DeepSeek V3',- id: 'deepseek-ai/DeepSeek-V3',+ description:+ 'DeepSeek R1 通过利用增加的计算资源和在后训练过程中引入算法优化机制,显著提高了其推理和推断能力的深度。该模型在各种基准评估中表现出色,包括数学、编程和一般逻辑方面。其整体性能现已接近领先模型,如 O3 和 Gemini 2.5 Pro。',+ displayName: 'DeepSeek R1 0528',+ id: 'deepseek-ai/DeepSeek-R1-0528',type: 'chat',},{diff --git a/packages/model-bank/src/aiModels/novita.ts b/packages/model-bank/src/aiModels/novita.tsindex 7a9c98c0f63..2ff119b692a 100644--- a/packages/model-bank/src/aiModels/novita.ts+++ b/packages/model-bank/src/aiModels/novita.ts@@ -191,8 +191,8 @@ const novitaChatModels: AIChatModelCard[] = [id: 'openai/gpt-oss-20b',pricing: {units: [- { name: 'textInput', rate: 0.05, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0.2, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 0.04, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 0.15, strategy: 'fixed', unit: 'millionTokens' },],},type: 'chat',diff --git a/packages/model-runtime/src/providers/infiniai/index.ts b/packages/model-runtime/src/providers/infiniai/index.tsindex e565631abb4..ef5b47df3ad 100644--- a/packages/model-runtime/src/providers/infiniai/index.ts+++ b/packages/model-runtime/src/providers/infiniai/index.ts@@ -1,9 +1,7 @@-import type { ChatModelCard } from '@lobechat/types';import { ModelProvider } from 'model-bank';import { createOpenAICompatibleRuntime } from '../../core/openaiCompatibleFactory';-import { ChatCompletionErrorPayload } from '../../types';-import { AgentRuntimeErrorType } from '../../types/error';+import { processMultiProviderModelList } from '../../utils/modelParse';export interface InfiniAIModelCard {id: string;@@ -12,68 +10,24 @@ export interface InfiniAIModelCard {export const LobeInfiniAI = createOpenAICompatibleRuntime({baseURL: 'https://cloud.infini-ai.com/maas/v1',chatCompletion: {- handleError(error): Omit<ChatCompletionErrorPayload, 'provider'> | undefined {- let errorResponse: Response | undefined;- if (error instanceof Response) {- errorResponse = error;- } else if ('status' in (error as any)) {- errorResponse = error as Response;- }- if (errorResponse) {- if (errorResponse.status === 401) {- return {- error,- errorType: AgentRuntimeErrorType.InvalidProviderAPIKey,- };- }+ handlePayload: (payload) => {+ const { model, thinking, ...rest } = payload;- if (errorResponse.status === 429) {- return {- error,- errorType: AgentRuntimeErrorType.QuotaLimitReached,- };- }- }return {- error,- };+ ...rest,+ enable_thinking: thinking !== undefined ? thinking.type === 'enabled' : false,+ model,+ } as any;},},debug: {chatCompletion: () => process.env.DEBUG_INFINIAI_CHAT_COMPLETION === '1',},models: async ({ client }) => {- const { LOBE_DEFAULT_MODEL_LIST } = await import('model-bank');-- const reasoningKeywords = ['deepseek-r1', 'qwq', 'qwen3'];- const visionKeywords = ['qwen2.5-vl'];-const modelsPage = (await client.models.list()) as any;const modelList: InfiniAIModelCard[] = modelsPage.data;- return modelList- .map((model) => {- const knownModel = LOBE_DEFAULT_MODEL_LIST.find(- (m) => model.id.toLowerCase() === m.id.toLowerCase(),- );-- return {- contextWindowTokens: knownModel?.contextWindowTokens ?? undefined,- displayName: knownModel?.displayName ?? undefined,- enabled: knownModel?.enabled || false,- functionCall: knownModel?.abilities?.functionCall || false,- id: model.id,- reasoning:- reasoningKeywords.some((keyword) => model.id.toLowerCase().includes(keyword)) ||- knownModel?.abilities?.reasoning ||- false,- vision:- visionKeywords.some((keyword) => model.id.toLowerCase().includes(keyword)) ||- knownModel?.abilities?.vision ||- false,- };- })- .filter(Boolean) as ChatModelCard[];+ return processMultiProviderModelList(modelList, 'infiniai');},provider: ModelProvider.InfiniAI,});diff --git a/src/config/modelProviders/infiniai.ts b/src/config/modelProviders/infiniai.tsindex af6f53ed7fa..f2429b842a3 100644--- a/src/config/modelProviders/infiniai.ts+++ b/src/config/modelProviders/infiniai.ts@@ -76,32 +76,8 @@ const InfiniAI: ModelProviderCard = {enabled: true,id: 'qwen2.5-7b-instruct',},- {- contextWindowTokens: 32_768,- description:- 'Qwen2 是 Qwen 团队推出的新一代大型语言模型系列。它基于 Transformer 架构,并采用 SwiGLU 激活函数、注意力 QKV 偏置(attention QKV bias)、群组查询注意力(group query attention)、滑动窗口注意力(mixture of sliding window attention)与全注意力的混合等技术。此外,Qwen 团队还改进了适应多种自然语言和代码的分词器。',- displayName: 'Qwen 2 72B Instruct',- enabled: true,- id: 'qwen2-72b-instruct',- },- {- contextWindowTokens: 32_768,- description:- 'Qwen2 是 Qwen 团队推出的新一代大型语言模型系列。它基于 Transformer 架构,并采用 SwiGLU 激活函数、注意力 QKV 偏置(attention QKV bias)、群组查询注意力(group query attention)、滑动窗口注意力(mixture of sliding window attention)与全注意力的混合等技术。此外,Qwen 团队还改进了适应多种自然语言和代码的分词器。',- displayName: 'Qwen 2 7B Instruct',- enabled: true,- id: 'qwen2-7b-instruct',- },- {- contextWindowTokens: 4096,- description:- 'Yi-1.5 是 Yi 的升级版本。 它使用 500B Tokens 的高质量语料库在 Yi 上持续进行预训练,并在 3M 个多样化的微调样本上进行微调。',- displayName: 'Yi-1.5 34B Chat',- enabled: true,- id: 'yi-1.5-34b-chat',- },],- checkModel: 'qwen2.5-7b-instruct',+ checkModel: 'qwen3-8b',description:'为应用开发者提供高性能、易上手、安全可靠的大模型服务,覆盖从大模型开发到大模型服务化部署的全流程。',id: 'infiniai',@@ -109,6 +85,7 @@ const InfiniAI: ModelProviderCard = {modelsUrl: 'https://cloud.infini-ai.com/genstudio/model',name: 'InfiniAI',settings: {+ disableBrowserRequest: true,proxyUrl: {placeholder: 'https://cloud.infini-ai.com/maas/v1',},diff --git a/src/config/modelProviders/modelscope.ts b/src/config/modelProviders/modelscope.tsindex 5c82806a5d7..1b1988fa189 100644--- a/src/config/modelProviders/modelscope.ts+++ b/src/config/modelProviders/modelscope.ts@@ -12,22 +12,6 @@ const ModelScope: ModelProviderCard = {functionCall: true,id: 'deepseek-ai/DeepSeek-R1-0528',},- {- contextWindowTokens: 131_072,- description: 'DeepSeek-V3是DeepSeek第三代模型的最新版本,具有强大的推理和对话能力。',- displayName: 'DeepSeek-V3',- enabled: true,- functionCall: true,- id: 'deepseek-ai/DeepSeek-V3',- },- {- contextWindowTokens: 131_072,- description: 'DeepSeek-R1是DeepSeek最新的推理模型,专注于复杂推理任务。',- displayName: 'DeepSeek-R1',- enabled: true,- functionCall: true,- id: 'deepseek-ai/DeepSeek-R1',- },{contextWindowTokens: 131_072,description: 'Qwen3-235B-A22B是通义千问3代超大规模模型,提供顶级的AI能力。',@@ -45,7 +29,7 @@ const ModelScope: ModelProviderCard = {id: 'Qwen/Qwen3-32B',},],- checkModel: 'Qwen/Qwen3-32B',+ checkModel: 'Qwen/Qwen3-4B',description: 'ModelScope是阿里云推出的模型即服务平台,提供丰富的AI模型和推理服务。',id: 'modelscope',modelList: { showModelFetcher: true },