Solo-fit verdict
Best forAdding Grok to an app on OpenAI SDKs, with long inputs or remote MCP tools
Skip ifYou want open-weight models you can self-host, or need a free tier
Verified Oct 5, 20263 sourcesLive
Editor notes
A first-party API for Grok models, compatible with OpenAI SDKs, with remote MCP tools, prompt caching and batch. Usage is billed per token; the console Playground is for testing, not free API use. Proprietary models only.
API for Grok models, plus image and video generation.
grok-4.7
About xAI API (Grok)
xAI's API serves the Grok models, led by grok-4.7 for coding and knowledge work with a 500k-token context, plus Grok Imagine image and video models. It supports OpenAI SDKs, remote MCP tools, prompt caching and batch.
Pricing
From the vendor's pricing pageVerified Oct 5, 2026
Price pending