xAI website screenshot

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 10 more developer resources.

31.5/100 thin ▬ flat Agent 33/100 agent ready Front door AI 4/6 moderate saas Full breakdown ↓
scored 2026-10-17 · rubric v0.24.0
AccessPaid
1 published contract 1 MCP Servers
Artificial IntelligenceLLMFoundation ModelsGrokGenerative AIReal-TimeImage GenerationVideo Generation

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-10-17 · rubric v0.24.0
Regulatory Posture applies to this provider. Its tags matched the AI & Biometrics regime, so Regulatory Posture carries 15 points of the composite. If this regime is wrong for your business, say so on your provider repo — the applicability map is public and we will correct it.
Create-or-Update Ergonomics applies to this provider. This API accepts writes, so it carries 10 points of the composite. It is scored from the published contracts themselves: whether a caller can create-or-update in one call, whether the write accepts a key the caller already holds, and whether the response says which branch ran. Without that, every write needs a search-and-branch in front of it, and the first time that check is skipped a duplicate record is created. Scored against the observed mean rather than raw — a provider at the catalog average is unchanged by this facet, not penalised by it.
The six quality facets above are damped to 75 points between them, because the conditional facet above carries the other 25. That is why each facet's contribution is shown against a damped maximum: raising a quality facet moves the composite by 75% of its nominal weight, not 100%. The full arithmetic is at apis.io/rating/.
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. Every facet and dimension name above is a link: it opens that measurement's own page — what it means, the exact checks that feed it, how the whole catalog distributes on it, and the providers at the top of it. This rating is computed from github.com/api-evangelist/xai: open an issue to ask a question, or submit a pull request to add artifacts. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

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.

MarketPositionDepthRegistered MCP serverDeclares compatibility
Speech and Voice AI covered 41.9 - -

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 2

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.

declared — publishes a spec that declares them
2 core of 244 operations graded · api-commons/models
The OpenAI Interface reaches extended
declared — publishes a spec that declares them
2 core of 338 operations graded · api-commons/models

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 3

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

API Collection

OPEN COLLECTION

xAI's REST v1 API

OPEN COLLECTION

xAI's REST API

OPEN COLLECTION

MCP Servers 1

Model Context Protocol servers that expose these APIs to AI agents.

xAI MCP Server

Remote MCP server at docs.x.ai over HTTP; 4 tools listed.

MCP SERVER

Pricing Plans 1

Published pricing tiers and plan structures.

Xai Plans Pricing

3 plans

PLANS

Rate Limits 1

Documented rate limits and quota policies.

Xai Rate Limits

3 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Xai Finops

FINOPS

Event 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...

ASYNCAPI

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs.

xAI — asyncapi rules

8 rules · 1 errors 7 warnings

SPECTRAL

Security Posture 4

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Xai Authentication

http · 1 scheme

SECURITY

Xai Domain Security

TLSv1.3 · HSTS · DMARC

SECURITY

Xai Vulnerability Disclosure

security.txt · contact published

SECURITY

Xai Trust Center

HIPAA, GDPR

SECURITY

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Xai Agentic Access

33 operations · 15 acting

33 operations · 15 acting

AGENTIC

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

Source (apis.yml)

apis.yml Raw ↑
aid: xai
url: https://raw.githubusercontent.com/api-evangelist/xai/refs/heads/main/apis.yml
name: xAI
kind: company
description: 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.
deliveryModel:
  model: saas
  open_source: false
  commercial: true
  callable_host: true
  label: Hosted service · you call their endpoint
  confidence: high
  source:
  - openapi
  - pricing
  generated: '2026-08-28'
  method: derived
accessModel:
  pricing: paid
  onboarding: unknown
  trial: false
  try_now: false
  public: false
  label: Paid
  confidence: medium
  source:
  - plans
  - authentication
  - security
  generated: '2026-09-03'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/xai.png
