Microsoft isn't in the headlines like some of its peers are.
But it is still spending big on artificial intelligence (AI).
There has been a lot of talk surrounding Nvidia over the past few days, and rightfully so, amid serious allegations at the CEO level and potential company misconduct in the getting around U.S. export controls. Other companies have also been in the news such as Anthropic (NASDAQ:ANT) and its blockbuster initial public offering.
However, one that has flown under the radar is Microsoft (NASDAQ:MSFT). When the market has a bearish mindset, staying under the radar as a company is normally a good idea, but a company can only keep so much of a low profile when it's the second-largest in the world by market capitalization.
Missed Nvidia in 2009? This Rare Signal Is Flashing Again. In 2009, a "Double Down" signal flashed for a little-known chipmaker called Nvidia. For the first time in years, that same "Total Conviction" signal is flashing for a company 1/100th the size of Nvidia. Continue »
But is Microsoft a good buy today? Or should the market be worried about it too? After all, it hit a fresh all-time high just days ago.
Image source: Getty Images.
The best companies to compare Microsoft to are Alphabet (NASDAQ:GOOG) (NASDAQ:GOOGL) and Amazon (NASDAQ:AMZN). These two may not seem like great comparisons on the surface, but they are all approaching AI in a similar manner: Investing in outside companies and building out computing power. All three of these companies have significant investments in AI labs to give them exposure to the companies pioneering AI technology.
While Alphabet and Amazon own a massive amount of Anthropic (about 30% combined), Microsoft owns nearly the same amount of OpenAI, its primary competitor. While OpenAI isn't public yet, it will likely become so in the near future, and is likely keeping an eye on how successful Anthropic is on the public markets. So, Microsoft's payday for its OpenAI investment will need to wait, which may not be a bad thing.
The other area these three compete heavily in is cloud computing. AI firms don't have the resources to build out an extensive data center network to power their workloads. So, they choose to rent it from providers like Microsoft Azure, Amazon Web Services (AWS), and Google Cloud. All three companies have seen their backlog explode from massive AI computing demand, and the backlog totals are in the hundreds of billions for each company. As a result, each company is spending heavily to build out its computing capacity.
However, Microsoft is being less aggressive, which the market respects. This year, both Amazon and Alphabet plan to spend at least $200 billion on data center capital expenditures. Microsoft only plans to spend $170 billion. While this may sound like it's falling behind, the reality is that Microsoft isn't stretching itself thin.

MSFT Free Cash Flow (Quarterly) data by YCharts
Microsoft has maintained strong free cash flow, meaning that it's still sending cash to the bottom line. Amazon and Alphabet have dipped into negative territory, meaning they are either burning through cash reserves to fund operations or taking out loans. Both of these two activities aren't favorable in the market's eyes. This could lead to Microsoft being viewed more favorably, but it could cost it some market share in the end if it isn't aggressive enough.
The market normally takes a short-term view for situations like this, which is why Microsoft's stock is viewed favorably. But does that make it a smart buy now?
Microsoft is already in its fiscal 2027, ending June 30. So comparing forward earnings price tags is a bit difficult to its peers. But at 25 times forward earnings, Microsoft is neither expensive nor cheap.

MSFT PE Ratio (Forward) data by YCharts
Amazon is nearly in line with Microsoft's valuation at 24.5 times fiscal 2027 earnings estimates, but Alphabet is far cheaper at 18 times next year's earnings.

GOOG PE Ratio (Forward 1y) data by YCharts
That's a big mismatch, and could point to Alphabet being a smarter buy than Microsoft, especially if it can steal some of its cloud computing market share.
Microsoft is staying conservative in its spending. We'll see if it costs them, but as of right now, I'd say Microsoft is an OK stock to buy. It will likely beat the market, but won't do it by much due to its current price tag.
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 $313,329!* 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,014,158!*
Now, it’s worth noting Stock Advisor’s total average return is 796% — a market-crushing outperformance compared to 200% 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 November 24, 2026.
Keithen Drury has positions in Alphabet, Amazon, Microsoft, and Nvidia. The Motley Fool has positions in and recommends Alphabet, Amazon, Microsoft, and Nvidia. The Motley Fool has a disclosure policy.