Home / APIs & tokens / xAI API

xAI API

xAI

What you will be able to buy

Plans

Пополнение баланса

  • The Grok lineup, from fast mini variants to larger reasoning models
  • Token-based pay-as-you-go billing
  • OpenAI-compatible endpoint means minimal code changes

Plan contents as published by the vendor; seller prices arrive at launch.

About the service

API for xAI's Grok models: chat and reasoning models with a large context window, image input and image generation. It supports function calling, structured output and modes with access to fresh information. The interface is compatible with the OpenAI and Anthropic formats, so migrating usually means swapping the base URL and key.

More in this category APIs & tokens