Access 31 SpaceXAI models through the OpenRouter unified API including Grok 4.7, Grok 4.6, and Grok Imagine Image 2.0. Compare pricing, context windows, benchmarks, and capabilities between different SpaceXAI models.
SpaceXAI tokens processed on OpenRouter
OpenRouter serves 31 SpaceXAI models behind one OpenAI-compatible API. Create an OpenRouter API key, point your client at https://openrouter.ai/api/v1, and set the model to an ID such as x-ai/grok-4.7. The quickstart has request examples for every supported SDK.
Grok 4.20 Multi-Agent has the largest context window of any SpaceXAI model on OpenRouter, accepting up to 2,000,000 tokens per request.
Grok 4.7 is the most recently added SpaceXAI model on OpenRouter, listed on September 21, 2026.