2 AI Stocks Getting a Federal Boost in 2025 – The Gov’s Bet on Next-Gen Tech
The U.S. government isn’t just watching the AI revolution—it’s placing big bets. These two stocks are getting direct backing in 2025, and Wall Street’s already salivating (when isn’t it?).
1. The Defense Darling
Classified contracts meet cutting-edge algorithms. One AI player’s tech is now embedded in national security systems—because nothing says ‘long-term revenue stream’ like Pentagon approval.
2. The Healthcare Disruptor
From FDA fast-tracks to Medicare reimbursement, this company’s diagnostic AI just became the government’s favorite shortcut to lower costs. Cynics whisper ‘band-aid solution,’ but the stock chart isn’t listening.
Both picks share one trait: They turn taxpayer-funded research into shareholder profits. Funny how that works—almost like someone designed it that way.
1. Palantir Technologies: The AI darling of the U.S. government
Palantir has been at the center of several notable deals with the federal government throughout 2025. In late May, it deepened its relationship with the Department of Defense (DOD) through a $795 million extension featuring its Maven Smart System (MSS). This brought the total value of the MSS program to $1.28 billion, making it a long-term revenue driver. More recently, the company won a deal with the Army reportedly worth up to $10 billion over the next 10 years.
Palantir's wins extend beyond the U.S. military as well. The company is building the Immigration Lifecycle Operating System -- often referred to as ImmigrationOS -- for Immigration and Customs Enforcement (ICE).
Signing multiyear billion-dollar deals provides Palantir with high revenue visibility, keeps its customer base sticky, and opens the door to upsell or cross-sell added services down the road.
The ability to parlay its defense expertise into other government functions also expands Palantir's public sector footprint and reinforces the breadth of its capabilities -- solidifying its role as a ubiquitous AI backbone for the U.S. government.

Image source: Palantir Investor Relations.
2. BigBear.ai: A niche player helping the public sector
Another AI software developer that has signed deals with the U.S. government this year is BigBear.ai. In February, it won a contract with the DOD to design a system to assist national security decision-making by analyzing trends and patterns in foreign media.

Image source: Getty Images.
Shortly thereafter, the company won a $13.2 million deal spread over three and a half years to support the Joint Chiefs of Staff's force management and data analytics capabilities.
In May, the company partnered with Hardy Dynamics to advance the Army's use of machine learning and AI for autonomous drones.
Lastly, BigBear.ai has a deal with U.S. Customs and Border Protection to deploy its biometric AI infrastructure system, called Pangiam, at a dozen major airports across North America to help streamline arrivals and improve security protocols.
Which is the better stock: Palantir or BigBear.ai?
Between the two stocks, I see Palantir as the clear choice. BigBear.ai has proved it can win meaningful government contracts, but its work is more niche-focused and smaller in scale compared to Palantir's multibillion-dollar deals across multiple platforms.
In my view, BigBear.ai's popularity is largely with retail investors who are hoping that it becomes the "next Palantir." Smart investors know that hope is not a real strategy. Prudent valuation analysis -- and not speculation -- is required to know which stock is truly worth buying.
While some on Wall Street may argue that Palantir stock is cheap based on software-specific metrics such as the Rule of 40, I'm not entirely bought into such a narrative.

PLTR PS Ratio data by YCharts.
Traditional approaches to valuation, such as the price-to-sales ratio (P/S), show that Palantir is the priciest software-as-a-service stock among the businesses in the chart above -- and its valuation expansion means that shares are becoming even more expensive as the stock continues to rally.
Palantir is an impressive company that has proved it can deliver on crucial applications, but the stock is historically expensive. I think that investors are better off waiting for a more reasonable entry point and paying a more appropriate price down the road.