x

xAI All Models

Published bySwift AI
11/12/2026

Endpoints

4

List Models
1

OpenAI compatible Endpoints
2

Anthropic Endpoints
1

What is the xAI All Models API?

50% Discount with Direct and highly available API for all Grok latest models: Grok-4.6, Grok-3, Grok Vision, and more.

xAI All Models API is available on the JoJ API marketplace. Subscribe with a single JoJ API key, call it through one gateway, and pay from one wallet — no separate account or contract with the provider.

xAI All Models API endpoints

  • GET/models

    List Models

    Return a list of available models on this API

  • POST/chat/completions

    Chat Completion

    Creates a model response for the given chat conversation.

  • POST/responses

    Responses

    Creates a model response. Provide text or image inputs to generate text or JSON outputs. Have the model call your own custom code or use built-in tools like web search or file search to use your own data as input for the model’s response.

  • POST/messages

    Messages

    The official Anthropic API endpoint for generating conversational responses using Claude models. This endpoint supports text and multimodal inputs, including images and documents, depending on the capabilities of the selected model. It also supports multi-turn conversations, system instructions, tool use (function calling), extended thinking, prompt caching, structured content blocks, and configurable generation parameters.

Frequently asked questions about xAI All Models API

How are credits calculated?

1M credits represent $1 which is calculated based on consumed model’s input and output pricing.

Does the API support streaming?

Yes, the API supports streaming.