mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-02-28 13:18:22 +08:00
- 删除所有 Provider 顶层的 defaultTemperature / defaultTopP - 为所有对话类模型添加 model 级别的推荐温度参数(基于官方文档) - volcengine:将 extra 内温度参数提升到模型顶层正式字段 - presetDataVersion 7→8 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
54 lines
1.3 KiB
JSON
54 lines
1.3 KiB
JSON
{
|
||
"id": "provider-xai-001",
|
||
"provider": "xai",
|
||
"label": "xAI Grok",
|
||
"baseUrl": "https://api.x.ai/v1",
|
||
"apiFormat": "openai-completions",
|
||
"apiKeyRef": "xai",
|
||
"apiKeyVerified": false,
|
||
"enabled": false,
|
||
"status": "unconfigured",
|
||
"priceCurrency": "USD",
|
||
"services": ["chat", "reasoning"],
|
||
"models": [
|
||
{
|
||
"modelName": "grok-4-0709",
|
||
"displayName": "Grok 4",
|
||
"serviceType": ["chat", "reasoning"],
|
||
"description": "xAI 最新旗舰推理模型,262K 上下文,支持工具调用",
|
||
"contextWindow": 262144,
|
||
"maxOutputTokens": 8192,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"code",
|
||
"tool_use"
|
||
],
|
||
"inputPrice": 3.00,
|
||
"outputPrice": 15.00,
|
||
"defaultTemperature": 1,
|
||
"defaultTopP": 1,
|
||
"extra": {}
|
||
},
|
||
{
|
||
"modelName": "grok-4-1-fast",
|
||
"displayName": "Grok 4.1 Fast",
|
||
"serviceType": ["chat"],
|
||
"description": "xAI 超长上下文高速模型,2M token 窗口",
|
||
"contextWindow": 2000000,
|
||
"maxOutputTokens": 16384,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"fast",
|
||
"long_context"
|
||
],
|
||
"inputPrice": 0.20,
|
||
"outputPrice": 0.50,
|
||
"defaultTemperature": 1,
|
||
"defaultTopP": 1,
|
||
"extra": {}
|
||
}
|
||
]
|
||
}
|