LiteLLMLiteLLM/ MODELS

xAI model pricing

As of November 14, 2026, 38 xAI models are available through LiteLLM. The most recently added are Grok Imagine Video 1.5 Lite, Grok 4.20 Beta, Grok 4.20 Beta Latest Non Reasoning. Prices below are xAI's list prices.

Prices updated Checked How to call xAI with LiteLLM

Cheapest chat models on xAI

Sorted by xAI's own prices, blended at 3 input tokens per output token. Active chat models only.

#ModelBlended per 1MInput / output per 1MContext
1Grok Build 0.1$1.25$1.00 / $2.00256K
2Grok Code Fast$1.25$1.00 / $2.00256K
3Grok 4.20$1.563$1.25 / $2.501M
4Grok 4.20 0309 Non Reasoning$1.563$1.25 / $2.501M
5Grok 4.20 0309 Reasoning$1.563$1.25 / $2.501M
6Grok 4.20 Beta$1.563$1.25 / $2.501M
7Grok 4.20 Beta 0309 Non Reasoning$1.563$1.25 / $2.501M
8Grok 4.20 Beta 0309 Reasoning$1.563$1.25 / $2.501M
9Grok 4.20 Beta Latest Non Reasoning$1.563$1.25 / $2.501M
10Grok 4.20 Beta Latest Reasoning$1.563$1.25 / $2.501M

xAI models

ModelLabPriceContextProvidersAdded
Grok Imagine Video 1.5 LitexAI$0.02 per second–1Oct 2026
Grok 4.20 BetaxAI$1.25 / $2.50 per 1M tokens1M1Sep 2026
Grok 4.20 Beta Latest Non ReasoningxAI$1.25 / $2.50 per 1M tokens1M1Sep 2026
Grok 4.20 Beta Latest ReasoningxAI$1.25 / $2.50 per 1M tokens1M1Sep 2026
Grok 4.20 Beta Non ReasoningxAI$1.25 / $2.50 per 1M tokens1M1Sep 2026
Grok 4.20 Beta ReasoningxAI$1.25 / $2.50 per 1M tokens1M1Sep 2026
Grok 4.20 Experimental BetaxAI$1.25 / $2.50 per 1M tokens1M1Sep 2026
Grok 4.20 Experimental Beta 0304 Non ReasoningxAI$1.25 / $2.50 per 1M tokens1M1Sep 2026
Grok 4.20 Experimental Beta 0304 ReasoningxAI$1.25 / $2.50 per 1M tokens1M1Sep 2026
Grok 4.20 Experimental Beta Non ReasoningxAI$1.25 / $2.50 per 1M tokens1M1Sep 2026
Grok 4.20 Experimental Beta ReasoningxAI$1.25 / $2.50 per 1M tokens1M1Sep 2026
Grok 4.20 Multi Agent Experimental BetaxAI$1.25 / $2.50 per 1M tokens1M1Sep 2026
Grok 4.20 Non Reasoning Gv2xAI$1.25 / $2.50 per 1M tokens1M1Sep 2026
Grok 4.20 Reasoning Gv2xAI$1.25 / $2.50 per 1M tokens1M1Sep 2026
Grok 4.7xAI$2 / $6 per 1M tokens500K10Sep 2026
Grok Voice Transcribe 1.0xAI$0 per second–1Sep 2026
Grok Voice Transcribe 2.0xAI$0 per second–1Sep 2026
Grok Imagine VideoxAI$0.05 per second–3Sep 2026
Grok Imagine Video 1.5xAI$0.08 per second–2Sep 2026
Grok Imagine Video 1.5 PreviewxAI$0.08 per second–1Sep 2026
Grok BuildxAI$2 / $6 per 1M tokens500K2Sep 2026
Grok Imagine ImagexAI––3Aug 2026
Grok Imagine Image QualityxAI––2Aug 2026
Grok 4.6xAI$2 / $6 per 1M tokens500K10Aug 2026
Grok 4.20 0309 Non ReasoningxAI$1.25 / $2.50 per 1M tokens1M2Aug 2026
Grok Build 0.1xAI$1 / $2 per 1M tokens256K2Aug 2026
Grok 4.5xAI$2 / $6 per 1M tokens500K5Jul 2026
Grok 4.20 Non ReasoningxAI$1.25 / $2.50 per 1M tokens1M6May 2026
Grok 4.20 ReasoningxAI$1.25 / $2.50 per 1M tokens1M6May 2026
Grok 4.3xAI$1.25 / $2.50 per 1M tokens1M6May 2026
Grok 4.20xAI$1.25 / $2.50 per 1M tokens1M3Apr 2026
Grok 4.20 0309 ReasoningxAI$1.25 / $2.50 per 1M tokens1M2Apr 2026
Grok 4.20 Multi AgentxAI$1.25 / $2.50 per 1M tokens1M4Apr 2026
Grok 4.20 Beta 0309 Non ReasoningxAI$1.25 / $2.50 per 1M tokens1M1Mar 2026
Grok 4.20 Beta 0309 ReasoningxAI$1.25 / $2.50 per 1M tokens1M1Mar 2026
Grok 4.20 Multi Agent BetaxAI$1.25 / $2.50 per 1M tokens1M1Mar 2026
Grok Code FastxAI$1 / $2 per 1M tokens256K1Sep 2025
Grok Code Fast 1xAI$1 / $2 per 1M tokens256K3Sep 2025