Better Artificial Intelligence (AI) Stock: Palantir Technologies vs. Microsoft

Source The Motley Fool

Artificial intelligence (AI) has the potential to change just about every industry under the sun, and businesses are spending heavily to stay ahead of the curb. AI-powered software can automate simple tasks while making knowledge workers more efficient and productive in their jobs. It can also help decision-makers combine relevant data points to make better decisions at a faster pace.

The enterprise AI software market is expected to grow from $98 billion in 2024 to $391 billion by 2030, according to ABI Research. Generative AI solutions, like AI agents, will grow even faster. Two companies stand at the forefront of AI-powered enterprise software: Palantir Technologies (NASDAQ: PLTR) and Microsoft (NASDAQ: MSFT).

Where to invest $1,000 right now? Our analyst team just revealed what they believe are the 10 best stocks to buy right now. Learn More »

Both stocks have soared amid the current bull market, but the recent pullback may be a buying opportunity for one of them. Here's the better artificial intelligence stock right now.

A man using a laptop with a graphic overlay displaying the letters AI at the center.

Image source: Getty Images.

Palantir: Accelerating growth thanks to its new AI Platform

Palantir makes software that aggregates data from across an enterprise's operations and derives actionable insights for its users. The introduction of its Artificial Intelligence Platform (AIP) made it easier for anyone to start working with its data analysis software through natural language thanks to the power of large language models. That drove an acceleration in Palantir's results over the last two years.

Palantir saw revenue grow 29% year over year in 2024 while its adjusted operating margin expanded to 39% from 28% in the prior year. The fourth quarter saw it produce even better results for both revenue growth (36%) and profitability (45% margin). Management's outlook for 2025 suggests revenue growth of 31% and adjusted operating margin expanding to 42%.

Palantir benefits significantly from scale as a software company with minimal marginal costs. CEO Alex Karp takes a product-first approach to building the business, focusing on making an excellent product for a few select clients with deep pockets. As the product improves and it adds more features, it becomes more appealing to a broader group of businesses. AIP has been key to expanding its usefulness for more businesses.

Palantir has two key segments: government and commercial. It started by working exclusively on challenges facing the U.S. military, and its government platform still accounts for the majority of its revenue. Government contracts are generally very sticky, which ensures a solid base of revenue for Palantir.

That said, Palantir could face headwinds amid growing geopolitical tensions and as the U.S. government looks to cut back spending. As does the rest of the federal government, the Pentagon currently faces steep budget cuts, which could negatively impact Palantir's largest source of revenue. On the other hand, some believe the budget cuts could benefit Palantir, as it makes workers more efficient and effective, increasing the need for its software if the military reduces staff.

Amid the political tensions, Palantir looks to highlight its success outside of government contracts. Its AIPCon featured a slew of new commercial clients from around the world. As commercial clients grow, Palantir should be able to continue producing strong revenue growth and expanding its operating margin.

The big problem with Palantir stock, though, is its valuation. Even after the recent sell-off, shares trade for over 70 times its 2024 revenue as of this writing. If you use management's 2025 outlook, the price is 55 times its projected sales for the current year. Only a handful of stocks have traded at such a massive multiple. And history didn't side with buying them at prices comparable to Palantir's.

Microsoft: An AI leader on two fronts

Microsoft catapulted itself to the forefront of the AI discussion when it added $10 billion to its investment in OpenAI in early 2023. Since then, it's become a leader on two fronts of the growing artificial intelligence market: cloud computing and enterprise software.

Microsoft's cloud computing platform, Azure, saw substantial growth over the last two years as businesses look to access compute and foundational models on the cloud to develop new AI solutions for their businesses or new AI-powered products for their customers. Management said AI services revenue on Azure grew 157% year over year in its most recent quarter, contributing to 31% overall growth in the cloud computing segment.

