Grok Build pricing

Grok Build, Small-tier from xAI, costs $1.00 per 1M input tokens and $2.00 per 1M output tokens.

verified at the provider's own pricing page

Input$1.00per 1M tokens
Output$2.00per 1M tokens
Context window256Ktokens
TierSmallxAI

Price your own workload against Grok Build in the calculator →

Specs and pricing

ProviderxAI
TierSmall
Context window256K tokens
Max output—
Input price$1.00 / 1M tokens
Output price$2.00 / 1M tokens
Cache read$0.20 / 1M tokens
Modalitiestext

Note. Backs the Grok Build coding CLI.

What it costs at realistic volumes

Assuming a 4:1 input:output token ratio, a common shape for chat and RAG-style workloads:

Volume (4:1 in:out ratio)Input costOutput costTotal / month
1,000,000 in / 250,000 out$1.00$0.50$1.50
10,000,000 in / 2,500,000 out$10.00$5.00$15.00
100,000,000 in / 25,000,000 out$100.00$50.00$150.00

Cheaper alternatives

Same tier (Small), a different provider, and a lower blended cost at the 4:1 ratio used above:

ModelProvider$/1M in$/1M outAt the 4:1 ratio
Meta-Llama-3.1-8B-Instruct-TurboDeepInfra$0.02$0.0498% cheaper blended
Solar Pro 4OpenRouter$0.03$0.1296% cheaper blended
GPT-OSS 20BOpenRouter$0.03$0.1395.8% cheaper blended
schematron-v2-turboinference.net$0.03$0.1595.5% cheaper blended
Amazon Nova MicroAmazon (Nova)$0.035$0.1495.3% cheaper blended