Files
config-center/compute/providers/openrouter.json
Yige e8122c1d77 fix(compute): 按官网补对话型号的 tool_use 标签 (#119)
逐条对照供应商官方文档,核对 36 个对话规格与 70 个 Provider / 套餐预置条目
(capabilities 缺 tool_use / tools / function_calling)的工具调用支持情况:

- 补 tool_use 25 条:规格 9、随规格继承的接入条目 5、接入覆盖 11
- 保持原样 81 条:官方写明不支持或页面互相矛盾 10、已下线或数日内下线 26、
  官方当前文档无该型号或无工具调用说明 34、只在未适配接口上支持 2、官网读取失败 9
- 只改 capabilities,不动 routing;qwen-max 等按华北 2(北京)地域记,国际站不适用
- 同步单模型来源记录、供应商证据目录与来源缺口清单;逐条决定与依据见
  docs/source-rechecks/2026-10-05-tool-calling/README.md
- presetDataVersion 128 → 129
2026-10-04 18:26:40 -07:00

319 lines
8.4 KiB
JSON

{
"id": "provider-openrouter-001",
"provider": "openrouter",
"label": "OpenRouter",
"baseUrl": "https://openrouter.ai/api/v1",
"apiFormat": "openai-completions",
"apiKeyRef": "openrouter",
"apiKeyVerified": false,
"enabled": false,
"status": "unconfigured",
"priceCurrency": "USD",
"services": [
"chat",
"reasoning",
"vision"
],
"models": [
{
"modelName": "cohere/command-a-plus",
"displayName": "Cohere: Command A+",
"serviceType": [
"chat"
],
"contextWindow": 192000,
"capabilities": [
"chat",
"vision",
"tool_use",
"reasoning"
],
"inputPrice": 0.3,
"outputPrice": 1.5,
"description": "OpenRouter 官方公共目录模型,接入参数与计价以该平台为准",
"maxOutputTokens": 64000
},
{
"modelName": "mistralai/mistral-medium-3-5",
"displayName": "Mistral: Mistral Medium 3.5",
"serviceType": [
"chat"
],
"contextWindow": 262144,
"capabilities": [
"chat",
"vision",
"tool_use",
"reasoning"
],
"inputPrice": 1.5,
"outputPrice": 7.5,
"description": "OpenRouter 官方公共目录模型,接入参数与计价以该平台为准",
"maxOutputTokens": 209715
},
{
"modelName": "google/gemini-3.8-flash",
"displayName": "Google: Gemini 3.8 Flash",
"serviceType": [
"chat"
],
"contextWindow": 1048576,
"capabilities": [
"chat",
"vision",
"tool_use",
"reasoning"
],
"inputPrice": 0.75,
"outputPrice": 3.75,
"description": "OpenRouter 官方公共目录模型,接入参数与计价以该平台为准",
"maxOutputTokens": 65536
},
{
"modelName": "minimax/minimax-m3",
"displayName": "MiniMax: MiniMax M3",
"serviceType": [
"chat"
],
"contextWindow": 1048576,
"capabilities": [
"chat",
"vision",
"tool_use",
"reasoning"
],
"inputPrice": 0.3,
"outputPrice": 1.2,
"description": "OpenRouter 官方公共目录模型,接入参数与计价以该平台为准",
"maxOutputTokens": 512000
},
{
"modelName": "qwen/qwen3.8-omni-flash",
"displayName": "Qwen: Qwen3.8 Omni Flash",
"serviceType": [
"chat"
],
"contextWindow": 1000000,
"capabilities": [
"chat",
"vision",
"tool_use",
"reasoning"
],
"inputPrice": 0.15,
"outputPrice": 0.47,
"description": "OpenRouter 官方公共目录模型,接入参数与计价以该平台为准",
"maxOutputTokens": 131072
},
{
"modelName": "qwen/qwen3.8-max-prime",
"displayName": "Qwen: Qwen3.8 Max Prime",
"serviceType": [
"chat"
],
"contextWindow": 1000000,
"capabilities": [
"chat",
"vision",
"tool_use",
"reasoning"
],
"inputPrice": 4.0,
"outputPrice": 12.0,
"description": "OpenRouter 官方公共目录模型,接入参数与计价以该平台为准",
"maxOutputTokens": 131072
},
{
"modelName": "deepseek/deepseek-v4.1-flash",
"displayName": "DeepSeek: DeepSeek V4.1 Flash",
"serviceType": [
"chat"
],
"contextWindow": 1048576,
"capabilities": [
"chat",
"vision",
"tool_use",
"reasoning"
],
"inputPrice": 0.3,
"outputPrice": 1.2,
"description": "OpenRouter 官方公共目录模型;接入参数与计价以该平台为准",
"extra": {
"pricingNotes": "USD per 1M tokens; OpenRouter access-specific pricing."
},
"maxOutputTokens": 943718
},
{
"modelName": "tencent/hy4-preview",
"displayName": "Tencent: Hy4 preview",
"serviceType": [
"chat"
],
"contextWindow": 1048576,
"capabilities": [
"chat",
"tool_use",
"reasoning"
],
"inputPrice": 0.834,
"outputPrice": 2.501,
"description": "OpenRouter 官方公共目录模型;接入参数与计价以该平台为准",
"extra": {
"pricingNotes": "USD per 1M tokens; OpenRouter access-specific pricing."
},
"maxOutputTokens": 64000
},
{
"modelName": "z-ai/glm-5.3-flash",
"displayName": "Z.ai: GLM 5.3 Flash",
"serviceType": [
"chat"
],
"contextWindow": 1048576,
"capabilities": [
"chat",
"vision",
"tool_use",
"reasoning"
],
"inputPrice": 0.15,
"outputPrice": 0.5,
"description": "OpenRouter 官方公共目录模型;接入参数与计价以该平台为准",
"extra": {
"pricingNotes": "USD per 1M tokens; OpenRouter access-specific pricing."
},
"maxOutputTokens": 943717
},
{
"modelName": "z-ai/glm-5.3",
"displayName": "Z.ai: GLM 5.3",
"serviceType": [
"chat"
],
"contextWindow": 1048576,
"capabilities": [
"chat",
"tool_use",
"reasoning"
],
"inputPrice": 1.4,
"outputPrice": 4.4,
"description": "OpenRouter 官方公共目录模型;接入参数与计价以该平台为准",
"extra": {
"pricingNotes": "USD per 1M tokens; OpenRouter access-specific pricing."
},
"maxOutputTokens": 131072
},
{
"modelName": "moonshotai/kimi-k3",
"displayName": "MoonshotAI: Kimi K3",
"serviceType": [
"chat"
],
"contextWindow": 1048576,
"capabilities": [
"chat",
"vision",
"tool_use",
"reasoning"
],
"inputPrice": 2.7,
"outputPrice": 13.5,
"description": "OpenRouter 官方公共目录模型;接入参数与计价以该平台为准",
"extra": {
"pricingNotes": "USD per 1M tokens; OpenRouter access-specific pricing."
},
"maxOutputTokens": 943718
},
{
"modelName": "anthropic/claude-sonnet-5.5",
"displayName": "Anthropic: Claude Sonnet 5.5",
"serviceType": [
"chat"
],
"contextWindow": 1000000,
"capabilities": [
"chat",
"vision",
"tool_use",
"reasoning"
],
"inputPrice": 2.0,
"outputPrice": 10.0,
"description": "OpenRouter 官方公共目录模型;接入参数与计价以该平台为准",
"extra": {
"pricingNotes": "USD per 1M tokens; OpenRouter access-specific pricing."
},
"maxOutputTokens": 128000
},
{
"modelName": "anthropic/claude-opus-5.5",
"displayName": "Anthropic: Claude Opus 5.5",
"serviceType": [
"chat"
],
"contextWindow": 1000000,
"capabilities": [
"chat",
"vision",
"tool_use",
"reasoning"
],
"inputPrice": 4.0,
"outputPrice": 20.0,
"description": "OpenRouter 官方公共目录模型;接入参数与计价以该平台为准",
"extra": {
"pricingNotes": "USD per 1M tokens; OpenRouter access-specific pricing."
},
"maxOutputTokens": 128000
},
{
"modelName": "openai/gpt-6.1-sol",
"displayName": "OpenAI: GPT-6.1 Sol",
"serviceType": [
"chat"
],
"contextWindow": 1050000,
"capabilities": [
"chat",
"vision",
"tool_use",
"reasoning"
],
"inputPrice": 2.0,
"outputPrice": 10.0,
"description": "OpenRouter 官方公共目录模型;接入参数与计价以该平台为准",
"extra": {
"pricingNotes": "USD per 1M tokens; OpenRouter access-specific pricing."
},
"maxOutputTokens": 128000
},
{
"modelName": "openrouter/auto",
"displayName": "OpenRouter Auto",
"serviceType": [
"chat"
],
"description": "OpenRouter 自动路由,智能选择最优模型",
"contextWindow": 2000000,
"maxOutputTokens": 16384,
"capabilities": [
"chat",
"auto_routing",
"tool_use"
],
"defaultTemperature": 1,
"defaultTopP": 1,
"extra": {
"pricingNotes": "OpenRouter Models API 的 prompt/completion=-1 为动态路由占位值,实际价格取决于选中的模型,不代表免费。"
}
}
],
"tombstones": [
"stealth/ox-alpha",
"openai/gpt-oss-120b:free",
"qwen/qwen3-coder:free"
]
}