mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-07-23 04:33:20 +08:00
107 lines
2.4 KiB
JSON
107 lines
2.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.3",
|
||
"displayName": "Grok 4.3",
|
||
"serviceType": [
|
||
"chat",
|
||
"reasoning"
|
||
],
|
||
"description": "xAI 最新旗舰通用模型,1M 上下文,支持可配置推理、函数调用和结构化输出",
|
||
"contextWindow": 1000000,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"vision",
|
||
"tool_use",
|
||
"structured_output",
|
||
"long_context"
|
||
],
|
||
"inputPrice": 1.25,
|
||
"outputPrice": 2.5,
|
||
"defaultTemperature": 1,
|
||
"defaultTopP": 1,
|
||
"extra": {
|
||
"cachedInputPrice": 0.2,
|
||
"reasoningEffort": [
|
||
"none",
|
||
"low",
|
||
"medium",
|
||
"high"
|
||
],
|
||
"aliases": [
|
||
"grok-4.3-latest",
|
||
"grok-latest"
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"modelName": "grok-build-0.1",
|
||
"displayName": "Grok Build 0.1",
|
||
"serviceType": [
|
||
"chat"
|
||
],
|
||
"description": "xAI 面向 agentic coding 工作流的专用代码模型",
|
||
"contextWindow": 256000,
|
||
"capabilities": [
|
||
"chat",
|
||
"code",
|
||
"agent",
|
||
"tool_use",
|
||
"structured_output"
|
||
],
|
||
"inputPrice": 1,
|
||
"outputPrice": 2,
|
||
"defaultTemperature": 1,
|
||
"defaultTopP": 1,
|
||
"extra": {
|
||
"cachedInputPrice": 0.2
|
||
}
|
||
},
|
||
{
|
||
"modelName": "grok-4.20-0309-reasoning",
|
||
"displayName": "Grok 4.20 Reasoning (2026-03-09)",
|
||
"serviceType": [
|
||
"chat",
|
||
"reasoning"
|
||
],
|
||
"description": "xAI Grok 4.20 固定版本推理模型,当前价格与 Grok 4.3 一致",
|
||
"contextWindow": 1000000,
|
||
"maxOutputTokens": 16384,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"vision",
|
||
"tool_use",
|
||
"structured_output",
|
||
"long_context"
|
||
],
|
||
"inputPrice": 1.25,
|
||
"outputPrice": 2.5,
|
||
"defaultTemperature": 1,
|
||
"defaultTopP": 1,
|
||
"extra": {
|
||
"cachedInputPrice": 0.2,
|
||
"legacy": true
|
||
}
|
||
}
|
||
],
|
||
"tombstones": [
|
||
"grok-4-1-fast-reasoning"
|
||
]
|
||
}
|