tags:
- Artificial Intelligence
- LLM
- Foundation Models
- Grok
- Generative AI
- Real-Time
- Image Generation
- Video Generation
tags_raw:
- AI
- LLM
- Foundation Models
- Grok
- Generative AI
- Real-Time
- Image Generation
- Video Generation
created: '2026-05-08'
modified: '2026-10-06'
specificationVersion: '0.23'
apis:
- aid: xai:xai-api-key-api
  name: xAI Api Key API
  description: The Api Key API from xAI — 1 operation(s) for api key.
  humanURL: https://docs.x.ai/docs/api-reference
  baseURL: https://api.x.ai/v1
  tags:
  - APIKeys
  tags_raw:
  - Api Key
  properties:
  - type: OpenAPI
    url: openapi/xai-api-key-api-openapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/overview
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#chat-completions
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#responses
  - type: Documentation
    url: https://docs.x.ai/docs/guides/image-generations
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#image-generations
  - type: Documentation
    url: https://docs.x.ai/docs/guides/video-generation
  - type: Documentation
    url: https://docs.x.ai/docs/guides/voice
  - type: AsyncAPI
    url: asyncapi/xai-asyncapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/guides/embeddings
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#models
  - type: Documentation
    url: https://docs.x.ai/docs/guides/batch
- aid: xai:xai-chat-api
  name: xAI Chat API
  description: The Chat API from xAI — 2 operation(s) for chat.
  humanURL: https://docs.x.ai/docs/api-reference
  baseURL: https://api.x.ai/v1
  tags:
  - Chat
  properties:
  - type: OpenAPI
    url: openapi/xai-chat-api-openapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/overview
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#chat-completions
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#responses
  - type: Documentation
    url: https://docs.x.ai/docs/guides/image-generations
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#image-generations
  - type: Documentation
    url: https://docs.x.ai/docs/guides/video-generation
  - type: Documentation
    url: https://docs.x.ai/docs/guides/voice
  - type: AsyncAPI
    url: asyncapi/xai-asyncapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/guides/embeddings
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#models
  - type: Documentation
    url: https://docs.x.ai/docs/guides/batch
- aid: xai:xai-complete-api
  name: xAI Complete API
  description: The Complete API from xAI — 1 operation(s) for complete.
  humanURL: https://docs.x.ai/docs/api-reference
  baseURL: https://api.x.ai/v1
  tags:
  - Complete
  properties:
  - type: OpenAPI
    url: openapi/xai-complete-api-openapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/overview
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#chat-completions
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#responses
  - type: Documentation
    url: https://docs.x.ai/docs/guides/image-generations
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#image-generations
  - type: Documentation
    url: https://docs.x.ai/docs/guides/video-generation
  - type: Documentation
    url: https://docs.x.ai/docs/guides/voice
  - type: AsyncAPI
    url: asyncapi/xai-asyncapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/guides/embeddings
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#models
  - type: Documentation
    url: https://docs.x.ai/docs/guides/batch
- aid: xai:xai-completions-api
  name: xAI Completions API
  description: The Completions API from xAI — 1 operation(s) for completions.
  humanURL: https://docs.x.ai/docs/api-reference
  baseURL: https://api.x.ai/v1
  tags:
  - Completions
  properties:
  - type: OpenAPI
    url: openapi/xai-completions-api-openapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/overview
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#chat-completions
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#responses
  - type: Documentation
    url: https://docs.x.ai/docs/guides/image-generations
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#image-generations
  - type: Documentation
    url: https://docs.x.ai/docs/guides/video-generation
  - type: Documentation
    url: https://docs.x.ai/docs/guides/voice
  - type: AsyncAPI
    url: asyncapi/xai-asyncapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/guides/embeddings
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#models
  - type: Documentation
    url: https://docs.x.ai/docs/guides/batch
