Skip to main content
Watch: I Built an AI App Without Leaving Databricks

xAI - Closed weights

Grok Build 0.1 pricing and specs

Grok Build 0.1 is a closed-weights model from xAI that costs $1 per 1M input tokens and $2 per 1M output tokens on the first-party API, with a 256K-token context window.

Last verified from docs.x.ai. All sources

Input / 1M
$1
Output / 1M
$2
Context
256K tokens
Weights
Closed

Pricing per 1M tokens

ItemPrice / 1M tokens
InputPrompts up to 200,000 tokens$1
OutputPrompts up to 200,000 tokens$2
Cache readPrompts up to 200,000 tokens$0.20
Long-context inputPrompts over 200,000 tokens$2
Long-context outputPrompts over 200,000 tokens$4
Long-context cache readPrompts over 200,000 tokens$0.40

Note: release date is the API release-notes entry (May 19, 2026, 'early access'); the x.ai news post 'Grok Build 0.1 on API' (public beta) is dated May 29, 2026. Aliases on the model page include grok-code-fast-1, grok-code-fast and grok-code-fast-1-0825, so the old Grok Code Fast slugs now route here. Long-context rates apply to all tokens once the prompt reaches 200k. max output not stated on any primary page. Batch API not supported. Priority Processing bills 2x.

Specs

Context window
256,000 tokens
Release date
Provider
xAI
API model id
grok-build-0.1
Vercel AI Gateway id
spacexai/grok-build-0.1
Weights
Closed weights

What Grok Build 0.1 costs in practice

Worked from the standard list rates above, with the math shown so you can swap in your own token counts. These use the base rates, which apply while each request's prompt stays at or under 200,000 tokens; above that, Grok Build 0.1 bills $2 input and $4 output for the whole request.

One agent session

1M input tokens and 100K output tokens, no caching.

  • Input1M x $1 = $1.00
  • Output0.1M x $2 = $0.20

$1.20per session

A chat app

10,000 requests a day at 2K input and 500 output tokens each.

  • Input20M x $1 = $20.00
  • Output5M x $2 = $10.00

$30.00per day

$900.00 per 30-day month

The same session at a 90% cache hit

90% of the input is read from the prompt cache. The one-time cache write premium is not included.

  • Cached input0.9M x $0.20 = $0.18
  • Uncached input0.1M x $1 = $0.10
  • Output0.1M x $2 = $0.20

$0.48per session

Compare with

ModelInput / 1MOutput / 1M
Grok Build 0.1 (this page)$1$2
GPT-3.5 Turbo InstructOpenAI$1.50$2
GPT-5 MiniOpenAI$0.25$2
Qwen3.5-35B-A3BAlibaba Cloud (Qwen)$0.25$2
Seed 2.0 LiteByteDance Seed$0.25$2
Grok 4.20xAI$1.25$2.50
Grok 4.20 (Non-Reasoning)xAI$1.25$2.50
Grok 4.20 Multi-Agent BetaxAI$1.25$2.50
Grok 4.3xAI$1.25$2.50
Grok 4.5xAI$2$6
Grok 4.6xAI$2$6

Compare

Side-by-side pages with both models' prices, specs, cost examples and like-for-like benchmark rows.

FAQ

How much does Grok Build 0.1 cost per million tokens?

Grok Build 0.1 costs $1 per 1M input tokens and $2 per 1M output tokens on xAI's first-party API, per docs.x.ai on October 17, 2026. Per 1M tokens, cache reads cost $0.20. Prompts over 200,000 tokens are billed at $2 input and $4 output for the whole request.

What is Grok Build 0.1's context window?

Grok Build 0.1 has a 256,000-token context window.

Are Grok Build 0.1's weights open?

No. Grok Build 0.1 is a closed-weights model. You call it through xAI's API as grok-build-0.1 or through Vercel AI Gateway as spacexai/grok-build-0.1.

When was Grok Build 0.1 released?

xAI released Grok Build 0.1 on May 19, 2026.

Sources

Last verified from docs.x.ai.

Newsletter

Get model price changes as they ship

One email per week. New model releases, price cuts and what they mean for your bill.