


Products by X.AI LLC
Grok
Grok by xAI
Overview
What is Grok?
Grok is a family of Large Language Models (LLMs) developed by xAI.
Inspired by the Hitchhiker's Guide to the Galaxy, Grok is a maximally truth-seeking AI that provides insightful, unfiltered truths about the universe.
xAI offers an API for developers to programmatically interact with our Grok models.
What is the xAI API? How is it different from Grok in other services?
The xAI API is a toolkit for developers to integrate xAI's Grok models into their own applications, the xAI API provides the building blocks to create new AI experiences.
Models and Pricing
Grok is our family of flagship LLMs. Our latest models are grok-2-1212 and grok-2-vision-1212
Grok 3 is coming soon.
Instructions
Installing the integration
On installing the xAI integration you will be provided the option to add Grok and purchase credits.
Once installed, you can start using Grok immediately with an API key that is automatically provisioned for you.
API Keys
Your product will provide you access to an API key via anXAI_API_KEY
environment variable.
xAI Console
Clicking "Open in Grok" allows you to explore the available models in the xAI console. You can also experiment with them in the playground before integrating them into your application. Our API supports OpenAI, and Anthropic compatible endpoints, making it easy to get started without writing custom code.
Check out the tutorial in our docs for more information.