- aid: xai:xai-documents-api
  name: xAI Documents API
  description: The Documents API from xAI — 1 operation(s) for documents.
  humanURL: https://docs.x.ai/docs/api-reference
  baseURL: https://api.x.ai/v1
  tags:
  - Documents
  properties:
  - type: OpenAPI
    url: openapi/xai-documents-api-openapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/overview
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#chat-completions
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#responses
  - type: Documentation
    url: https://docs.x.ai/docs/guides/image-generations
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#image-generations
  - type: Documentation
    url: https://docs.x.ai/docs/guides/video-generation
  - type: Documentation
    url: https://docs.x.ai/docs/guides/voice
  - type: AsyncAPI
    url: asyncapi/xai-asyncapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/guides/embeddings
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#models
  - type: Documentation
    url: https://docs.x.ai/docs/guides/batch
- aid: xai:xai-embedding-models-api
  name: xAI Embedding Models API
  description: The Embedding Models API from xAI — 2 operation(s) for embedding models.
  humanURL: https://docs.x.ai/docs/api-reference
  baseURL: https://api.x.ai/v1
  tags:
  - Embedding Models
  properties:
  - type: OpenAPI
    url: openapi/xai-embedding-models-api-openapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/overview
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#chat-completions
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#responses
  - type: Documentation
    url: https://docs.x.ai/docs/guides/image-generations
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#image-generations
  - type: Documentation
    url: https://docs.x.ai/docs/guides/video-generation
  - type: Documentation
    url: https://docs.x.ai/docs/guides/voice
  - type: AsyncAPI
    url: asyncapi/xai-asyncapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/guides/embeddings
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#models
  - type: Documentation
    url: https://docs.x.ai/docs/guides/batch
- aid: xai:xai-embeddings-api
  name: xAI Embeddings API
  description: The Embeddings API from xAI — 1 operation(s) for embeddings.
  humanURL: https://docs.x.ai/docs/api-reference
  baseURL: https://api.x.ai/v1
  tags:
  - Embeddings
  properties:
  - type: OpenAPI
    url: openapi/xai-embeddings-api-openapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/overview
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#chat-completions
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#responses
  - type: Documentation
    url: https://docs.x.ai/docs/guides/image-generations
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#image-generations
  - type: Documentation
    url: https://docs.x.ai/docs/guides/video-generation
  - type: Documentation
    url: https://docs.x.ai/docs/guides/voice
  - type: AsyncAPI
    url: asyncapi/xai-asyncapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/guides/embeddings
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#models
  - type: Documentation
    url: https://docs.x.ai/docs/guides/batch
- aid: xai:xai-files-api
  name: xAI Files API
  description: The Files API from xAI — 3 operation(s) for files.
  humanURL: https://docs.x.ai/docs/api-reference
  baseURL: https://api.x.ai/v1
  tags:
  - File
  tags_raw:
  - Files
  properties:
  - type: OpenAPI
    url: openapi/xai-files-api-openapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/overview
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#chat-completions
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#responses
  - type: Documentation
    url: https://docs.x.ai/docs/guides/image-generations
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#image-generations
  - type: Documentation
    url: https://docs.x.ai/docs/guides/video-generation
  - type: Documentation
    url: https://docs.x.ai/docs/guides/voice
  - type: AsyncAPI
    url: asyncapi/xai-asyncapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/guides/embeddings
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#models
  - type: Documentation
    url: https://docs.x.ai/docs/guides/batch
- aid: xai:xai-image-generation-models-api
  name: xAI Image Generation Models API
  description: The Image Generation Models API from xAI — 2 operation(s) for image generation models.
  humanURL: https://docs.x.ai/docs/api-reference
  baseURL: https://api.x.ai/v1
  tags:
  - Image Generation Models
  properties:
  - type: OpenAPI
    url: openapi/xai-image-generation-models-api-openapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/overview
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#chat-completions
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#responses
  - type: Documentation
    url: https://docs.x.ai/docs/guides/image-generations
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#image-generations
  - type: Documentation
    url: https://docs.x.ai/docs/guides/video-generation
  - type: Documentation
    url: https://docs.x.ai/docs/guides/voice
  - type: AsyncAPI
    url: asyncapi/xai-asyncapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/guides/embeddings
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#models
  - type: Documentation
    url: https://docs.x.ai/docs/guides/batch
