Grok 4.7 from SpaceXAI is now available on AI Gateway and 40% off through September 27. The discount applies automatically when you call spacexai/grok-4.7.
Grok 4.7 has a 500K token context window and supports low, medium, high, and xhigh reasoning levels, giving you control over the tradeoff between latency and depth.
Use spacexai/grok-4.7 everywhere you call the model. The same ID works with the AI SDK, the OpenAI-compatible Chat Completions API, and coding agents connected to AI Gateway:
To use Grok 4.7 in a coding agent, install the latest Vercel CLI and run setup:
Then select spacexai/grok-4.7 in fx, Cursor, Codex, Amp, OpenCode, or another supported agent. See the coding agents guide for agent-specific instructions.
To create a new eve agent with Grok 4.7 and xhigh reasoning, pass the same model ID to the initializer:
Grok 4.7 supports Zero Data Retention and disallow prompt training. Requests appear in AI Gateway logs, custom reporting, and budgets alongside your other models.
AI Gateway provides a unified API for calling models, tracking usage and cost, and configuring retries, failover, and performance optimizations for higher-than-provider uptime. It includes built-in custom reporting, budgets for API keys, routing rules, and more.
AI Gateway reflects provider pricing with no markup and does not charge a platform fee on inference, including on Bring Your Own Key (BYOK) requests.
Try Grok 4.7 in the model playground, or view all language models or check out more promotions on AI Gateway.