From 66113b06cf64026d9bd563eb3a26fe26fb54a468 Mon Sep 17 00:00:00 2001 From: Yige Date: Tue, 7 Jul 2026 15:41:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Qwen=20=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=20(#41)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新 Qwen 模型配置 --- compute/coding-plans/dashscope-coding.json | 24 +- .../coding-plans/dashscope-token-plan.json | 128 ++++++---- compute/providers/dashscope.json | 232 +++++------------- compute/service-map.json | 2 +- manifest.json | 4 +- 5 files changed, 157 insertions(+), 233 deletions(-) diff --git a/compute/coding-plans/dashscope-coding.json b/compute/coding-plans/dashscope-coding.json index d27448d..d1a7683 100644 --- a/compute/coding-plans/dashscope-coding.json +++ b/compute/coding-plans/dashscope-coding.json @@ -22,13 +22,33 @@ } }, "models": [ + { + "modelName": "qwen3.7-plus", + "displayName": "Qwen3.7 Plus (Coding)", + "serviceType": [ + "chat" + ], + "description": "百炼 Coding Plan,通义千问 3.7 Plus,多模态智能体模型,1M 上下文", + "contextWindow": 1000000, + "maxOutputTokens": 65536, + "capabilities": [ + "chat", + "reasoning", + "code", + "vision", + "tool_use", + "agent", + "long_context" + ], + "source": "preset" + }, { "modelName": "qwen3.6-plus", "displayName": "Qwen3.6 Plus (Coding)", "serviceType": [ "chat" ], - "description": "百炼 Coding Plan,通义千问 3.6 Plus 旗舰模型,1M 上下文", + "description": "百炼 Coding Plan,通义千问 3.6 Plus,1M 上下文", "contextWindow": 1000000, "maxOutputTokens": 65536, "capabilities": [ @@ -72,7 +92,6 @@ "maxOutputTokens": 65536, "capabilities": [ "chat", - "reasoning", "code", "tool_use" ], @@ -89,7 +108,6 @@ "maxOutputTokens": 65536, "capabilities": [ "chat", - "reasoning", "code", "tool_use" ], diff --git a/compute/coding-plans/dashscope-token-plan.json b/compute/coding-plans/dashscope-token-plan.json index c58f720..38eb588 100644 --- a/compute/coding-plans/dashscope-token-plan.json +++ b/compute/coding-plans/dashscope-token-plan.json @@ -2,19 +2,22 @@ "id": "provider-dashscope-token-plan-001", "provider": "dashscope", "brandGroup": "dashscope", - "label": "百炼 Coding Plan", - "baseUrl": "https://coding.dashscope.aliyuncs.com/v1", - "mediaBaseUrl": "https://dashscope.aliyuncs.com/api/v1", + "label": "百炼 Token Plan", + "baseUrl": "https://token-plan.cn-beijing.maas.aliyuncs.com/compatible-mode/v1", "apiFormat": "openai-completions", "apiKeyRef": "", "apiKeyVerified": false, "enabled": false, "status": "unconfigured", - "accessMode": "coding-plan", + "accessMode": "token-plan", "services": [ "chat", "reasoning" ], + "tombstones": [ + "qwen3.5-plus", + "qwen3-coder-plus" + ], "codingPlan": { "quotas": {}, "usageTracking": { @@ -24,12 +27,31 @@ }, "models": [ { - "modelName": "qwen3.6-plus", - "displayName": "Qwen3.6 Plus (Coding Plan)", + "modelName": "qwen3.7-max", + "displayName": "Qwen3.7 Max (Token Plan)", "serviceType": [ "chat" ], - "description": "百炼 Coding Plan,通义千问 3.6 Plus 旗舰模型,1M 上下文,支持图像理解", + "description": "百炼 Token Plan,通义千问 3.7 Max,1M 上下文,面向复杂推理与长程 Agent 任务", + "contextWindow": 1000000, + "maxOutputTokens": 65536, + "capabilities": [ + "chat", + "reasoning", + "code", + "tool_use", + "agent", + "long_context" + ], + "source": "preset" + }, + { + "modelName": "qwen3.7-plus", + "displayName": "Qwen3.7 Plus (Token Plan)", + "serviceType": [ + "chat" + ], + "description": "百炼 Token Plan,通义千问 3.7 Plus,多模态智能体模型,1M 上下文", "contextWindow": 1000000, "maxOutputTokens": 65536, "capabilities": [ @@ -44,12 +66,52 @@ "source": "preset" }, { - "modelName": "kimi-k2.5", - "displayName": "Kimi K2.5 (Coding Plan)", + "modelName": "qwen3.6-plus", + "displayName": "Qwen3.6 Plus (Token Plan)", "serviceType": [ "chat" ], - "description": "百炼 Coding Plan,Kimi K2.5,支持图像理解", + "description": "百炼 Token Plan,通义千问 3.6 Plus,1M 上下文,支持图像理解", + "contextWindow": 1000000, + "maxOutputTokens": 65536, + "capabilities": [ + "chat", + "reasoning", + "code", + "vision", + "tool_use", + "agent", + "long_context" + ], + "source": "preset" + }, + { + "modelName": "qwen3.6-flash", + "displayName": "Qwen3.6 Flash (Token Plan)", + "serviceType": [ + "chat" + ], + "description": "百炼 Token Plan,通义千问 3.6 Flash,高性价比多模态模型,1M 上下文", + "contextWindow": 1000000, + "maxOutputTokens": 65536, + "capabilities": [ + "chat", + "reasoning", + "code", + "vision", + "tool_use", + "long_context", + "fast" + ], + "source": "preset" + }, + { + "modelName": "kimi-k2.5", + "displayName": "Kimi K2.5 (Token Plan)", + "serviceType": [ + "chat" + ], + "description": "百炼 Token Plan,Kimi K2.5,支持图像理解", "contextWindow": 262144, "maxOutputTokens": 32768, "capabilities": [ @@ -65,11 +127,11 @@ }, { "modelName": "glm-5", - "displayName": "GLM-5 (Coding Plan)", + "displayName": "GLM-5 (Token Plan)", "serviceType": [ "chat" ], - "description": "百炼 Coding Plan,智谱 GLM-5,200K 上下文", + "description": "百炼 Token Plan,智谱 GLM-5,200K 上下文", "contextWindow": 202752, "maxOutputTokens": 128000, "capabilities": [ @@ -83,11 +145,11 @@ }, { "modelName": "MiniMax-M2.5", - "displayName": "MiniMax M2.5 (Coding Plan)", + "displayName": "MiniMax M2.5 (Token Plan)", "serviceType": [ "chat" ], - "description": "百炼 Coding Plan,MiniMax M2.5,196K 上下文", + "description": "百炼 Token Plan,MiniMax M2.5,196K 上下文", "contextWindow": 196608, "maxOutputTokens": 8192, "capabilities": [ @@ -99,47 +161,13 @@ ], "source": "preset" }, - { - "modelName": "qwen3.5-plus", - "displayName": "Qwen3.5 Plus (Coding Plan)", - "serviceType": [ - "chat" - ], - "description": "百炼 Coding Plan,通义千问 3.5 Plus,支持图像理解", - "contextWindow": 131072, - "maxOutputTokens": 16384, - "capabilities": [ - "chat", - "reasoning", - "code", - "vision", - "tool_use" - ], - "source": "preset" - }, - { - "modelName": "qwen3-coder-plus", - "displayName": "Qwen3 Coder Plus (Coding Plan)", - "serviceType": [ - "chat" - ], - "description": "百炼 Coding Plan,千问代码专用模型", - "contextWindow": 131072, - "maxOutputTokens": 32768, - "capabilities": [ - "chat", - "code", - "reasoning" - ], - "source": "preset" - }, { "modelName": "glm-4.7", - "displayName": "GLM-4.7 (Coding Plan)", + "displayName": "GLM-4.7 (Token Plan)", "serviceType": [ "chat" ], - "description": "百炼 Coding Plan,智谱 GLM-4.7,200K 上下文", + "description": "百炼 Token Plan,智谱 GLM-4.7,200K 上下文", "contextWindow": 200000, "maxOutputTokens": 128000, "capabilities": [ diff --git a/compute/providers/dashscope.json b/compute/providers/dashscope.json index ba152f7..f71da81 100644 --- a/compute/providers/dashscope.json +++ b/compute/providers/dashscope.json @@ -23,15 +23,48 @@ "omni", "translation" ], + "tombstones": [ + "qwen3.6-plus", + "qwen3.5-plus", + "qwen-max", + "qwen-plus", + "qwen-turbo", + "qwen3-max", + "qwen3-max-trans" + ], "models": [ { - "modelName": "qwen3.6-plus", - "displayName": "阿里云 Qwen3.6-Plus", + "modelName": "qwen3.7-max", + "displayName": "阿里云 Qwen3.7-Max", + "serviceType": [ + "chat" + ], + "description": "通义千问3.7 Max,面向复杂推理与长程 Agent 任务的旗舰模型,100万上下文,支持内置工具和 Function Calling", + "contextWindow": 1000000, + "maxOutputTokens": 65536, + "capabilities": [ + "chat", + "reasoning", + "code", + "multilingual", + "long_context", + "tool_use", + "agent" + ], + "inputPrice": 12, + "outputPrice": 36, + "defaultTemperature": 0.6, + "defaultTopP": 0.95, + "extra": {} + }, + { + "modelName": "qwen3.7-plus", + "displayName": "阿里云 Qwen3.7-Plus", "serviceType": [ "chat", "vision" ], - "description": "通义千问3.6 Plus,支持文本/图像/视频输入,100万上下文,支持内置工具和 Function Calling", + "description": "通义千问3.7 Plus,多模态智能体模型,100万上下文,支持内置工具、Function Calling 和结构化输出", "contextWindow": 1000000, "maxOutputTokens": 65536, "capabilities": [ @@ -45,7 +78,7 @@ "vision" ], "inputPrice": 2, - "outputPrice": 12, + "outputPrice": 8, "defaultTemperature": 0.6, "defaultTopP": 0.95, "extra": { @@ -53,17 +86,17 @@ { "maxInputTokens": 256000, "inputPrice": 2, - "outputPrice": 12, - "thinkingOutputPrice": 12 + "outputPrice": 8, + "thinkingOutputPrice": 8 }, { "maxInputTokens": 1000000, - "inputPrice": 8, - "outputPrice": 48, - "thinkingOutputPrice": 48 + "inputPrice": 6, + "outputPrice": 24, + "thinkingOutputPrice": 24 } ], - "thinkingMaxTokens": 81920 + "thinkingMaxTokens": 262144 } }, { @@ -106,140 +139,6 @@ "thinkingMaxTokens": 131072 } }, - { - "modelName": "qwen3.5-plus", - "displayName": "阿里云 Qwen3.5-Plus", - "serviceType": [ - "chat" - ], - "description": "通义千问3.5旗舰模型,支持文本/图像/视频输入,100万上下文,默认开启思考模式", - "contextWindow": 1000000, - "maxOutputTokens": 65536, - "capabilities": [ - "chat", - "reasoning", - "code", - "multilingual", - "long_context", - "tool_use", - "agent", - "vision" - ], - "inputPrice": 0.8, - "outputPrice": 4.8, - "defaultTemperature": 0.6, - "defaultTopP": 0.95, - "extra": { - "pricingTiers": [ - { - "maxInputTokens": 128000, - "inputPrice": 0.8, - "outputPrice": 4.8 - }, - { - "maxInputTokens": 256000, - "inputPrice": 2, - "outputPrice": 12 - }, - { - "maxInputTokens": 1000000, - "inputPrice": 4, - "outputPrice": 24 - } - ], - "thinkingMaxTokens": 81920 - } - }, - { - "modelName": "qwen-max", - "displayName": "阿里云 qwen-max", - "serviceType": [ - "chat" - ], - "description": "通义千问Max,千亿参数旗舰模型,32K 上下文", - "contextWindow": 32768, - "maxOutputTokens": 8192, - "capabilities": [ - "chat", - "reasoning", - "code", - "multilingual", - "long_context" - ], - "inputPrice": 2.4, - "outputPrice": 9.6, - "defaultTemperature": 0.7, - "defaultTopP": 0.8, - "extra": {} - }, - { - "modelName": "qwen-plus", - "displayName": "阿里云 qwen-plus", - "serviceType": [ - "chat" - ], - "description": "通义千问Plus,支持思考模式,100万上下文", - "contextWindow": 1000000, - "maxOutputTokens": 32768, - "capabilities": [ - "chat", - "reasoning", - "code", - "thinking_mode" - ], - "inputPrice": 0.8, - "outputPrice": 2, - "defaultTemperature": 0.7, - "defaultTopP": 0.8, - "extra": { - "pricingTiers": [ - { - "maxInputTokens": 128000, - "inputPrice": 0.8, - "outputPrice": 2, - "thinkingOutputPrice": 8 - }, - { - "maxInputTokens": 256000, - "inputPrice": 2.4, - "outputPrice": 20, - "thinkingOutputPrice": 24 - }, - { - "maxInputTokens": 1000000, - "inputPrice": 4.8, - "outputPrice": 48, - "thinkingOutputPrice": 64 - } - ], - "thinkingMaxTokens": 81920 - } - }, - { - "modelName": "qwen-turbo", - "displayName": "阿里云 qwen-turbo", - "serviceType": [ - "chat" - ], - "description": "通义千问Turbo,非思考模式支持100万上下文,思考模式支持131K上下文", - "contextWindow": 1000000, - "maxOutputTokens": 16384, - "capabilities": [ - "chat", - "code", - "long_context", - "fast" - ], - "inputPrice": 0.367, - "outputPrice": 1.468, - "defaultTemperature": 0.7, - "defaultTopP": 0.8, - "extra": { - "thinkingContextWindow": 131072, - "thinkingOutputPrice": 3.67, - "thinkingMaxTokens": 38912 - } - }, { "modelName": "qwen-long", "displayName": "阿里云 qwen-long", @@ -260,31 +159,6 @@ "defaultTopP": 0.8, "extra": {} }, - { - "modelName": "qwen3-max", - "displayName": "阿里云 Qwen3-Max", - "serviceType": [ - "chat" - ], - "description": "通义千问3代旗舰模型,262K 上下文,支持思考模式", - "contextWindow": 262144, - "maxOutputTokens": 65536, - "capabilities": [ - "chat", - "reasoning", - "code", - "multilingual", - "long_context", - "tool_use", - "agent", - "vision" - ], - "inputPrice": 2.5, - "outputPrice": 10, - "defaultTemperature": 0.7, - "defaultTopP": 0.8, - "extra": {} - }, { "modelName": "qwen3-vl-plus", "displayName": "阿里云 Qwen3-VL-Plus", @@ -673,22 +547,26 @@ "extra": {} }, { - "modelName": "qwen3-max-trans", - "displayName": "Qwen3-Max(翻译)", + "modelName": "qwen-mt-plus", + "displayName": "Qwen-MT-Plus", "serviceType": [ "translation" ], - "description": "通义千问翻译,中英日韩等多语种互译", - "contextWindow": 131072, + "description": "通义千问 Qwen-MT 旗舰翻译模型,支持 92 种语言互译,适合专业领域、正式文书和技术报告", + "contextWindow": 16384, "maxOutputTokens": 8192, "capabilities": [ "translation", "multilingual", - "chinese_optimized" + "chinese_optimized", + "terminology" ], - "defaultTemperature": 0.65, - "defaultTopP": 0.8, - "extra": {} + "inputPrice": 1.8, + "outputPrice": 5.4, + "extra": { + "supportedLanguageCount": 92, + "supportsIncrementalStreaming": false + } }, { "modelName": "happyhorse-1.0-t2v", diff --git a/compute/service-map.json b/compute/service-map.json index 0bf2c6c..7c2a240 100644 --- a/compute/service-map.json +++ b/compute/service-map.json @@ -64,7 +64,7 @@ "providerId": "provider-volcengine-001" }, "translation": { - "modelName": "qwen3-max-trans", + "modelName": "qwen-mt-plus", "providerId": "provider-dashscope-001" }, "computer_use": { diff --git a/manifest.json b/manifest.json index 964d3b5..02b8111 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "version": "1.0.0", - "presetDataVersion": 64, - "updatedAt": "2026-07-03", + "presetDataVersion": 65, + "updatedAt": "2026-07-07", "description": "DesireCore 官方配置中心" }