The market is worried about the return on investment of AI spending.
Microsoft's AI strategy appears to be working out.
A cloud business could boost Meta's stock.
Being a Microsoft (NASDAQ: MSFT) and Meta Platforms (NASDAQ: META) investor in 2026 has been pretty disappointing. The stocks are both negative for the year, with Meta down nearly 10% while Microsoft is down over 20%. With these two widely being considered two of the major AI hyperscalers, it's surprising to see their stocks down so much, but the market hasn't bought what these two are selling.
All of that could change in the next few days as they report final results, but in the meantime, I think there's a clear winner to load up on.
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 »
Image source: Getty Images.
Meta Platforms' demise has ultimately been in its own hands. The market is worried that Meta's AI spending could be a repeat of its metaverse debacle, in which it spent billions on developing a metaverse that never panned out and was eventually shut down. Meta is spending hundreds of billions on AI data centers and using all of this AI computing capacity for internal uses, but doesn't really have a groundbreaking model to show for it. While its Llama model is used heavily on its social media platforms, it hasn't found a ton of use in the AI community at large, making it seem like a flop. Furthermore, Meta isn't charging for it, so there doesn't appear to be a payoff for investors, either.
Meta is focused on building a superintelligence model that could be paired with some of its AI glasses to see and interact with the world around it. This is its major bet, and if it pans out, it could pay off, but if it doesn't, hundreds of billions of dollars would have been spent for nothing. Meta's strategy doesn't convince the market of its worth, so the stock is down.
The bear case for Microsoft is a lot less clear. Microsoft's AI strategy is actually panning out, with its AI annual revenue run rate passing $37 billion during its last quarter, up 123% year over year. This includes products like Copilot, which has become a top tool for businesses to use. Microsoft also has a thriving cloud computing segment, with revenue soaring 40% year over year. Microsoft is checking all of the boxes it should be to be a successful investment in the AI world, yet the market has chosen to sell it off.
These two now trade for similar valuations, with Meta being slightly cheaper.

MSFT PE Ratio (Forward) data by YCharts
For reference, the S&P 500 trades for 21.5 times forward earnings, so both stocks are cheaper than the broader market.
But which one is the better buy now?
One announcement could change the course of Meta's stock trajectory: a cloud computing business. Investors have largely given companies like Microsoft a pass because some of the money that it's spending on data centers is being used for cloud computing capacity, which has a well-defined payoff. Meta doesn't have that, but rumors are growing that it may be launching one soon. The market would then have a clear path as to partial monetization of its computing resources, and that could ignite a rally in Meta's stock.
While that's a positive outlook, I think the better bet is Microsoft stock, as it already has a thriving cloud computing segment and a great AI business. With Microsoft trading at a fairly cheap valuation and having little execution risk, I think it's about as no-brainer a buy in the stock market as it gets.
Unless Microsoft completely flops during the next quarter, I wouldn't be surprised to see the stock rally, as there isn't a great reason for it to be down so much when it's executing at a high level.
Before you buy stock in Microsoft, 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 Microsoft 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 $377,990!* 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,269,518!*
Now, it’s worth noting Stock Advisor’s total average return is 896% — a market-crushing outperformance compared to 206% 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 July 26, 2026.
Keithen Drury has positions in Meta Platforms and Microsoft. The Motley Fool has positions in and recommends Meta Platforms and Microsoft. The Motley Fool has a disclosure policy.