Frontier models for reasoning, voice, vision, and more. One unified API, every modality, production-ready in minutes.
Products
Capabilities
Powerful text and reasoning models for chat, analysis, and problem-solving.
Intelligent coding models for software engineering, building apps, and orchestrating agents.
Build real-time voice agents with speech-to-text, text-to-speech, and conversational AI capabilities.
Tap into the now with real-time search, pulling fresh, relevant data from the web and X instantly.
Generate high-quality images and short videos with synchronized audio from text prompts or static images.
Upload documents and let Grok intelligently search and reason over your PDFs, spreadsheets, presentations, and more.
Quickstart
Our API is compatible with OpenAI and Anthropic's SDKs. Migrating is as easy as generating an API key and changing a URL.
Our newest flagship model that leads the industry in non-hallucination rate and agentic tool calling capabilities. Supports both non-reasoning and reasoning modes.
xAI's fast coding model trained specifically for agentic coding, currently in early access.
| Model | Capabilities | Context window | Text Input | Output |
grok-4.3 NewOur newest flagship model that leads the industry in non-hallucination rate and agentic tool calling capabilities. Supports both non-reasoning and reasoning modes. | 1M | $1.25 | $2.50 | |
grok-build-0.1 NewxAI's fast coding model trained specifically for agentic coding, currently in early access. | 256k | $1.00 | $2.00 |
Image and video generation & editing
Text, Image → Image
Text, Image → Image
Text, Image, Video → Video
| Model | Media Input | Resolution | Output |
grok-imagine-image-quality Text, Image → Image | $0.01 / img | 1K | $0.05 / img |
| 2K | $0.07 / img | ||
grok-imagine-image Text, Image → Image | $0.002 / img | 1K | $0.02 / img |
| 2K | $0.02 / img | ||
grok-imagine-video Text, Image, Video → Video | $0.01 / sec $0.002 / img | 480p | $0.05 / sec |
| 720p | $0.07 / sec |
Realtime, TTS, and STT
| Mode | Cost |
| Realtime | $0.05 / min ($3.00 / hr) |
| Text to Speech | $15.00 / 1M characters |
| Speech to Text | $0.10 / hr (REST), $0.20 / hr (Streaming) |
All prices are per million tokens or as stated.
Full pricing can be found on our docs.
Deploy Grok through the cloud you already trust, with first-party support across the major platforms.
Launch your AI-powered product with:
Custom rate limits and hands-on support for your team.