Palantir's AIP gives it a huge advantage, leading the company to generate more than $4 billion in revenue in 2025.
BigBear.ai operates on a much smaller scale, but revenue is expected to climb 22% next year.
While computing needs sophisticated hardware and solid infrastructure to support it, it's all just a pile of circuits and wiring without the software to make it operate. Leading software companies can be massively profitable investments, as they develop products that companies need.
Two software companies working in the government space are Palantir Technologies (NASDAQ: PLTR) and BigBear.ai (NYSE: BBAI). But while Palantir has enjoyed a massive growth window, BigBear.ai is struggling to gain traction.
Where to invest $1,000 right now? Our analyst team just revealed what they believe are the 10 best stocks to buy right now, when you join Stock Advisor. See the stocks »
Which of these is the better investment for the next several years?
Image source: Getty Images.
Palantir has been a government contractor for years, providing data coordination and analysis to the U.S. government, including analysis that led to the capture of the terrorist Osama bin Laden. The company eventually expanded into commercial data analysis, and it came into its own nearly three years ago, when it launched its revolutionary Artificial Intelligence Platform (AIP).
AIP allows its customers to integrate large language models into its massively powerful platforms, which makes it much easier for users to create detailed prompts with minimal training. Palantir launched a series of "AIP Bootcamps" to introduce the platforms to an expanded client base, emphasizing adoption by commercial clients.
The results have been astounding. Revenue in the fourth quarter was up 70% from a year ago to $1.40 billion. And for the full year, Palantir saw 56% revenue growth, reaching $4.475 billion.
Net income for the full year was $1.62 billion, up 36% from a year ago, and free cash flow was $2.27 billion, up from less than $800 million in 2024.
In the fourth quarter alone, Palantir reported closing 180 deals -- roughly two per day -- valued at more than $1 million each. Eighty-four of those deals were valued at least $5 million, and 61 had a value of $10 million or more.
Analysts at Yahoo! Finance expect Palantir to see another 75% jump in revenue this year, to $7.25 billion. The average price target for Palantir stock is nearly $190, which represents a potential 44% run-up in stock price.
BigBear.ai is also a software provider. But the major difference between the two companies is that Palantir's Foundry and Gotham platforms are relatively versatile, usable across a variety of businesses and government agencies.
The stock dropped last year, as lower volume in its U.S. Army program led to a decline in revenue. The share price is down 56% in the last 12 months, including a 25% drop since the beginning of the year.
BigBear.ai also uses artificial intelligence (AI) in its software -- its ConductorOS platform connects to sensors, unmanned vehicles, and field computers and works with cloud services to enable users to make real-time decisions. It also purchased AskSage at the end of 2025, a generative AI platform that is designed for national security agencies and military units.
The consensus estimate from analysts monitored by Yahoo! Finance puts BigBear.ai revenue at $164.3 million next year -- a projected increase of 22%, but a far cry from Palantir's sales.
While Palantir's extreme valuation -- a forward P/E ratio of 110 and a price-to-sales ratio of 75 -- is eye-watering, BigBear.ai is a penny stock at this point, subject to extreme volatility and potential risk. I would rather have a stock with a solid growth curve, even at an extreme valuation, than one that is barely treading water.
Before you buy stock in Palantir Technologies, consider this:
The Motley Fool Stock Advisor analyst team just identified what they believe are the 10 best stocks for investors to buy now… and Palantir Technologies wasn’t one of them. The 10 stocks that made the cut could produce monster returns in the coming years.
Consider when Netflix made this list on December 17, 2004... if you invested $1,000 at the time of our recommendation, you’d have $415,256!* Or when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you’d have $1,151,865!*
Now, it’s worth noting Stock Advisor’s total average return is 892% — a market-crushing outperformance compared to 194% for the S&P 500. Don't miss the latest top 10 list, available with Stock Advisor, and join an investing community built by individual investors for individual investors.
See the 10 stocks »
*Stock Advisor returns as of February 20, 2026.
Patrick Sanders has positions in Palantir Technologies. The Motley Fool has positions in and recommends Palantir Technologies. The Motley Fool has a disclosure policy.