Grok API / xAI API

Grok API & xAI API gateway

Grok models through one OpenAI-compatible API entry point.

Grok is the model family developed by xAI. This gateway provides a unified way to call supported Grok models, manage keys and quotas, inspect request status, and review token usage and cost alongside other AI providers.

Supported Grok modelsOpenAI-compatible requestsDedicated Grok statusUsage logs & unified billing

What are Grok API and xAI API?

Grok is xAI's family of generative AI models, while xAI API is the developer interface used to call those models. Applications typically send a model name, messages and generation parameters, then receive a structured model response.

Use Grok with familiar OpenAI-compatible clients

Supported Grok routes accept OpenAI-compatible request shapes, so many SDKs, coding tools and agent frameworks can switch by changing the base URL, API key and model name instead of adopting a separate client stack.

Status, usage and pricing stay visible

Grok groups have their own request-status view instead of being mixed with GPT or Codex groups. The same portal records tokens, latency and cost so teams can compare Grok with GPT, Claude and Gemini using consistent operational data.

Q

Is Grok made by xAI?

Yes. Grok is a model family developed by xAI, and the xAI API is the developer-facing interface for accessing supported Grok models.

Q

Can I call Grok with an OpenAI-compatible SDK?

Yes for supported Grok routes. Configure the gateway base URL, API key and an available Grok model name while keeping the familiar OpenAI-compatible request format.

Q

Which Grok models are available?

Availability changes as channels and models are updated. Check the model list for current names and the Grok request-status section for live group availability.

Q

How is Grok API usage billed?

Use an eligible plan or wallet balance. Usage logs show the model, tokens and recorded cost for each request so spending remains auditable.

One API, multiple choices

Start using the Grok API gateway