DocsAPI ReferenceCookbookConsole
Getting Started
Overview
Introduction
The Hitchhiker's Guide to Grok
Models and Pricing
What's New?
Key Information
Manage Billing
Consumption and Rate Limits
Regional Endpoints
Collections
new
Using Management API
Usage Explorer
Migrating to New Models
Debugging Errors
Guides
Stateful Responses
Chat
Chat with Reasoning
Tools
new
Files
new
Live Search
Using Collections
new
Image Understanding
Image Generations
Stream Response
Deferred Chat Completions
Asynchronous Requests
Function Calling
Structured Outputs
Fingerprint
Migration from Other Providers
Prompt Engineering for Grok Code
Grok Business / Enterprise
Grok.com User Guide
License & User Management
Organization Management
Resources
Community Integrations
FAQ - General
FAQ - xAI API
FAQ - Grok Website / Apps
Loading...

Getting started

Welcome

Welcome to the xAI developer docs! Our API makes it easy to harness Grok's intelligence in your projects. Grok is our flagship AI model designed to deliver truthful, insightful answers.

Jump right in

Quickstart

Create an API Key and make your first request.

Tool Use

Let Grok perform actions and look up information.

Images

Use Grok to analyze images or perform OCR.

Are you a non-developer or simply looking for our consumer services? Visit Grok.com or download one of the iOS or Android apps. See our Comparison Table for the differences.


Questions and feedback

If you have any questions or feedback, feel free to email us at support@x.ai.

Happy Grokking! 😎

    Advertisement