Palantir Technologies (NASDAQ:PLTR) did not join the S&P500 until September 2024. But with a staggering 340% gain, the stock still managed to finish the year as the best performing stock in the index.

Some investors might be tempted to jump on the bandwagon, even if it’s a little late. However, I don’t think this is the best strategy. Here are three artificial intelligence (AI) stocks to buy in 2025 (listed alphabetically) that might be better picks than Palantir.

Parent Google Alphabet (NASDAQ:GOOG) (NASDAQ:GOOGL) made an impressive gain of nearly 36% last year, although that return pales in comparison to Palantir’s. However, I suspect Alphabet could be a bigger winner in 2025 than Palantir for several reasons.

Probably the biggest blow to Palantir right now is its valuation. Shares of the AI ​​and data analytics software company trade at nearly 159 times forward earnings and nearly 69 times sales. Palantir is growing by leaps and bounds but, in my opinion, not enough to justify its high price. Alphabet, on the other hand, looks like a bargain with a forward earnings multiple of 21.

I expect strong growth from Alphabet this year. The company’s Google Cloud business is expected to have an exceptionally good outlook with continued demand for cloud services fueled by AI. Adoption of AI agents could also take off in 2025, which would be another major tailwind for Alphabet.

Also don’t overlook the potential impact of Waymo, Alphabet’s self-driving car unit, over the next few years. Waymo plans to expand to Atlanta and Austin, Texas in 2025 in partnership with Uber. While this business probably won’t contribute much to Alphabet’s revenue this year, it could be a huge growth engine by the end of the decade.

Nvidia (NASDAQ:NVDA) ranked two spots behind Palantir as the third-largest stock in the S&P 500 in 2024. Shares of the graphics processing unit (GPU) maker have soared 171% in the past year. I think this dynamic will continue in 2025.

Despite last year’s huge gain, Nvidia’s valuation isn’t that scary. The stock trades at 31 times forward earnings. This may seem expensive, but it is not if the business can continue to grow robustly.

The launch of the new Blackwell GPUs should continue Nvidia’s strong growth. In an interview with CNBC in October, CEO Jensen Huang called the demand for Blackwell “crazy.” This is consistent with CFO Colette Kress’ comment during Nvidia’s November earnings call, saying “Blackwell’s demand is staggering.”