Today › AI API prices › xAI
grok-build-latest API pricing (xAI)
Input / 1M tokens$2.00
Output / 1M tokens$6.003.0× input
Context window500Kmax output 500K
Rank within xAI28 / 31
Among all modelscheaper than 18%of 725 models
Cost for typical workloads
| Workload | This model | Median of all models |
|---|---|---|
| 10,000 chats (2,000 in / 500 out tokens) | $70.00 | $20.50 |
| 100 long summaries (50,000 in / 1,000 out) | $10.60 | $2.97 |
| 1,000 articles (500 in / 2,000 out) | $13.00 | $2.50 |
Similarly priced models from other providers
| Model | Provider | Input | Output | Context |
|---|---|---|---|---|
| deepseek-v4-pro | Alibaba DashScope (Qwen) | $2.40 | $4.80 | 1M |
| qwen3.8-max | Alibaba DashScope (Qwen) | $2.00 | $6.00 | 992K |
| llama-v3p1-405b-instruct | Fireworks AI | $3.00 | $3.00 | 131K |
| qwen3p8-max | Fireworks AI | $2.00 | $6.00 | 262K |
| yi-large | Fireworks AI | $3.00 | $3.00 | 33K |
| qwen3p8-max | Fireworks AI | $2.00 | $6.00 | 262K |
Price history
| Date | Input | Output |
|---|---|---|
| 2026-10-03 | $2.00 | $6.00 |
Only dates with a change are listed (17 snapshots from 2026-10-03 to 2026-11-10).
Prices come from the open-source LiteLLM price table (MIT), fetched daily, and may differ from the official pricing pages; always check the provider before you buy. US dollars.
About this page
grok-build-latest on xAI costs $2.00 per million input tokens and $6.00 per million output tokens; it ranks 28 of 31 xAI models by price, with a 500K context window.