Grok 4.20 Beta reasoning

openrouter
xai
Grok 4.20 Beta is xAI's newest flagship model with industry-leading speed and agentic tool calling capabilities. It combines the lowest hallucination rate on the market with strict prompt adherance, delivering consistently precise and truthful responses. Reasoning can be enabled/disabled using the `reasoning` `enabled` parameter in the API. Learn more in our docs

Capabilities

Context Window 2M tokens
Max Output 0 tokens
Inputs
Outputs

Pricing (per 1M tokens)

Input $2.00
Output $6.00
Cache Read $0.20
Cache Write -

Supported Parameters

include_reasoninglogprobsmax_tokensreasoningresponse_formatseedstructured_outputstemperaturetool_choicetoolstop_logprobstop_p