X

xAI Pricing

Compare all xAI AI model prices. 5 models available. Last updated April 2026.

Language Models (5)

ModelInputOutputContextBest For
Grok 4.1 Fast$0.20/MTok$0.50/MTok2M
fast taskschatcoding
Details
Grok 4 Fast$0.20/MTok$0.50/MTok2M
chatgeneral
Details
Grok Code Fast 1$0.20/MTok$1.50/MTok256K
codingcode review
Details
Grok 3 Mini$0.25/MTok$0.50/MTok131.1K
budgetfast tasks
Details
Grok 4$3.00/MTok$15.00/MTok256K
reasoningcodinggeneral
Details

Calculate your xAI API costs

Input your token usage and see exactly how much each model will cost.