Files
config-center/compute/providers/openrouter.json
yi-ge e2f4a6935c refactor: defaultTemperature/defaultTopP 从 Provider 级别迁移到 Model 级别
- 删除所有 Provider 顶层的 defaultTemperature / defaultTopP
- 为所有对话类模型添加 model 级别的推荐温度参数(基于官方文档)
- volcengine:将 extra 内温度参数提升到模型顶层正式字段
- presetDataVersion 7→8

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 18:57:13 +08:00

70 lines
1.8 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"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"],
"models": [
{
"modelName": "openrouter/auto",
"displayName": "OpenRouter Auto",
"serviceType": ["chat"],
"description": "OpenRouter 自动路由,智能选择最优模型",
"contextWindow": 200000,
"maxOutputTokens": 16384,
"capabilities": [
"chat",
"auto_routing"
],
"inputPrice": 0.00,
"outputPrice": 0.00,
"defaultTemperature": 1,
"defaultTopP": 1,
"extra": {}
},
{
"modelName": "google/gemini-2.5-flash-exp:free",
"displayName": "Gemini 2.5 Flash (免费)",
"serviceType": ["chat"],
"description": "通过 OpenRouter 免费使用的 Gemini 2.5 Flash1M 上下文",
"contextWindow": 1048576,
"maxOutputTokens": 65535,
"capabilities": [
"chat",
"reasoning",
"vision",
"long_context"
],
"inputPrice": 0.00,
"outputPrice": 0.00,
"defaultTemperature": 1,
"defaultTopP": 1,
"extra": {}
},
{
"modelName": "qwen/qwen3-coder:free",
"displayName": "Qwen3 Coder 480B (免费)",
"serviceType": ["chat"],
"description": "通过 OpenRouter 免费使用的 Qwen3 Coder 480B",
"contextWindow": 262144,
"maxOutputTokens": 32768,
"capabilities": [
"code",
"reasoning",
"agent"
],
"inputPrice": 0.00,
"outputPrice": 0.00,
"defaultTemperature": 1,
"defaultTopP": 1,
"extra": {}
}
]
}