Grok

Grok 4.20 Beta 0309 Reasoning

xAI按量收費
Alias:grok-4.20-beta-0309-reasoning
textimagefunction_callingtoolsstructured_outputjson_modereasoningvisioncontext:1000000
起始價格
輸入 / 輸出 · 1M
上下文
1M
最大輸入窗口
模態
→
發佈於
Mar 2026

Pricing by Supplier

比較同一模型在不同供應商的價格與服務表現。

供應商1
USD · 每 1M tokens效能 · Last 24 hours
供應商Discount輸入/M輸出/M緩存讀取/M
xAI

xAI 官方 API

省40%
$1.2$2
$3.6$6
$0.12$0.2
刪除線金額為標準價。效能統計涵蓋最近 24 小時,實際表現隨請求變化。

左右滑動表格,查看完整價格與效能。

能力 / 支援的模態

函數呼叫工具結構化輸出JSON 模式推理視覺
輸入
輸出

廠商與數據私隱

供應商
分詞器
Grok tokenizer (BPE)
許可證
Proprietary (commercial)商業閉源
數據保留8 日預設不會用於上游訓練

效能

基準測試

標準化評測得分。百分比越高越好,並展示排名百分位。

指標來源:Artificial Analysis 2026-09-30·Grok 4.20 Beta 0309 Reasoning

目前基準快照不包含此模型。

缺少模型或測量值不代表零分。

基準圖表保留來源中的模型選擇和推理設定。缺少模型或測量值不代表零分,基準成本或速度也不是本站的服務承諾。

About Grok 4.20 Beta 0309 Reasoning

Use Grok 4.20 Beta 0309 Reasoning through the API endpoints listed on this page. Compare its configured capabilities and supplier prices before choosing an integration.

查看介紹原文

从多个角度检查一个方案

Grok 4.20 推理模型可以将文字材料、图片信息与任务条件放在一起分析,再整理成结论和验证步骤。它适合审查技术方案、理解架构图、比较代码实现,或对较长文档中的约束进行交叉检查。面对含有多种可能解释的问题,可以要求它先列出假设,再判断哪些证据能够支持或排除这些假设。

例如提供系统架构图、请求流程说明和一段故障记录,让模型沿调用链查找可能的单点、超时传播和信息缺口。图中的连线只说明可见关系,组件的实际行为仍需文字或日志佐证;将这两部分分开,可以避免把常见架构经验当作当前系统事实。

怎样使审查结果便于跟进?

为材料编号,并让每个问题包含对应位置、影响、待确认条件和建议验证步骤。支持结构化输出的接口还可以配置 JSON Schema,把问题类型与状态限制在允许值中,方便进入后续检查流程。格式一致后,仍应回看证据是否真正支持判断。

工具能补充什么?

通过函数调用,可以查询应用提供的文档、运行测试或获取数据,再根据结果继续推理。工具执行由应用完成;将失败信息和返回值完整传入,有助于模型调整后续步骤。没有接入工具时,可以让它先生成待执行的检查清单。

对于代码修改,先说明哪些行为必须保留,再要求最小改动与测试方法。对于方案比较,则明确评价标准和优先级,让建议围绕实际目标,而不是泛泛列出所有可能选项。

Use cases and prompting

Starting points for evaluation; supported inputs and options are listed in API access.

Use cases to explore

  • Draft and revise text with explicit audience, tone and format requirements.
  • Summarize supplied documents and compare answers against the original sources.

Practical tips

Separate instructions from source material, describe the desired output and provide an example. Test tool use or structured output only when listed as supported.

Example prompt

Summarize the following document in five bullet points. Separate confirmed facts from open questions, cite the relevant passages and do not invent missing information. Document: [paste your text]

查看使用指南原文

提供架构图、流程说明和日志后可输入:

“请沿用户请求到数据库的路径检查超时风险。每项结论区分图中可见关系、文档已说明行为和待验证假设;引用材料编号,并给出能验证该假设的一项检查。不要直接把常见问题认定为根因。”

先核对模型是否读对组件与连线,再补充实际配置和时间线。若要生成修复方案,明确允许改动的范围,让它给出最小修改及验证步骤;实际运行测试或查询日志后,传回结果继续分析。

API access

API 介面文件

呼叫示例

請求POST/v1/chat/completions
請求範例
參數
參數類型預設值 / 範圍說明資訊
reasoning_effort
enum
=medium
控制模型回答前的推理深度
max_completion_tokens
integer>= 1最大 token 數(含隱藏的推理 token)
stop
array—最多 4 個停止生成的字串
seed
integer—盡量保證可復現的採樣種子
stream
boolean
=false
透過 SSE 串流返回 token
response_format
object—強制輸出 JSON 物件或符合 Schema 的結果
tools
array—模型可呼叫的工具 / 函數聲明
tool_choice
string
autononerequired
工具選擇策略或具體工具名
user
string—用於風險審計的終端用戶標識

替換 <YOUR_API_KEY> 替換為 API 金鑰頁面中的金鑰。

身份驗證

所有請求必須攜帶 Authorization: Bearer <TOKEN> 請求頭。Anthropic 格式的端點也接受 x-api-key 請求頭。

在「令牌」頁面生成 API Key,可以按模型、分組、IP、速率等維度精細化授權。

支援的參數

Generation parameters
參數類型預設值 / 範圍說明資訊
reasoning_effort
enum
=medium
控制模型回答前的推理深度
max_completion_tokens
integer>= 1最大 token 數(含隱藏的推理 token)
stop
array—最多 4 個停止生成的字串
seed
integer—盡量保證可復現的採樣種子
stream
boolean
=false
透過 SSE 串流返回 token
response_format
object—強制輸出 JSON 物件或符合 Schema 的結果
tools
array—模型可呼叫的工具 / 函數聲明
tool_choice
string
autononerequired
工具選擇策略或具體工具名
user
string—用於風險審計的終端用戶標識

速率限制

供應商RPMTPMRPD
xAI無限制無限制無限制

無限制

Frequently asked questions about grok-4.20-beta-0309-reasoning

What is grok-4.20-beta-0309-reasoning?

Use grok-4.20-beta-0309-reasoning through the API endpoints listed on this page. Compare its configured capabilities and supplier prices before choosing an integration.

How do I call grok-4.20-beta-0309-reasoning?

Create an API key with access to grok-4.20-beta-0309-reasoning, then use the exact model ID and a supported endpoint from the API access section. Request fields depend on the selected endpoint.

How is grok-4.20-beta-0309-reasoning priced?

Pricing depends on the selected provider group and the model billing unit. The current input, output, request, or media prices are shown on this page before sign-up.

What is the context window of grok-4.20-beta-0309-reasoning?

The model catalog lists a context window of 1000000 tokens. Check the selected endpoint for request limits.

How should I evaluate grok-4.20-beta-0309-reasoning for my project?

Separate instructions from source material, describe the desired output and provide an example. Test tool use or structured output only when listed as supported.