feat: 建立版本化模型目录与规范字段生成链路 (#116)

This commit is contained in:
2026-10-03 11:05:56 -07:00
committed by GitHub
parent 4f4e5093e9
commit 7f4073a769
115 changed files with 108673 additions and 21 deletions

View File

@@ -0,0 +1,155 @@
{
"description": "xAI Grok 系列模型规格。参数来源:config-center compute/providers/xai.json。Grok 网关命名变体较多(含日期戳/-fast/-reasoning 后缀),主要依赖 family=grok-4 兜底匹配。",
"specs": [
{
"displayName": "Grok 4.7",
"family": "grok-4.7",
"match": {
"exact": [
"grok-4.7"
]
},
"id": "grok-4.7",
"spec": {
"contextWindow": 500000,
"capabilities": [
"chat",
"reasoning",
"code",
"vision",
"tool_use",
"long_context"
],
"serviceType": [
"chat",
"reasoning"
],
"supportsReasoning": true,
"description": "xAI Grok 4.7,500K 上下文,文本与图像输入,推理努力等级 low 到 xhigh"
},
"routing": {
"tier": "flagship",
"routingPriority": 30,
"eligibleForAgent": true,
"defaultReference": false,
"reasoning": {
"supportedModes": [
"auto",
"low",
"medium",
"high",
"xhigh"
],
"defaultMode": "high"
}
}
},
{
"displayName": "Grok 4.5",
"family": "grok-4.5",
"match": {
"exact": [
"grok-4.5"
]
},
"id": "grok-4.5",
"spec": {
"contextWindow": 500000,
"maxOutputTokens": 450000,
"capabilities": [
"chat",
"reasoning",
"code",
"vision",
"long_context",
"tool_use"
],
"serviceType": [
"chat",
"reasoning"
],
"supportsReasoning": true,
"description": "xAI Grok 4.5,面向编程、知识工作和 STEM 的旗舰推理模型",
"extra": {
"thinkingOnly": true,
"thinkingDefault": true
},
"releasedAt": "2026-07-08"
}
},
{
"displayName": "Grok 4.3",
"family": "grok-4",
"match": {
"exact": [
"grok-4.3"
],
"patterns": [
"grok-4.3*"
]
},
"id": "grok-4-3",
"spec": {
"contextWindow": 1000000,
"capabilities": [
"reasoning",
"code",
"vision",
"tool_use",
"long_context"
],
"serviceType": [
"chat"
],
"supportsReasoning": true,
"description": "xAI Grok 4.3 推理模型,100 万上下文"
}
},
{
"displayName": "Grok 4.1 Fast",
"family": "grok-4",
"id": "grok-4-1-fast-reasoning",
"spec": {
"contextWindow": 2000000,
"maxOutputTokens": 16384,
"capabilities": [
"chat",
"reasoning",
"code",
"vision",
"tool_use",
"fast",
"long_context"
],
"serviceType": [
"chat",
"reasoning"
],
"defaultTemperature": 1,
"supportsReasoning": true
}
},
{
"displayName": "Grok 4.20",
"family": "grok-4",
"id": "grok-4.20-0309-reasoning",
"spec": {
"contextWindow": 2000000,
"maxOutputTokens": 16384,
"capabilities": [
"chat",
"reasoning",
"code",
"vision",
"tool_use"
],
"serviceType": [
"chat",
"reasoning"
],
"defaultTemperature": 1,
"supportsReasoning": true
}
}
]
}