← Back to API models

Grok Build 0.1

by xAI · code specialist · budget tier · replaced Grok Code Fast 1

xAI's budget coding model: agentic-loop pricing for code tasks that don't need a frontier brain. Tiered pricing: $1/$2 per 1M under 200K tokens, $2/$4 per 1M at 200K tokens and above.

Input <200K $1 / 1M
Output <200K $2 / 1M
Context 256K tokens
≥200K tokens $2 / $4
xAI Platform ↗ Updated July 27, 2026
§ API pricing

Per-token rates, with a tier break at 200K.

Input <200K
$1/1M tokens
Standard tier
  • Applies while the prompt stays under 200K tokens
  • 256K of repo context per call
  • Cheap enough for agent loops
Output <200K
$2/1M tokens
Standard tier
  • A tenth of Sonnet 5's $15
  • Above Codestral's $0.90
  • Well under GPT-5.4's $15
≥200K tokens
$2/$4 per 1M
Long-context tier
  • Kicks in once the prompt reaches 200K tokens
  • Applies to the full request, not just the overage
  • Double the standard input and output rates
Context
256Ktokens
Window
  • Same window as the retired Grok Code Fast 1
  • Fits sizable repos
  • Larger than Claude's 200K

Grok Build 0.1 bills $1 / 1M input and $2 / 1M output for prompts under 200K tokens. Once a request reaches 200K tokens, the entire request is billed at $2 / 1M input and $4 / 1M output.

Why Grok Build 0.1 exists

Grok Code Fast 1 has been retired from xAI's official pricing table; Grok Build 0.1 replaces it in the same niche, at the same standard-tier price point, for high-iteration code work. Coding agents burn tokens — every loop re-reads files, re-runs context, retries — and Grok Build 0.1 is priced for that reality: $1 input and $2 output per 1M tokens under 200K means an agent can iterate many times over for a fraction of a frontier-model pass.

It keeps the same 256K window as its predecessor — smaller than flagship Grok 4.5's 500K, but still ample for repo-scale context. Pricing is now tiered rather than flat: requests that cross 200K tokens bill at $2 input / $4 output per 1M for the whole request, so keeping prompts under that mark keeps costs at the cheaper rate.

Capabilities

Competent code generation, edits, and explanations across mainstream languages at high speed. The use case that fits best: scripted or agentic pipelines where the task is well-defined and a retry costs fractions of a cent. Grok Build 0.1 slots into the same tooling and integrations that supported Grok Code Fast 1, so migrating existing pipelines is a model-ID swap rather than a rebuild.

The honest weakness: hard problems. Subtle bugs, architecture, and multi-file refactors with hidden dependencies want Sonnet 5 or better, or xAI's own Grok 4.3. For pure IDE fill-in-the-middle completion, Codestral is the more specialized (and cheaper-output) tool.

Typical use cases

  • High-iteration coding agent loops
  • Bulk code generation: tests, boilerplate, migrations
  • CI helpers: lint explanations, commit summaries
  • Code search and explanation over 256K of repo context
  • Budget tier in a route-by-difficulty coding stack

Sibling and rival comparison

ModelInput / 1MOutput / 1MContext
Grok Build 0.1 (<200K)$1$2256K
Grok Build 0.1 (≥200K)$2$4256K
Codestral$0.30$0.90128K
Grok 4.3$1.25$2.501M
Claude Sonnet 5$3$151M
GPT-5.4$2.50$15272K

The direct rival is Codestral: cheaper output and FIM completion, but less agentic framing. xAI's own Grok 4.3 is the step up when reasoning depth matters more than raw throughput. Build 0.1 earns its keep as the volume layer under a smarter model.

← See all xAI / Grok plans