The U.S. government has struck an agreement with Elon Musk's artificial intelligence company xAI to provide federal agencies access to its Grok AI models. Compare the $0.42-per-agency price to rivals OpenAI and Anthropic, both of which have been offering government-focused models for around $1 per agency. Meta, by comparison, agreed to provide AI services at zero cost. Grok 4 and Grok 4 Fast will be available across all federal agencies immediately, and they'll be around for the next 18 months until the contract expires in March 2027. It also includes dedicated engineers from xAI to help the federal agencies implement the AI models.