xAI · current

Grok Build 0.1 API pricing

Coding-focused xAI model.

Input / million
$1.00
Cached input / million
$0.2000
Output / million
$2.00
Context window
256,000

Example cost

A request with 10,000 input tokens and 2,000 output tokens costs approximately $0.0140 at the recorded standard rate.

  • 10,000 standard input tokens / 1,000,000 × $1
  • 0 cached tokens / 1,000,000 × $0.2
  • 2,000 output tokens / 1,000,000 × $2

Pricing rules and limitations

Short/long cached input: $0.2/$0.4 per MTok. Long-context pricing applies to all tokens after the provider threshold.

Price history

EffectiveUntilInputOutputStatus
2026-03-09Current / scheduled$1.00$2.00current