- aid: xai:xai-images-api
  name: xAI Images API
  description: The Images API from xAI — 2 operation(s) for images.
  humanURL: https://docs.x.ai/docs/api-reference
  baseURL: https://api.x.ai/v1
  tags:
  - Image
  tags_raw:
  - Images
  properties:
  - type: OpenAPI
    url: openapi/xai-images-api-openapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/overview
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#chat-completions
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#responses
  - type: Documentation
    url: https://docs.x.ai/docs/guides/image-generations
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#image-generations
  - type: Documentation
    url: https://docs.x.ai/docs/guides/video-generation
  - type: Documentation
    url: https://docs.x.ai/docs/guides/voice
  - type: AsyncAPI
    url: asyncapi/xai-asyncapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/guides/embeddings
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#models
  - type: Documentation
    url: https://docs.x.ai/docs/guides/batch
- aid: xai:xai-language-models-api
  name: xAI Language Models API
  description: The Language Models API from xAI — 2 operation(s) for language models.
  humanURL: https://docs.x.ai/docs/api-reference
  baseURL: https://api.x.ai/v1
  tags:
  - Language Models
  properties:
  - type: OpenAPI
    url: openapi/xai-language-models-api-openapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/overview
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#chat-completions
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#responses
  - type: Documentation
    url: https://docs.x.ai/docs/guides/image-generations
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#image-generations
  - type: Documentation
    url: https://docs.x.ai/docs/guides/video-generation
  - type: Documentation
    url: https://docs.x.ai/docs/guides/voice
  - type: AsyncAPI
    url: asyncapi/xai-asyncapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/guides/embeddings
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#models
  - type: Documentation
    url: https://docs.x.ai/docs/guides/batch
- aid: xai:xai-messages-api
  name: xAI Messages API
  description: The Messages API from xAI — 1 operation(s) for messages.
  humanURL: https://docs.x.ai/docs/api-reference
  baseURL: https://api.x.ai/v1
  tags:
  - Message
  tags_raw:
  - Messages
  properties:
  - type: OpenAPI
    url: openapi/xai-messages-api-openapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/overview
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#chat-completions
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#responses
  - type: Documentation
    url: https://docs.x.ai/docs/guides/image-generations
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#image-generations
  - type: Documentation
    url: https://docs.x.ai/docs/guides/video-generation
  - type: Documentation
    url: https://docs.x.ai/docs/guides/voice
  - type: AsyncAPI
    url: asyncapi/xai-asyncapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/guides/embeddings
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#models
  - type: Documentation
    url: https://docs.x.ai/docs/guides/batch
- aid: xai:xai-models-api
  name: xAI Models API
  description: The Models API from xAI — 2 operation(s) for models.
  humanURL: https://docs.x.ai/docs/api-reference
  baseURL: https://api.x.ai/v1
  tags:
  - Models
  properties:
  - type: OpenAPI
    url: openapi/xai-models-api-openapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/overview
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#chat-completions
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#responses
  - type: Documentation
    url: https://docs.x.ai/docs/guides/image-generations
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#image-generations
  - type: Documentation
    url: https://docs.x.ai/docs/guides/video-generation
  - type: Documentation
    url: https://docs.x.ai/docs/guides/voice
  - type: AsyncAPI
    url: asyncapi/xai-asyncapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/guides/embeddings
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#models
  - type: Documentation
    url: https://docs.x.ai/docs/guides/batch
- aid: xai:xai-responses-api
  name: xAI Responses API
  description: The Responses API from xAI — 2 operation(s) for responses.
  humanURL: https://docs.x.ai/docs/api-reference
  baseURL: https://api.x.ai/v1
  tags:
  - Responses
  properties:
  - type: OpenAPI
    url: openapi/xai-responses-api-openapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/overview
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#chat-completions
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#responses
  - type: Documentation
    url: https://docs.x.ai/docs/guides/image-generations
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#image-generations
  - type: Documentation
    url: https://docs.x.ai/docs/guides/video-generation
  - type: Documentation
    url: https://docs.x.ai/docs/guides/voice
  - type: AsyncAPI
    url: asyncapi/xai-asyncapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/guides/embeddings
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#models
  - type: Documentation
    url: https://docs.x.ai/docs/guides/batch
