Grok 4.7 API pricing
Updated
Among the 6 providers we checked (prices read 2026-11-14 to 2026-11-15), 5 tie for the lowest blended standard price for Grok 4.7; xAI charges USD 2 per 1M input tokens and USD 6 per 1M output tokens. The median across 6 standard prices is USD 2 / USD 6. That is xAI's own API. Each price is read from the provider's own pricing page.
What does xAI charge for Grok 4.7?
- Input
- USD 2
- Cached input
- USD 0.50
- Output
- USD 6
- Blended 3:1
- USD 3
USD per 1M tokens on xAI, model grok-4.7, standard tier. Source, checked 2026-11-14.
Is a host cheaper than xAI? They tie. GMI Cloud and xAI's own API both work out at USD 3 per 1M tokens on the 3:1 blend.
Grok 4.7 price per provider
USD per 1M tokens. Standard prices are ranked on a blend of 3 input tokens to 1 output token, cheapest first; the dearest standard price is 10% above the cheapest.
| # | Provider | Input | Cached input | Output | Blended 3:1 | Context | Precision | Source |
|---|---|---|---|---|---|---|---|---|
| 1 | xAI tied cheapest makergrok-4.7Notes and source quotePrompts under 200K tokens; once a prompt reaches 200K tokens, all tokens in the request bill at the long-context rate (double). “| grok-4.7 (< 200k prompt tokens) | 500k | $2.00 | $0.50 | $6.00 |” | USD 2 | USD 0.50 | USD 6 | USD 3 | 500,000 | not stated | xAI page checked 2026-11-14 re-checked 2026-11-16 |
| 2 | GMI Cloud tied cheapestxai/grok4.7Notes and source quoteLong-prompt tier: prompts over 200,000 tokens cost 4 in / 12 out. “Price ≤ 200k token Input $2.00 Output $6.00 Cache Read $0.50 Cache Write - > 200k token Input $4.00 Output $12.00” | USD 2 | USD 0.50 | USD 6 | USD 3 | 500,000 | INT8 | GMI Cloud page checked 2026-11-15 re-checked 2026-11-16 |
| 3 | Google Vertex AI tied cheapestgrok-4.7Notes and source quotePrompts under 200K tokens; longer prompts bill at long-context rates. “Grok 4.7 Input $2.00 … Output $6.00 … Cache Hit $0.50” | USD 2 | USD 0.50 | USD 6 | USD 3 | not stated | not stated | Google Vertex AI page checked 2026-11-14 re-checked 2026-11-16 |
| 4 | Microsoft Azure tied cheapestNotes and source quoteFoundry Models serverless (pay-as-you-go), Global deployment. Long-context row: input $4, cached $1, output $12. “Grok-4.7 Global Input: $2 | Cached Input: $0.50 $6” | USD 2 | USD 0.50 | USD 6 | USD 3 | not stated | not stated | Microsoft Azure page checked 2026-11-14 re-checked 2026-11-16 |
| 5 | Perplexity tied cheapestxai/grok-4.7Notes and source quoteThird-party model resold through the Perplexity Agent API. Prompts of 200k tokens or more: 4.00 input, 1.00 cached, 12.00 output. “`xai/grok-4.7` | 2.00 (<200k) 4.00 (≥200k) | 6.00 (<200k) 12.00 (≥200k) | 0.50 (<200k) 1.00 (≥200k)” | USD 2 | USD 0.50 | USD 6 | USD 3 | not stated | not stated | Perplexity page checked 2026-11-15 re-checked 2026-11-16 |
| 6 | Amazon Bedrockus.xai.grok-4.7Notes and source quoteBedrock model card; Geo CRIS row (no in-region option). Global CRIS: $2.00 / $6.00 / cache read $0.50. Context 524,288 tokens. “Geo CRIS | $2.20 | $6.60 | $0.55” | USD 2.20 | USD 0.55 | USD 6.60 | USD 3.30 | 524,288 | not stated | Amazon Bedrock page checked 2026-11-14 re-checked 2026-11-16 |
- Ranked: standard-tier prices only, on (3 × input + output) ÷ 4. "Cached input: not published" means the provider's page shows no cache price; budget cached tokens at the input price.
- Automated re-check 2026-11-16: a weekly job re-fetches each source page and looks for the recorded quote or prices. It is not a human review. "Re-checked" means it still found them. Rows with no re-check note show only the date the price was read.
- Precision is shown only where the provider states it; "not stated" is unknown, not full precision.
Report a wrong price or number (email to info@broadnet.ai, with this page's link filled in).
What does Grok 4.7 cost for a real workload?
Monthly cost over 30 days at each standard price, using the presets of the LLM API cost calculator. Providers without a cached price bill cached input at the input price.
- Support chatbot: 2,000 requests a day, 1,500 input tokens (60% cached), 300 output.
- RAG over documents: 1,000 requests a day, 8,000 input tokens (30% cached), 500 output.
- Coding agent (one developer): 1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning.
| Provider | Support chatbot | RAG over documents | Coding agent (one developer) |
|---|---|---|---|
| xAI (maker) | USD 207.00 | USD 462.00 | USD 1,845 |
| GMI Cloud | USD 207.00 | USD 462.00 | USD 1,845 |
| Google Vertex AI | USD 207.00 | USD 462.00 | USD 1,845 |
| Microsoft Azure | USD 207.00 | USD 462.00 | USD 1,845 |
| Perplexity | USD 207.00 | USD 462.00 | USD 1,845 |
| Amazon Bedrock | USD 227.70 | USD 508.20 | USD 2,030 |
For the support chatbot, the cheapest price (xAI and 4 others, tied, USD 207.00 a month) saves USD 0 against the median (USD 207.00). For the coding agent the gap is USD 0 a month.
Which Grok 4.7 provider is cheapest for your traffic?
xAI, GMI Cloud, Google Vertex AI, Microsoft Azure and Perplexity share the lowest input price (USD 2) and the lowest output price (USD 6), so they are the cheapest standard price at every mix of input and output tokens, before cache discounts.
| Provider | No cache hits | 50% cached | 90% cached |
|---|---|---|---|
| xAI (maker) | USD 3 cheapest | USD 2.438 cheapest | USD 1.987 cheapest |
| GMI Cloud | USD 3 cheapest | USD 2.438 cheapest | USD 1.987 cheapest |
| Google Vertex AI | USD 3 cheapest | USD 2.438 cheapest | USD 1.987 cheapest |
| Microsoft Azure | USD 3 cheapest | USD 2.438 cheapest | USD 1.987 cheapest |
| Perplexity | USD 3 cheapest | USD 2.438 cheapest | USD 1.987 cheapest |
| Amazon Bedrock | USD 3.30 | USD 2.681 | USD 2.186 |
USD per 1M tokens, 3 input tokens to 1 output token, each provider's cheapest standard row. A provider without a cached price bills cached input at the input price. Any charge for writing to the cache, which some providers add, is not included.
All 6 providers publish a cached-input price below the input price: xAI (75% off), GMI Cloud (75% off), Google Vertex AI (75% off), Microsoft Azure (75% off), Perplexity (75% off), Amazon Bedrock (75% off).
Context windows differ: 524,288 tokens at Amazon Bedrock; 500,000 tokens at xAI and GMI Cloud. Google Vertex AI, Microsoft Azure and Perplexity do not state one. The cheapest row is not always the one that fits a long prompt.
Estimate your own bill
- LLM API cost calculator with Grok 4.7 preloaded: your traffic and cache rate, against any of 428 models.
- Token counter: count the tokens in your real prompts. Tokenizers differ, so the same text costs a different number of tokens on different models.
- Prompt caching calculator: what a higher cache-hit rate saves.
How does Grok 4.7 compare with other xAI models?
The xAI models whose cheapest standard price is closest to Grok 4.7's (USD 3 blended):
| Model | Cheapest input | Cheapest output | Max context | Providers |
|---|---|---|---|---|
| Grok 4.5 | USD 2 | USD 6 | 2,000,000 | 3 |
| Grok 4.6 | USD 2 | USD 6 | 2,000,000 | 6 |
| Grok 4.20 (non-reasoning) | USD 1.25 | USD 2.50 | 1,000,000 | 2 |
| Grok 4.20 (reasoning) | USD 1.25 | USD 2.50 | 1,000,000 | 3 |
| Grok 4.3 | USD 1.25 | USD 2.50 | 1,000,000 | 4 |
Priced closest from other makers: Gemini 4 Hydrogen (Google, USD 3) · Llama 3 Instruct (70B) (Meta, USD 2.862) · Gemini 3.5 Flash (Google, USD 3.375).
Compare Grok 4.7 with
- Grok 4.7 vs Grok 4.6: API price side by side
- Claude Sonnet 5.5 vs Grok 4.7: API price side by side
- GPT-6 Sol vs Grok 4.7: API price side by side
- Grok 4.7 vs Grok 4.5: API price side by side
Also compared: vs Grok 4.6 · vs Claude Sonnet 5.5 · vs GPT-6 Sol · vs Grok 4.5.
Every Grok 4.7 price comparison · All model-vs-model price comparisons
All 428 models: API prices compared · Cheapest LLM APIs right now · LLM API price index (open data) · Download all prices (CSV, JSON) · Price change log
Questions
How much does the Grok 4.7 API cost per token?
From USD 2 per 1M input tokens (USD 0.000002 per token) and USD 6 per 1M output tokens (USD 0.000006 per token) at the lowest standard prices we found. The median of 6 standard prices is USD 2 input and USD 6 output. Each price was read from the provider's own pricing page; the source is linked in its row.
Which provider is cheapest for Grok 4.7?
Among the 6 providers we checked (prices read 2026-11-14 to 2026-11-15), 5 are tied for the lowest price: xAI, GMI Cloud, Google Vertex AI, Microsoft Azure and Perplexity, each USD 3 per 1M on a blend of 3 input tokens to 1 output token. For input alone the lowest price is USD 2 (xAI and 4 others, tied); for output alone, USD 6 (xAI and 4 others, tied). Batch, flex, priority and fast tiers are shown in the table but not ranked.
Is Grok 4.7 cheaper from a host than from xAI?
They tie. GMI Cloud and xAI's own API both work out at USD 3 per 1M tokens on the 3:1 blend.
Does Grok 4.7 have cached input pricing?
All 6 standard prices include one. The lowest is USD 0.50 per 1M at xAI; the median is USD 0.50. Providers without one bill cached input at the input price. What cached input means.
What is the Grok 4.7 context window?
Up to 524,288 tokens. 2 standard prices come with less, down to 500,000 tokens (GMI Cloud and xAI). Check the context column before you pick the cheapest row for long prompts. Context window calculator.
How much does a coding agent cost per month on Grok 4.7?
For 1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning, over 30 days: USD 1,845 a month at xAI, USD 1,845 at the median price and USD 2,030 at Amazon Bedrock. Try your own numbers.
Is Grok 4.7 free to use through an API?
No provider in our data lists a free price for Grok 4.7 as of 2026-11-15. Free tiers and credits by provider (checked 2026-11-14) lists general offers that do not name a model; all free LLM API models are on one page.