Grok

Grok 4.20 Beta 0309 Reasoning

xAIToken-based
Alias:grok-4.20-beta-0309-reasoning
Create API Key

Compare grok-4.20-beta-0309-reasoning API pricing, supported endpoints, capabilities and access options on Modelsell.

textimagefunction_callingtoolsstructured_outputjson_modereasoningvisioncontext:1000000
Starting price
Input / Output · 1M
Context
1M
Maximum input window
Modalities
→

Pricing by Supplier

xAI
-40%
xAI 官方
Input$2$1.2/ 1M
Output$6$3.6/ 1M
Cache Read$0.2$0.12/ 1M

Capabilities / Supported modalities

Function callingToolsStructured outputJSON modeReasoningVision
Input
Output

Provider & data privacy

Provider
xAIDocs
Tokenizer
Grok tokenizer (BPE)
License
Proprietary (commercial)Proprietary
Data retention8 daysNot used for upstream training by default

Performance

Benchmarks

Scores on standardized evaluations. Higher percentages are better — and rank percentile shows

Metrics sourced fromArtificial Analysis 2026-09-30·Grok 4.20 Beta 0309 Reasoning

This model is not included in the current benchmark snapshot.

Missing models or measurements are not zero scores.

Benchmark charts preserve the source model selection and reasoning settings. Missing models or measurements are not zero scores, and benchmark cost or speed is not this site’s service commitment.

About Grok 4.20 Beta 0309 Reasoning

从多个角度检查一个方案

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

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

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

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

工具能补充什么?

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

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

Use cases and prompting

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

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

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

API access

API documentation

Code samples

RequestPOST/v1/chat/completions
Example request
Parameters
ParameterTypeDefault / rangeDescription
reasoning_effort
enum
=medium
Controls how much the model thinks before answering
max_completion_tokens
integer>= 1Maximum tokens including hidden reasoning tokens
stop
array—Up to 4 strings that stop generation
seed
integer—Deterministic sampling seed (best-effort)
stream
boolean
=false
Stream tokens via Server-Sent Events
response_format
object—Force JSON object or schema-conforming output
tools
array—Tool / function declarations the model may call
tool_choice
string
autononerequired
Tool-choice policy or specific tool name
user
string—End-user identifier for abuse monitoring

Replace <YOUR_API_KEY> with the API key from your token settings.

Authentication

All requests must include Authorization: Bearer <TOKEN> header. Anthropic-formatted endpoints accept the x-api-key header instead.

Generate tokens from the Tokens page; you can scope them to specific models, groups, IPs, and rate-limits.

Supported parameters

Generation parameters
ParameterTypeDefault / rangeDescription
reasoning_effort
enum
=medium
Controls how much the model thinks before answering
max_completion_tokens
integer>= 1Maximum tokens including hidden reasoning tokens
stop
array—Up to 4 strings that stop generation
seed
integer—Deterministic sampling seed (best-effort)
stream
boolean
=false
Stream tokens via Server-Sent Events
response_format
object—Force JSON object or schema-conforming output
tools
array—Tool / function declarations the model may call
tool_choice
string
autononerequired
Tool-choice policy or specific tool name
user
string—End-user identifier for abuse monitoring

Rate limits

SupplierRPMTPMRPD
xAIUnlimitedUnlimitedUnlimited

No restriction

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

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

Compare grok-4.20-beta-0309-reasoning API pricing, supported endpoints, capabilities and access options on Modelsell.

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?

Start with the use cases and prompting guidance on this page, then evaluate the model with representative inputs from your project.