Model pricing · verified 2026-11-30

Grok 4.7 API pricing

Grok 4.7 from xAI costs $2 per million input tokens and $6 per million output tokens on the standard API tier. It has a 500K-token context window and ranks #16 of 29 models we track on blended price, cheapest first.

Price per token

Unit Input Output
Per 1M tokens $2 $6
Per 1K tokens $0.002 $0.006
Per token $0.000002 $0.000006
~1,000 words (~1,333 tokens) $0.00267 $0.008

Pricing note: Prompts of 200K tokens or more are billed at $4 input / $12 output per MTok for every token in the request.

Caching, batch and long-context prices

Per 1M tokens Input Cached input Output
Standard $2 $0.50 $6
Batch API $1.60 — $4.80
Prompts of 200K or more $4 $1 $12
Prompts of 200K or more, batch $3.20 — $9.60

Batch prices are xAI’s stated 20% Batch API discount applied to the standard rates. — means not listed separately. Checked on xAI's pricing page on 2026-11-29.

Context window 500K tokens · max output not published by the provider · frontier class. Word counts are approximate; each provider's tokenizer differs.

Estimated monthly cost

Workload Per month
Light — chatbot 0.5K in / 0.2K out · 200 req/day $13.20
Typical — assistant 2K in / 0.5K out · 1K req/day $210
Heavy — RAG / agent 8K in / 2K out · 5K req/day $4,200

Run your own numbers in the LLM API cost calculator.

Price history

No list-price change recorded for Grok 4.7 since tracking began on 2026-07-04. We re-check it twice a day; see the full change log.

Grok 4.7 vs other models

Monthly cost on the typical assistant workload, cheapest first. The last column shows how much more or less each model costs than Grok 4.7.

Model Input / MTok Output / MTok Per month vs Grok 4.7 Comparison
GPT-5 nano $0.05 $0.40 $9.00 -96% —
Gemini 2.5 Flash-Lite $0.10 $0.40 $12.00 -94% —
Claude Haiku 5.5 $0.10 $0.50 $13.50 -94% —
GPT-6 Luna $0.10 $0.50 $13.50 -94% —
Mistral Small 4 $0.15 $0.60 $18.00 -91% —
DeepSeek V4.1 Flash $0.30 $1.20 $36.00 -83% —
GPT-5 mini $0.25 $2 $45.00 -79% —
Gemini 3.5 Flash-Lite $0.30 $2.50 $55.50 -74% —
Mistral Large 4 $0.70 $2.10 $73.50 -65% Grok 4.7 vs Mistral Large 4
Gemini 3.8 Flash $0.75 $3.75 $101 -52% —
Grok 4.3 $1.25 $2.50 $113 -46% —
DeepSeek V4 Pro $1.32 $3.96 $139 -34% Grok 4.7 vs DeepSeek V4 Pro
Claude Haiku 4.5 $1 $5 $135 -36% —
GPT-6.1 Terra $1 $5 $135 -36% —
Gemini 4 Hydrogen $1.50 $7.50 $203 -4% —
GPT-5.1 $1.25 $10 $225 +7% Grok 4.7 vs GPT-5.1
Claude Sonnet 5.5 $2 $10 $270 +29% —
GPT-6.2 Sol $2 $10 $270 +29% —
Gemini 4 Carbon $2 $10 $270 +29% Grok 4.7 vs Gemini 4 Carbon
Gemini 4 Argon $2 $10 $270 +29% Grok 4.7 vs Gemini 4 Argon
Gemini 3.1 Pro (Preview) $2 $12 $300 +43% Grok 4.7 vs Gemini 3.1 Pro (Preview)
Claude Sonnet 4.5 $3 $15 $405 +93% —
Gemini 4 Neon $3 $15 $405 +93% Grok 4.7 vs Gemini 4 Neon
Claude Opus 5.5 $4 $20 $540 +157% Grok 4.7 vs Claude Opus 5.5
Claude Opus 4.5 $5 $25 $675 +221% Grok 4.7 vs Claude Opus 4.5
GPT-5.5 $5 $30 $750 +257% Grok 4.7 vs GPT-5.5
Claude Fable 5.2 $8 $40 $1,080 +414% Grok 4.7 vs Claude Fable 5.2
GPT-6.2 Astra $8 $40 $1,080 +414% Grok 4.7 vs GPT-6.2 Astra

Other Grok models

Frequently asked questions

How much does Grok 4.7 cost?

Grok 4.7 costs $2 per million input tokens and $6 per million output tokens on xAI's standard API tier, as verified on 2026-11-30. Prompts of 200K tokens or more are billed at $4 input / $12 output per MTok for every token in the request.

Does Grok 4.7 have prompt caching or batch discounts?

Cached input (prompt-cache hits) costs $0.50 per million tokens, 75% less than standard input. The Batch API costs $1.60 input / $4.80 output per million tokens, 20% off.

How much does Grok 4.7 cost per token?

One input token costs $0.000002 and one output token costs $0.000006. Per 1,000 tokens that is $0.002 input and $0.006 output.

How much does Grok 4.7 cost per month?

A typical assistant workload (2,000 input + 500 output tokens per request, 1,000 requests a day) costs about $210 per month on Grok 4.7. A light chatbot costs about $13.20, and a heavy RAG or agent workload about $4,200.

Is there a cheaper alternative to Grok 4.7?

Mistral Large 4 (Mistral) is in the same frontier class and costs $0.70 input / $2.10 output per million tokens, about $73.50 a month on the typical workload.

Is Grok the same as Groq?

No. Grok is the model family made by xAI. Groq is a separate company that sells fast inference on its own LPU chips and hosts open-weight models such as Llama. Prices on this page are for xAI’s first-party Grok API.

Source: xAI pricing page. USD, first-party API, standard tier, no caching or batch discounts.