Management also said demand for AI services exceeded its capacity, indicating that it could grow even faster in the future. And Microsoft is certainly investing to take advantage of the opportunity. It will invest $80 billion on capital expenditures this year, mostly on AI data centers. That growing spend will support both the growing demand of its Azure cloud platform and Microsoft's own AI development.

To that end, Microsoft developed its line of AI assistants, dubbed Copilot, for use across its various software platforms, including Github, Microsoft 365, and Dynamics 365. It also offers a stand-alone Copilot app. Businesses can also use Microsoft's Copilot Studio to harness their own data and create their own AI agents to help them automate tasks and surface useful insights for workers. Early adoption of Copilot led to growing revenue and expanding margins for Microsoft's Productivity and Business Processes segment.

Microsoft might not be growing as quickly as Palantir, but its stock also trades for a much more reasonable valuation for the substantial growth it does provide investors. You can currently buy the stock for less than 11 times its trailing sales. Looking at its earnings potential, shares trade for roughly 29 times analyst estimates for earnings per share over the next year. Neither is particularly cheap, but those valuations are below its average multiple since the start of 2021. A company with leadership in AI on two fronts certainly deserves a premium, and the current price is attractive for what you get.

Microsoft looks like a much better buy than Palantir stock after the recent sell-off in both.

Should you invest $1,000 in Palantir Technologies right now?

Before you buy stock in Palantir Technologies, 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 Palantir Technologies wasn’t one of them. The 10 stocks that made the cut could produce monster returns in the coming years.

Consider when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you’d have $745,726!*

Stock Advisor provides investors with an easy-to-follow blueprint for success, including guidance on building a portfolio, regular updates from analysts, and two new stock picks each month. The Stock Advisor service has more than quadrupled the return of S&P 500 since 2002*. 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 March 14, 2025

Adam Levy has positions in Microsoft. The Motley Fool has positions in and recommends Microsoft 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.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Gold rallies to a new all-time high in its sprint toward $3,000Gold’s price (XAU/USD) hits a fresh all-time high above the $2,990 level at the time of writing on Friday, registering a weekly gain of over 2.5% for now.
Author  FXStreet
Mar 14, Fri
Gold’s price (XAU/USD) hits a fresh all-time high above the $2,990 level at the time of writing on Friday, registering a weekly gain of over 2.5% for now.
placeholder
Tesla Stock Plunges 36%! Trade War Threats Escalate, Manufacturing Costs May Rise!TradingKey - Tesla's stock has plummeted over 36% this year, with the company warning in a letter to the USTR that Trump's trade war could make it a target for retaliatory tariffs.  Recently, U.S. aut
Author  TradingKey
Mar 14, Fri
TradingKey - Tesla's stock has plummeted over 36% this year, with the company warning in a letter to the USTR that Trump's trade war could make it a target for retaliatory tariffs.  Recently, U.S. aut
placeholder
GBP/USD loses momentum below 1.2950 on downbeat UK GDP dataThe GBP/USD pair loses ground to near 1.2925 during the early European session on Friday.
Author  FXStreet
Mar 14, Fri
The GBP/USD pair loses ground to near 1.2925 during the early European session on Friday.
placeholder
EUR/USD drifts lower below 1.0850 on US-EU tariff disputeThe EUR/USD pair edges lower to around 1.0835 during the Asian trading hours on Friday.
Author  Mitrade
Mar 14, Fri
The EUR/USD pair edges lower to around 1.0835 during the Asian trading hours on Friday.
placeholder
XRP Price Builds Base—Short-Term Rally May Be BrewingXRP price started a fresh recovery wave above the $2.120 zone. The price is now consolidating and might clear the $2.350 resistance zone. XRP price started a fresh recovery wave above the $2.120
Author  NewsBTC
Mar 14, Fri
XRP price started a fresh recovery wave above the $2.120 zone. The price is now consolidating and might clear the $2.350 resistance zone. XRP price started a fresh recovery wave above the $2.120
goTop
quote