Grok

Our flagship assistant for reasoning, code, voice, images, and video. Available on web, iOS, Android, and X.

Use now

API

Text, code, voice, images, and video through a single unified endpoint. Start building in seconds.

Build now

Company

We are a research lab building AI to accelerate human scientific discovery and understand the universe.

Learn more

Understand
the universe

xAI is a research lab with a single mission: to understand the true nature of the universe. We build models that reason from first principles, and the infrastructure to train them at a scale no one else has attempted.

Learn more
300M+
Queries processed daily
150K
GPUs running in Colossus
1
Mission to understand the universe
For developers

One API.
Every modality.

Text, code, voice, images, and video — all through a single unified API. Start building in seconds.

1M+
API calls per day
<200ms
Median latency
5+
Model families
quickstart.py
from xai_sdk import Client
from xai_sdk.chat import user

client = Client(api_key="xai-...")

chat = client.chat.create(model="grok-4.6")
chat.append(user("Explain quantum computing"))

response = chat.sample()
print(response.content)
SuperGrok

Higher limits, early access to new models, and priority compute.

Sign up now

News

All posts
  • Model release

    Introducing Grok 4.6

    Our most capable model yet, with stronger reasoning, longer context, and substantially better coding performance across every benchmark we track.

    Read
  • Partnership

    Grok 4.6 in GitHub Copilot

    Developers can now select Grok directly inside GitHub Copilot, bringing frontier reasoning into the editor where the work already happens.

    Read
  • Product

    Introducing Grok Bot

    A conversational agent that lives where your team already works, answering questions with the full context of your workspace.

    Read
  • Product

    Imagine Image 2.0

    A new image model with sharper typography, more faithful prompt adherence, and a much better sense of composition and light.

    Read