Models / xAI
xAI
Grok Build 0.1
x-ai/grok-build-0.1
Grok Build 0.1 is xAI’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...
Input
$1.3 / 1M tokens
Output
$2.6 / 1M tokens
Context
256K tokens
Capabilities
✓ Streaming✓ Tool / function calling✓ JSON / structured output✓ Vision (image input)
Call this model
Pass x-ai/grok-build-0.1 as the model. Change only the base URL from your existing OpenAI SDK setup.
quickstart.sh
curl https://modeldatabase.com/v1/chat/completions \
-H "Authorization: Bearer $MDB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "x-ai/grok-build-0.1",
"messages": [{"role":"user","content":"Hello!"}]
}'
Prices are final — the routing margin is already included. See the full pricing table or the API docs.