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

New

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

Grok 3 API: Available now

Were proud to bring you Grok 3 access on the API. Grok 3 currently supports text modality with vision, image gen and other capabilities coming soon.

[ For projects big and small ]

Models and pricing

grok-3-beta
New

Our flagship model that excels at enterprise tasks like data extraction, programming, and text summarization.

Capabilities
Context window
131072
Text Input
$3.00
Image Input
-
Output
$15.00
grok-3-mini-beta
New

A lightweight model that thinks before responding. Excels at quantitative tasks that involve math and reasoning.

Capabilities
Context window
131072
Text Input
$0.30
Image Input
-
Output
$0.50
grok-2-vision-1212

Our latest multimodal which processes documents, diagrams, charts, screenshots, and photographs.

Capabilities
Context window
8192
Text Input
$2.00
Image Input
-
Output
$10.00
grok-2-image-1212

Our latest image generation model capable of generating multiple images from text prompt.

Capabilities
Context window
131072
Text Input
-
Image Input
-
Output
$0.07per image

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

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