mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-02-28 12:18:26 +08:00
- 新增 priceCurrency 字段:国外 Provider 标记 USD,国内 Provider 标记 CNY - OpenAI GPT-4/o 系列价格修正(消除错误的 ×7.2 汇率膨胀) - Anthropic modelName 格式修正(点号→连字符,如 claude-opus-4-6) - DeepSeek 价格修正为 ¥ 原始定价,删除蒸馏模型 - DashScope qwen3.5-max→qwen3.5-plus(不存在的模型名修正) - Google gemini-2.5-pro-vision 删除(不存在),flash 价格更新 - 智谱 glm-5-plus 删除(不存在),contextWindow 修正 - Kling apiFormat→kling-task-api,Stability→stability-rest-api - Cohere baseUrl 域名修正 .com→.ai - MiniMax/百度/腾讯/讯飞/硅基流动价格修正为 ¥ 原始定价 - presetDataVersion 6→7 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
52 lines
1.2 KiB
JSON
52 lines
1.2 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"],
|
||
"defaultTemperature": 1,
|
||
"defaultTopP": 1,
|
||
"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,
|
||
"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,
|
||
"extra": {}
|
||
}
|
||
]
|
||
}
|