xAI API pricing

Grok Build 0.1 pricing

Input / 1M tokens
$1
Output / 1M tokens
$2
Cached input / 1M
$0.20

Prompts over 199,999 tokens cost $2 in and $4 out per million, for the whole request.

Source: xAI pricing, checked 1 Nov 2026. API name: grok-build-0.1.

Price your prompt on Grok Build 0.1

What a prompt costs on Grok Build 0.1

ExampleTokens in / outCost1,000 a day, per month
A short question and answer50 / 300$0.0006$19.50
A one-page document summarised700 / 400$0.0015$45.00
A 300-line code file reviewed4,000 / 1,200$0.0064$192.00
A 50-page report summarised35,000 / 1,500$0.038$1,140

Token sizes are typical, not exact. Replies include any thinking the model does.

Other Grok models

Grok 4.7Grok 4.3

FAQ

How much does Grok Build 0.1 cost?

$1 per million input tokens and $2 per million output tokens on xAI's standard API tier, and $0.20 per million for cached input. Checked 1 Nov 2026.

What does one prompt cost on Grok Build 0.1?

A 1,000-token prompt with a typical medium-length reply costs about $0.0026. Paste your own prompt into the calculator for an exact figure.