xAI models & pricing

xAI hosts 38 models (38 with public pricing) covering 1 modalities. Grok family of frontier models with native real-time search and tool use. Cheapest input starts at $0.200/M tokens; the most premium goes up to $5.00/M. Use Future AGI's Agent Command Center to route any xAI model with cost-optimized fallback and unified observability.

Homepage ↗ Docs ↗
38

chat 38

Model Input / 1M Output / 1M Context Caps
Grok 4.1 Fast $0.200/M $0.500/M 2,000,000 tools · vision · reasoning · audio · cache
Grok 4.1 Fast Non Reasoning $0.200/M $0.500/M 2,000,000 tools · vision · audio · cache
Grok 4.1 Fast Non Reasoning latest $0.200/M $0.500/M 2,000,000 tools · vision · audio · cache
Grok 4.1 Fast Reasoning $0.200/M $0.500/M 2,000,000 tools · vision · reasoning · audio · cache
Grok 4.1 Fast Reasoning latest $0.200/M $0.500/M 2,000,000 tools · vision · reasoning · audio · cache
Grok 4 Fast Non Reasoning $0.200/M $0.500/M 2,000,000 tools · cache
Grok 4 Fast Reasoning $0.200/M $0.500/M 2,000,000 tools · cache
Grok Code Fast $0.200/M $1.50/M 256,000 tools · reasoning · cache
Grok Code Fast 1 $0.200/M $1.50/M 256,000 tools · reasoning · cache
Grok Code Fast 1.0825 $0.200/M $1.50/M 256,000 tools · reasoning · cache
Grok 3 mini Deprecated $0.300/M $0.500/M 131,072 tools · reasoning · cache
Grok 3 mini beta Deprecated $0.300/M $0.500/M 131,072 tools · reasoning · cache
Grok 3 mini latest $0.300/M $0.500/M 131,072 tools · reasoning · cache
Grok 3 mini Fast $0.600/M $4.00/M 131,072 tools · reasoning · cache
Grok 3 mini Fast beta $0.600/M $4.00/M 131,072 tools · reasoning · cache
Grok 3 mini Fast latest $0.600/M $4.00/M 131,072 tools · reasoning · cache
Grok 4.3 $1.25/M $2.50/M 1,000,000 tools · vision · reasoning · cache
Grok 4.3 latest $1.25/M $2.50/M 1,000,000 tools · vision · reasoning · cache
Grok 2 $2.00/M $10.00/M 131,072 tools
Grok 2.1212 $2.00/M $10.00/M 131,072 tools
Grok 2 latest $2.00/M $10.00/M 131,072 tools
Grok 2 Vision $2.00/M $10.00/M 32,768 tools · vision
Grok 2 Vision 1212 Deprecated $2.00/M $10.00/M 32,768 tools · vision
Grok 2 Vision latest $2.00/M $10.00/M 32,768 tools · vision
Grok 4.20.0309 Reasoning $2.00/M $6.00/M 2,000,000 tools · vision · reasoning
Grok 4.20 beta 0309 Non Reasoning $2.00/M $6.00/M 2,000,000 tools · vision · cache
Grok 4.20 beta 0309 Reasoning $2.00/M $6.00/M 2,000,000 tools · vision · reasoning · cache
Grok 4.20 Multi Agent beta 0309 $2.00/M $6.00/M 2,000,000 tools · vision · reasoning · cache
Grok 3 $3.00/M $15.00/M 131,072 tools · cache
Grok 3 beta $3.00/M $15.00/M 131,072 tools · cache
Grok 3 latest $3.00/M $15.00/M 131,072 tools · cache
Grok 4 $3.00/M $15.00/M 256,000 tools · cache
Grok 4.0709 $3.00/M $15.00/M 256,000 tools · cache
Grok 4 latest $3.00/M $15.00/M 256,000 tools · cache
Grok 3 Fast beta $5.00/M $25.00/M 131,072 tools · cache
Grok 3 Fast latest $5.00/M $25.00/M 131,072 tools · cache
Grok beta $5.00/M $15.00/M 131,072 tools · vision
Grok Vision (beta) $5.00/M $15.00/M 8,192 tools · vision

FAQ

How many xAI models are there?

38 xAI models are listed across 1 modality on this page. 38 have public per-token pricing.

How is xAI pricing verified?

Pricing is aggregated from BerriAI/litellm, models.dev, and OpenRouter and refreshed weekly. Each row shows a per-model "verified" date. If a price is wrong, click the row to open the model page and use the inline "suggest edit" link — submissions go into a public review queue.

Which xAI model is cheapest?

Input pricing on xAI starts at $0.200 per 1M tokens. Sort the table by price (or use the in-page filter at the top) to find the cheapest model that matches your capability requirements.

Can I route to xAI via an OpenAI-compatible API?

Yes — point your OpenAI client at Future AGI's Agent Command Center, configure a xAI target, and call xAI models with the standard /v1/chat/completions surface. The same gateway can route to other providers as fallback. Free for the first 100K requests/month.

Route any xAI model via Agent Command Center →
OpenAI-compatible endpoint. Caching, fallback, guardrails, observability. Free for 100K requests/month.