Grok 4.20 Beta Reasoning
Grok 4.20 Beta 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-beta', prompt: 'Why is the sky blue?'})Providers
Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.
| Provider |
|---|