Skip to main content
TokenCost logoTokenCost

Grok 4.7

Last verified October 4, 2026 · xAI pricing ↗

$2.00/1M input · $6.00/1M output · 500K context · xAI

Grok 4.7 costs $2.00 per 1M input tokens and $6.00 per 1M output tokens from xAI, with a 500K-token context window. A typical chat reply (1,500 tokens in, 400 out) costs $0.0054, or $54.00 per 10,000 requests. On that workload it is cheaper than 61 of the 172 other buyable models tracked here.

Count Tokens

—
Tokens
—
Input Cost
—
Output Cost

Estimate Monthly Cost

Monthly Cost Estimator

Quick:
<$0.0001/mo

Pick a preset above or enter custom usage

What Grok 4.7 Costs Per Request

At $2.00 per 1M input and $6.00 per 1M output tokens, before caching or batch discounts.

WorkloadInput / output tokensPer requestPer 10,000 requests
Chat reply1,500 / 400$0.0054$54.00
RAG answer over retrieved docs8,000 / 600$0.020$196.00
Coding-agent step30,000 / 2,000$0.072$720.00

Grok 4.7 vs Similarly Priced Models

Nearest buyable models by price, with the RAG answer above (8,000 in / 600 out) priced on each.

ModelInput /1MOutput /1MContextRAG answer
Grok 4.7 xAI$2.00$6.00500K$0.020
Grok 4.6 xAI$2.00$6.00500K$0.020
Qwen3.8 Max Alibaba$2.00$6.001.0M$0.020
Fugu Max Sakana AI$2.00$6.001.0M$0.020

Alternatives to Grok 4.7

Pricing Details

xAILaunched September 21, 2026 on Grok 4.6's card: $2.00 input, $0.50 cached, $6.00 output. At 200,000 tokens and above the whole request bills $4.00 / $1.00 / $12.00. US regional endpoint 1.1x. Priority processing 2x. No Batch API support on xAI. Amazon Bedrock (from 2026-09-28) sells it at $2/$0.50/$6 Global, $2.20/$0.55/$6.60 US, with Flex at 0.5x ($1/$0.25/$3) and no 200K tier on its card; also in Google Vertex partner models. Grok 4.7 Fast ($4/$1/$12) is Cursor and Grok Build only. Effort low/medium/high/xhigh, default high. Artificial Analysis Intelligence Index v4.3 (read 2026-10-04), score / cost to run index / output tokens: xhigh 46.45 / $4,967 / 240.4M; high 46.33 / $3,881 / 197.7M; low 42.22 / $1,631 / 75.2M. Grok 4.6 high was 44.31 / $2,352 / 94.2M. 500K context. Always returns encrypted reasoning content. xAI-reported: CursorBench 4.0 46.3 (Grok 4.6 40.4), DeepSWE v1.1 71.0 (65.2). maxOutput 16384 is a schema placeholder; xAI publishes no text output limit. Estimated tokens (different tokenizer).
Input / 1M tokens
$2
Output / 1M tokens
$6
Context Window
500K
Max Output
16K

Price History

No price change recorded since 2026-10-04, when this site started tracking this model; it launched on 2026-09-21.

Frequently Asked Questions

Common questions about Grok 4.7 pricing and usage

How much does Grok 4.7 cost?
Grok 4.7 costs $2 per 1 million input tokens and $6 per 1 million output tokens. This pricing is set by xAI.
What tokenizer does Grok 4.7 use?
Grok 4.7 uses the cl100k_base tokenizer. This tokenizer has a vocabulary of ~100,000 tokens and is widely used across many models.
What is Grok 4.7's context window?
Grok 4.7 supports a context window of 500K tokens (500,000 tokens). The maximum output length is 16K tokens.
How does Grok 4.7 compare to other models?
On an 8,000-token-in, 600-token-out RAG answer, Grok 4.7 costs $0.020 per request. The nearest-priced alternatives cost: Grok 4.6 (xAI) $0.020, Qwen3.8 Max (Alibaba) $0.020, Fugu Max (Sakana AI) $0.020. The table above lists their full rates and context windows.
How do I count tokens for Grok 4.7?
Use the token counter at the top of this page or visit the homepage calculator. Paste your text and it will show the exact token count and cost for Grok 4.7 using the cl100k_base tokenizer.

Read More About Grok 4.7