xAI pricing

xAI API pricing: every model, per million tokens

What xAI costs to use and what it costs to build on, each figure carrying the day it was read.

xAI

xAI API rates

Billed per token and charged separately from any subscription. Read from the provider’s live catalogue every three hours.

Per model, cheapest first

ModelInput / 1MOutput / 1M
Grok Build 0.1$1.00$2.00
Grok 4.3$1.25$2.50
Grok 4.20$1.25$2.50
Grok 4.20 Multi-Agent$1.25$2.50
Grok 4.7$2.00$6.00
Grok 4.6$2.00$6.00
Grok 4.5$2.00$6.00
Grok Latest$2.00$6.00

Questions

How much does the xAI API cost?
xAI models range from $1.00 per million input tokens (Grok Build 0.1) upwards. Every model's input and output rate is listed on this page, confirmed and dated.
How often do xAI prices change?
Catalogue prices are re-read every three hours, so a change appears the same day it is published.
WriteWorks

Paying for xAI is one cost. Being invisible in it is another.

WriteWorks tracks whether AI answers name your brand or your competitors across 10+ AI platforms, and helps you produce the content that changes the answer.