The Next Frontier of Enterprise AI

[ Capabilities ]

Models that fit your needs

Reasoning

Understand the universe: solve humanity's most difficult scientific problems with deep thought.

Vision

See the world through vision, interpreting images and visuals with sharp, insightful understanding.

Voice API

Build real-time voice agents with speech-to-text, text-to-speech, and conversational AI capabilities.

New

Tool calling

Craft agentic experiences with both server-side and client-side tool calling with our Agent Tools API.

Image generation

Bring your ideas to life with image generation, creating visuals that are as unique as you are.

Search

Tap into the now with real-time search, pulling fresh, relevant data from the web and X instantly.

New
[ Enterprise ]

Ready for your business

Single sign-on

Seamlessly integrate secure logins for your entire team via your chosen identity provider.

Audit logging

Track and review all user actions and API key usage with comprehensive, detailed logs.

Authorization controls

Precisely manage access through role-based access controls and fine-grained permissions.

Compliance

Meet stringent standards like SOC 2 Type 2, GDPR, CCPA, Zero Data Retention, and beyond for peace of mind.

Data residency

Retain full control over data storage and processing locations to suit your needs.

More

Contact us to discuss your specific enterprise needs.

[ Minutes to launch ]

Quickstart

Our API is compatible with OpenAI and Anthropic’s SDKs. Migrating is as easy as generating an API key and changing a URL.

Start building
Installing Grok...

Grok 4.20: Available via API

Our flagship model with the lowest hallucination rate on the market and industry-leading speed, delivering precise, trustworthy responses.

View docs
[ For projects big and small ]

Models and pricing

grok-4.20-reasoning
New

Our 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.

Capabilities
Context window
2M
Text Input
$2.00
Image Input
-
Output
$6.00
grok-4.20-non-reasoning
New

Non-reasoning variant of Grok 4.20 for latency-sensitive use cases.

Capabilities
Context window
2M
Text Input
$2.00
Image Input
-
Output
$6.00
grok-4-1-fast-reasoning

Cost-efficient lightweight model that excels at tool-calling.

Capabilities
Context window
2M
Text Input
$0.20
Image Input
-
Output
$0.50
grok-4-1-fast-non-reasoning

Non-reasoning variant of Grok 4.1 Fast for latency-sensitive use cases.

Capabilities
Context window
2M
Text Input
$0.20
Image Input
-
Output
$0.50

All prices are per million tokens or as stated.

Full pricing can be found on our docs.

Cost calculator

0
500k
0
500k
0
5k
Cost$0.26
Large contexts are charged at $0.00 for input and $0.00 for output

Latest news

xAI joins SpaceX

SpaceX announced today that it has acquired xAI.

February 02, 2026

Grok Imagine API

State-of-the-art video generation across quality, cost, and latency.

January 28, 2026

xAI Raises $20B Series E

xAI is rapidly accelerating its progress in building advanced AI.

January 06, 2026