LiteLLMModels

xAI model pricing

As of October 10, 2026, 36 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.

How to call xAI with LiteLLM

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 tokens500K5Sep 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–1Sep 2026
Grok Imagine Video 1.5xAI$0.08 per second–1Sep 2026
Grok Imagine Video 1.5 PreviewxAI$0.08 per second–1Sep 2026
Grok BuildxAI$2 / $6 per 1M tokens500K1Sep 2026
Grok 4.6xAI$2 / $6 per 1M tokens500K7Aug 2026
Grok 4.20 0309 Non ReasoningxAI$1.25 / $2.50 per 1M tokens1M1Aug 2026
Grok Build 0.1xAI$1 / $2 per 1M tokens256K2Aug 2026
Grok 4.5xAI$2 / $6 per 1M tokens500K2Jul 2026
Grok 4.20 Non ReasoningxAI$1.25 / $2.50 per 1M tokens1M5May 2026
Grok 4.20 ReasoningxAI$1.25 / $2.50 per 1M tokens1M5May 2026
Grok 4.3xAI$1.25 / $2.50 per 1M tokens1M5May 2026
Grok 4.20xAI$1.25 / $2.50 per 1M tokens1M2Apr 2026
Grok 4.20 0309 ReasoningxAI$1.25 / $2.50 per 1M tokens1M1Apr 2026
Grok 4.20 Multi AgentxAI$1.25 / $2.50 per 1M tokens1M3Apr 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