← All models

SpaceXAI: Grok 4.7

x-ai/grok-4.7

SpaceXAI: Grok 4.7 (x-ai/grok-4.7) costs $2 per 1M prompt tokens and $6 per 1M completion tokens, has a 500,000-token context window, and supports tool calling, structured outputs, reasoning and response format. Data updated 2026-10-30.

Prompt price
$2 / 1M tokens
Completion price
$6 / 1M tokens
Context
500,000 tokens
Input modalities
text, image, file
Output modalities
text
Tokenizer
Grok
Instruct type
—
Knowledge cutoff
—
Hugging Face
—

Last price change: 2026-09-28

Grok 4.7 is SpaceXAI's flagship model for coding, agentic tasks, and knowledge work, succeeding Grok 4.6. It is particularly strong at long-running software engineering tasks, verifying its own work, and...

Price history

$6$0$ per 1M tokens2026-09-212026-09-28PromptCompletion

View on OpenRouter