grok-4.7

On this page
  1. Standard price history

xAI model grok-4.7. Prices are in US dollars per million tokens. Current price, since 2026-09-21: input $2.00, output $6.00, cached input $0.50. Matches xAI's pricing page, checked 2026-10-22 21:28 UTC. Price a request with this model.

Standard price history#

FromInputCached inputCache writeOutputLonger promptsDated bySource
2026-09-21, first record$2.00$0.50$6.00above 200K: in $4.00, cached $1.00, out $12.00models.dev commitlink

A blank cache price is charged at the input price. Longer prompts list the prices for requests whose whole prompt exceeds the size given.

import model_prices

model_prices.rates("grok-4.7", provider="xai")