xAI API Pricing

Short answer

xAI's API offers the Grok family for reasoning and tool-calling agents with a low output-to-input price ratio.

Model Input /1M Output /1M Cached in /1M Context
Grok 4.3 Official API
$1.25 $2.50 $0.20 1M