Understand the universe: solve humanity's most difficult scientific problems with deep thought.
See the world through vision, interpreting images and visuals with sharp, insightful understanding.
Build real-time voice agents with speech-to-text, text-to-speech, and conversational AI capabilities.
Craft agentic experiences with both server-side and client-side tool calling with our Agent Tools API.
Bring your ideas to life with image generation, creating visuals that are as unique as you are.
Tap into the now with real-time search, pulling fresh, relevant data from the web and X instantly.
Seamlessly integrate secure logins for your entire team via your chosen identity provider.
Track and review all user actions and API key usage with comprehensive, detailed logs.
Precisely manage access through role-based access controls and fine-grained permissions.
Meet stringent standards like SOC 2 Type 2, GDPR, CCPA, Zero Data Retention, and beyond for peace of mind.
Retain full control over data storage and processing locations to suit your needs.
Contact us to discuss your specific enterprise needs.
Our API is compatible with OpenAI and Anthropic’s SDKs. Migrating is as easy as generating an API key and changing a URL.
Start buildingOur flagship model with the lowest hallucination rate on the market and industry-leading speed, delivering precise, trustworthy responses.
View docsOur latest flagship model with industry-leading speed and agentic tool calling capabilities. Combines the lowest hallucination rate on the market with strict prompt adherence, delivering consistently precise and truthful responses.
Non-reasoning variant of Grok 4.20 for latency-sensitive use cases.
Cost-efficient lightweight model that excels at tool-calling.
Non-reasoning variant of Grok 4.1 Fast for latency-sensitive use cases.
| Model | Capabilities | Context window | Text Input | Image Input | Output |
grok-4.20-reasoning NewOur latest flagship model with industry-leading speed and agentic tool calling capabilities. Combines the lowest hallucination rate on the market with strict prompt adherence, delivering consistently precise and truthful responses. | 2M | $2.00 | $2.00 | $6.00 | |
grok-4.20-non-reasoning NewNon-reasoning variant of Grok 4.20 for latency-sensitive use cases. | 2M | $2.00 | $2.00 | $6.00 | |
grok-4-1-fast-reasoning Cost-efficient lightweight model that excels at tool-calling. | 2M | $0.20 | $0.20 | $0.50 | |
grok-4-1-fast-non-reasoning Non-reasoning variant of Grok 4.1 Fast for latency-sensitive use cases. | 2M | $0.20 | $0.20 | $0.50 |
All prices are per million tokens or as stated.
Full pricing can be found on our docs.
State-of-the-art video generation across quality, cost, and latency.
xAI is rapidly accelerating its progress in building advanced AI.