Grok
Our flagship assistant for reasoning, code, voice, images, and video. Available on web, iOS, Android, and X.
Use nowOur flagship assistant for reasoning, code, voice, images, and video. Available on web, iOS, Android, and X.
Use nowText, code, voice, images, and video through a single unified endpoint. Start building in seconds.
Build nowWe are a research lab building AI to accelerate human scientific discovery and understand the universe.
Learn morexAI 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 moreText, code, voice, images, and video — all through a single unified API. Start building in seconds.
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)
Higher limits, early access to new models, and priority compute.
Our most capable model yet, with stronger reasoning, longer context, and substantially better coding performance across every benchmark we track.
ReadDevelopers can now select Grok directly inside GitHub Copilot, bringing frontier reasoning into the editor where the work already happens.
ReadA conversational agent that lives where your team already works, answering questions with the full context of your workspace.
ReadA new image model with sharper typography, more faithful prompt adherence, and a much better sense of composition and light.
Read