mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-06-06 05:50:50 +08:00
Merge pull request #14 from desirecore/feat/dashscope-token-plan
feat(dashscope): 新增 Token Plan + 更新 Coding Plan + 补充 qwen-image 模型
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
{
|
||||
"description": "Coding Plan 预设加载顺序索引",
|
||||
"description": "Coding Plan / Token Plan 预设加载顺序索引",
|
||||
"order": [
|
||||
"zhipu-coding",
|
||||
"dashscope-coding",
|
||||
"dashscope-token-plan",
|
||||
"volcengine-coding",
|
||||
"minimax-coding",
|
||||
"moonshot-coding",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "provider-dashscope-coding-001",
|
||||
"provider": "dashscope",
|
||||
"brandGroup": "dashscope",
|
||||
"label": "百炼 Token (Coding) Plan",
|
||||
"label": "百炼 Coding Plan",
|
||||
"baseUrl": "https://coding.dashscope.aliyuncs.com/v1",
|
||||
"apiFormat": "openai-completions",
|
||||
"apiKeyRef": "",
|
||||
@@ -22,15 +22,54 @@
|
||||
}
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"modelName": "qwen3.6-plus",
|
||||
"displayName": "Qwen3.6 Plus (Coding)",
|
||||
"serviceType": [
|
||||
"chat"
|
||||
],
|
||||
"description": "百炼 Coding Plan,通义千问 3.6 Plus 旗舰模型,1M 上下文",
|
||||
"contextWindow": 1000000,
|
||||
"maxOutputTokens": 65536,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
"code",
|
||||
"vision",
|
||||
"tool_use",
|
||||
"agent",
|
||||
"long_context"
|
||||
],
|
||||
"source": "preset"
|
||||
},
|
||||
{
|
||||
"modelName": "qwen3.5-plus",
|
||||
"displayName": "Qwen3.5 Plus (Coding)",
|
||||
"serviceType": [
|
||||
"chat"
|
||||
],
|
||||
"description": "百炼 Coding Plan,通义千问 3.5 Plus,1M 上下文",
|
||||
"contextWindow": 1000000,
|
||||
"maxOutputTokens": 65536,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
"code",
|
||||
"vision",
|
||||
"tool_use",
|
||||
"long_context"
|
||||
],
|
||||
"source": "preset"
|
||||
},
|
||||
{
|
||||
"modelName": "qwen3-coder-plus",
|
||||
"displayName": "Qwen3 Coder Plus (Coding)",
|
||||
"serviceType": [
|
||||
"chat"
|
||||
],
|
||||
"description": "阿里云百炼 Coding Plan,Qwen3 编程增强版",
|
||||
"contextWindow": 131072,
|
||||
"maxOutputTokens": 16384,
|
||||
"description": "百炼 Coding Plan,Qwen3 编程增强版,1M 上下文",
|
||||
"contextWindow": 1000000,
|
||||
"maxOutputTokens": 65536,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
@@ -40,14 +79,31 @@
|
||||
"source": "preset"
|
||||
},
|
||||
{
|
||||
"modelName": "qwen3-max",
|
||||
"modelName": "qwen3-coder-next",
|
||||
"displayName": "Qwen3 Coder Next (Coding)",
|
||||
"serviceType": [
|
||||
"chat"
|
||||
],
|
||||
"description": "百炼 Coding Plan,Qwen3 编程下一代实验模型,262K 上下文",
|
||||
"contextWindow": 262144,
|
||||
"maxOutputTokens": 65536,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
"code",
|
||||
"tool_use"
|
||||
],
|
||||
"source": "preset"
|
||||
},
|
||||
{
|
||||
"modelName": "qwen3-max-2026-01-23",
|
||||
"displayName": "Qwen3 Max (Coding)",
|
||||
"serviceType": [
|
||||
"chat"
|
||||
],
|
||||
"description": "阿里云百炼 Coding Plan,Qwen3 Max 旗舰模型",
|
||||
"contextWindow": 131072,
|
||||
"maxOutputTokens": 16384,
|
||||
"description": "百炼 Coding Plan,Qwen3 Max 旗舰模型,262K 上下文",
|
||||
"contextWindow": 262144,
|
||||
"maxOutputTokens": 65536,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
@@ -58,6 +114,78 @@
|
||||
"vision"
|
||||
],
|
||||
"source": "preset"
|
||||
},
|
||||
{
|
||||
"modelName": "kimi-k2.5",
|
||||
"displayName": "Kimi K2.5 (Coding)",
|
||||
"serviceType": [
|
||||
"chat"
|
||||
],
|
||||
"description": "百炼 Coding Plan,月之暗面 Kimi K2.5,262K 上下文",
|
||||
"contextWindow": 262144,
|
||||
"maxOutputTokens": 32768,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
"code",
|
||||
"tool_use",
|
||||
"agent",
|
||||
"vision",
|
||||
"long_context"
|
||||
],
|
||||
"source": "preset"
|
||||
},
|
||||
{
|
||||
"modelName": "glm-5",
|
||||
"displayName": "GLM-5 (Coding)",
|
||||
"serviceType": [
|
||||
"chat"
|
||||
],
|
||||
"description": "百炼 Coding Plan,智谱 GLM-5,200K 上下文",
|
||||
"contextWindow": 202752,
|
||||
"maxOutputTokens": 128000,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
"code",
|
||||
"tool_use",
|
||||
"agent"
|
||||
],
|
||||
"source": "preset"
|
||||
},
|
||||
{
|
||||
"modelName": "glm-4.7",
|
||||
"displayName": "GLM-4.7 (Coding)",
|
||||
"serviceType": [
|
||||
"chat"
|
||||
],
|
||||
"description": "百炼 Coding Plan,智谱 GLM-4.7,200K 上下文",
|
||||
"contextWindow": 202752,
|
||||
"maxOutputTokens": 128000,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
"code"
|
||||
],
|
||||
"source": "preset"
|
||||
},
|
||||
{
|
||||
"modelName": "MiniMax-M2.5",
|
||||
"displayName": "MiniMax M2.5 (Coding)",
|
||||
"serviceType": [
|
||||
"chat"
|
||||
],
|
||||
"description": "百炼 Coding Plan,MiniMax M2.5,196K 上下文",
|
||||
"contextWindow": 196608,
|
||||
"maxOutputTokens": 8192,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
"code",
|
||||
"tool_use",
|
||||
"long_context"
|
||||
],
|
||||
"source": "preset"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
208
compute/coding-plans/dashscope-token-plan.json
Normal file
208
compute/coding-plans/dashscope-token-plan.json
Normal file
@@ -0,0 +1,208 @@
|
||||
{
|
||||
"id": "provider-dashscope-token-plan-001",
|
||||
"provider": "dashscope",
|
||||
"brandGroup": "dashscope",
|
||||
"label": "百炼 Token Plan",
|
||||
"baseUrl": "https://token-plan.cn-beijing.maas.aliyuncs.com/compatible-mode/v1",
|
||||
"mediaBaseUrl": "https://dashscope.aliyuncs.com/api/v1",
|
||||
"apiFormat": "openai-completions",
|
||||
"apiKeyRef": "",
|
||||
"apiKeyVerified": false,
|
||||
"enabled": false,
|
||||
"status": "unconfigured",
|
||||
"accessMode": "token-plan",
|
||||
"services": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
"image_gen"
|
||||
],
|
||||
"tokenPlan": {
|
||||
"quotas": {},
|
||||
"usageTracking": {
|
||||
"method": "credits",
|
||||
"consoleUrl": "https://bailian.console.aliyun.com/"
|
||||
}
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"modelName": "qwen3.6-plus",
|
||||
"displayName": "Qwen3.6 Plus (Token Plan)",
|
||||
"serviceType": [
|
||||
"chat"
|
||||
],
|
||||
"description": "百炼 Token Plan,通义千问 3.6 Plus 旗舰模型,1M 上下文",
|
||||
"contextWindow": 1000000,
|
||||
"maxOutputTokens": 65536,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
"code",
|
||||
"vision",
|
||||
"tool_use",
|
||||
"agent",
|
||||
"long_context"
|
||||
],
|
||||
"source": "preset"
|
||||
},
|
||||
{
|
||||
"modelName": "glm-5",
|
||||
"displayName": "GLM-5 (Token Plan)",
|
||||
"serviceType": [
|
||||
"chat"
|
||||
],
|
||||
"description": "百炼 Token Plan,智谱 GLM-5,200K 上下文",
|
||||
"contextWindow": 202752,
|
||||
"maxOutputTokens": 128000,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
"code",
|
||||
"tool_use",
|
||||
"agent"
|
||||
],
|
||||
"source": "preset"
|
||||
},
|
||||
{
|
||||
"modelName": "MiniMax-M2.5",
|
||||
"displayName": "MiniMax M2.5 (Token Plan)",
|
||||
"serviceType": [
|
||||
"chat"
|
||||
],
|
||||
"description": "百炼 Token Plan,MiniMax M2.5,196K 上下文",
|
||||
"contextWindow": 196608,
|
||||
"maxOutputTokens": 8192,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
"code",
|
||||
"tool_use",
|
||||
"long_context"
|
||||
],
|
||||
"source": "preset"
|
||||
},
|
||||
{
|
||||
"modelName": "deepseek-v3.2",
|
||||
"displayName": "DeepSeek V3.2 (Token Plan)",
|
||||
"serviceType": [
|
||||
"chat"
|
||||
],
|
||||
"description": "百炼 Token Plan,DeepSeek V3.2",
|
||||
"contextWindow": 131072,
|
||||
"maxOutputTokens": 32768,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
"code",
|
||||
"tool_use"
|
||||
],
|
||||
"source": "preset"
|
||||
},
|
||||
{
|
||||
"modelName": "wan2.7-image-pro",
|
||||
"displayName": "通义万相 2.7 Pro (Token Plan)",
|
||||
"serviceType": [
|
||||
"image_gen"
|
||||
],
|
||||
"description": "百炼 Token Plan,万相旗舰文生图,支持 4K 分辨率",
|
||||
"capabilities": [
|
||||
"image_generation",
|
||||
"chinese_optimized",
|
||||
"high_quality"
|
||||
],
|
||||
"extra": {
|
||||
"endpoint": "/services/aigc/image-generation/generation",
|
||||
"asyncHeader": "X-DashScope-Async",
|
||||
"taskQueryEndpoint": "/tasks",
|
||||
"supportedImageSizes": [
|
||||
"768*768",
|
||||
"1024*1024",
|
||||
"1280*1280",
|
||||
"1024*1792",
|
||||
"1792*1024",
|
||||
"2048*2048",
|
||||
"4096*4096"
|
||||
],
|
||||
"maxN": 4
|
||||
},
|
||||
"source": "preset"
|
||||
},
|
||||
{
|
||||
"modelName": "wan2.7-image",
|
||||
"displayName": "通义万相 2.7 (Token Plan)",
|
||||
"serviceType": [
|
||||
"image_gen"
|
||||
],
|
||||
"description": "百炼 Token Plan,万相标准文生图",
|
||||
"capabilities": [
|
||||
"image_generation",
|
||||
"chinese_optimized"
|
||||
],
|
||||
"extra": {
|
||||
"endpoint": "/services/aigc/image-generation/generation",
|
||||
"asyncHeader": "X-DashScope-Async",
|
||||
"taskQueryEndpoint": "/tasks",
|
||||
"supportedImageSizes": [
|
||||
"768*768",
|
||||
"1024*1024",
|
||||
"1280*1280",
|
||||
"1024*1792",
|
||||
"1792*1024"
|
||||
],
|
||||
"maxN": 4
|
||||
},
|
||||
"source": "preset"
|
||||
},
|
||||
{
|
||||
"modelName": "qwen-image-2.0-pro",
|
||||
"displayName": "千问图像 2.0 Pro (Token Plan)",
|
||||
"serviceType": [
|
||||
"image_gen"
|
||||
],
|
||||
"description": "百炼 Token Plan,千问图像生成 2.0 Pro 旗舰版",
|
||||
"capabilities": [
|
||||
"image_generation",
|
||||
"chinese_optimized",
|
||||
"high_quality"
|
||||
],
|
||||
"extra": {
|
||||
"endpoint": "/services/aigc/image-generation/generation",
|
||||
"asyncHeader": "X-DashScope-Async",
|
||||
"taskQueryEndpoint": "/tasks",
|
||||
"supportedImageSizes": [
|
||||
"512*512",
|
||||
"1024*1024",
|
||||
"1280*1280",
|
||||
"1664*928",
|
||||
"928*1664"
|
||||
],
|
||||
"maxN": 4
|
||||
},
|
||||
"source": "preset"
|
||||
},
|
||||
{
|
||||
"modelName": "qwen-image-2.0",
|
||||
"displayName": "千问图像 2.0 (Token Plan)",
|
||||
"serviceType": [
|
||||
"image_gen"
|
||||
],
|
||||
"description": "百炼 Token Plan,千问图像生成 2.0 标准版",
|
||||
"capabilities": [
|
||||
"image_generation",
|
||||
"chinese_optimized"
|
||||
],
|
||||
"extra": {
|
||||
"endpoint": "/services/aigc/image-generation/generation",
|
||||
"asyncHeader": "X-DashScope-Async",
|
||||
"taskQueryEndpoint": "/tasks",
|
||||
"supportedImageSizes": [
|
||||
"512*512",
|
||||
"1024*1024",
|
||||
"1280*1280",
|
||||
"2048*2048"
|
||||
],
|
||||
"maxN": 4
|
||||
},
|
||||
"source": "preset"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -562,6 +562,56 @@
|
||||
"supportsNegativePrompt": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"modelName": "qwen-image-2.0-pro",
|
||||
"displayName": "千问图像 2.0 Pro",
|
||||
"serviceType": [
|
||||
"image_gen"
|
||||
],
|
||||
"description": "千问图像生成 2.0 Pro 旗舰版,高画质多风格",
|
||||
"capabilities": [
|
||||
"image_generation",
|
||||
"chinese_optimized",
|
||||
"high_quality"
|
||||
],
|
||||
"extra": {
|
||||
"endpoint": "/services/aigc/image-generation/generation",
|
||||
"asyncHeader": "X-DashScope-Async",
|
||||
"taskQueryEndpoint": "/tasks",
|
||||
"supportedImageSizes": [
|
||||
"512*512",
|
||||
"1024*1024",
|
||||
"1280*1280",
|
||||
"1664*928",
|
||||
"928*1664"
|
||||
],
|
||||
"maxN": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"modelName": "qwen-image-2.0",
|
||||
"displayName": "千问图像 2.0",
|
||||
"serviceType": [
|
||||
"image_gen"
|
||||
],
|
||||
"description": "千问图像生成 2.0 标准版",
|
||||
"capabilities": [
|
||||
"image_generation",
|
||||
"chinese_optimized"
|
||||
],
|
||||
"extra": {
|
||||
"endpoint": "/services/aigc/image-generation/generation",
|
||||
"asyncHeader": "X-DashScope-Async",
|
||||
"taskQueryEndpoint": "/tasks",
|
||||
"supportedImageSizes": [
|
||||
"512*512",
|
||||
"1024*1024",
|
||||
"1280*1280",
|
||||
"2048*2048"
|
||||
],
|
||||
"maxN": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"modelName": "wan2.6-t2v",
|
||||
"displayName": "通义万相 2.6 文生视频",
|
||||
|
||||
@@ -74,8 +74,8 @@
|
||||
},
|
||||
"accessMode": {
|
||||
"type": "string",
|
||||
"enum": ["api", "coding-plan"],
|
||||
"description": "接入模式:api(按量付费)或 coding-plan(编程订阅套餐)"
|
||||
"enum": ["api", "coding-plan", "token-plan"],
|
||||
"description": "接入模式:api(按量付费)、coding-plan(编程订阅套餐)或 token-plan(Token 团队版订阅)"
|
||||
},
|
||||
"brandGroup": {
|
||||
"type": "string",
|
||||
@@ -83,7 +83,7 @@
|
||||
},
|
||||
"codingPlan": {
|
||||
"type": "object",
|
||||
"description": "Coding Plan 专属配置(仅当 accessMode = coding-plan 时有效)",
|
||||
"description": "Coding Plan / Token Plan 专属配置(仅当 accessMode = coding-plan 或 token-plan 时有效)",
|
||||
"properties": {
|
||||
"planTier": { "type": "string" },
|
||||
"planLabel": { "type": "string" },
|
||||
@@ -102,7 +102,50 @@
|
||||
"properties": {
|
||||
"method": {
|
||||
"type": "string",
|
||||
"enum": ["rest-api", "response-header", "manual", "none"]
|
||||
"enum": ["rest-api", "response-header", "manual", "credits", "none"]
|
||||
},
|
||||
"endpoint": { "type": "string" },
|
||||
"headerKeys": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"remaining": { "type": "string" },
|
||||
"limit": { "type": "string" },
|
||||
"reset": { "type": "string" }
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"consoleUrl": { "type": "string" }
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"modelIdOverride": { "type": "string" },
|
||||
"maxConcurrent": { "type": "number", "minimum": 1 },
|
||||
"expiresAt": { "type": "string", "format": "date-time" }
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"tokenPlan": {
|
||||
"type": "object",
|
||||
"description": "Token Plan 团队版专属配置(仅当 accessMode = token-plan 时有效)",
|
||||
"properties": {
|
||||
"planTier": { "type": "string" },
|
||||
"planLabel": { "type": "string" },
|
||||
"quotas": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"per5h": { "type": "number", "minimum": 0 },
|
||||
"perWeek": { "type": "number", "minimum": 0 },
|
||||
"perMonth": { "type": "number", "minimum": 0 },
|
||||
"per7d": { "type": "number", "minimum": 0 }
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"usageTracking": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"method": {
|
||||
"type": "string",
|
||||
"enum": ["rest-api", "response-header", "manual", "credits", "none"]
|
||||
},
|
||||
"endpoint": { "type": "string" },
|
||||
"headerKeys": {
|
||||
|
||||
Reference in New Issue
Block a user