Grok 4.20 Reasoning
Grok 4.20 Reasoning is xAI's reasoning model in the Grok 4.20 beta generation, supporting extended thinking for complex problem-solving with low hallucination rates and strict prompt adherence.
import { streamText } from 'ai'
const result = streamText({ model: 'xai/grok-4.20-reasoning', prompt: 'Why is the sky blue?'})About Grok 4.20 Reasoning
Grok 4.20 Reasoning was released March 9, 2026 as the reasoning-enabled variant of xAI's Grok 4.20 beta generation. It supports extended thinking for complex problem-solving tasks, generating chain-of-thought reasoning traces before producing final answers. The model maintains the low hallucination rates and strict prompt adherence from the Grok 4.20 foundation.
The reasoning capability improves accuracy on tasks that benefit from structured thinking: mathematical problem solving, code debugging, logical analysis, and multi-step planning. Reasoning traces are visible in the API response, providing transparency you can use for debugging and auditing.
This model is currently in beta.