• Home
  • News
  • Fortune 500
  • Tech
  • Finance
  • Leadership
  • Lifestyle
  • Rankings
  • Multimedia
TechElon Musk

Elon Musk spent months slashing federal contracts — Now his AI company is celebrating a $200M Pentagon contract and new unit to get government business

Jessica Mathews
By
Jessica Mathews
Jessica Mathews
Senior Writer
Down Arrow Button Icon
Jessica Mathews
By
Jessica Mathews
Jessica Mathews
Senior Writer
Down Arrow Button Icon
July 14, 2025, 6:24 PM ET
SAUL LOEB/AFP via Getty Images

Elon Musk’s xAI has signed an important new customer: the U.S. government. 

The two-year old AI company—most recently in the news when its chatbot praised Hitler—said in a blog post Monday that it has launched a new division, called “Grok with Government” and signed a contract worth up to $200 million with the Department of Defense. xAI also announced that it had been added to the General Services Administration schedule, meaning that xAI products will now be available for purchase across every government office and agency.

xAI’s new DoD contract is part of a new effort to develop AI agent workflows across a “variety of mission areas,” the Chief Digital and Artificial Intelligence Office said in a press release, without giving many more specifics. Google, OpenAI, and Anthropic were also awarded up to $200 million contracts as part of the new effort, according to the Chief Digital and Artificial Intelligence Office. A number of tech companies, including Meta, Amazon, and Google, have either started working with or upped their work with the U.S. government in the last year as the taboo in Silicon Valley of working with the Defense Department has fallen away.

xAI’s new ties with the Pentagon are likely to raise eyebrows, not least because just one week earlier, the company released an update to its Grok AI model that caused it to spew racist comments, including referring to itself as a “MechaHitler.” There’s also the fact that xAI’s CEO, Musk, has spent the last six months trying to trim “wasteful spending” in the government via the Department of Government Efficiency (DOGE). DOGE claims to have saved $190 billion in U.S. taxpayer dollars by July—in large part via cutting government contracts it said were outdated or wasteful (DOGE reportedly hasn’t provided documentation or evidence for 40% of those cuts, and investigations and analysis into the cuts have suggested that these figures have been greatly exaggerated.) Now, xAI is vying to get the U.S. government to add many more contracts that could cost hundreds of millions of dollars.

Another twist is that the Grok announcement comes at a time when existing government contracts at Musk’s various companies appear to be on thin ice. In June, amid the very-public social media spat between Musk and Trump that began with Musk’s criticisms of Trump’s “Big Beautiful Bill,” Trump threatened to cut all of Musk’s government contracts across his various companies. Musk, in turn, had suggested he would decommission SpaceX’s Dragon capsule, currently the primary way for NASA to shuttle astronauts to the International Space Station and back to Earth. Musk’s companies have notched more than $38 billion in contracts with the U.S. government over the years.

xAI says that it wants to start servicing federal, local, state, and national security customers, and that, for these customers, it would start to build custom models for national security or “critical science” applications that would be available in “classified and other restricted environments” and that it would provide specific engineering support with USG-cleared engineers.

While Musk is no longer working with DOGE, he remains well-connected in some government circles. One of his allies within the Trump Administration was Katie Miller, who had served as Mike Pence’s press secretary when he was vice president during Trump’s first presidency. Miller is also the wife of Stephen Miller, Trump’s deputy chief of staff for policy, and she has since started working for xAI since Musk left DOGE. On Monday, Miller was promoting xAI’s new government plans on her social media account, saying that Grok was the “only truth-seeking AI available to the US Government.”

A representative for the Defense Department said that it was “excited to work” with industry leaders like xAI and others it had awarded contracts “to broaden DoD use of and experience in frontier AI capabilities.” GSA said it was working with “several” AI solutions across various agencies and that it welcomes “all American companies and models who abide by our terms and conditions.”

xAI did not respond to a request for comment.

Updated, July 15, 2025: This article has been updated with comment from the Defense Department.

Fortune Brainstorm AI returns to San Francisco Dec. 8–9 to convene the smartest people we know—technologists, entrepreneurs, Fortune Global 500 executives, investors, policymakers, and the brilliant minds in between—to explore and interrogate the most pressing questions about AI at another pivotal moment. Register here.
About the Author
Jessica Mathews
By Jessica MathewsSenior Writer
LinkedIn iconTwitter icon

Jessica Mathews is a senior writer for Fortune covering startups and the venture capital industry.

See full bioRight Arrow Button Icon

Latest in Tech

