refactor: consolidate smart routing into model specs (#75)

This commit is contained in:
2026-08-10 19:13:08 +08:00
committed by GitHub
parent ed0aeccf29
commit ad8c515938
32 changed files with 3907 additions and 2021 deletions

View File

@@ -5,12 +5,29 @@
"id": "doubao-seed-2.0-pro",
"displayName": "豆包 2.0 Pro",
"family": "doubao-seed-2",
"match": { "exact": ["doubao-seed-2.0-pro"], "patterns": ["doubao-seed-2.0-pro*"] },
"match": {
"exact": [
"doubao-seed-2.0-pro"
],
"patterns": [
"doubao-seed-2.0-pro*"
]
},
"spec": {
"contextWindow": 256000,
"maxOutputTokens": 128000,
"capabilities": ["chat", "reasoning", "code", "multilingual", "long_context", "tool_use", "vision"],
"serviceType": ["chat"],
"capabilities": [
"chat",
"reasoning",
"code",
"multilingual",
"long_context",
"tool_use",
"vision"
],
"serviceType": [
"chat"
],
"defaultTemperature": 1,
"description": "火山引擎豆包 Seed 2.0 旗舰模型256K 上下文支持复杂推理、Agent 和多模态"
}
@@ -19,12 +36,31 @@
"id": "doubao-seed-2.0-lite",
"displayName": "豆包 2.0 Lite",
"family": "doubao-seed-2",
"match": { "exact": ["doubao-seed-2.0-lite"], "patterns": ["doubao-seed-2.0-lite*"] },
"match": {
"exact": [
"doubao-seed-2.0-lite"
],
"patterns": [
"doubao-seed-2.0-lite*"
]
},
"spec": {
"contextWindow": 256000,
"maxOutputTokens": 32000,
"capabilities": ["chat", "reasoning", "code", "multilingual", "long_context", "tool_use", "vision", "audio_understanding", "video_understanding"],
"serviceType": ["chat"],
"capabilities": [
"chat",
"reasoning",
"code",
"multilingual",
"long_context",
"tool_use",
"vision",
"audio_understanding",
"video_understanding"
],
"serviceType": [
"chat"
],
"defaultTemperature": 1,
"description": "豆包 Seed 2.0 全模态均衡模型,支持视频/图像/音频/文本统一理解"
}
@@ -33,12 +69,32 @@
"id": "doubao-seed-2.0-mini",
"displayName": "豆包 2.0 Mini",
"family": "doubao-seed-2",
"match": { "exact": ["doubao-seed-2.0-mini"], "patterns": ["doubao-seed-2.0-mini*"] },
"match": {
"exact": [
"doubao-seed-2.0-mini"
],
"patterns": [
"doubao-seed-2.0-mini*"
]
},
"spec": {
"contextWindow": 256000,
"maxOutputTokens": 32000,
"capabilities": ["chat", "reasoning", "code", "multilingual", "long_context", "tool_use", "vision", "audio_understanding", "video_understanding", "fast"],
"serviceType": ["chat"],
"capabilities": [
"chat",
"reasoning",
"code",
"multilingual",
"long_context",
"tool_use",
"vision",
"audio_understanding",
"video_understanding",
"fast"
],
"serviceType": [
"chat"
],
"defaultTemperature": 1,
"description": "豆包 Seed 2.0 全模态轻量模型,低延迟高并发,支持全模态理解"
}
@@ -47,12 +103,26 @@
"id": "doubao-seed-2.0-code",
"displayName": "豆包 2.0 Code",
"family": "doubao-seed-2",
"match": { "exact": ["doubao-seed-2.0-code"] },
"match": {
"exact": [
"doubao-seed-2.0-code"
]
},
"spec": {
"contextWindow": 256000,
"maxOutputTokens": 128000,
"capabilities": ["chat", "reasoning", "code", "long_context", "tool_use", "vision", "deep_thinking"],
"serviceType": ["chat"],
"capabilities": [
"chat",
"reasoning",
"code",
"long_context",
"tool_use",
"vision",
"deep_thinking"
],
"serviceType": [
"chat"
],
"defaultTemperature": 1,
"description": "豆包 Seed 2.0 编程模型,面向 Agentic Coding 场景优化"
}
@@ -61,12 +131,29 @@
"id": "doubao-seed-1.8",
"displayName": "豆包 Seed-1.8",
"family": "doubao-seed-1",
"match": { "exact": ["doubao-seed-1.8"], "patterns": ["doubao-seed-1.8*"] },
"match": {
"exact": [
"doubao-seed-1.8"
],
"patterns": [
"doubao-seed-1.8*"
]
},
"spec": {
"contextWindow": 256000,
"maxOutputTokens": 16000,
"capabilities": ["chat", "reasoning", "code", "multilingual", "long_context", "tool_use", "vision"],
"serviceType": ["chat"],
"capabilities": [
"chat",
"reasoning",
"code",
"multilingual",
"long_context",
"tool_use",
"vision"
],
"serviceType": [
"chat"
],
"defaultTemperature": 1,
"description": "火山引擎豆包 1.8 旗舰模型256K 上下文,支持深度思考和多模态"
}
@@ -75,12 +162,29 @@
"id": "doubao-seed-1.6",
"displayName": "豆包 Seed-1.6",
"family": "doubao-seed-1",
"match": { "exact": ["doubao-seed-1.6"], "patterns": ["doubao-seed-1.6"] },
"match": {
"exact": [
"doubao-seed-1.6"
],
"patterns": [
"doubao-seed-1.6"
]
},
"spec": {
"contextWindow": 256000,
"maxOutputTokens": 32000,
"capabilities": ["chat", "reasoning", "code", "multilingual", "long_context", "tool_use", "vision"],
"serviceType": ["chat"],
"capabilities": [
"chat",
"reasoning",
"code",
"multilingual",
"long_context",
"tool_use",
"vision"
],
"serviceType": [
"chat"
],
"defaultTemperature": 1,
"description": "火山引擎豆包 1.6 旗舰模型256K 上下文"
}
@@ -89,12 +193,24 @@
"id": "doubao-seed-1.6-thinking",
"displayName": "豆包 Seed-1.6 思考版",
"family": "doubao-seed-1",
"match": { "exact": ["doubao-seed-1.6-thinking"] },
"match": {
"exact": [
"doubao-seed-1.6-thinking"
]
},
"spec": {
"contextWindow": 256000,
"maxOutputTokens": 16000,
"capabilities": ["reasoning", "math", "code", "deep_thinking", "long_context"],
"serviceType": ["chat"],
"capabilities": [
"reasoning",
"math",
"code",
"deep_thinking",
"long_context"
],
"serviceType": [
"chat"
],
"defaultTemperature": null,
"supportsReasoning": true,
"description": "火山引擎豆包 1.6 深度思考模型256K 上下文"
@@ -104,12 +220,24 @@
"id": "doubao-seed-1.6-flash",
"displayName": "豆包 Seed-1.6 Flash",
"family": "doubao-seed-1",
"match": { "exact": ["doubao-seed-1.6-flash"] },
"match": {
"exact": [
"doubao-seed-1.6-flash"
]
},
"spec": {
"contextWindow": 256000,
"maxOutputTokens": 16000,
"capabilities": ["chat", "code", "fast", "long_context", "vision"],
"serviceType": ["chat"],
"capabilities": [
"chat",
"code",
"fast",
"long_context",
"vision"
],
"serviceType": [
"chat"
],
"defaultTemperature": 1,
"description": "火山引擎豆包 1.6 快速版,成本较前代下降 63%"
}
@@ -118,12 +246,22 @@
"id": "doubao-seed-1.6-lite",
"displayName": "豆包 Seed-1.6 Lite",
"family": "doubao-seed-1",
"match": { "exact": ["doubao-seed-1.6-lite"] },
"match": {
"exact": [
"doubao-seed-1.6-lite"
]
},
"spec": {
"contextWindow": 256000,
"maxOutputTokens": 32000,
"capabilities": ["chat", "code", "fast"],
"serviceType": ["chat"],
"capabilities": [
"chat",
"code",
"fast"
],
"serviceType": [
"chat"
],
"defaultTemperature": 1,
"description": "火山引擎豆包 1.6 轻量版,极致性价比"
}
@@ -132,12 +270,24 @@
"id": "doubao-seed-1.6-vision",
"displayName": "豆包 Seed-1.6 视觉版",
"family": "doubao-seed-1",
"match": { "exact": ["doubao-seed-1.6-vision"] },
"match": {
"exact": [
"doubao-seed-1.6-vision"
]
},
"spec": {
"contextWindow": 256000,
"maxOutputTokens": 32000,
"capabilities": ["chat", "vision", "video_understanding", "gui_agent", "long_context"],
"serviceType": ["vision"],
"capabilities": [
"chat",
"vision",
"video_understanding",
"gui_agent",
"long_context"
],
"serviceType": [
"vision"
],
"defaultTemperature": 1,
"description": "火山引擎豆包 1.6 视觉模型256K 上下文,支持视频理解"
}
@@ -146,12 +296,23 @@
"id": "doubao-seed-code",
"displayName": "豆包 Seed-Code",
"family": "doubao-seed-code",
"match": { "exact": ["doubao-seed-code"] },
"match": {
"exact": [
"doubao-seed-code"
]
},
"spec": {
"contextWindow": 256000,
"maxOutputTokens": 32768,
"capabilities": ["code", "reasoning", "long_context", "deep_thinking"],
"serviceType": ["chat"],
"capabilities": [
"code",
"reasoning",
"long_context",
"deep_thinking"
],
"serviceType": [
"chat"
],
"defaultTemperature": 1,
"description": "火山引擎豆包编程专用模型256K 上下文"
}
@@ -160,12 +321,23 @@
"id": "deepseek-v3.2",
"displayName": "DeepSeek V3.2 (火山引擎)",
"family": "deepseek-v3",
"match": { "exact": ["deepseek-v3.2"] },
"match": {
"exact": [
"deepseek-v3.2"
]
},
"spec": {
"contextWindow": 128000,
"maxOutputTokens": 32000,
"capabilities": ["chat", "reasoning", "code", "multilingual"],
"serviceType": ["chat"],
"capabilities": [
"chat",
"reasoning",
"code",
"multilingual"
],
"serviceType": [
"chat"
],
"defaultTemperature": 1,
"description": "火山引擎托管的 DeepSeek V3.2128K 上下文"
}
@@ -174,12 +346,24 @@
"id": "deepseek-r1",
"displayName": "DeepSeek R1 (火山引擎)",
"family": "deepseek-r1",
"match": { "exact": ["deepseek-r1"] },
"match": {
"exact": [
"deepseek-r1"
]
},
"spec": {
"contextWindow": 128000,
"maxOutputTokens": 65536,
"capabilities": ["reasoning", "math", "code", "science", "deep_thinking"],
"serviceType": ["reasoning"],
"capabilities": [
"reasoning",
"math",
"code",
"science",
"deep_thinking"
],
"serviceType": [
"reasoning"
],
"defaultTemperature": null,
"supportsReasoning": true,
"description": "火山引擎托管的 DeepSeek R1 推理模型128K 上下文"
@@ -189,11 +373,22 @@
"id": "doubao-embedding",
"displayName": "豆包 Embedding",
"family": "doubao-embedding",
"match": { "exact": ["doubao-embedding"] },
"match": {
"exact": [
"doubao-embedding"
]
},
"spec": {
"contextWindow": 4096,
"capabilities": ["text_embedding", "semantic_search", "rag", "chinese_optimized"],
"serviceType": ["embedding"],
"capabilities": [
"text_embedding",
"semantic_search",
"rag",
"chinese_optimized"
],
"serviceType": [
"embedding"
],
"description": "火山引擎豆包标准向量模型,默认 2048 维度,可选 512/1024/2048"
}
},
@@ -201,11 +396,22 @@
"id": "doubao-embedding-large",
"displayName": "豆包 Embedding Large",
"family": "doubao-embedding",
"match": { "exact": ["doubao-embedding-large"] },
"match": {
"exact": [
"doubao-embedding-large"
]
},
"spec": {
"contextWindow": 4096,
"capabilities": ["text_embedding", "semantic_search", "rag", "chinese_optimized"],
"serviceType": ["embedding"],
"capabilities": [
"text_embedding",
"semantic_search",
"rag",
"chinese_optimized"
],
"serviceType": [
"embedding"
],
"description": "火山引擎豆包大号向量模型,默认 2048 维度,可选 512/1024/2048/4096"
}
},
@@ -213,10 +419,20 @@
"id": "volc-mega-tts-clone",
"displayName": "火山声音复刻",
"family": "volc-tts",
"match": { "exact": ["volc-mega-tts-clone"] },
"match": {
"exact": [
"volc-mega-tts-clone"
]
},
"spec": {
"capabilities": ["voice_clone", "chinese_optimized", "few_shot"],
"serviceType": ["voice_clone"],
"capabilities": [
"voice_clone",
"chinese_optimized",
"few_shot"
],
"serviceType": [
"voice_clone"
],
"description": "火山引擎声音复刻,支持极少样本克隆"
}
},
@@ -224,10 +440,21 @@
"id": "volc-realtime-voice",
"displayName": "火山实时语音",
"family": "volc-voice",
"match": { "exact": ["volc-realtime-voice"] },
"match": {
"exact": [
"volc-realtime-voice"
]
},
"spec": {
"capabilities": ["realtime", "speech_to_speech", "low_latency", "chinese_optimized"],
"serviceType": ["realtime_voice"],
"capabilities": [
"realtime",
"speech_to_speech",
"low_latency",
"chinese_optimized"
],
"serviceType": [
"realtime_voice"
],
"description": "火山引擎实时语音交互"
}
},
@@ -235,10 +462,20 @@
"id": "volc-simultaneous",
"displayName": "火山同声传译",
"family": "volc-interpret",
"match": { "exact": ["volc-simultaneous"] },
"match": {
"exact": [
"volc-simultaneous"
]
},
"spec": {
"capabilities": ["simultaneous_interpretation", "chinese_optimized", "low_latency"],
"serviceType": ["simultaneous_interpret"],
"capabilities": [
"simultaneous_interpretation",
"chinese_optimized",
"low_latency"
],
"serviceType": [
"simultaneous_interpret"
],
"description": "火山引擎同声传译,支持中英双向"
}
},
@@ -246,10 +483,20 @@
"id": "volc-translation",
"displayName": "火山翻译",
"family": "volc-translation",
"match": { "exact": ["volc-translation"] },
"match": {
"exact": [
"volc-translation"
]
},
"spec": {
"capabilities": ["translation", "multilingual", "chinese_optimized"],
"serviceType": ["translation"],
"capabilities": [
"translation",
"multilingual",
"chinese_optimized"
],
"serviceType": [
"translation"
],
"description": "火山引擎机器翻译,支持多语种互译"
}
},
@@ -257,43 +504,152 @@
"id": "doubao-seedance-2.0",
"displayName": "Seedance 2.0",
"family": "doubao-seedance-2",
"match": { "exact": ["doubao-seedance-2-0-260128", "doubao-seedance-2.0"], "patterns": ["doubao-seedance-2-0*"] },
"match": {
"exact": [
"doubao-seedance-2-0-260128",
"doubao-seedance-2.0"
],
"patterns": [
"doubao-seedance-2-0*"
]
},
"spec": {
"capabilities": ["video_generation", "image_to_video", "text_to_video", "video_editing", "video_extension", "audio_generation", "first_last_frame"],
"serviceType": ["video_gen"],
"capabilities": [
"video_generation",
"image_to_video",
"text_to_video",
"video_editing",
"video_extension",
"audio_generation",
"first_last_frame"
],
"serviceType": [
"video_gen"
],
"description": "Seedance 2.0 豆包最强视频生成模型4-15秒 2K 视频原生同步音频支持最多9张图片+3个视频+3个音频参考输入~$0.14/秒"
},
"routing": {
"tier": "flagship",
"routingPriority": 120,
"eligibleForAgent": false,
"defaultReference": false,
"reasoning": {
"supportedModes": [
"auto"
],
"defaultMode": "auto"
}
}
},
{
"id": "doubao-seedance-2.0-fast",
"displayName": "Seedance 2.0 Fast",
"family": "doubao-seedance-2",
"match": { "exact": ["doubao-seedance-2-0-fast-260128", "doubao-seedance-2.0-fast"], "patterns": ["doubao-seedance-2-0-fast*"] },
"match": {
"exact": [
"doubao-seedance-2-0-fast-260128",
"doubao-seedance-2.0-fast"
],
"patterns": [
"doubao-seedance-2-0-fast*"
]
},
"spec": {
"capabilities": ["video_generation", "image_to_video", "text_to_video", "video_editing", "video_extension", "audio_generation", "first_last_frame", "fast"],
"serviceType": ["video_gen"],
"capabilities": [
"video_generation",
"image_to_video",
"text_to_video",
"video_editing",
"video_extension",
"audio_generation",
"first_last_frame",
"fast"
],
"serviceType": [
"video_gen"
],
"description": "Seedance 2.0 快速版,音画同生,多模态生视频+编辑+延长"
},
"routing": {
"tier": "balanced",
"routingPriority": 119,
"eligibleForAgent": false,
"defaultReference": false,
"reasoning": {
"supportedModes": [
"auto"
],
"defaultMode": "auto"
}
}
},
{
"id": "doubao-seedance-2.0-mini",
"displayName": "Seedance 2.0 Mini",
"family": "doubao-seedance-2",
"match": { "exact": ["doubao-seedance-2-0-mini-260615", "doubao-seedance-2.0-mini"], "patterns": ["doubao-seedance-2-0-mini*"] },
"match": {
"exact": [
"doubao-seedance-2-0-mini-260615",
"doubao-seedance-2.0-mini"
],
"patterns": [
"doubao-seedance-2-0-mini*"
]
},
"spec": {
"capabilities": ["video_generation", "image_to_video", "text_to_video", "video_editing", "video_extension", "audio_generation", "first_last_frame", "fast", "cost_effective"],
"serviceType": ["video_gen"],
"capabilities": [
"video_generation",
"image_to_video",
"text_to_video",
"video_editing",
"video_extension",
"audio_generation",
"first_last_frame",
"fast",
"cost_effective"
],
"serviceType": [
"video_gen"
],
"description": "Seedance 2.0 轻量版,音画同生,高性价比"
},
"routing": {
"tier": "lightweight",
"routingPriority": 118,
"eligibleForAgent": false,
"defaultReference": false,
"reasoning": {
"supportedModes": [
"auto"
],
"defaultMode": "auto"
}
}
},
{
"id": "doubao-seedance-1.5-pro",
"displayName": "Seedance 1.5 Pro",
"family": "doubao-seedance-1",
"match": { "exact": ["doubao-seedance-1-5-pro-251215", "doubao-seedance-1.5-pro"], "patterns": ["doubao-seedance-1-5*"] },
"match": {
"exact": [
"doubao-seedance-1-5-pro-251215",
"doubao-seedance-1.5-pro"
],
"patterns": [
"doubao-seedance-1-5*"
]
},
"spec": {
"capabilities": ["video_generation", "image_to_video", "text_to_video", "first_last_frame", "audio_generation"],
"serviceType": ["video_gen"],
"capabilities": [
"video_generation",
"image_to_video",
"text_to_video",
"first_last_frame",
"audio_generation"
],
"serviceType": [
"video_gen"
],
"description": "Seedance 1.5 Pro 音画同生12秒视频多参考图输入即将下线"
}
},
@@ -301,10 +657,25 @@
"id": "doubao-seedance-1.0-pro",
"displayName": "Seedance 1.0 Pro",
"family": "doubao-seedance-1",
"match": { "exact": ["doubao-seedance-1-0-pro-250528", "doubao-seedance-1.0-pro"], "patterns": ["doubao-seedance-1-0-pro*"] },
"match": {
"exact": [
"doubao-seedance-1-0-pro-250528",
"doubao-seedance-1.0-pro"
],
"patterns": [
"doubao-seedance-1-0-pro*"
]
},
"spec": {
"capabilities": ["video_generation", "image_to_video", "text_to_video", "first_last_frame"],
"serviceType": ["video_gen"],
"capabilities": [
"video_generation",
"image_to_video",
"text_to_video",
"first_last_frame"
],
"serviceType": [
"video_gen"
],
"description": "Seedance 1.0 Pro 文生视频/图生视频,支持首尾帧控制"
}
},
@@ -312,12 +683,66 @@
"id": "doubao-seedance-1.0-pro-fast",
"displayName": "Seedance 1.0 Pro Fast",
"family": "doubao-seedance-1",
"match": { "exact": ["doubao-seedance-1-0-pro-fast-251015", "doubao-seedance-1.0-pro-fast"], "patterns": ["doubao-seedance-1-0-pro-fast*"] },
"match": {
"exact": [
"doubao-seedance-1-0-pro-fast-251015",
"doubao-seedance-1.0-pro-fast"
],
"patterns": [
"doubao-seedance-1-0-pro-fast*"
]
},
"spec": {
"capabilities": ["video_generation", "image_to_video", "text_to_video", "fast"],
"serviceType": ["video_gen"],
"capabilities": [
"video_generation",
"image_to_video",
"text_to_video",
"fast"
],
"serviceType": [
"video_gen"
],
"description": "Seedance 1.0 Pro 快速版,图生视频-首帧5秒 720P 仅需 10 秒"
}
},
{
"id": "doubao-seed-2.1-turbo",
"displayName": "Doubao Seed 2.1 Turbo",
"spec": {
"contextWindow": 256000,
"maxOutputTokens": 128000,
"capabilities": [
"chat",
"reasoning",
"code",
"multilingual",
"long_context",
"tool_use",
"vision"
],
"serviceType": [
"chat"
],
"supportsReasoning": true
},
"routing": {
"tier": "balanced",
"routingPriority": 40,
"eligibleForAgent": true,
"defaultReference": false,
"reasoning": {
"supportedModes": [
"auto",
"off",
"minimal",
"low",
"medium",
"high",
"xhigh"
],
"defaultMode": "medium"
}
}
}
]
}