diff --git a/compute/coding-plans/volcengine-coding.json b/compute/coding-plans/volcengine-coding.json index 873d082..d573f2a 100644 --- a/compute/coding-plans/volcengine-coding.json +++ b/compute/coding-plans/volcengine-coding.json @@ -34,13 +34,135 @@ "serviceType": [ "chat" ], - "description": "自动路由最优编程模型(Doubao-Seed-Code / GLM-4.7 / DeepSeek-V3.2 / Kimi-K2 等)", + "description": "自动路由最优编程模型(Doubao Seed Code / GLM-4.7 / DeepSeek-V3.2 / Kimi-K2.5 等)", "capabilities": [ "code", "reasoning", "chat" ], "source": "preset" + }, + { + "modelName": "doubao-seed-2.0-code", + "displayName": "豆包 Seed 2.0 Code", + "serviceType": [ + "chat" + ], + "description": "火山方舟 Coding Plan 中的豆包 Seed 2.0 编程模型", + "capabilities": [ + "code", + "reasoning", + "chat", + "long_context" + ], + "source": "preset" + }, + { + "modelName": "doubao-seed-2.0-pro", + "displayName": "豆包 Seed 2.0 Pro", + "serviceType": [ + "chat" + ], + "description": "火山方舟 Coding Plan 中的豆包 Seed 2.0 旗舰模型", + "capabilities": [ + "code", + "reasoning", + "chat", + "long_context", + "vision" + ], + "source": "preset" + }, + { + "modelName": "doubao-seed-2.0-lite", + "displayName": "豆包 Seed 2.0 Lite", + "serviceType": [ + "chat" + ], + "description": "火山方舟 Coding Plan 中的豆包 Seed 2.0 均衡模型", + "capabilities": [ + "code", + "reasoning", + "chat", + "long_context", + "vision" + ], + "source": "preset" + }, + { + "modelName": "doubao-seed-code", + "displayName": "豆包 Seed Code", + "serviceType": [ + "chat" + ], + "description": "火山方舟 Coding Plan 中的豆包编程模型", + "capabilities": [ + "code", + "reasoning", + "chat", + "long_context" + ], + "source": "preset" + }, + { + "modelName": "glm-4.7", + "displayName": "GLM-4.7", + "serviceType": [ + "chat" + ], + "description": "火山方舟 Coding Plan 中的智谱 GLM-4.7 模型", + "capabilities": [ + "code", + "reasoning", + "chat", + "long_context" + ], + "source": "preset" + }, + { + "modelName": "deepseek-v3.2", + "displayName": "DeepSeek V3.2", + "serviceType": [ + "chat" + ], + "description": "火山方舟 Coding Plan 中的 DeepSeek V3.2 模型", + "capabilities": [ + "code", + "reasoning", + "chat" + ], + "source": "preset" + }, + { + "modelName": "kimi-k2.5", + "displayName": "Kimi K2.5", + "serviceType": [ + "chat" + ], + "description": "火山方舟 Coding Plan 中的 Kimi K2.5 模型", + "capabilities": [ + "code", + "reasoning", + "chat", + "agent", + "long_context" + ], + "source": "preset" + }, + { + "modelName": "minimax-m2.5", + "displayName": "MiniMax M2.5", + "serviceType": [ + "chat" + ], + "description": "火山方舟 Coding Plan 中的 MiniMax M2.5 模型", + "capabilities": [ + "code", + "reasoning", + "chat", + "agent" + ], + "source": "preset" } ] } diff --git a/compute/providers/internal-testing.json b/compute/providers/internal-testing.json index d56c133..ab400de 100644 --- a/compute/providers/internal-testing.json +++ b/compute/providers/internal-testing.json @@ -24,7 +24,6 @@ ], "description": "MiniMax M2.7 高速版,低延迟吞吐优化,200K 上下文", "contextWindow": 102400, - "_contextWindowNote": "临时减半,原值 204800", "maxOutputTokens": 8192, "capabilities": [ "chat", @@ -45,7 +44,6 @@ ], "description": "智谱 GLM-5.1 新一代旗舰模型,编程与推理能力断档领先,200K 上下文", "contextWindow": 100000, - "_contextWindowNote": "临时减半,原值 200000", "maxOutputTokens": 128000, "capabilities": [ "chat", @@ -69,7 +67,6 @@ ], "description": "智谱 GLM-5 大语言模型,200K 上下文", "contextWindow": 100000, - "_contextWindowNote": "临时减半,原值 200000", "maxOutputTokens": 128000, "capabilities": [ "chat", @@ -90,7 +87,6 @@ ], "description": "智谱 GLM-5-Turbo 大语言模型,更快的推理速度", "contextWindow": 100000, - "_contextWindowNote": "临时减半,原值 200000", "maxOutputTokens": 128000, "capabilities": [ "chat", @@ -111,7 +107,6 @@ ], "description": "智谱 GLM-4.7 大语言模型", "contextWindow": 100000, - "_contextWindowNote": "临时减半,原值 200000", "maxOutputTokens": 128000, "capabilities": [ "chat", @@ -132,7 +127,6 @@ ], "description": "月之暗面 Kimi K2.6 Code Preview,万亿参数 MoE 架构(32B 激活),256K 上下文,代码与智能体能力增强", "contextWindow": 128000, - "_contextWindowNote": "临时减半,原值 256000", "maxOutputTokens": 32768, "capabilities": [ "chat", @@ -157,7 +151,6 @@ ], "description": "月之暗面 Kimi-2.5 大语言模型", "contextWindow": 128000, - "_contextWindowNote": "临时减半,原值 256000", "maxOutputTokens": 32768, "capabilities": [ "chat", @@ -182,7 +175,6 @@ ], "description": "MiniMax M2.5 大语言模型", "contextWindow": 102400, - "_contextWindowNote": "临时减半,原值 204800", "maxOutputTokens": 8192, "capabilities": [ "chat", @@ -205,7 +197,6 @@ ], "description": "阿里通义千问 Qwen3.6 Plus,原生 1M 上下文,Hybrid MoE 架构,内置 CoT 推理", "contextWindow": 500000, - "_contextWindowNote": "临时减半,原值 1000000", "maxOutputTokens": 65536, "capabilities": [ "chat", @@ -230,7 +221,6 @@ ], "description": "阿里通义千问 Qwen3.5 Plus", "contextWindow": 500000, - "_contextWindowNote": "临时减半,原值 1000000", "maxOutputTokens": 65536, "capabilities": [ "chat", @@ -255,7 +245,6 @@ ], "description": "阿里通义千问 Qwen3.5 35B-A3B MoE 模型(35B 总参/3B 激活),262K 上下文", "contextWindow": 131072, - "_contextWindowNote": "临时减半,原值 262144", "maxOutputTokens": 65536, "capabilities": [ "chat", @@ -278,7 +267,6 @@ ], "description": "阿里通义千问 Qwen3.5 27B Dense 模型,262K 上下文", "contextWindow": 131072, - "_contextWindowNote": "临时减半,原值 262144", "maxOutputTokens": 65536, "capabilities": [ "chat", @@ -301,7 +289,6 @@ ], "description": "阿里通义千问 Qwen3 Max (2026-01-23)", "contextWindow": 131072, - "_contextWindowNote": "临时减半,原值 262144", "maxOutputTokens": 32768, "capabilities": [ "chat", @@ -319,14 +306,13 @@ "extra": {} }, { - "modelName": "doubao-seed-2-0-code-preview-260215", - "displayName": "豆包 Seed 2.0 Code Preview", + "modelName": "doubao-seed-2.0-code", + "displayName": "豆包 Seed 2.0 Code", "serviceType": [ "chat" ], - "description": "字节跳动豆包 Seed 2.0 Code Preview (260215)", + "description": "字节跳动豆包 Seed 2.0 Code", "contextWindow": 128000, - "_contextWindowNote": "临时减半,原值 256000", "maxOutputTokens": 128000, "capabilities": [ "chat", diff --git a/compute/providers/volcengine.json b/compute/providers/volcengine.json index 9266afe..829fc30 100644 --- a/compute/providers/volcengine.json +++ b/compute/providers/volcengine.json @@ -21,12 +21,12 @@ ], "models": [ { - "modelName": "doubao-2.0-pro", + "modelName": "doubao-seed-2.0-pro", "displayName": "豆包 2.0 Pro", "serviceType": [ "chat" ], - "description": "火山引擎豆包2.0旗舰模型,256K上下文,相比Gemini 3 Pro和GPT 5.2有较大成本优势", + "description": "火山引擎豆包 Seed 2.0 旗舰模型,256K上下文,支持复杂推理、Agent 和多模态理解", "contextWindow": 256000, "maxOutputTokens": 128000, "capabilities": [ @@ -42,7 +42,152 @@ "outputPrice": 16, "defaultTemperature": 1, "defaultTopP": 0.7, - "extra": {} + "extra": { + "pricingTiers": [ + { + "maxInputTokens": 32000, + "inputPrice": 3.2, + "outputPrice": 16 + }, + { + "maxInputTokens": 128000, + "inputPrice": 4.8, + "outputPrice": 24 + }, + { + "maxInputTokens": 256000, + "inputPrice": 9.6, + "outputPrice": 48 + } + ] + } + }, + { + "modelName": "doubao-seed-2.0-lite", + "displayName": "豆包 2.0 Lite", + "serviceType": [ + "chat" + ], + "description": "火山引擎豆包 Seed 2.0 均衡模型,256K上下文,适合通用生产任务", + "contextWindow": 256000, + "maxOutputTokens": 32000, + "capabilities": [ + "chat", + "reasoning", + "code", + "multilingual", + "long_context", + "tool_use", + "vision" + ], + "inputPrice": 0.6, + "outputPrice": 3.6, + "defaultTemperature": 1, + "defaultTopP": 0.7, + "extra": { + "pricingTiers": [ + { + "maxInputTokens": 32000, + "inputPrice": 0.6, + "outputPrice": 3.6 + }, + { + "maxInputTokens": 128000, + "inputPrice": 0.9, + "outputPrice": 5.4 + }, + { + "maxInputTokens": 256000, + "inputPrice": 1.8, + "outputPrice": 10.8 + } + ] + } + }, + { + "modelName": "doubao-seed-2.0-mini", + "displayName": "豆包 2.0 Mini", + "serviceType": [ + "chat" + ], + "description": "火山引擎豆包 Seed 2.0 轻量模型,256K上下文,适合低延迟和高并发场景", + "contextWindow": 256000, + "maxOutputTokens": 32000, + "capabilities": [ + "chat", + "reasoning", + "code", + "multilingual", + "long_context", + "tool_use", + "vision", + "fast" + ], + "inputPrice": 0.2, + "outputPrice": 2, + "defaultTemperature": 1, + "defaultTopP": 0.7, + "extra": { + "pricingTiers": [ + { + "maxInputTokens": 32000, + "inputPrice": 0.2, + "outputPrice": 2 + }, + { + "maxInputTokens": 128000, + "inputPrice": 0.4, + "outputPrice": 4 + }, + { + "maxInputTokens": 256000, + "inputPrice": 0.8, + "outputPrice": 8 + } + ] + } + }, + { + "modelName": "doubao-seed-2.0-code", + "displayName": "豆包 2.0 Code", + "serviceType": [ + "chat" + ], + "description": "火山引擎豆包 Seed 2.0 编程模型,面向 Agentic Coding 场景优化", + "contextWindow": 256000, + "maxOutputTokens": 128000, + "capabilities": [ + "chat", + "reasoning", + "code", + "long_context", + "tool_use", + "vision", + "deep_thinking" + ], + "inputPrice": 3.2, + "outputPrice": 16, + "defaultTemperature": 1, + "defaultTopP": 0.7, + "extra": { + "pricingTiers": [ + { + "maxInputTokens": 32000, + "inputPrice": 3.2, + "outputPrice": 16 + }, + { + "maxInputTokens": 128000, + "inputPrice": 4.8, + "outputPrice": 24 + }, + { + "maxInputTokens": 256000, + "inputPrice": 9.6, + "outputPrice": 48 + } + ] + } }, { "modelName": "doubao-seed-1.8", @@ -63,10 +208,29 @@ "vision" ], "inputPrice": 0.8, - "outputPrice": 2, + "outputPrice": 8, "defaultTemperature": 1, "defaultTopP": 0.7, - "extra": {} + "extra": { + "pricingTiers": [ + { + "maxInputTokens": 32000, + "inputPrice": 0.8, + "outputPrice": 8, + "pricingNotes": "Short outputs up to 0.2K tokens are priced at 2 CNY/M output tokens." + }, + { + "maxInputTokens": 128000, + "inputPrice": 1.2, + "outputPrice": 16 + }, + { + "maxInputTokens": 256000, + "inputPrice": 2.4, + "outputPrice": 24 + } + ] + } }, { "modelName": "doubao-seed-1.6", @@ -90,7 +254,26 @@ "outputPrice": 8, "defaultTemperature": 1, "defaultTopP": 0.7, - "extra": {} + "extra": { + "pricingTiers": [ + { + "maxInputTokens": 32000, + "inputPrice": 0.8, + "outputPrice": 8, + "pricingNotes": "Short outputs up to 0.2K tokens are priced at 2 CNY/M output tokens." + }, + { + "maxInputTokens": 128000, + "inputPrice": 1.2, + "outputPrice": 16 + }, + { + "maxInputTokens": 256000, + "inputPrice": 2.4, + "outputPrice": 24 + } + ] + } }, { "modelName": "doubao-seed-1.6-thinking", @@ -151,10 +334,28 @@ "fast" ], "inputPrice": 0.3, - "outputPrice": 0.6, + "outputPrice": 2.4, "defaultTemperature": 1, "defaultTopP": 0.7, - "extra": {} + "extra": { + "pricingTiers": [ + { + "maxInputTokens": 32000, + "inputPrice": 0.3, + "outputPrice": 2.4 + }, + { + "maxInputTokens": 128000, + "inputPrice": 0.6, + "outputPrice": 4 + }, + { + "maxInputTokens": 256000, + "inputPrice": 1.2, + "outputPrice": 12 + } + ] + } }, { "modelName": "doubao-seed-1.6-vision", @@ -240,59 +441,30 @@ "outputPrice": 16, "extra": {} }, - { - "modelName": "kimi-k2-volcengine", - "displayName": "Kimi K2 (火山引擎)", - "serviceType": [ - "chat" - ], - "description": "火山引擎托管的Kimi K2,万亿参数MoE模型,128K上下文", - "contextWindow": 256000, - "maxOutputTokens": 8192, - "capabilities": [ - "chat", - "reasoning", - "code", - "tool_use", - "agent", - "long_context" - ], - "inputPrice": 4, - "outputPrice": 16, - "defaultTemperature": 0.6, - "defaultTopP": 1, - "extra": {} - }, - { - "modelName": "glm-4-7", - "displayName": "GLM-4.7 (火山引擎)", - "serviceType": [ - "chat" - ], - "description": "火山引擎托管的智谱GLM-4.7,200K上下文", - "contextWindow": 200000, - "maxOutputTokens": 128000, - "capabilities": [ - "chat", - "reasoning", - "code", - "multilingual", - "deep_thinking", - "long_context" - ], - "inputPrice": 4, - "outputPrice": 16, - "defaultTemperature": 1, - "defaultTopP": 0.95, - "extra": {} - }, { "modelName": "doubao-embedding", "displayName": "豆包 Embedding", "serviceType": [ "embedding" ], - "description": "火山引擎豆包标准向量模型,2560维度", + "description": "火山引擎豆包标准向量模型,默认2048维度,可选512/1024/2048维度", + "contextWindow": 4096, + "capabilities": [ + "text_embedding", + "semantic_search", + "rag", + "chinese_optimized" + ], + "inputPrice": 0.5, + "extra": {} + }, + { + "modelName": "doubao-embedding-large", + "displayName": "豆包 Embedding Large", + "serviceType": [ + "embedding" + ], + "description": "火山引擎豆包大号向量模型,默认2048维度,可选512/1024/2048/4096维度", "contextWindow": 4096, "capabilities": [ "text_embedding", diff --git a/manifest.json b/manifest.json index 364e779..d66c4da 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "version": "1.0.0", - "presetDataVersion": 35, - "updatedAt": "2026-04-28", + "presetDataVersion": 36, + "updatedAt": "2026-04-29", "description": "DesireCore 官方配置中心" } diff --git a/schemas/provider.schema.json b/schemas/provider.schema.json index 7939721..9c4f3f9 100644 --- a/schemas/provider.schema.json +++ b/schemas/provider.schema.json @@ -41,6 +41,10 @@ "type": "string", "description": "API 协议格式:openai-completions、anthropic-messages、openai-responses、google-generative-ai 等" }, + "mediaBaseUrl": { + "type": "string", + "description": "媒体 API 基础 URL。当 provider 使用 Anthropic 格式(baseUrl 指向 /anthropic 端点)但其媒体 API(图片/语音/视频/音乐)仍走 OpenAI /v1 端点时使用" + }, "apiKeyRef": { "type": "string", "description": "密钥引用名,对应 secrets.json 中的 key;空字符串表示未配置密钥"