LLM Reference
OpenRouter

Grok 4.7 on OpenRouter

Grok 4 · xAI

Serverless

Last refreshed 2026-09-21. Next refresh: weekly.

Why use Grok 4.7 on OpenRouter?

OpenRouter offers Grok 4.7 with pay-as-you-go pricing at $1.60/1M input tokens. OpenRouter is a multi-provider LLM aggregator offering unified API access to 300+ models from all major labs and emerging providers, with automatic failover for reliability.

Compare Grok 4.7 across 2 providers to find the best fit for your use case
Input / 1M
$1.60
Output / 1M
$4.80
Cache
read $0.40
Batch
Not sourced

Setup recipe

Docs fallback
Install
Use the provider REST API or SDK
Auth
Create a provider API key
Call
model: x-ai/grok-4.7
Model ID
x-ai/grok-4.7

Request example

Curated snippets for this provider are not sourced yet. Use OpenRouter documentation with model ID x-ai/grok-4.7.

Gotchas

  • Use provider model ID "x-ai/grok-4.7", not the LLMReference slug "grok-4.7".

Compare Grok 4.7 Across Providers

ProviderInput (per 1M)Output (per 1M)
xAI Console$2.00$6.00
OpenRouter$1.60$4.80

Pricing

TypePrice (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.

Get Started

Model Specs

Released2026-09-21
Context500k
Knowledge cutoff2026-05