---
title: XAI: Grok Build 0.1 API | Text Generation | ModelsLab
description: Build with XAI: Grok Build 0.1 API by X Ai. Text generation, chat, code, and reasoning. Pay-per-use. Free tier.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/x-ai/x-ai-grok-build-0.1.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/x-ai/x-ai-grok-build-0.1.md
type: product
component: Playground/LLM/Index
generated_at: 2026-05-21T08:17:51.223139Z
---

xAI: Grok Build 0.1
---

 [LLMs.txt](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/x-ai-grok-build-0.1/llms.txt) [.md](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/x-ai/x-ai-grok-build-0.1.md)

x-ai-grok-build-0.1 x-ai Closed Source Model $1.500000 / call

xAI: Grok Build 0.1
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### xAI: Grok Build 0.1

x-ai x-ai-grok-build-0.1

Copy model ID

PricingInput $1.00 / 1M tokens

Output $2.00 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster)

[MW](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/mancer-weaver)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Mancer: Weaver (alpha)

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/mancer-weaver)

[TH](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/tencent-hunyuan-a13b-instruct)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Tencent: Hunyuan A13B Instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/tencent-hunyuan-a13b-instruct)

[OG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-4.1-mini)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [OpenAI: GPT-4.1 Mini

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-4.1-mini)

[![Google: Gemma 4 31B](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/5ba1802f-24e5-43f2-a8ca-da7c0ec34cc3.tiff)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemma-4-31b-it)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Google: Gemma 4 31B

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemma-4-31b-it)

[US](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/upstage-solar-pro-3)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Upstage: Solar Pro 3

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/upstage-solar-pro-3)

[QQ](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-235b-a22b-thinking-2507)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Qwen: Qwen3 235B A22B Thinking 2507

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-235b-a22b-thinking-2507)

[QQ](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-next-80b-a3b-instruct-free)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Qwen: Qwen3 Next 80B A3B Instruct (free)

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-next-80b-a3b-instruct-free)

[![Mistral: Mixtral 8x22B Instruct](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/651b8cb4-02e1-4e32-ae51-a473f8adc29c.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/mistralai-mixtral-8x22b-instruct)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Mistral: Mixtral 8x22B Instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/mistralai-mixtral-8x22b-instruct)

[![nim/meta/llama-3.2-90b-vision-instruct](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/f00362ce-26f8-4755-9c92-7f116f33ec31.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/nim-meta-llama-3.2-90b-vision-instruct)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [nim/meta/llama-3.2-90b-vision-instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/nim-meta-llama-3.2-90b-vision-instruct)

[QQ](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-vl-8b-thinking)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Qwen: Qwen3 VL 8B Thinking

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-vl-8b-thinking)

[GG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemini-3.1-flash-lite-preview)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Google: Gemini 3.1 Flash Lite Preview

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemini-3.1-flash-lite-preview)

[![NVIDIA: Nemotron Nano 9B V2](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/16af5a1c-d4ea-499f-a27a-40e0b1bf16f7.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/nvidia-nemotron-nano-9b-v2)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [NVIDIA: Nemotron Nano 9B V2

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/nvidia-nemotron-nano-9b-v2)

[DR](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/deepseek-deepseek-r1)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [DeepSeek: R1

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/deepseek-deepseek-r1)

[![Qwen 2.5 Coder 32B Instruct](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/d69ed8fc-70f1-4897-a128-eaab5d246da8.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/qwen/Qwen-Qwen2.5-Coder-32B-Instruct)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/qwen)

 [Qwen 2.5 Coder 32B Instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/qwen/Qwen-Qwen2.5-Coder-32B-Instruct)

[![Mixtral 8X7b V0.1](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/93627898-e9d0-48ee-ab06-2b3ca1c3aac1.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/mistralai-Mixtral-8x7B-v0.1)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Mixtral 8X7b V0.1

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/mistralai-Mixtral-8x7B-v0.1)

[GG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemini-2.5-pro)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Google: Gemini 2.5 Pro

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemini-2.5-pro)

[OG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-5-image-mini)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [OpenAI: GPT-5 Image Mini

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-5-image-mini)

[![Google: Gemma 4 31B (free)](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/9f544380-88cd-4b78-9ef9-698605864408.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemma-4-31b-it-free)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Google: Gemma 4 31B (free)

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemma-4-31b-it-free)

About XAI: 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...

### Technical Specifications

Model IDx-ai-grok-build-0.1CategoryLLM ModelsTaskText GenerationPrice$1.500000 per million tokensAddedMay 20, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate XAI: Grok Build 0.1 into your application with a single API call. Get your API key from the [pricing page](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "x-ai-grok-build-0.1",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

### Pricing

XAI: Grok Build 0.1 API costs $1.500000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Browse LLM Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster) [More from X Ai](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router) [View Pricing](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

XAI: Grok Build 0.1 FAQ
---

### What is XAI: 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...

### How do I use the XAI: Grok Build 0.1 API?

You can integrate XAI: Grok Build 0.1 into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "x-ai-grok-build-0.1" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does XAI: Grok Build 0.1 cost?

XAI: Grok Build 0.1 costs $1.500000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the XAI: Grok Build 0.1 model ID?

The model ID for XAI: Grok Build 0.1 is "x-ai-grok-build-0.1". Use this ID in your API requests to specify this model.

### Does XAI: Grok Build 0.1 have a free tier?

Yes, ModelsLab offers a free tier that lets you try XAI: Grok Build 0.1 and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-05-21*