- aid: xai:xai-tokenize-text-api
  name: xAI Tokenize Text API
  description: The Tokenize Text API from xAI — 1 operation(s) for tokenize text.
  humanURL: https://docs.x.ai/docs/api-reference
  baseURL: https://api.x.ai/v1
  tags:
  - Tokenize Text
  properties:
  - type: OpenAPI
    url: openapi/xai-tokenize-text-api-openapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/overview
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#chat-completions
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#responses
  - type: Documentation
    url: https://docs.x.ai/docs/guides/image-generations
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#image-generations
  - type: Documentation
    url: https://docs.x.ai/docs/guides/video-generation
  - type: Documentation
    url: https://docs.x.ai/docs/guides/voice
  - type: AsyncAPI
    url: asyncapi/xai-asyncapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/guides/embeddings
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#models
  - type: Documentation
    url: https://docs.x.ai/docs/guides/batch
- aid: xai:xai-video-generation-models-api
  name: xAI Video Generation Models API
  description: The Video Generation Models API from xAI — 2 operation(s) for video generation models.
  humanURL: https://docs.x.ai/docs/api-reference
  baseURL: https://api.x.ai/v1
  tags:
  - Video Generation Models
  properties:
  - type: OpenAPI
    url: openapi/xai-video-generation-models-api-openapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/overview
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#chat-completions
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#responses
  - type: Documentation
    url: https://docs.x.ai/docs/guides/image-generations
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#image-generations
  - type: Documentation
    url: https://docs.x.ai/docs/guides/video-generation
  - type: Documentation
    url: https://docs.x.ai/docs/guides/voice
  - type: AsyncAPI
    url: asyncapi/xai-asyncapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/guides/embeddings
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#models
  - type: Documentation
    url: https://docs.x.ai/docs/guides/batch
- aid: xai:xai-videos-api
  name: xAI Videos API
  description: The Videos API from xAI — 4 operation(s) for videos.
  humanURL: https://docs.x.ai/docs/api-reference
  baseURL: https://api.x.ai/v1
  tags:
  - Video
  tags_raw:
  - Videos
  properties:
  - type: OpenAPI
    url: openapi/xai-videos-api-openapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/overview
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#chat-completions
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#responses
  - type: Documentation
    url: https://docs.x.ai/docs/guides/image-generations
  - type: APIReference
    url: https://docs.x.ai/docs/api-reference#image-generations
  - type: Documentation
    url: https://docs.x.ai/docs/guides/video-generation
  - type: Documentation
    url: https://docs.x.ai/docs/guides/voice
  - type: AsyncAPI
    url: asyncapi/xai-asyncapi.yml
  - type: Documentation
    url: https://docs.x.ai/docs/guides/embeddings
  - type: Documentation
    url: https://docs.x.ai/docs/api-reference#models
  - type: Documentation
    url: https://docs.x.ai/docs/guides/batch
common:
- url: https://x.ai/news
  type: Blog
- type: AgenticAccess
  url: agentic-access/xai-agentic-access.yml
- type: TrustCenter
  url: security/xai-trust-center.yml
- type: VulnerabilityDisclosure
  url: security/xai-vulnerability-disclosure.yml
- type: DomainSecurity
  url: security/xai-domain-security.yml
- type: Authentication
  url: authentication/xai-authentication.yml
- type: GitHubOrganization
  url: https://github.com/xai-org
- type: LinkedIn
  url: https://www.linkedin.com/company/x-ai
- type: Website
  url: https://x.ai/
- type: Documentation
  url: https://docs.x.ai/
- type: Plans
  url: plans/xai-plans-pricing.yml
- type: RateLimits
  url: rate-limits/xai-rate-limits.yml
- type: FinOps
  url: finops/xai-finops.yml
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com

Work with this as data

Every provider here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/xai"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/xai/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/xai/evidence"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.