LLMPriceTracker

Prices / xAI

grok-4.7 API pricing variable pricing

grok-4.7 by xAI costs $2.00 per 1M input tokens and $6.00 per 1M output tokens (1M in + 1M out = $8.00).

API model id
grok-4.7
Input / 1M
$2.00
Output / 1M
$6.00
Cached input / 1M
$0.50
Context window
500K
Notes
Prompts <200K tokens shown.
Source
https://docs.x.ai/docs/models
Provider type
First-party (HQ: US)
Regions
unknown
EU data residency
unknown — Not stated on the models/pricing page.
Last verified
2026-10-15

Variable pricing

The effective price of this model depends on the request. Figures above are the base (short-context / peak) tier.

Cost estimate

ProviderModelCost
xAIgrok-4.7$3.50

Uses standard list prices (no caching, batch or off-peak discounts). € and CHF rows are priced in that currency by the provider and not converted, so compare them with care.

Compare

Other xAI models