Welcome to xAI Documentation
Build with Grok, the AI model designed to deliver truthful, insightful answers.
Get started
Grok 4.20
Grok 4.20 is our 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.
Modalities
Context window
2,000,000
Features
Function calling
Structured outputs
Reasoning
Lightning fast
