xAI API pricing

10 models tracked · USD per 1M tokens

xAI offers 8 models through its API, from Grok Build 0.1 ($1.25 blended) to Grok 4.7 ($3.00 blended) per 1M tokens. 8 accept image input, 7 support built-in reasoning. Its newest is Grok 4.7 (2026-09-21).

active models8
cheapest$1.25Grok Build 0.1
most expensive$3.00Grok 4.5
newest2026-09-21Grok 4.7

// models

Grok 4.1 Fast deprecated$0.20$0.50128K—
Grok 4.1 Fast (Reasoning) deprecated$0.20$0.50128K—
Grok Build 0.1$1.00$2.00256K—
Grok 4.20 (Non-Reasoning)$1.25$2.501M—
Grok 4.20 (Reasoning)$1.25$2.501M—
Grok 4.20 Multi-Agent$1.25$2.501M—
Grok 4.3$1.25$2.501M—
Grok 4.5$2.00$6.00500K—
Grok 4.6$2.00$6.00500K—
Grok 4.7$2.00$6.00500K—

// release timeline

// recent changes