Palantir Technologies (NASDAQ: PLTR) has emerged as a leading artificial intelligence company, offering AI data analytics to the U.S. government and businesses. And the company is growing quickly, with sales rising 39% to $884 million and adjusted earnings increasing 63% to $0.13 per share in the first quarter.
That second figure is especially notable because many AI start-ups aren't profitable, making Palantir an exception among many of its peers. Its success has helped propel the company's share price to dizzying heights, gaining nearly 500% over the past year. But this rapid rise means that its stock is now extremely expensive, trading at a price-to-earnings ratio (P/E) of 574.
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 »
Paying such a high premium typically isn't a wise decision. So, here are two other AI companies that are leaders as well, at a much lower premium.
Image source: Getty Images.
Nvidia (NASDAQ: NVDA) doesn't need an introduction for anyone who follows the tech sector closely, but it's worth highlighting some of the strengths of the company to show just how dominant it is in AI. Here are a few highlights:
Its financial performance remains very strong, and the company has little competition in AI data center processors. While there have been some rumblings of tech companies backing away from spending in this category, a slowdown has yet to happen.
Data center spending will reach $1.1 trillion in 2029, double what companies were spending last year, according to the analysis website Network World.
It's worth noting that Nvidia's stock has a P/E of 46, which means it's not necessarily cheap. Still, it's far less pricey than Palantir, and the company arguably has a much bigger competitive moat in AI than Palantir does.
It's easy to overlook Microsoft (NASDAQ: MSFT) because it has seemingly been around forever. But while younger AI companies may attract a lot of attention, Microsoft is already benefiting from AI and continues to be a leading player in cloud computing.
Its Azure cloud computing service now has a 21% market share in its market, making gains against Amazon, which holds 30% of the market. Cloud services sales spiked 35% in its fiscal third quarter (which ended March 31), showing that the company continues to find new ways to increase demand in this area.
And management wisely invested in OpenAI early, giving the company access to ChatGPT when it debuted. Since then, Microsoft has integrated the chatbot into many of its services, giving it an edge over other tech giants that are still trying to catch the AI wave (I'm looking at you, Apple).
That's one of the reasons why the stock has jumped 42% over the past two years, while Apple's has gained just 12%. With its early moves into AI coupled with the company's strong cloud business, Microsoft is poised to continue benefiting as artificial intelligence expands. And with the stock having a P/E of just 36, it's far less expensive than Palantir.
Palantir has a good product that is profiting from AI, but I think buying the company's stock when it's so expensive could be a mistake. There are plenty of other tech companies benefiting from AI with share prices that are far less frothy, with Nvidia and Microsoft being two of the best right now.
Before you buy stock in Nvidia, 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 Nvidia 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 $653,702!* Or when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you’d have $870,207!*
Now, it’s worth noting Stock Advisor’s total average return is 988% — a market-crushing outperformance compared to 172% 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 June 9, 2025
John Mackey, former CEO of Whole Foods Market, an Amazon subsidiary, is a member of The Motley Fool's board of directors. Chris Neiger has positions in Apple. The Motley Fool has positions in and recommends Amazon, Apple, Microsoft, Nvidia, and Palantir Technologies. The Motley Fool 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.