# 详细字段取值表 - compute/providers/xai.json - provider: `xai` - priceCurrency: `USD` - generatedAt: `2026-04-25T16:15:04.854Z` ## 来源 - https://docs.x.ai/docs/models - https://zenmux.ai/models - https://zenmux.ai/api/v1/models ## grok-4.20-0309-reasoning - ZenMux匹配级别: `ambiguous` - ZenMux候选: `x-ai/grok-4-fast-non-reasoning`、`x-ai/grok-4`、`x-ai/grok-4.2-fast-non-reasoning`、`x-ai/grok-4.1-fast-non-reasoning` | 字段 | 当前值 | 建议值 | 结论 | 依据/说明 | |---|---|---|---|---| | `modelName` | `"grok-4.20-0309-reasoning"` | `"grok-4.20-0309-reasoning"` | 待确认 | ZenMux无稳定匹配,需官方文档确认 | | `displayName` | `"Grok 4.20 Reasoning"` | `"Grok 4.20 Reasoning"` | 保持 | 展示字段,以本项目产品命名策略为准 | | `serviceType` | `["chat","reasoning"]` | `["chat","reasoning"]` | 保持 | 服务路由字段,以本项目分类约定为准 | | `contextWindow` | `2000000` | `2000000` | 待确认 | ZenMux无context可用,需官方规格页确认 | | `maxOutputTokens` | `16384` | `16384` | 待确认 | ZenMux列表未提供统一max output字段,需官方模型详情页确认 | | `inputPrice` | `2` | `2` | 待确认 | 当前文件币种为USD,价格需官方价格页确认 | | `outputPrice` | `6` | `6` | 待确认 | 当前文件币种为USD,价格需官方价格页确认 | | `capabilities` | `["chat","reasoning","code","vision","tool_use"]` | `["chat","reasoning","code","vision","tool_use"]` | 保持 | 能力标签是本项目语义字段,不直接由第三方列表覆盖 | | `defaultTemperature` | `1` | `1` | 保持 | 当前值与schema兼容;是否采用默认采样值需官方文档确认 | | `defaultTopP` | `1` | `1` | 保持 | 当前值与schema兼容;是否采用默认采样值需官方文档确认 | | `extra` | `{}` | `{}` | 待确认 | 扩展字段为本项目schema,需按业务含义和官方补充信息复核 | ## grok-4-1-fast-reasoning - ZenMux匹配级别: `ambiguous` - ZenMux候选: `x-ai/grok-4.1-fast-non-reasoning`、`x-ai/grok-4.1-fast`、`x-ai/grok-4-fast-non-reasoning`、`x-ai/grok-4-fast`、`x-ai/grok-4.2-fast-non-reasoning` | 字段 | 当前值 | 建议值 | 结论 | 依据/说明 | |---|---|---|---|---| | `modelName` | `"grok-4-1-fast-reasoning"` | `"grok-4-1-fast-reasoning"` | 待确认 | ZenMux无稳定匹配,需官方文档确认 | | `displayName` | `"Grok 4.1 Fast Reasoning"` | `"Grok 4.1 Fast Reasoning"` | 保持 | 展示字段,以本项目产品命名策略为准 | | `serviceType` | `["chat","reasoning"]` | `["chat","reasoning"]` | 保持 | 服务路由字段,以本项目分类约定为准 | | `contextWindow` | `2000000` | `2000000` | 待确认 | ZenMux无context可用,需官方规格页确认 | | `maxOutputTokens` | `16384` | `16384` | 待确认 | ZenMux列表未提供统一max output字段,需官方模型详情页确认 | | `inputPrice` | `0.2` | `0.2` | 待确认 | 当前文件币种为USD,价格需官方价格页确认 | | `outputPrice` | `0.5` | `0.5` | 待确认 | 当前文件币种为USD,价格需官方价格页确认 | | `capabilities` | `["chat","reasoning","code","vision","tool_use","fast","long_context"]` | `["chat","reasoning","code","vision","tool_use","fast","long_context"]` | 保持 | 能力标签是本项目语义字段,不直接由第三方列表覆盖 | | `defaultTemperature` | `1` | `1` | 保持 | 当前值与schema兼容;是否采用默认采样值需官方文档确认 | | `defaultTopP` | `1` | `1` | 保持 | 当前值与schema兼容;是否采用默认采样值需官方文档确认 | | `extra` | `{}` | `{}` | 待确认 | 扩展字段为本项目schema,需按业务含义和官方补充信息复核 |