xAI
Launch calculator$Grok 4 Pricing & Token Costs (2025)
Per 1M tokens: input $3.00 · output $15.00$ · cached 0.750. Context window $256,000 tokens with source and verification details.
Key metrics
- Context window
- 256,000 tokens
- Input price
- $3.00 / 1M tokens
- Output price
- $15.00 / 1M tokens
- Cached input
- $0.750 / 1M tokens
- Live search
- $25.00 / 1K sources
Trusted sources
Official link:https://docs.x.ai/docs/models
Last verified: 2025-09-22
Pricing notes
- · Contexts above 128K tokens are billed with high-tier pricing; see official docs.
- · Live search pricing is $0.025 per source (per 1K sources).
Multi-currency (per 1M tokens)
Currency | Input | Cached | Output | Live search* |
---|---|---|---|---|
USD | $3.00 | $0.75 | $15.00 | $25.00 |
CNY | ¥21.45 | ¥5.36 | ¥107.25 | ¥178.75 |
EUR | 2,76 € | 0,69 € | 13,80 € | 23,00 € |
JPY | ¥438 | ¥110 | ¥2,190 | ¥3,650 |
* Live search cost uses sources / 1000 × price and currently applies to xAI Grok only.
FAQ
How does cached input pricing work?
With official caching enabled, input pricing drops to $0.75 / million tokens for repeated content while output remains $15 / million tokens.
How frequently is the pricing updated?
All prices reference the official documentation (https://docs.x.ai/docs/models); last verified on 2025-09-22. Updates land as soon as providers revise their schedules.