BigBear.ai and C3.ai both faced a tough 2025, with year-over-year sales declines in their most recent quarters.
BigBear.ai was hit by federal government budget cuts.
C3.ai's sales execution faltered as its CEO stepped down.
Organizations around the world are racing to adopt artificial intelligence (AI), creating growth opportunities for many tech companies. These include two businesses delivering AI solutions to the U.S. government: BigBear.ai (NYSE: BBAI) and C3.ai (NYSE: AI).
The fervor around artificial intelligence helped BigBear.ai shares to soar more than 60% so far this year. Meanwhile, C3.ai stock was down nearly 50% in that time.
Where to invest $1,000 right now? Our analyst team just revealed what they believe are the 10 best stocks to buy right now. Continue »
Considering the different directions each company's stock is headed, the question is whether BigBear.ai's rising share price means it's the better investment between the pair, or if C3.ai's price drop signals a buy opportunity. To figure out which is the superior AI stock, let's unpack what's going on with these companies.
Image source: Getty Images.
President Donald Trump touted the importance of U.S. leadership in artificial intelligence, so this should be a boon for BigBear.ai and C3.ai. However, the Trump administration undertook spending cuts this year, and very little seemed spared.
These reductions hit BigBear.ai particularly hard, since the majority of its revenue comes from the federal government. The company's second-quarter sales fell to $32.5 million, down from $39.8 million in 2024.
BigBear.ai also slashed its 2025 sales outlook to a range between $125 million to $140 million. That's a sharp decline from 2024's $158.2 million in revenue.
Normally, these results would be bad news for BigBear.ai stock, but shares seem to be buoyed by some factors in the company's favor. First, the passage of the One Big Beautiful Bill Act provided historic funding levels to the Department of Homeland Security (DHS), one of BigBear.ai's customers.
Adding to this, BigBear.ai CEO Kevin McAleenan ran the DHS during Trump's first term. His connections to the agency may help the company win more DHS contracts in the future.
In addition, BigBear.ai forged a partnership with Tsecond, a defense technology company, in October. The deal means BigBear.ai's edge computing capabilities don't have to rely on an internet connection, making its AI battlefield technology more appealing to the U.S. military.
These factors may contribute to BigBear.ai's revenue growth in the future. Even so, the company isn't running a profitable business. In Q2, it had an operating loss of $90.3 million, up from the prior year's loss of $16.7 million, due to a goodwill impairment charge of $70.6 million.
While C3.ai has contracts with the federal government, it differs from BigBear.ai by also having a healthy business outside government circles. This is thanks to partnerships with Microsoft and other organizations, which act as an extended sales team by selling C3.ai's solutions.
The strategy is paying off. In C3.ai's fiscal first quarter ended July 31, the company booked 40 of 46 contracts through its partner network, with Microsoft contributing 24 deals. Of these, 28% involved the federal government, with the majority coming from diverse industries, such as manufacturing, energy, and healthcare.
However, C3.ai faces challenges this year, which caused its stock to fall. CEO Tom Siebe, had to step down for health reasons. The resulting organizational impact led to a letdown in its fiscal Q1 performance. Revenue dropped to $70.3 million from the prior year's $87.2 million, while its loss from operations grew to $124.8 million from $72.6 million in the previous year.
This raises questions whether the company can return to sales growth without Siebel. C3.ai hired a new CEO, Stephen Ehikian, on Sept. 3. The coming quarters should shed light on whether Ehikian can boost the company's future prospects.
Although 2025 introduced difficulties for BigBear.ai and C3.ai, both have the potential to bounce back. Wall Street seems to favor BigBear.ai, considering the company's share price is up this year, but so, too, is its valuation.
You can view this by contrasting the stock's forward price-to-sales (P/S) ratio to C3.ai's. After the sagging sales these companies experienced this year, the forward P/S multiple is helpful to see how their stock valuations compare in relation to the revenue they're expected to earn in the next 12 months.
Data by YCharts.
C3.ai was more expensive than BigBear.ai a year ago, but now, its stock is a far better value, given its lower P/S ratio. In fact, C3.ai stock's valuation looks attractive, considering its sales multiple has dropped in recent months.
At this stage, given the uncertainty around when these companies can rebound, the prudent approach is to see how they perform in the next quarter or two, then reevaluate which to invest in.
But if you had to choose one now, C3.ai is the better buy, thanks to its low share price valuation, greater revenue diversification across industries, and the support of a partner network with marquee AI allies such as Microsoft.
Before you buy stock in BigBear.ai, 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 BigBear.ai 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 $667,945!* 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,119,558!*
Now, it’s worth noting Stock Advisor’s total average return is 1,073% — a market-crushing outperformance compared to 191% for the S&P 500. Don’t miss out on the latest top 10 list, available when you join Stock Advisor.
See the 10 stocks »
*Stock Advisor returns as of October 20, 2025
Robert Izquierdo has positions in C3.ai and Microsoft. The Motley Fool has positions in and recommends Microsoft. The Motley Fool recommends C3.ai and recommends the following options: long January 2026 $395 calls on Microsoft and short January 2026 $405 calls on Microsoft. The Motley Fool has a disclosure policy.