xAI

Grok 4.7 API Pricing

Grok 4.7 has tracked API rates of $2.00 per 1M input tokens and $6.00 per 1M output tokens. Cached input is billed at $0.5 per 1M tokens. Rates are in USD from the AI IQ dataset; see the Grok 4.7 model profile for capability scores.

Input / 1M
$2.00
Output / 1M
$6.00
Effective / 1M I/O
$21.89
Cost Rank
#132

Price List

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

Pricing References and Billing Caveats

These are the tracked rates, not a live quote. Hosted-provider choice, region, long-context tiers, caching, batch discounts, and temporary promotions can change the actual bill. Open-weight availability does not mean hosted inference is free. Workload examples assume the listed standard input and output rates, with no cache hits or discounts.

xAI pricing catalog — check current offerings and rate tiers. This catalog may not list historical models or third-party hosted endpoints.

Publisher-reported pricing notes

  • Standard API rates start at $2 input and $6 output per million tokens.
  • The faster serving variant costs twice the standard token rates.

Official release and model references

These references document the model and its release; not every reference is a pricing table. Confirm the applicable endpoint and billing tier with your inference provider before purchase.

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.736 (measured from real benchmark runs), giving an effective cost of $21.89 per 1M input + output tokens. That places it #132 of 156 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 127), or better.

ModelProviderIQEffective Cost / 1M
gpt-6.1-solOpenAI141$6.30
gpt-6-solOpenAI137$9.84
sonnet-5.5Anthropic137$21.04
gpt-6.1-terraOpenAI136$5.08
gpt-5.6-terraOpenAI130$13.75
Gemini 3.8 FlashGoogle129$7.98

Compare