Grok 4.7 pricing and routing

Grok 4.7 from xAI lists at $1.60 per million input tokens and $4.80 per million output tokens, with a 500,000-token context window. Prices from OpenRouter's catalogue on 2026-09-28.

Input, per 1M tokens$1.60
Output, per 1M tokens$4.80
Cached input, per 1M$0.40
Context window500K
Confidence signalavailable

Tool callingStructured outputReasoning controlConfidence signal

Cost

Cost per 1,000 requests

Grok 4.7 cost per 1,000 requests
Request shapeList cost
Classification or routing (600 tokens in, 10 out)$1.01
Chat reply (2,000 in, 400 out)$5.12
Retrieval-augmented answer (8,000 in, 500 out)$15.20

Before prompt caching. Try your own numbers in the cost calculator.

Routing

Can a cheaper model answer before it?

Yes. 4 of 4 tracked host endpoints report how sure Grok 4.7 is of each word, which is the signal Gimbix uses to let a cheaper model answer first.

Hosts

Who serves Grok 4.7

Hosts serving Grok 4.7
HostInput / output per 1MEndpointsConfidence signal
xAI$1.60–$3.20 / $4.80–$9.604yes

A host listed with more than one endpoint sells the model at more than one service tier. A host that lists the confidence signal may still omit it; Gimbix checks each one before relying on it.

Alternatives

Cheaper models that can answer first

Models priced below Grok 4.7 that expose a confidence signal. Whether they answer your traffic as well is what a Gimbix pilot measures.

Cost per 1,000 chat replies, to scale
Grok 4.7$5.12
GLM 5.3$4.56
GLM 5.1$4.56

Questions

Questions about Grok 4.7

How much does Grok 4.7 cost?

Grok 4.7 lists at $1.60 per million input tokens and $4.80 per million output tokens on OpenRouter as of 2026-09-28. A typical chat reply of 2,000 input and 400 output tokens costs about $5.12 per 1,000 requests.

What is the context window of Grok 4.7?

500,000 tokens.

Can a cheaper model replace Grok 4.7?

Sometimes. Gimbix checks on your own traffic before routing. First, on one set of your requests, the cheaper route must get at least as many right as the model you use today. Then comes a second set it has never seen. There it may get at most 3 wrong that your model got right, and at most 1 more wrong than it fixes.

See whether a cheaper model can carry your Grok 4.7 traffic

A pilot answers that on your own requests, with a receipt for every saving.

Request an AI cost review