[ Elevate your apps ]
The Next Frontier in AI Integration
[ Capabilities ]

Models that fit your needs

Text

The cornerstone of interaction; summarize articles, generate creative writing, assist with coding tasks and more.

Vision

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

Tool calling

Harness external power with tool calling, seamlessly integrating third-party functions.

Structured outputs

Organize chaos with structured outputs, delivering clean, predictable responses.

Image generation

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

Coming soon

Search

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

Coming soon
[ 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...
[ Pricing ]

For developers of all kinds

grok-2-1212

Grok 2 model supporting function calling and structured outputs.

Context
131,072
Text Input
$2.00
Image Input
-
Completion
$10.00
grok-2-vision-1212

Grok 2 image understanding model capable of processing documents, diagrams, and more.

Context
32,768
Text Input
$2.00
Image Input
$2.00
Completion
$10.00

All pricing is per million tokens.

Full pricing can be found within the console.

Grok 3 coming soon

We're working hard to bring Grok 3 to the API. We'll be rolling out access soon.

Pricing calculator

0
10M+
0
10M+
Cost$30.00

Latest news

Grok 3

Grok 3 Beta — The Age of Reasoning Agents

We are thrilled to unveil an early preview of Grok 3, our most advanced model yet, blending superior reasoning with extensive pretraining knowledge.

February 19, 2025

Series C

xAI raises $6B Series C

We are partnering with A16Z, Blackrock, Fidelity Management & Research Company, Kingdom Holdings, Lightspeed, MGX, Morgan Stanley, OIA, QIA, Sequoia Capital, Valor Equity Partners and Vy Capital, amongst others.

December 23, 2024

Grok for all

Bringing Grok to Everyone

Grok is now faster, sharper, and has improved multilingual support. It is available to everyone on the 𝕏 platform.

December 12, 2024