• Home
  • Latest
  • Fortune 500
  • Finance
  • Tech
  • 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.

Join us at the Fortune Workplace Innovation Summit May 19–20, 2026, in Atlanta. The next era of workplace innovation is here—and the old playbook is being rewritten. At this exclusive, high-energy event, the world’s most innovative leaders will convene to explore how AI, humanity, and strategy converge to redefine, again, the future of work. Register now.
About the Author
Jessica Mathews
By Jessica MathewsSenior Writer
LinkedIn iconTwitter icon

Jessica Mathews is a senior writer for Fortune covering transportation, defense tech, and Elon Musk’s companies.

See full bioRight Arrow Button Icon

Latest in Tech

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025

Most Popular

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Fortune Secondary Logo
Rankings
  • 100 Best Companies
  • Fortune 500
  • Global 500
  • Fortune 500 Europe
  • Most Powerful Women
  • World's Most Admired Companies
  • See All Rankings
  • Lists Calendar
Sections
  • Finance
  • Fortune Crypto
  • Features
  • Leadership
  • Health
  • Commentary
  • Success
  • Retail
  • Mpw
  • Tech
  • Lifestyle
  • CEO Initiative
  • Asia
  • Politics
  • Conferences
  • Europe
  • Newsletters
  • Personal Finance
  • Environment
  • Magazine
  • 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
  • Group Subscriptions
About Us
  • About Us
  • Lists Calendar
  • Press Center
  • Work At Fortune
  • Terms And Conditions
  • Site Map
  • About Us
  • Lists Calendar
  • Press Center
  • Work At Fortune
  • Terms And Conditions
  • Site Map
  • Facebook icon
  • Twitter icon
  • LinkedIn icon
  • Instagram icon
  • Pinterest icon

Latest in Tech

The internet isn’t just like real life, a top VC says — it is real life. For a16z, that’s not philosophy, it’s an investment
Startups & Venturedigital economy
The internet isn’t just like real life, a top VC says — it is real life. For a16z, that’s not philosophy, it’s an investment
By Nick LichtenbergApril 22, 2026
18 minutes ago
helium
AIData centers
The AI economy runs on helium. The Iran war just created a $650 billion problem
By Nick LichtenbergApril 22, 2026
32 minutes ago
jensen huang
AINvidia
Nvidia CEO Jensen Huang says you won’t lose your job to AI—you’ll lose it to your coworker who uses it
By Jake AngeloApril 22, 2026
59 minutes ago
Elon Musk
SuccessEducation
Elon Musk thinks college is ‘basically for fun’—but his former Tesla HR chief tells Gen Z even their liberal arts degrees are more valuable than ever
By Preston ForeApril 22, 2026
2 hours ago
Capcom, Virgin Voyages bet on AI to reshape gaming and cruise travel
NewslettersCIO Intelligence
Capcom, Virgin Voyages bet on AI to reshape gaming and cruise travel
By John KellApril 22, 2026
2 hours ago
Steve Jobs called Tim Cook ‘not a product person,’ but still hand-picked him to run Apple and turn it into a $4 trillion tech giant
C-SuiteTech
Steve Jobs called Tim Cook ‘not a product person,’ but still hand-picked him to run Apple and turn it into a $4 trillion tech giant
By Marco Quiroz-GutierrezApril 22, 2026
3 hours ago

Most Popular

The tables have turned: Florida and Texas are the biggest losers in the housing market as Ohio emerges a surprise winner
Real Estate
The tables have turned: Florida and Texas are the biggest losers in the housing market as Ohio emerges a surprise winner
By Sydney LakeApril 21, 2026
23 hours ago
'Something sinister could be happening': FBI looks into dead or missing nuclear and space defense scientists tied to NASA, Blue Origin, and SpaceX
Politics
'Something sinister could be happening': FBI looks into dead or missing nuclear and space defense scientists tied to NASA, Blue Origin, and SpaceX
By Catherina GioinoApril 21, 2026
22 hours ago
$166 billion in tariff refunds just became available, but small businesses may already be at a disadvantage
Law
$166 billion in tariff refunds just became available, but small businesses may already be at a disadvantage
By Sasha RogelbergApril 20, 2026
2 days ago
Jeff Bezos once gave Eva Longoria and the admiral behind Osama bin Laden's capture $100 million—but she says you don't need wealth to give back
Success
Jeff Bezos once gave Eva Longoria and the admiral behind Osama bin Laden's capture $100 million—but she says you don't need wealth to give back
By Orianna Rosa RoyleApril 21, 2026
1 day ago
John Ternus, the man stepping into Tim Cook and Steve Jobs' shoes, is a 25-year Apple veteran with zero LinkedIn posts
C-Suite
John Ternus, the man stepping into Tim Cook and Steve Jobs' shoes, is a 25-year Apple veteran with zero LinkedIn posts
By Kelvin Chan and The Associated PressApril 21, 2026
1 day ago
‘Something sinister’: What we know about the FBI probe into dead and missing scientists linked to space and military industries
Economy
‘Something sinister’: What we know about the FBI probe into dead and missing scientists linked to space and military industries
By Jim EdwardsApril 22, 2026
7 hours ago

© 2026 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.