AI Firm xAI Challenges Colorado's AI Legislation in Federal Court

xAI, the artificial intelligence enterprise led by Elon Musk, has initiated a federal lawsuit against the state of Colorado aiming to halt the enforcement of a newly enacted law governing high-risk AI systems.

On Thursday, court documents were submitted contesting Colorado Senate Bill 24-205, set for enactment on June 30. This legislation mandates developers of AI systems to reveal potential risks and implement measures against algorithmic bias in sectors like employment, housing, healthcare, education, and financial services.

The lawsuit contends that this law would necessitate alterations in the functioning of AI systems and potentially limit how these models produce responses. “SB24-205 is not genuinely an anti-discrimination statute; rather, it seeks to infuse the State’s ideological preferences into the core workings of AI systems,” stated xAI’s legal representatives. They argue that the law compels developers to suppress speech disfavored by Colorado while forcing them to adopt state-sanctioned narratives on contentious public issues.

xAI is seeking a federal court ruling that deems the law unconstitutional and prevents its implementation, asserting it infringes upon First Amendment rights by mandating changes in Grok’s output to reflect the state’s diversity and equity views. The lawsuit further claims SB24-205 overreaches beyond Colorado’s jurisdiction, lacks clarity for equitable enforcement, and discriminates against AI systems that do not emphasize “diversity.”

“By obliging ‘developers’ and ‘deployers’ to distinguish between types of discrimination based on state preference, SB24-205 forces Plaintiff xAI—a designated ‘developer’—to modify Grok’s output on selected topics to adhere to a contentious political stance,” the lawsuit argues. “However, the State cannot force xAI to propagate its preferred messages.”

This legal action coincides with escalating tensions between tech firms and government bodies over AI regulation frameworks. States like Colorado, New York, and California have proposed regulations targeting risks from generative AI applications, while the Trump administration seeks a national regulatory strategy.

The lawsuit also emerges amid intensifying scrutiny of xAI’s chatbot Grok. In 2026, several lawsuits accused the company of permitting Grok to generate unauthorized deepfake images. Earlier this year, a class-action suit filed by three minors from Tennessee alleged that Grok created explicit images featuring them without permission. Additionally, Baltimore filed a lawsuit claiming Grok produced up to 3 million sexualized images in days, including thousands depicting minors.

xAI did not immediately provide comments when approached by Decrypt.