API pricing and cost

Grok 4.7 pricing

Grok 4.7 official API pricing is $2.00 per million input tokens and $6.00 per million output tokens. Third-party provider prices are compared below.

Covers the 2026-09-21 Grok 4.7 release. Supersedes Grok 4.6.

$2.00

Official input / 1M

Standard tier

$6.00

Official output / 1M

Standard tier

$1.72

Blended / 1M

4:1 input/output, 90% input cached

$172.00

Example monthly cost

10K requests, 8K input + 2K output/request, 90% input cached

Token charges only; tool calls, taxes, and other non-token fees are excluded.

Official API pricing

USD / 1M text tokens · Standard · Effective from 2026-09-21 · Last verified 2026-11-13

InputStandard text tier, per million tokens
$2.00
Cached inputInput served from the prompt cache
$0.50
OutputStandard text tier, per million tokens
$6.00

API providers (4)

Published USD text API rates across hosting providers for Grok 4.7. Compare listed rates, effective dates, and service-tier notes for the same model.

Published USD API provider rates for Grok 4.7
ProviderInput / 1MCached / 1MOutput / 1MAdditional tiers & notes
Amazon⁠Effective from 2026-11-14$2.00$0.50$6.00—
Google Cloud Vertex AI⁠Effective from 2026-11-14$2.00$0.50$6.00The displayed row is the base standard text-token rate. Additional standard rate bands apply.
Microsoft⁠Effective from 2026-11-14$2.00$0.50$6.00The displayed row is the base standard text-token rate. Additional standard rate bands apply.
xAI⁠OfficialEffective from 2026-09-21 · Last verified 2026-11-13$2.00$0.50$6.00The displayed row is the base standard text-token rate. Additional standard rate bands apply. Batch: $1.6/$4.8, $0.4 cached per 1M tokens.

What Grok 4.7 costs to run

Four workloads costed at official standard rates. Cached-input share is an estimation assumption, not a provider guarantee; when no cached rate is published, all input is billed at the uncached rate. Non-token fees are excluded.

Estimated monthly cost of four workloads on Grok 4.7
WorkloadPer requestMonthly tokensInputOutputPer month
Chatbotshort turns1,500 in · 500 out× 100,000 requests150M in · 50M out$300.00$300.00$600.00$0.0060 / request
Assistant8K context · 90% cached8,000 in · 2,000 out× 10,000 requests80M in · 20M out$52.00$120.00$172.00$0.02 / request
RAGlong input, cached · 50% cached24,000 in · 800 out× 20,000 requests480M in · 16M out$600.00$96.00$696.00$0.03 / request
Coding agentlong output · 70% cached15,000 in · 4,000 out× 20,000 requests300M in · 80M out$285.00$480.00$765.00$0.04 / request
Start from

Monthly cost

$172.00

on Grok 4.7

Per request

$0.02

80M in · 20M out a month

Split

$52.00 + $120.00

input + output

Grok 4.7 against comparable models

Benchmark-overlap peers and price-comparable same-type models, costed on the assistant workload above. All figures use the same workload and caching rule; lower price does not imply equivalent capability or service terms.

Blended price and monthly cost of Grok 4.7 and comparable models
ModelBasisBlended / 1MPer monthvs Grok 4.7
Grok 4.5xAILower-cost option$1.58$157.608.4%cheaper
GPT-5-Codex-MiniOpenAILower-cost option$1.59$159.007.6%cheaper
Grok 4.6xAISimilar price$1.72$172.00Same
Grok 4.7xAI · this modelThis model$1.72$172.00—
Claude Opus 5.5AnthropicShared benchmark coverage$4.46$446.40160%dearer · 2.6×
Claude Fable 5.1AnthropicShared benchmark coverage$10.98$1,098.00538%dearer · 6.4×
GPT-6 AstraOpenAIShared benchmark coverage$11.52$1,152.00570%dearer · 6.7×

Catalog price position: #172 cheapest of 252 active priced models in the LLMLearner catalog (cheaper than 31% at the 4:1 mix with 90% of input assumed cached where published; official headline rates).

Grok 4.7 pricing questions

How much does Grok 4.7 cost per million tokens?
Grok 4.7 official API pricing is $2.00 per million input tokens and $6.00 per million output tokens. Cached input is billed at $0.50 per million tokens. At the default 4:1 input-to-output mix with 90% of input assumed cached, that is $1.72 per million blended tokens.
What does Grok 4.7 cost per month, and what is included?
On the example Assistant workload (10,000 requests/month, 8,000 input and 2,000 output tokens/request, 90% input cached), Grok 4.7 costs about $172.00/month ($0.02/request). This includes token charges at the official rate only; tool calls, off-peak or batch tiers, and taxes are excluded.
Is there a cheaper alternative to Grok 4.7?
Among the comparable models shown on this page, Grok 4.5 is cheaper at $1.58 per million blended tokens vs $1.72 for Grok 4.7. Compare benchmarks before switching, as a lower rate does not guarantee equivalent quality or service terms. Across all 252 active priced models in the LLMLearner catalog, Grok 4.7 ranks 172nd cheapest (cheaper than 31% at the default 4:1 mix).
Does Grok 4.7 charge for cached input?
Yes, at a discount: $0.50 per million cached input tokens against $2.00 uncached.