x-ai / text-generation API-only released 2026-05-20

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...

Input / 1M
$1.00
Output / 1M
$2.00
Context
256K
AA Intelligence
27.2
Closed weights — available only as a hosted API text + image + file → text View on OpenRouter ↗

Pricing

via OpenRouter · USD per 1M tokens · synced 2026-10-24
$1.00
input / 1M
$2.00
output / 1M
$0.20
cached input / 1M
$3.00
1M in + 1M out
Price tiers
  • Above 200K prompt tokens: input $2.00/M, output $4.00/M (2× base)
Context window
256,000 tokens
Max output
230,400 tokens
Providers
1
Cheapest provider
xAI · $1.00 / $2.00
Best throughput
—
AA Intelligence / Coding / Agentic
27.2 / 51.5 / —
✓ Tool calling ✓ Reasoning ✓ Structured outputs ✓ Image input ✓ File input ✗ Audio input ✓ Prompt caching

Price history

tracking started — chart appears after 7 days of snapshots (6 recorded)
Current: $1.00 input · $2.00 output per 1M tokens

Benchmarks

Third-party indices as published through OpenRouter — Artificial Analysis and Design Arena. Not measured by us.

AA Intelligence Index
27.2
AA Coding Index
51.5
AA Agentic Index
—

Providers

1 provider · per 1M tokens · last 30 min metrics
ProviderQuantContextInputOutputUptimeTok/s
xAI unknown 256K $1.00 $2.00 100% —
xAI unknown 256K $1.00 $2.00 — —
xAI unknown 256K $2.00 $4.00 — —
xAI unknown 256K $2.00 $4.00 — —
Provider data from OpenRouter's endpoint listing, refreshed daily.

Specifications

Organisation
x-ai
Released on OpenRouter
2026-05-20
Context window
256,000 tokens
Max output
230,400 tokens
Input
text, image, file
Output
text
Tokenizer
Grok
Moderated by provider
No
OpenRouter id
x-ai/grok-build-0.1
Compare with
Prices, context and providers from the public OpenRouter API, snapshotted daily; benchmark indices from Artificial Analysis. See /methodology.