xAI

Grok 4.7 API Pricing

Grok 4.7 costs $2.00 per 1M input tokens and $6.00 per 1M output tokens on xAI's API. Prices are provider list prices in USD, refreshed as sources update; see the Grok 4.7 model profile for capability scores.

Input / 1M
$2.00
Output / 1M
$6.00
Effective / 1M I/O
$22.19
Cost Rank
#113

Price List

RatePrice (USD)Notes
Input$2.00per 1M tokens
Output$6.00per 1M tokens
Blended input + output$8.001M in + 1M out at list price
Context window500K tokens

What a Workload Costs

Computed straight from the list prices above — token counts are illustrative workload sizes, not measurements of Grok 4.7.

WorkloadCostTokens
Short chat turn$0.005001K in / 500 out
Summarize a long document$0.212100K in / 2K out
Agentic coding session$1.60500K in / 100K out
1M input + 1M output tokens$8.001M in / 1M out

Effective Cost

In AI IQ's scoring, Grok 4.7's list price is adjusted by a token-usage multiplier of 2.773 (measured from real benchmark runs), giving an effective cost of $22.19 per 1M input + output tokens. That places it #113 of 131 models on the effective-cost ranking (lower is cheaper). Some models spend far more tokens than others on the same task, so effective cost compares what a unit of work really costs. Method details are on the methodology page; see all models on the cost charts and the falling cost of intelligence over time.

Cheaper Alternatives at Similar Capability

Models with a lower effective cost that score within a few IQ points of Grok 4.7 (IQ 126), or better.

ModelProviderIQEffective Cost / 1M
opus-5.5Anthropic137$20.57
gpt-6-solOpenAI136$9.08
gpt-5.6-terraOpenAI129$16.34
Gemini 3.8 FlashGoogle128$11.37
gemini-3.7-flashGoogle127$6.57
Muse Spark 1.3Meta127$8.71

Compare