Grok Build 0.1

xAIMCP Tool CallReasoning
xai/grok-build-0.1Closed API

Fast Grok coding model tuned for agentic engineering and iterative edits

Benchmark Pricing$1.00 / 1M in$2.00 / 1M out$0.20 cache read
Context: 256,000 tokens•Max Output: 256,000 tokens•Released: 2026-04-16

TECHNICAL SPECIFICATIONS

Context Window256,000256K tokens
Max Output256,000256K tokens
LicenseProprietaryCloud API only
Input Modalities
TextVisionPDF
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema

MODEL CONTEXT PROTOCOL (MCP) READINESS

✓ Grok Build 0.1 natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.

MCP Context Window Recommendations

With a context capacity of 256,000 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.

API CALL INVOCATION EXAMPLE

// Example: Calling Grok Build 0.1 via OpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.XAI_API_KEY,
});

const response = await client.chat.completions.create({
  model: "xai/grok-build-0.1",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

console.log(response.choices[0].message.content);

PRICING BY PROVIDER

15 providers
xAIgrok-build-0.1
$1.00 / $2.00$0.20 cache
NanoGPTx-ai/grok-build-0.1
$1.00 / $2.00$0.20 cache
CrossModelx-ai/grok-build-0.1
$1.00 / $2.00$0.20 cache
Tempr Gatewayxai/grok-build-0.1
$1.00 / $2.00$0.20 cache
Venice AIgrok-build-0-1
$1.00 / $2.00$0.20 cache
AIHubMixgrok-build-0.1
$1.00 / $2.00$0.20 cache
Vercel AI Gatewayspacexai/grok-build-0.1
$1.00 / $2.00$0.20 cache
OpenCodegrok-build-0.1
$1.00 / $2.00$0.20 cache
Eden AIxai/grok-build-0.1
$1.00 / $2.00$0.20 cache
Merge Gatewayxai/grok-build-0.1
$1.00 / $2.00$0.20 cache
FastRouterx-ai/grok-build-0.1
$1.00 / $2.00$0.20 cache
Kilo Gatewayx-ai/grok-build-0.1
$1.00 / $2.00$0.20 cache
ZenMuxx-ai/grok-build-0.1
$1.00 / $2.00$0.20 cache
DevPass (LLM Gateway)grok-build-0-1
$1.00 / $2.00$0.20 cache
Oppergrok-build-0.1
$1.00 / $2.00$0.20 cache

Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.

Prompt Caching Active

This model supports prompt caching at $0.20 / 1M tokens, saving up to 80% on repetitive MCP tool definitions and system instructions.

MODEL RESOURCES