API · Models
Text

Grok Build 0.1

Grok Build 0.1 is xAI's fast coding and tool-calling model with a 256K context window, optimized for developer productivity and agentic tasks.

Context 256K·Max out 256K

Quickstart

import { streamText } from 'ai';
import { createOpenAICompatible } from '@ai-sdk/openai-compatible';

const blackbox = createOpenAICompatible({
  name: 'blackbox',
  apiKey: process.env.BLACKBOX_API_KEY!,
  baseURL: 'https://api.blackbox.ai/v1',
});

const result = streamText({
  model: blackbox('blackboxai/x-ai/grok-build-0.1'),
  prompt: 'Why is the sky blue?',
});

for await (const chunk of result.textStream) {
  process.stdout.write(chunk);
}

Specs & pricing

Input $/M
$1
Output $/M
$2
Context window
256K
Max output
256K
Supported parameters
tool-usejson-modestreamingweb-search

Related models

ModelTypeContextInput $/M
Grok 4.3Text1M$1.25
Grok 4.1 FastText2M$0.20
Blackbox ProText400K$1.75
Claude Opus 4.7Text1M$5
Claude Opus 4.6Text1M$5