Grok Build API Pricing
- Input / output
- $2.00 / $6.00 per 1M tokens
- Cache read
- $0.30 / 1M
- Context
- 500K tokens
- Max output
- 500K tokens
As of November 24, 2026, Grok Build costs $2.00 per 1M input tokens and $6.00 per 1M output tokens on xAI, with cache reads at $0.30 per 1M tokens. Across 2 providers on LiteLLM, the input price ranges from $1.389 to $2.00. It has a 500,000-token context window and returns up to 500,000 tokens per response.
Grok Build pricing by provider
2 listings across 2 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
Other Grok Build prices on xAI
| Input above 200K tokens | $4.00 per 1M tokens |
| Output above 200K tokens | $12.00 per 1M tokens |
| Cache read above 200K tokens | $0.60 per 1M tokens |
What Grok Build costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| xAI | $7.00 |
| Kyma API | $4.167 |
100 long-document requests with 100,000 input and 2,000 output tokens each
| xAI | $21.20 |
| Kyma API | $14.45 |
Grok Build cost calculator
At xAI's price ($2.00 input, $6.00 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $50.00 a day, about $1,500 a month. Change the numbers for your workload, or compare it with other models.
- Per request
- $0.005
- Per day
- $50.00
- Per month (30 days)
- $1,500
Grok Build features
Input: text, image. Output: text.
- Function calling
- Structured output
- Image input
- Reasoning
- Prompt caching
- Web search
Use Grok Build with LiteLLM
Call Grok Build through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.
from litellm import completion
response = completion(
model="xai/grok-build-latest",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: grok-build
litellm_params:
model: xai/grok-build-latest
api_key: os.environ/XAI_API_KEYcurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LITELLM_API_KEY" \
-d '{
"model": "grok-build",
"messages": [{"role": "user", "content": "Hello!"}]
}'Grok Build FAQ
How much does Grok Build cost?
Grok Build costs $2.00 per 1M input tokens and $6.00 per 1M output tokens on xAI, with cache reads at $0.30 per 1M tokens. Above 200K input tokens, input costs $4.00 and output costs $12.00 per 1M tokens. Across 2 providers on LiteLLM, the input price ranges from $1.389 to $2.00.
What is the context window of Grok Build?
Grok Build has a 500,000-token context window and returns up to 500,000 tokens per response.
Which providers offer Grok Build?
Grok Build is available from 2 providers through LiteLLM: xAI and Kyma API. The lowest price is on Kyma API.
How do I call Grok Build with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="xai/grok-build-latest", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
What features does Grok Build support?
Grok Build supports function calling, structured output, image input, reasoning, prompt caching and web search.
When did LiteLLM add Grok Build?
Grok Build was added to LiteLLM's model price file on September 2, 2026.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change. Provider pricing pages: