Skip to main content
xAI Grok

Grok 4.7 pricing, context window and limits

Grok 4.7 costs $2 per million input tokens and $6 per million output tokens at xAI Grok list price. It accepts up to 500,000 tokens of context and returns up to 500,000 tokens.

  • Model id grok-4.7
  • Snapshot

What does Grok 4.7 cost?​

List prices in US dollars per million tokens
Input$2
Output$6
Cached input (read)$0.5
Cache write—

US dollars per million tokens. A dash means no price is published.

How much can Grok 4.7 read and write?​

Token limits
Context window500,000
Max output500,000

What can Grok 4.7 do?​

Capabilities
Vision (image input)Yes
Tool callingYes
Structured outputYes
ReasoningYes
Inputtext, image, pdf
Outputtext

What does a request to Grok 4.7 cost?​

Cost of example requests at list price, in US dollars
A typical request: 1,000 tokens in, 500 out$0.005
A long request: 10,000 tokens in, 1,000 out$0.026
1,000 typical requests$5
1 million tokens in and 1 million out$8

Input read from the provider's prompt cache costs $0.5 per million tokens instead of $2, 75% less. A request that repeats a 1,000-token prompt from the cache costs $0.0035 instead of $0.005.

Among 8 xAI Grok models with a published price, Grok 4.7 is the 6th cheapest by input price. Its context window is the 5th largest of 13. List prices only; discounts, batch prices and prices above 200K tokens are not shown.

How do I call Grok 4.7 through DVARA?​

Configure the grok provider in the DVARA LLM Gateway and send the model id grok-4.7. DVARA, the AI gateway, applies your policies, audit and cost attribution to the call. See LLM cost attribution and budgets.

In DVARA, if you haven't set your own price for a model, its calls are costed at the price in the catalogue that ships with your DVARA version. A price you set in Flightdeck always wins. You can switch catalogue prices off. Then a model with no price you set gets no cost record: its calls count against no budget and appear in no report, and the gateway records the model as unpriced. Every cost record says which price it used.

What should I check before relying on this data?​

The weekly review marked this entry. A person saw each mark and kept the model listed.

  • The provider charges more above 200K tokens of input; the table shows the base price.

Which other xAI Grok models are there?​

All 13 xAI Grok models · Search the full catalogue

Which models from other providers are similar to Grok 4.7?​

These are the closest in context window and input price, one per provider.

Snapshot 16 October 2026. DVARA reviews every price weekly before it is published. Get the whole catalogue as llm-models.json. Prices are list prices in US dollars per million tokens; check your provider contract before you budget.