Despite the bad start to this year, Nvidia (NVDA +0.69%) and Palantir (PLTR 0.84%) have been some of the market's hottest stocks during this artificial intelligence (AI) boom. Their stocks are up around 530% and 1,640% in the past three years, respectively.
They're both AI giants, but in different spaces. Nvidia is an AI hardware powerhouse, and Palantir is thriving on the software side. Given their success and leadership in their respective industries, which stock will make you richer?
Image source: The Motley Fool.
It's hard to discuss these two stocks without diving into their valuations. As of market open on March 27, Nvidia's stock was trading at a forward price-to-earnings (P/E) ratio around 20.6 times. Palantir's stock was trading at more than five times that, with a forward P/E ratio of around 109.4.

NASDAQ: NVDA
Key Data Points
That alone doesn't make Nvidia the automatic answer, but the huge gap between them is noteworthy. Palantir's stock is priced for near-perfection, so anything short of meeting those expectations could result in huge drops. Volatility is inevitable with both stocks, but Nvidia's valuation makes it less vulnerable.

NASDAQ: PLTR
Key Data Points
On the business side, I trust Nvidia's long-term competitive advantage more than Palantir's because its hardware business has a higher barrier to entry and a more commanding role in the AI pipeline. Palantir's business is becoming more diversified, but it still relies a lot on large government contracts, which could be limiting.
If I had to choose one to trust to make more money in the long term, it's Nvidia.





