Grok API: Pricing, Setup & Access Guide (2026) TL;DR — Three Grok models are worth knowing: Grok 4.1 Fast ($0.20/M input, 2M context) for high-volume work, Grok 4.20 ($2.00/M input) for deep reasoning, and Grok Code Fast 1 ($0.20/M input, 256K context) for coding agents. All three are OpenAI-compatible. Getting to a working API call is a two-line config change in your existing OpenAI SDK set