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
Using Management API
Usage Explorer
Migrating to New Models
Debugging Errors
Guides
Responses API
Tools
Files
Using Collections
Image Understanding
Image Generation and Edit
updates
Video Generation and Edit
new
Voice
new
Stream Response
Asynchronous Requests
Function Calling
Structured Outputs
Batch API
new
Migration from Other Providers
Prompt Engineering for Grok Code
Deferred Chat Completions
Fingerprint
Chat Completions (Deprecated)
Grok Business / Enterprise
Grok.com User Guide
License & User Management
Organization Management
Apps
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.

    Advertisement