Get the app

Grok 4.7: price, context window and capabilities

Grok 4.7 is a model from xAI (x-ai/grok-4.7). It supports reasoning. It supports tool use. It costs $2.00 per million input tokens and $6.00 per million output tokens, with a 500K-token context window.

$2.00input / 1M tokens
$6.00output / 1M tokens
500Kcontext window
text+image+fileaccepts

What it costs in practice

Using the listed prices: a chat turn of 2,000 input and 500 output tokens costs about $0.0070, so 10,000 such turns cost about $70.00. Summarising a 100,000-token document into 2,000 tokens costs about $0.212. A long agent run that reads 1 million tokens and writes 50,000 costs about $2.30.

How it compares

Among the 40 models we track, Grok 4.7 ranks #29 by input price and #27 by output price (1 is cheapest), and #28 by context window (1 is largest). Models with the same tool and reasoning support that cost less per output token: DeepSeek V4 Pro 0423 ($0.418), Qwen3.8 Omni Flash ($0.470), Qwen3.8 Flash ($0.470), GPT-6 Luna Pro ($0.500). Models with a larger context window at the same or lower output price: Llama 4 Scout (1.3M), GPT-6 Luna Pro (1.1M), GPT-6 Luna (1.1M), Gemini 3.8 Flash (1.0M).

More from xAI

In the news

Prices and limits come from OpenRouter's public model catalogue, last synced 4 Oct 2026. Provider pricing can differ from OpenRouter's and changes often; confirm on the provider's own page before you commit. See the guide to choosing a model or the full comparison.

The daily AI brief, on your phone.

Feed, daily deep-dive and bytes — readable offline, with push alerts for the topics you follow.

Get it on Google Play