7,363 open-source and SaaS tools, with GitHub stats refreshed every day.

xAI API

SaaS

The xAI API is a developer interface for accessing Grok language models built by xAI, intended for use inside external applications.

x.ai
xAI API homepage screenshot

About xAI API

The xAI API gives developers programmatic access to the Grok family of models developed by xAI. It lets applications send prompts and receive model output without running the models themselves.

The vendor's website could not be read for this entry, so details on supported features, model versions and plans are not included here. Interested teams should consult the vendor's documentation and sign-up pages for current capabilities.

Key features

  • API access to Grok models
  • Hosted inference run by xAI
  • Programmatic prompt and response handling
  • Developer-focused integration

Good fit for

  • →Adding Grok models to an application
Tags
llm-api
grok
generative-ai
api
xai
ai-infrastructure

xAI API: questions and answers

What is xAI API used for?
xAI API is a developer interface for accessing Grok language models built by xAI, intended for use inside external applications. It is a good fit for adding Grok models to an application.
How much does xAI API cost?
xAI API is a paid product with no free plan.
Is xAI API open source?
No. xAI API is proprietary (closed-source) software and can't be self-hosted. Open-source alternatives to xAI API include Ollama, llama.cpp and vLLM.
What are some alternatives to xAI API?
xAI API competes with OpenAI API Platform, Mistral AI and Cohere. For open-source options, see Enlisted's ranked list of open-source xAI API alternatives.

Open-source alternatives to xAI API

See all

SaaS alternatives to xAI API

See all