mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-06-06 05:50:50 +08:00
Batch update from official docs audit - price corrections, context window fixes, field report updates across all providers. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
58 lines
1.4 KiB
JSON
58 lines
1.4 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.20-0309-reasoning",
|
||
"displayName": "Grok 4.20 Reasoning",
|
||
"serviceType": ["chat", "reasoning"],
|
||
"description": "xAI 旗舰推理模型,支持函数调用与结构化输出",
|
||
"contextWindow": 2000000,
|
||
"maxOutputTokens": 16384,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"code",
|
||
"vision",
|
||
"tool_use"
|
||
],
|
||
"inputPrice": 2.00,
|
||
"outputPrice": 6.00,
|
||
"defaultTemperature": null,
|
||
"defaultTopP": null,
|
||
"extra": {}
|
||
},
|
||
{
|
||
"modelName": "grok-4-1-fast-reasoning",
|
||
"displayName": "Grok 4.1 Fast Reasoning",
|
||
"serviceType": ["chat", "reasoning"],
|
||
"description": "xAI 高速推理模型,2M 上下文窗口",
|
||
"contextWindow": 2000000,
|
||
"maxOutputTokens": 16384,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"code",
|
||
"vision",
|
||
"tool_use",
|
||
"fast",
|
||
"long_context"
|
||
],
|
||
"inputPrice": 0.20,
|
||
"outputPrice": 0.50,
|
||
"defaultTemperature": null,
|
||
"defaultTopP": null,
|
||
"extra": {}
|
||
}
|
||
]
|
||
}
|