OpenRouter exposes Grok 4.7 through model ID x-ai/grok-4.7. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.
Last refreshed 2026-09-21. Next refresh: weekly.
Quick Start
- 1
- 2Use the OpenRouter SDK or REST API to call
x-ai/grok-4.7— see the documentation for request format. - 3
Code Examples
Pricing on OpenRouter
| Type | Price (per 1M) |
|---|---|
| Input tokens | $1.60 |
| Output tokens | $4.80 |
Capabilities
VisionMultimodalReasoningJSON / Tool useStructured OutputsCode ExecutionPrompt Caching
About Grok 4.7
Grok 4.7 is xAI/SpaceXAI's September 21, 2026 frontier model for coding, agentic tasks, and knowledge work, succeeding Grok 4.6. Official docs publish API id grok-4.7 with text and image input, text output, a 500,000-token context window, no published text output limit, function calling, structured outputs, prompt caching, code execution, web search, X search, and configurable reasoning effort (low, medium, high default, or xhigh). Knowledge cutoff is May 2026. Batch API is not supported.
Model Specs
Released2026-09-21
Context500k
Knowledge cutoff2026-05