Skip to content

Commit

Permalink
💄 style: Add/Update Aliyun Cloud Models (#5613)
Browse files Browse the repository at this point in the history
* Update qwen.ts

* Update qwen.ts

* Update qwen.ts

* Update qwen.ts

* Update qwen.ts

* Update qwen.ts

* Update qwen.ts

* Update qwen.ts
  • Loading branch information
sxjeru authored Feb 4, 2025
1 parent ed4e048 commit 95cd822
Show file tree
Hide file tree
Showing 2 changed files with 229 additions and 22 deletions.
149 changes: 139 additions & 10 deletions src/config/aiModels/qwen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ const qwenChatModels: AIChatModelCard[] = [
abilities: {
functionCall: true,
},
contextWindowTokens: 131_072,
contextWindowTokens: 1_000_000,
description: '通义千问超大规模语言模型,支持中文、英文等不同语言输入。',
displayName: 'Qwen Turbo',
enabled: true,
id: 'qwen-turbo-latest',
maxOutput: 8192,
pricing: {
currency: 'CNY',
input: 0.3,
Expand All @@ -26,6 +27,7 @@ const qwenChatModels: AIChatModelCard[] = [
displayName: 'Qwen Plus',
enabled: true,
id: 'qwen-plus-latest',
maxOutput: 8192,
pricing: {
currency: 'CNY',
input: 0.8,
Expand All @@ -43,6 +45,7 @@ const qwenChatModels: AIChatModelCard[] = [
displayName: 'Qwen Max',
enabled: true,
id: 'qwen-max-latest',
maxOutput: 8192,
pricing: {
currency: 'CNY',
input: 20,
Expand All @@ -56,6 +59,7 @@ const qwenChatModels: AIChatModelCard[] = [
'通义千问超大规模语言模型,支持长文本上下文,以及基于长文档、多文档等多个场景的对话功能。',
displayName: 'Qwen Long',
id: 'qwen-long',
maxOutput: 6000,
pricing: {
currency: 'CNY',
input: 0.5,
Expand All @@ -73,27 +77,46 @@ const qwenChatModels: AIChatModelCard[] = [
displayName: 'Qwen VL Plus',
enabled: true,
id: 'qwen-vl-plus-latest',
maxOutput: 2048,
pricing: {
currency: 'CNY',
input: 8,
output: 8,
input: 1.5,
output: 4.5,
},
type: 'chat',
},
{
abilities: {
vision: true,
},
contextWindowTokens: 32_000,
contextWindowTokens: 32_768,
description:
'通义千问超大规模视觉语言模型。相比增强版,再次提升视觉推理能力和指令遵循能力,提供更高的视觉感知和认知水平。',
displayName: 'Qwen VL Max',
enabled: true,
id: 'qwen-vl-max-latest',
maxOutput: 2048,
pricing: {
currency: 'CNY',
input: 20,
output: 20,
input: 3,
output: 9,
},
type: 'chat',
},
{
abilities: {
vision: true,
},
contextWindowTokens: 34_096,
description:
'通义千问OCR是文字提取专有模型,专注于文档、表格、试题、手写体文字等类型图像的文字提取能力。它能够识别多种文字,目前支持的语言有:汉语、英语、法语、日语、韩语、德语、俄语、意大利语、越南语、阿拉伯语。',
displayName: 'Qwen VL OCR',
id: 'qwen-vl-ocr-latest',
maxOutput: 4096,
pricing: {
currency: 'CNY',
input: 5,
output: 5,
},
type: 'chat',
},
Expand All @@ -102,6 +125,7 @@ const qwenChatModels: AIChatModelCard[] = [
description: '通义千问数学模型是专门用于数学解题的语言模型。',
displayName: 'Qwen Math Turbo',
id: 'qwen-math-turbo-latest',
maxOutput: 3072,
pricing: {
currency: 'CNY',
input: 2,
Expand All @@ -114,6 +138,7 @@ const qwenChatModels: AIChatModelCard[] = [
description: '通义千问数学模型是专门用于数学解题的语言模型。',
displayName: 'Qwen Math Plus',
id: 'qwen-math-plus-latest',
maxOutput: 3072,
pricing: {
currency: 'CNY',
input: 4,
Expand All @@ -126,6 +151,7 @@ const qwenChatModels: AIChatModelCard[] = [
description: '通义千问代码模型。',
displayName: 'Qwen Coder Turbo',
id: 'qwen-coder-turbo-latest',
maxOutput: 8192,
pricing: {
currency: 'CNY',
input: 2,
Expand All @@ -138,6 +164,7 @@ const qwenChatModels: AIChatModelCard[] = [
description: '通义千问代码模型。',
displayName: 'Qwen Coder Plus',
id: 'qwen-coder-plus-latest',
maxOutput: 8192,
pricing: {
currency: 'CNY',
input: 3.5,
Expand All @@ -146,10 +173,14 @@ const qwenChatModels: AIChatModelCard[] = [
type: 'chat',
},
{
abilities: {
functionCall: true,
},
contextWindowTokens: 32_768,
description: 'QwQ模型是由 Qwen 团队开发的实验性研究模型,专注于增强 AI 推理能力。',
displayName: 'QwQ 32B Preview',
id: 'qwq-32b-preview',
maxOutput: 16_384,
pricing: {
currency: 'CNY',
input: 3.5,
Expand All @@ -166,6 +197,7 @@ const qwenChatModels: AIChatModelCard[] = [
description: 'QVQ模型是由 Qwen 团队开发的实验性研究模型,专注于提升视觉推理能力,尤其在数学推理领域。',
displayName: 'QVQ 72B Preview',
id: 'qvq-72b-preview',
maxOutput: 16_384,
pricing: {
currency: 'CNY',
input: 12,
Expand All @@ -182,10 +214,11 @@ const qwenChatModels: AIChatModelCard[] = [
description: '通义千问2.5对外开源的7B规模的模型。',
displayName: 'Qwen2.5 7B',
id: 'qwen2.5-7b-instruct',
maxOutput: 8192,
pricing: {
currency: 'CNY',
input: 1,
output: 2,
input: 0.5,
output: 1,
},
type: 'chat',
},
Expand All @@ -197,10 +230,11 @@ const qwenChatModels: AIChatModelCard[] = [
description: '通义千问2.5对外开源的14B规模的模型。',
displayName: 'Qwen2.5 14B',
id: 'qwen2.5-14b-instruct',
maxOutput: 8192,
pricing: {
currency: 'CNY',
input: 2,
output: 6,
input: 1,
output: 3,
},
type: 'chat',
},
Expand All @@ -212,6 +246,7 @@ const qwenChatModels: AIChatModelCard[] = [
description: '通义千问2.5对外开源的32B规模的模型。',
displayName: 'Qwen2.5 32B',
id: 'qwen2.5-32b-instruct',
maxOutput: 8192,
pricing: {
currency: 'CNY',
input: 3.5,
Expand All @@ -227,18 +262,37 @@ const qwenChatModels: AIChatModelCard[] = [
description: '通义千问2.5对外开源的72B规模的模型。',
displayName: 'Qwen2.5 72B',
id: 'qwen2.5-72b-instruct',
maxOutput: 8192,
pricing: {
currency: 'CNY',
input: 4,
output: 12,
},
type: 'chat',
},
{
abilities: {
functionCall: true,
},
contextWindowTokens: 1_000_000,
description: '通义千问2.5对外开源的72B规模的模型。',
displayName: 'Qwen2.5 14B 1M',
id: 'qwen2.5-14b-instruct-1m',
maxOutput: 8192,
pricing: {
currency: 'CNY',
input: 1,
output: 3,
},
releasedAt: '2025-01-27',
type: 'chat',
},
{
contextWindowTokens: 4096,
description: 'Qwen-Math 模型具有强大的数学解题能力。',
displayName: 'Qwen2.5 Math 7B',
id: 'qwen2.5-math-7b-instruct',
maxOutput: 3072,
pricing: {
currency: 'CNY',
input: 1,
Expand All @@ -251,6 +305,7 @@ const qwenChatModels: AIChatModelCard[] = [
description: 'Qwen-Math 模型具有强大的数学解题能力。',
displayName: 'Qwen2.5 Math 72B',
id: 'qwen2.5-math-72b-instruct',
maxOutput: 3072,
pricing: {
currency: 'CNY',
input: 4,
Expand All @@ -263,6 +318,7 @@ const qwenChatModels: AIChatModelCard[] = [
description: '通义千问代码模型开源版。',
displayName: 'Qwen2.5 Coder 7B',
id: 'qwen2.5-coder-7b-instruct',
maxOutput: 8192,
pricing: {
currency: 'CNY',
input: 1,
Expand All @@ -275,6 +331,7 @@ const qwenChatModels: AIChatModelCard[] = [
description: '通义千问代码模型开源版。',
displayName: 'Qwen2.5 Coder 32B',
id: 'qwen2.5-coder-32b-instruct',
maxOutput: 8192,
pricing: {
currency: 'CNY',
input: 3.5,
Expand Down Expand Up @@ -312,6 +369,78 @@ const qwenChatModels: AIChatModelCard[] = [
},
type: 'chat',
},
{
abilities: {
vision: true,
},
contextWindowTokens: 131_072,
description:
'指令跟随、数学、解题、代码整体提升,万物识别能力提升,支持多样格式直接精准定位视觉元素,支持对长视频文件(最长10分钟)进行理解和秒级别的事件时刻定位,能理解时间先后和快慢,基于解析和定位能力支持操控OS或Mobile的Agent,关键信息抽取能力和Json格式输出能力强,此版本为72B版本,本系列能力最强的版本。',
displayName: 'Qwen2.5 VL 72B',
id: 'qwen2.5-vl-72b-instruct',
maxOutput: 2048,
pricing: {
currency: 'CNY',
input: 16,
output: 48,
},
releasedAt: '2025-01-27',
type: 'chat',
},
{
abilities: {
vision: true,
},
contextWindowTokens: 131_072,
description:
'指令跟随、数学、解题、代码整体提升,万物识别能力提升,支持多样格式直接精准定位视觉元素,支持对长视频文件(最长10分钟)进行理解和秒级别的事件时刻定位,能理解时间先后和快慢,基于解析和定位能力支持操控OS或Mobile的Agent,关键信息抽取能力和Json格式输出能力强,此版本为72B版本,本系列能力最强的版本。',
displayName: 'Qwen2.5 VL 7B',
id: 'qwen2.5-vl-7b-instruct',
maxOutput: 2048,
pricing: {
currency: 'CNY',
input: 2,
output: 5,
},
releasedAt: '2025-01-27',
type: 'chat',
},
{
abilities: {
reasoning: true,
},
contextWindowTokens: 65_536,
description:
'DeepSeek-R1 在后训练阶段大规模使用了强化学习技术,在仅有极少标注数据的情况下,极大提升了模型推理能力,尤其在数学、代码、自然语言推理等任务上。',
displayName: 'DeepSeek R1',
id: 'deepseek-r1',
maxOutput: 8192,
pricing: {
currency: 'CNY',
input: 0,
output: 0,
},
releasedAt: '2025-01-27',
type: 'chat',
},
{
abilities: {
functionCall: true,
},
contextWindowTokens: 65_536,
description:
'DeepSeek-V3 为自研 MoE 模型,671B 参数,激活 37B,在 14.8T token 上进行了预训练,在长文本、代码、数学、百科、中文能力上表现优秀。',
displayName: 'DeepSeek V3',
id: 'deepseek-v3',
maxOutput: 8192,
pricing: {
currency: 'CNY',
input: 0,
output: 0,
},
releasedAt: '2025-01-27',
type: 'chat',
},
];

export const allModels = [...qwenChatModels];
Expand Down
Loading

0 comments on commit 95cd822

Please sign in to comment.