xAI API Pricing

Creator of Grok models, known for real-time knowledge and reasoning capabilities.

Official Pricing
7models available

Text / LLM Models

(6)
ModelInput / 1MOutput / 1MContextTierNotes
grok-4$3.00$15.00256Kfrontier-
grok-4.1-fast$0.200$0.500256Kbudget-
grok-4-fast$0.200$0.500256Kbudget-
grok-3$3.00$15.00128Khigh-
grok-3-mini$0.300$0.500128Kbudget-
grok-2-vision$2.00$10.0032KmidVision

Image Generation Models

(1)
ModelResolutionPrice / ImageNotes
grok-2-imageStandard$0.070Aurora

Compare xAI Models

Other Providers