New: Instantly spot drawdowns, dips, insider moves, and breakout themes across Maps and Screener.

Learn More

Better Artificial Intelligence Stock: Nvidia vs. Palantir

By Stefon Walters | February 04, 2026, 4:49 AM

Key Points

Over the past couple of years, Nvidia (NASDAQ: NVDA) and Palantir (NASDAQ: PLTR) have been among the hottest stocks on the market. Nvidia has grown to become the world's most valuable public company, and Palantir's market cap has jumped by more than 835%.

Although both are some of the more popular artificial intelligence (AI) stocks, their roles in that space are entirely different. It's not an apples-to-apples comparison, but if I had to pick one to invest in, the choice is clear.

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 »

Colorful digital background featuring large glowing "AI" text.

Image source: Getty Images.

What does Nvidia do?

Nvidia provides crucial hardware that makes training and running AI possible. Without products like its GPUs and other networking equipment, the AI sector wouldn't be anywhere near the scale it is today.

That's why its valuation has flown higher during the AI boom. Its leadership position has also allowed it to increase its prices because demand for AI accelerators is far outpacing supply. Last quarter, Nvidia's data center revenue rose 66% year over year to $51.2 billion. Three years ago, its data center revenue was only $3.83 billion.

What does Palantir do?

Palantir is an AI software company specializing in data analytics. It has been around since 2003, but its recent surge in popularity on Wall Street has a lot to do with how its business has been expanding. For much of its existence, Palantir's focus was largely on government contracts. Its largest clients include the Defense Department, the CIA, the FBI, and ICE.

Today, the U.S. government is still its top client, but its U.S. commercial business has emerged as a legitimate growth area, and its demonstration that it can be more than just a government contractor has sparked a lot of investor interest.

Which is the better AI stock?

If I had to choose between Nvidia and Palantir for an AI investment, I would go with Nvidia. Its offerings are crucial to AI infrastructure, while Palantir's is software based and will rely more on adoption.

There's also a wide valuation difference between them that shouldn't be ignored. As of the start of February, Nvidia was trading at around 40.7 times its projected earnings over the next 12 months, while Palantir was trading at around 144.7 times its projected earnings. Nvidia's stock is expensive. Palantir's stock is unreasonably expensive.

NVDA PE Ratio (Forward) Chart

NVDA PE Ratio (Forward) data by YCharts.

There's still uncertainty about what the AI boom will lead to and how the landscape will look years from now. That's why I'd rather invest in a company that focuses on infrastructure and can sell its products into markets beyond AI, versus one that's solely reliant on its AI software business.

Should you buy stock in Nvidia 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 $446,319!* 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,137,827!*

Now, it’s worth noting Stock Advisor’s total average return is 932% — a market-crushing outperformance compared to 197% 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 4, 2026.

Stefon Walters has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Nvidia and Palantir Technologies. The Motley Fool has a disclosure policy.

Latest News

4 min
9 min
13 min
20 min
43 min
1 hour
1 hour
2 hours
2 hours
2 hours
3 hours
3 hours
3 hours
4 hours
4 hours