Files
config-center/compute/providers/xunfei.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

59 lines
1.5 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-xunfei-001",
"provider": "xunfei",
"label": "讯飞星火",
"baseUrl": "https://spark-api-open.xf-yun.com/v1",
"apiFormat": "openai-completions",
"apiKeyRef": "xunfei",
"apiKeyVerified": false,
"enabled": false,
"status": "unconfigured",
"priceCurrency": "CNY",
"services": ["chat", "reasoning"],
"models": [
{
"modelName": "x1",
"displayName": "讯飞星火 X1",
"serviceType": ["reasoning"],
"description": "讯飞最新推理模型,基于全国产算力训练,擅长数学和代码推理",
"contextWindow": 32768,
"maxOutputTokens": 16384,
"capabilities": [
"chat",
"reasoning",
"deep_thinking",
"math",
"code"
],
"inputPrice": 11,
"outputPrice": 11,
"defaultTemperature": 1,
"defaultTopP": 1,
"extra": {
"pricingNote": "讯飞按token包计费不区分输入输出"
}
},
{
"modelName": "4.0Ultra",
"displayName": "讯飞星火 4.0 Ultra",
"serviceType": ["chat"],
"description": "讯飞星火最强通用模型,支持推理、代码和工具调用",
"contextWindow": 32768,
"maxOutputTokens": 32768,
"capabilities": [
"chat",
"reasoning",
"code",
"tool_use"
],
"inputPrice": 60,
"outputPrice": 60,
"defaultTemperature": 1,
"defaultTopP": 1,
"extra": {
"pricingNote": "讯飞按token包计费不区分输入输出"
}
}
]
}