#### Inference API

# Inference REST API Overview

The xAI Inference REST API is a robust, high-performance RESTful interface designed for seamless integration into existing systems.
It offers advanced AI capabilities with full compatibility with the OpenAI REST API.

The base for all routes is at `https://api.x.ai`. For all routes, you have to authenticate with the header `Authorization: Bearer <your xAI API key>`.

* [Chat](/developers/rest-api-reference/inference/chat)
* [Images](/developers/rest-api-reference/inference/images)
* [Videos](/developers/rest-api-reference/inference/videos)
* [Voice](/developers/rest-api-reference/inference/voice)
* [Models](/developers/rest-api-reference/inference/models)
* [Files](/developers/rest-api-reference/files)
* [Batches](/developers/rest-api-reference/inference/batches)
* [Other](/developers/rest-api-reference/inference/other)
* [Legacy & Deprecated](/developers/rest-api-reference/inference/legacy)
