Grok Build 0.1 API

xAI's coding model trained for agentic coding workflows

x-ai/grok-build-0.1
xAIConversation

About this model

Grok Build 0.1 is the model behind xAI’s Grok Build coding tool, which xAI launched in beta in May 2026. According to xAI’s release notes, it is a coding model trained specifically for agentic coding workflows and was released in early access.

Unlike the general-purpose Grok 4.x models, it is specialized for software tasks, so pick it for coding agents and pick Grok 4.5 to 4.7 for broader knowledge work. The 0.1 version number marks an early release.

Limits: in this catalog the context window is 256,000 tokens, and image and PDF input are supported.

Use cases

  • Agentic coding in terminals and IDEs
  • Reading screenshots and PDFs about a task
  • Refactoring and bug fixing

Input and output

Input
Text, images, PDF
Output
Text, code
Developer
xAI
Type
Conversation
Context
256,000 tokens
Capabilities
Image inputTuned for code

Grok Build 0.1 request example

Use https://gatelum.com/v1 as the base URL and pass x-ai/grok-build-0.1 in the model field. You create the key in your account after signing up.

curl --silent --show-error --fail-with-body \
  --header 'Authorization: Bearer glt_YOUR_KEY' \
  'https://gatelum.com/v1/chat/completions' \
  --header "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "x-ai/grok-build-0.1",
  "messages": [
    {
      "role": "user",
      "content": "Hi! Tell me about yourself in two sentences."
    }
  ]
}
JSON
Claude Code and Anthropic-protocol clients

For clients using the Anthropic protocol, point the address at ANTHROPIC_BASE_URL=https://gatelum.com with no /v1. The model ID does not change.

macOS / Linux
export ANTHROPIC_BASE_URL=https://gatelum.com
export ANTHROPIC_AUTH_TOKEN=glt_YOUR_KEY
export ANTHROPIC_MODEL=x-ai/grok-build-0.1
claude

Where to use Grok Build 0.1

Guides with step-by-step instructions for the tools that support this model: