x-aiVision
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...
Context
256k tokens
Input / 1M tokens
$1
Output / 1M tokens
$2
Benchmark
—
Pricing
Input tokens$1 per 1M tokens
Output tokens$2 per 1M tokens
Cache read$0.20 per 1M tokens
Technical details
Model IDx-ai/grok-build-0.1
Context window256k tokens
Input modalitiestext, image, pdf
Output modalitiestext
TokenizerGrok
Use with MegaBrain
import OpenAI from 'openai'
const client = new OpenAI({
baseURL: 'https://getmegabrain.com/api/gateway/v1',
apiKey: process.env.MEGABRAIN_API_KEY,
})
const response = await client.chat.completions.create({
model: 'x-ai/grok-build-0.1',
messages: [{ role: 'user', content: 'Hello!' }],
})