Text model
grok-build-latest pricing
xAI charges $2.00 per million input tokens and $6.00 per million output tokens for grok-build-latest, and $0.30 for cached input. Below: every rate that applies, what common workloads cost, and cheaper options.
- Input
- $2.00/ 1M
- Output
- $6.00/ 1M
- Cached input
- $0.30/ 1M
- Context
- 500Ktokens
All rates
| Tier | Input | Output | Cache read | Cache write |
|---|---|---|---|---|
| Standard | $2.00 | $6.00 | $0.30 | — |
| Standard, prompts over 200K tokens | $4.00 | $12.00 | $0.60 | — |
USD per million tokens. Long-context tiers apply when the whole prompt, cached tokens included, passes the threshold.
Work it out
What common workloads cost
| Workload | Per call | Cost per call | Calls a month | Per month |
|---|---|---|---|---|
| Chat reply | 1,500 input and 400 output tokens | $0.0054 | 100,000 | $540.00 |
| RAG answer, cached context | 2,000 fresh + 4,000 cached input, 500 output | $0.0082 | 100,000 | $820.00 |
| Agent step | 4,000 fresh + 8,000 cached input, 800 output | $0.02 | 250,000 | $3,800.00 |
| Batch summary | 3,000 input and 300 output tokens via the Batch API | — | 1,000,000 | — |
Planning a mix of models? Simulate a workload with grok-build-latest, alongside anything else you run.
Cheaper options
Current models that cost at least 15% less for a typical chat reply. Cheaper isn't always equivalent: test quality on your own prompts, then use veqen diff to see the impact at your volume.
| Model | Chat reply | Saving |
|---|---|---|
| xai/grok-4.20 | $0.00287 | 47% |
| xai/grok-4.20-0309 | $0.00287 | 47% |
| deepinfra/Qwen/Qwen3.8-Max | $0.00446 | 17% |
| azure-ai/FW-DeepSeek-V4-Pro | $0.00442 | 18% |
Price history
No price changes since Veqen started tracking this model.
Compare
Last verified with price book 2026-10-22. Sources: xAI pricing and LiteLLM's MIT-licensed price file. Track every call to this model, per customer or project: install the SDK.