x-ai/grok-build-0.1

SpaceXAI: Grok Build 0.1

Context length
256K
Input / 1M tokens
$1.00
Output / 1M tokens
$2.00
Released
2026-05-20
Modality
text+image+file->text

About SpaceXAI: Grok Build 0.1

Grok Build 0.1 is SpaceXAI’s fast coding model trained specifically for agentic software engineering workflows. It supports text and image inputs with text output, and is optimized for interactive coding...

Call SpaceXAI: Grok Build 0.1

Via OpenRouter: one base URL for every provider.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "x-ai/grok-build-0.1",
    "messages": [{"role": "user", "content": "Say hello"}]
  }'

Direct on xAI (Grok):

curl https://api.x.ai/v1/chat/completions \
  -H "Authorization: Bearer $XAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-build-0.1",
    "messages": [{"role": "user", "content": "Say hello"}]
  }'

xAI (Grok) keys

OpenRouter keys

OpenRouter keys work for x-ai/grok-build-0.1 regardless of the upstream provider.