Grok 4.20 Beta Reasoning

xai/grok-4.20-reasoning-beta

Grok 4.20 Beta is the newest flagship model from xAI 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.

ReasoningTool UseVision (Image)File InputImplicit Caching
index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'xai/grok-4.20-reasoning-beta',
prompt: 'Why is the sky blue?'
})