impulse

Grok Build

Frontier lab
API id grok-build-latest
Input / 1M
$2.00
at xAI
Output / 1M
$6.00
at xAI
Context window
500K
tokens
Max output
500K
tokens per reply
Hosts
2
2 listings
Released
-
date not published

Pricing

List prices at xAI, in US dollars per million tokens.

TierInput / 1MOutput / 1M
Standard$2.00$6.00
Cached input
85% off input
$0.30
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
Use your own numbers

Where to run it

2 hosts serve Grok Build. The comparison is on blended price, 3 parts input to 1 part output.

HostIn / out per 1M
xAILab API
grok-build-latest
$2.00 / $6.00
grok-build
$1.39 / $2.78
−42% vs headline

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 API
    grok-build
    $1.39 / $2.78
    42% less

Smaller xAI models

Other frontier labs

  • GPT-6.1 Terra
    OpenAI · on OpenAI
    $1.00 / $5.00
    Has every key capability
    33% less
  • Gemini 3.8 Flash
    Google · on Google AI Studio
    $0.75 / $3.75
    Has every key capability
    50% less
  • Claude Haiku 5.5
    Anthropic · on Anthropic
    $0.10 / $0.50
    Has every key capability
    93% less
  • GPT-5.4 Mini
    OpenAI · on OpenAI
    $0.75 / $4.50
    Has every key capability
    44% less

Open-weight picks

  • Qwen4 Max
    Alibaba Qwen · on Together AI
    $1.43 / $4.28
    Has every key capability
    29% less
  • Inkling
    Independent · on DeepInfra
    $0.95 / $4.05
    Has every key capability
    43% less
  • Kimi K2.7 Code
    Moonshot AI · on CLF AI Gateway
    $0.38 / $1.60
    Has every key capability
    77% less
  • DeepSeek Flash
    DeepSeek · on DeepSeek
    $0.30 / $1.20
    Has every key capability
    83% less

Call it

Using xAI's API.

Python
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)

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
}