Better Artificial Intelligence Stock: Nvidia vs. Palantir

Source The Motley Fool

Key Points

  • Nvidia provides key hardware used to train and power AI.

  • Palantir is expanding its client base well beyond government agencies and militaries.

  • 10 stocks we like better than Nvidia ›

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.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Ethereum (ETH) Price Closes Above $3,900 — Is a New All-Time High Possible Before 2024 Ends?Once again, the price of Ethereum (ETH) has risen above $3,900. This bounce has hinted at a further price increase for the altcoin before the end of the year.
Author  Beincrypto
Dec 17, 2024
Once again, the price of Ethereum (ETH) has risen above $3,900. This bounce has hinted at a further price increase for the altcoin before the end of the year.
placeholder
Markets in 2026: Will gold, Bitcoin, and the U.S. dollar make history again? — These are how leading institutions thinkAfter a turbulent 2025, what lies ahead for commodities, forex, and cryptocurrency markets in 2026?
Author  Insights
Dec 25, 2025
After a turbulent 2025, what lies ahead for commodities, forex, and cryptocurrency markets in 2026?
placeholder
Bitcoin Faces Risk of Deeper Losses as Price Action Echoes Past Bear MarketsBitcoin price targets remain bearish as it struggles near multi-month lows, influenced by historical bear market trends.
Author  Mitrade
Feb 02, Mon
Bitcoin price targets remain bearish as it struggles near multi-month lows, influenced by historical bear market trends.
placeholder
Analyst Flags XRP as Market’s ‘Best Risk/Reward’ Play as Token Tests Critical $1.60 SupportCrypto analyst Scott Melker identifies a prime risk/reward setup for XRP as it tests key support at $1.60, offering a tight stop-loss against potential upside targets near $2.00.
Author  Mitrade
Yesterday 06: 24
Crypto analyst Scott Melker identifies a prime risk/reward setup for XRP as it tests key support at $1.60, offering a tight stop-loss against potential upside targets near $2.00.
placeholder
Bitcoin Reaches ‘Fire-Sale’ Valuations as ETF Outflows Jump, Says BitwiseBitcoin’s two-year rolling MVRV z-score has dropped to its lowest level ever, pointing to extreme undervaluation.
Author  Mitrade
Yesterday 10: 25
Bitcoin’s two-year rolling MVRV z-score has dropped to its lowest level ever, pointing to extreme undervaluation.
goTop
quote