Mark Zuckerberg, chief executive officer of Meta Platforms Inc., during the Meta Connect event in Menlo Park, California, US, on Wednesday, Sept. 27, 2023. Meta Platforms Inc. introduced its latest lineup of head-worn devices, staking fresh claim to the virtual and augmented-reality industry just ahead of Apple Inc. pushing into the market. Photographer: David Paul Morris/Bloomberg via Getty Images
Big TechMeta
 Mark Zuckerberg rebranded Facebook for the metaverse. Four years and $70 billion in losses later, he’s moving on
By Eva RoytburgDecember 5, 2025
14 minutes ago
Construction workers are getting a salary bump for working on data center projects during the AI boom.
AIU.S. economy
Construction workers are earning up to 30% more and some are nabbing six-figure salaries in the data center boom
By Nino PaoliDecember 5, 2025
51 minutes ago
Robert F. Kennedy
PoliticsHealth
Robert F. Kennedy Jr. turns to AI to make America healthy again
By Ali Swenson and The Associated PressDecember 5, 2025
2 hours ago
Tim Cook stands in front of a giant image of Apple cofounder Steve Jobs
Big TechApple
Apple is experiencing its biggest leadership shakeup since Steve Jobs died
By Dave SmithDecember 5, 2025
2 hours ago
C-SuiteStreaming
Netflix co-CEO Ted Sarandos credits a video store job for launching his career—and cherishes this lesson from Tony Bennett
By Jason MaDecember 5, 2025
3 hours ago
AIIntuit
How Intuit’s Chief AI Officer supercharged the company’s emerging technologies teams—and why not every company should follow his lead
By John KellDecember 5, 2025
3 hours ago

Most Popular

placeholder alt text
Economy
Two months into the new fiscal year and the U.S. government is already spending more than $10 billion a week servicing national debt
By Eleanor PringleDecember 4, 2025
1 day ago
placeholder alt text
Success
‘Godfather of AI’ says Bill Gates and Elon Musk are right about the future of work—but he predicts mass unemployment is on its way
By Preston ForeDecember 4, 2025
1 day ago
placeholder alt text
Success
Nearly 4 million new manufacturing jobs are coming to America as boomers retire—but it's the one trade job Gen Z doesn't want
By Emma BurleighDecember 4, 2025
1 day ago
placeholder alt text
Success
Nvidia CEO Jensen Huang admits he works 7 days a week, including holidays, in a constant 'state of anxiety' out of fear of going bankrupt
By Jessica CoacciDecember 4, 2025
1 day ago
placeholder alt text
Economy
Tariffs and the $38 trillion national debt: Kevin Hassett sees ’big reductions’ in deficit while Scott Bessent sees a ‘shrinking ice cube’
By Nick LichtenbergDecember 4, 2025
1 day ago
placeholder alt text
Real Estate
‘There is no Mamdani effect’: Manhattan luxury home sales surge after mayoral election, undercutting predictions of doom and escape to Florida
By Sasha RogelbergDecember 4, 2025
23 hours ago
Rankings
  • 100 Best Companies
  • Fortune 500
  • Global 500
  • Fortune 500 Europe
  • Most Powerful Women
  • Future 50
  • World’s Most Admired Companies
  • See All Rankings
Sections
  • Finance
  • Leadership
  • Success
  • Tech
  • Asia
  • Europe
  • Environment
  • Fortune Crypto
  • Health
  • Retail
  • Lifestyle
  • Politics
  • Newsletters
  • Magazine
  • Features
  • Commentary
  • Mpw
  • CEO Initiative
  • Conferences
  • Personal Finance
  • Education
Customer Support
  • Frequently Asked Questions
  • Customer Service Portal
  • Privacy Policy
  • Terms Of Use
  • Single Issues For Purchase
  • International Print
Commercial Services
  • Advertising
  • Fortune Brand Studio
  • Fortune Analytics
  • Fortune Conferences
  • Business Development
About Us
  • About Us
  • Editorial Calendar
  • Press Center
  • Work At Fortune
  • Diversity And Inclusion
  • Terms And Conditions
  • Site Map

© 2025 Fortune Media IP Limited. All Rights Reserved. Use of this site constitutes acceptance of our Terms of Use and Privacy Policy | CA Notice at Collection and Privacy Notice | Do Not Sell/Share My Personal Information
FORTUNE is a trademark of Fortune Media IP Limited, registered in the U.S. and other countries. FORTUNE may receive compensation for some links to products and services on this website. Offers may be subject to change without notice.