xAI
xAI is an AI research lab founded by Elon Musk. The xAI API exposes Grok foundation models for chat, function calling, vision, voice, image generation, and video generation, alongside research outputs from the Colossus training supercluster.
xAI publishes 17 API contracts indexed on the APIs.io network, including Api Key API, Chat API, Complete API, and 14 more. Tagged areas include Artificial Intelligence, LLM, Foundation Models, Grok, and Generative AI.
The xAI catalog on APIs.io includes 1 event-driven AsyncAPI specification and 1 Spectral governance ruleset.
xAI’s developer surface includes engineering blog, authentication, documentation, and 11 more developer resources.
What this lets a business do 2
Business capabilities this provider's published APIs can perform, derived from its own contracts. Browse all capabilities →
Kin Score
Markets this provider is in provisional
The Kin Score Market layer reads a provider inside its market: its position, and how deep its integrations go. Depth is only comparable within a position. Provisional and unweighted: not part of the Kin Score or agent readiness.
| Market | Position | Depth | Registered MCP server | Declares compatibility |
|---|---|---|---|---|
| Speech and Voice AI | covered | 51.8 | - | 1 |
| GitHub Marketplace (GitHub-native publisher layer) | covered | 51.8 | - | 1 |
| Jamstack Hosting Integrations (Vercel Marketplace and Netlify Integrations publishers) | covered | 51.8 | - | 1 |
| Obsidian Community Plugins (third-party APIs the Obsidian plugin ecosystem integrates) | covered | 51.8 | - | 1 |
| Hugging Face Hub Organisations | covered | 51.8 | - | 1 |
Registered MCP server and declares compatibility are report only — not weighted. Undeclared means we found nothing we can read, so there is no number: we never infer integrations.
Standards implemented 4
Standards this provider implements or carries. De facto ones are profiled and measured by the API Commons; formal ones come from the standards directory and are linked by the provider's own tags. The evidence column says how each claim was established — not that it was made.
APIs 17
Individual APIs this provider publishes, each with its own machine-readable definition.
xAI Api Key API
The Api Key API from xAI — 1 operation(s) for api key.
xAI Chat API
The Chat API from xAI — 2 operation(s) for chat.
xAI Complete API
The Complete API from xAI — 1 operation(s) for complete.
xAI Completions API
The Completions API from xAI — 1 operation(s) for completions.
xAI Documents API
The Documents API from xAI — 1 operation(s) for documents.
xAI Embedding Models API
The Embedding Models API from xAI — 2 operation(s) for embedding models.
xAI Embeddings API
The Embeddings API from xAI — 1 operation(s) for embeddings.
xAI Files API
The Files API from xAI — 3 operation(s) for files.
xAI Image Generation Models API
The Image Generation Models API from xAI — 2 operation(s) for image generation models.
xAI Images API
The Images API from xAI — 2 operation(s) for images.
xAI Language Models API
The Language Models API from xAI — 2 operation(s) for language models.
xAI Messages API
The Messages API from xAI — 1 operation(s) for messages.
xAI Models API
The Models API from xAI — 2 operation(s) for models.
xAI Responses API
The Responses API from xAI — 2 operation(s) for responses.
xAI Tokenize Text API
The Tokenize Text API from xAI — 1 operation(s) for tokenize text.
xAI Video Generation Models API
The Video Generation Models API from xAI — 2 operation(s) for video generation models.
xAI Videos API
The Videos API from xAI — 4 operation(s) for videos.
Scroll for all 17
Open Collections 2
Open, tool-agnostic API collections (OpenAPI-derived and Bruno).
xAI's REST v1 API
OPEN COLLECTIONxAI's REST API
OPEN COLLECTIONMCP Servers 1
Model Context Protocol servers that expose these APIs to AI agents.
xAI API pricing
Not yet checked against xAI's own pricing page. Compiled by API Evangelist on 2026-05-08 from x.ai/; confirm before you rely on a figure.
| Plan | Price |
|---|---|
| Pay-as-you-go (API) usage | — |
| Batch API usage | — |
| Enterprise / Custom enterprise | — |
Plan details, limits and sources →
Rate limits
- Requests Per Minute (RPM): see provider documentation requests
- Tokens Per Minute (TPM): see provider documentation tokens
- Batch API: not counted against synchronous limits requests
Compiled by API Evangelist, not yet checked against xAI's documentation. Rate-limit details →
Pricing Plans 1
Published pricing tiers and plan structures.
Xai Plans Pricing
PLANSRate Limits 1
Documented rate limits and quota policies.
Xai Rate Limits
RATE LIMITSService Levels 1
Uptime the provider promises or reports, as SLA4OAI. Read from its own pages; APIs.io runs no monitors.
xAI
SLAFinOps 1
Cost, billing, and metering signals for API financial operations.
Xai Finops
FINOPSEvent Specifications 1
AsyncAPI definitions for this provider's event-driven and streaming APIs.
xAI Realtime WebSocket APIs
AsyncAPI 2.6 description of xAI's documented WebSocket APIs: - Real-time Speech-to-Text (STT) streaming at wss://api.x.ai/v1/stt - Voice Agent (bidirectional speech-to-speech) a...
ASYNCAPISpectral Rules 1
Spectral governance rulesets for linting and validating these APIs.
xAI — asyncapi rules
SPECTRALSecurity Posture 4
Authentication, domain security, vulnerability disclosure, and trust-center signals.
Agentic Access 1
Recommended x-agentic-access execution contracts for AI agents.
Resources
Documentation 1
Reference material describing how the API behaves
Agent Surfaces 1
MCP servers, agent skills, and machine-readable catalogs
Build 1
SDKs, sample code, and the tooling you integrate with
Access & Security 4
Authentication, authorization, and security posture
Operate 1
Status, limits, changes, and where to get help
Commercial 2
Pricing, plans, and the legal terms of use
Company 3
The organization behind the API
Other 1
Properties that don't map to a standard resource type
Source (apis.yml)
xAI API — frequently asked questions
Does xAI have an API?
Yes. APIs.io lists 17 APIs from xAI, including xAI Api Key API, xAI Chat API and xAI Complete API, and 14 more.
Is there an OpenAPI specification for the xAI API?
Yes. APIs.io indexes 17 OpenAPI specifications for xAI, each linked for download from this page.
How do I authenticate with the xAI API?
xAI uses bearer-token authentication (http · 1 scheme). The details are profiled on APIs.io as Xai Authentication.
How much does the xAI API cost?
APIs.io lists 3 pricing plans for xAI, with each plan's price, limits and inclusions under Pricing on this page.
Does xAI have an MCP server?
Yes. APIs.io lists 1 MCP server for xAI: Remote MCP server at docs.x.ai over HTTP; 4 tools listed.
Is the xAI API ready for AI agents?
xAI has a Kin Score of 32.8 out of 100 (thin) and an Agent Readiness score of 38.8 (agent-ready), scored by API Evangelist on 2026-11-06.
Work with this as data
Every provider here is available over the APIs.io API and to AI agents over MCP.