Grok Build
grok-build-latestPricing
List prices at xAI, in US dollars per million tokens.
| Tier | Input / 1M | Output / 1M | |
|---|---|---|---|
| Standard | $2.00 | $6.00 | |
| Cached input 85% off input | $0.30 | 85% off input | |
| Prompts over 200K tokens | $4.00 | $12.00 |
What it costs a month
At xAI list prices, 30 days.
- Chat assistant5,000 requests a day, 2K in / 0.5K out, cached$897
- RAG over documents2,000 requests a day, 8K in / 0.6K out, cached$768
- Coding agent1,000 requests a day, 40K in / 2K out, cached$1,332
- Overnight batch20,000 requests a day, 4K in / 0.4K out$6,240
Where to run it
2 hosts serve Grok Build. The comparison is on blended price, 3 parts input to 1 part output.
Capabilities
Core
- Streaming
- Function calling
- JSON mode
- Structured outputs
Multimodal
- Vision
- Image input
- Audio
- Image generation
- Video
Advanced
- Reasoning
- Tool calling
- MCP
- Prompt caching
- Batch API
- Embeddings
- Takes in
- TextImages
- Produces
- Text
- Features
- Prompt cachingBuilt-in web search
Cheaper alternatives
Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.
Same model, cheaper host
- Kyma API42% lessgrok-build$1.39 / $2.78
Smaller xAI models
- 58% less
- 48% less
- 48% less
Other frontier labs
- 33% less
- 50% less
- 93% less
- 44% less
Open-weight picks
- 29% less
- 43% less
- 77% less
- 83% less
Call it
Using xAI's API.
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.x.ai/v1", api_key=os.environ["XAI_API_KEY"])
completion = client.chat.completions.create(
model="grok-build-latest",
messages=[{"role": "user", "content": "Hello"}],
)
print(completion.choices[0].message.content)from litellm import completion
response = completion(
model="xai/grok-build-latest",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Quick answers
How much does Grok Build cost?
On xAI, Grok Build costs $2.00 per million input tokens and $6.00 per million output tokens. Cached input costs $0.30 per million tokens. The cheapest host is Kyma API, at $1.39 per million input tokens and $2.78 per million output tokens.
Which APIs offer Grok Build?
Grok Build runs on 2 APIs: xAI and Kyma API.
What is Grok Build's context window?
500K tokens, with up to 500K tokens in one reply.
Is Grok Build being retired?
No retirement date is scheduled for it on any API we track.
What are cheaper alternatives to Grok Build?
Models that cost less and keep most of what it can do: Grok Build 0.1 on xAI (58% less), GPT-6.1 Terra on OpenAI (33% less), Gemini 3.8 Flash on Google AI Studio (50% less) and Qwen4 Max on Together AI (29% less). Grok Build itself costs 42% less on Kyma API. Savings are on a mix of 3 input tokens to 1 output token.
What is Grok Build's API model id?
Use grok-build-latest with xAI. Other hosts use their own ids: grok-build on Kyma API.
Sources
Raw catalog entry for grok-build-latest on xAI
{
"cache_read_input_token_cost": 3e-7,
"cache_read_input_token_cost_above_200k_tokens": 6e-7,
"input_cost_per_image_token": 0.000002,
"input_cost_per_token": 0.000002,
"input_cost_per_token_above_200k_tokens": 0.000004,
"litellm_provider": "xai",
"max_input_tokens": 500000,
"max_output_tokens": 500000,
"mode": "chat",
"output_cost_per_token": 0.000006,
"output_cost_per_token_above_200k_tokens": 0.000012,
"source": "https://api.x.ai/v1/language-models",
"supports_function_calling": true,
"supports_prompt_caching": true,
"supports_reasoning": true,
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
"supports_web_search": true
}