Grok

Grok 4.20 0309 Reasoning

xAI按量收費動態收費
Alias:grok-4.20-0309-reasoning
textimagefunction_callingtoolsstructured_outputjson_modereasoningvisioncontext:1000000
起始價格
查看完整計費明細
上下文
1M
最大輸入窗口
模態
→
發佈於
Mar 2026

Pricing by Supplier

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

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

xAI 官方 API

省40%
standard輸入 < 200K tokens
$0.75$1.25
$1.5$2.5
$0.12$0.2
long_context輸入 ≥ 200K tokens
$1.5$2.5
$3$5
$0.24$0.4
刪除線金額為標準價。效能統計涵蓋最近 24 小時,實際表現隨請求變化。

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

能力 / 支援的模態

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

廠商與數據私隱

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

效能

基準測試

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

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

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

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

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

About Grok 4.20 0309 Reasoning

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

查看介紹原文

把图片中的现象与文字要求放在一起判断

Grok 4.20 Reasoning 可以同时处理文字与图片,在作答前进行推理,适合需求检查、图表分析和多资料对照。例如把页面截图与产品验收要求一起提供,让它检查可见状态是否符合规则;把图表和指标定义放在一起,让它解释趋势,并指出无法仅凭图形确定的原因。

处理较长材料时,它可以结合前后的约束来回答具体问题。可以给需求、设计说明和测试记录分别编号,让模型按同一个检查标准查找冲突。与一次泛泛的总结相比,要求它逐项说明“满足什么、依据在哪、还缺什么”,更容易得到可以继续处理的结果。

怎样区分看见的信息与推断?

让模型把图片中直接可见的内容、文字材料给定的规则和由此得到的判断分开。对于被遮挡的区域、小字和无法从静态截图确认的交互,应保留不确定状态。要分析页面行为,可补充操作前后的截图和复现步骤。

如何接入应用工作流?

它支持函数调用,可以根据分析结果请求应用提供的查询工具,再利用返回信息继续判断。实际查询或执行由工具完成,不能用生成的描述代替执行结果。需要固定输出时,可使用结构化输出功能定义字段,让每项检查包含结论、证据和待补充信息。

推理有助于处理复杂约束,重要结论仍要有验证方法。对代码运行测试,对数值核对公式,对图片判断回看原图;要求模型给出简明依据与可验证步骤,便于人工或程序检查。

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]

查看使用指南原文

上传结算页截图并附上验收要求后,可以输入:

“请逐项检查优惠、运费与总价的展示是否符合下方规则。区分截图可见事实和推断,输出 requirement_id、status、evidence、missing_information。看不到的内容标为无法确认,不推测点击后的行为。规则:{验收清单}。”

先检查模型是否读对金额与文字,再核对规则判断。提供操作前后两张图时,说明各自对应的状态。若还需查询订单或运行测试,向应用接入相应工具,将真实结果回传后再生成最终检查清单。

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-0309-reasoning

What is grok-4.20-0309-reasoning?

Use grok-4.20-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-0309-reasoning?

Create an API key with access to grok-4.20-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-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-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-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.