Amazon, Alphabet, and Microsoft: Which 2 to Buy and Which 1 to Avoid

Source The Motley Fool

Key Points

  • Two of these hyperscalers have developed their own custom AI chips and foundation models, and their shares trade at relatively reasonable valuations.

  • The company with the higher stock valuation now is the one that made some missteps in its AI strategy.

  • 10 stocks we like better than Alphabet ›

Amazon (NASDAQ: AMZN), Alphabet (NASDAQ: GOOGL) (NASDAQ: GOOG), and Microsoft (NASDAQ: MSFT) are all synonymous with the cutting edge of tech, and all have helped lead the way in the artificial intelligence (AI) trend. Consequently, they now incorporate AI in nearly every part of their businesses.

Amazon and Microsoft are the leaders in the cloud infrastructure space, with market shares of 28% and 20%, respectively, and their roles in cloud computing make them prominent in the AI field. By contrast, Alphabet (No. 3, with a 15% share) was an AI software pioneer and now leads the way with its Google Gemini AI engine and in autonomous driving through its Waymo subsidiary, which could meaningfully contribute to Alphabet's financials as soon as 2027.

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 »

However, only two of these stocks look like promising buys now. Investors should probably consider adding Amazon and Alphabet shares to their portfolios, but they should refrain from picking up Microsoft now. Here's why.

A hand opening to reveal an AI logo.

Image source: Getty Images.

The staggering cost of AI

Admittedly, all three may appear to be stocks to avoid when considering their capital expenditures. Amazon is on course to lay out $220 billion on capex in 2026 alone, and it recently raised its forecast by $20 billion due to rising memory prices. Alphabet is not far behind, with a $195 billion to $205 billion spending plan.

Considering that Microsoft allocated $175 billion for the same purpose, these three companies should account for almost $500 billion in capex this year.

These companies are among the wealthiest publicly traded companies in terms of liquidity. Nonetheless, they have each taken out tens of billions of dollars in loans to finance their AI infrastructure build-outs. Such an act would have seemed inconceivable a year ago, and assuming the spending does not bring the desired returns, even tech heavyweights like these three could face significant pain.

The cases for and against these companies

Fortunately, all these companies have benefited from accelerating revenue growth amid their investments. Thus, they have received early signs that these investments are paying off, likely prompting them to increase capex further.

Still, Alphabet and Amazon have powerful AI platforms, and both have developed their own silicon and foundation models to further their AI advancement. Alphabet has even managed to induce Apple to adopt its foundation models to power Apple Intelligence, so it may hold an advantage.

The Google parent has also maintained one attribute the other two hyperscalers have lost -- positive free cash flow. Despite its high capex, Alphabet generated $53 billion in free cash flow in the second quarter. This almost ensures that it can afford to keep making these investments.

Additionally, Alphabet is cheap, trading at a P/E ratio of just 17. That low valuation suggests room for growth and reduces its downside risk if its capex investments do not pan out.

Amazon is in nearly as strong a position. Its P/E ratio is 20, a level that would have been unthinkable a few years ago when investors bought its stock at P/E ratios above 50 (and sometimes over 100) without hesitation.

Still, its free cash flow recently turned negative, and fell to negative $7.6 billion over the trailing 12 months. This is notable for a company that routinely generated tens of billions of dollars in annual free cash flow in past years.

Interestingly, Microsoft has the strongest free cash flows of the three. It generated almost $67 billion in free cash flow in its fiscal 2026, which ended June 30.

However, it appears to lag its competitors when it comes to AI technology. It initially partnered with OpenAI. Although it looked poised to lead the industry for that reason, Microsoft's software did not necessarily benefit from OpenAI's innovations. Consequently, its Bing search engine has not taken much of the market away from Google Search, despite the impact of OpenAI's ChatGPT.

The company is now developing AI technology independently of OpenAI and continues to improve its Copilot AI engine. Nonetheless, both Google Gemini and Anthropic's Claude tend to outpace Copilot in popularity when outside of Microsoft's Windows environment.

Furthermore, Microsoft has a significantly higher valuation, trading at 27 times earnings. Unless it can catch up to its "Magnificent Seven" competitors, it is less likely that investors will continue to pay a premium for Microsoft stock.

Choose Alphabet and Amazon

Among these three stocks, Alphabet and Amazon are the ones that belong on investors' buy lists.

Admittedly, all three companies are spending staggering amounts on capex. Moreover, even though Microsoft may lag its competitors slightly, its stock is likely more of a hold than a sell.

However, Alphabet and Amazon stand out as leaders in specific niches of AI. When also considering their ability to handle massive capex demands and their reasonable valuations, investors will more than likely profit in the long run by owning those stocks.

Should you buy stock in Alphabet right now?

Before you buy stock in Alphabet, 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 Alphabet 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 $417,413!* 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,341,294!*

Now, it’s worth noting Stock Advisor’s total average return is 950% — a market-crushing outperformance compared to 212% 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 September 13, 2026.

Will Healy has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Alphabet, Amazon, Apple, and Microsoft. The Motley Fool has a disclosure policy.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Gold Price Forecast: PPI and Oil Prices Fuel Inflation Concerns, Can CPI Change Gold's Direction?As of the Asian session on September 11, gold prices (XAUUSD) remained in weak consolidation today after dropping sharply to near $4,300 on Thursday, with the latest price trading around
Author  TradingKey
Sep 11, Fri
As of the Asian session on September 11, gold prices (XAUUSD) remained in weak consolidation today after dropping sharply to near $4,300 on Thursday, with the latest price trading around
placeholder
US August CPI lands tonight: after a 5.4% PPI shock, will the Fed hike on September 16?US August PPI came in at 5.4% year-on-year, above the 5.3% consensus, with core PPI at 4.6%. Traders have pushed the odds of a 25bp Fed hike on September 15-16 to around 70%. Tonight's CPI is the last major inflation print before the decision — here is the full calendar, the consensus numbers, and what a hot versus cool reading would mean for the dollar, yields, gold and stocks.
Author  Irene Q.
Sep 11, Fri
US August PPI came in at 5.4% year-on-year, above the 5.3% consensus, with core PPI at 4.6%. Traders have pushed the odds of a 25bp Fed hike on September 15-16 to around 70%. Tonight's CPI is the last major inflation print before the decision — here is the full calendar, the consensus numbers, and what a hot versus cool reading would mean for the dollar, yields, gold and stocks.
placeholder
US-Iran Conflict Drives Oil Surge as WTI Tops $100 and Brent Nears $110International oil prices continued to advance rapidly this week. On Thursday Eastern Time, WTI crude (USOIL) broke through the $100/barrel mark, closing at $103.94, up 7.51%; Brent crude
Author  TradingKey
Sep 11, Fri
International oil prices continued to advance rapidly this week. On Thursday Eastern Time, WTI crude (USOIL) broke through the $100/barrel mark, closing at $103.94, up 7.51%; Brent crude
placeholder
TradingKey Daily Market Briefing: WTI Oil Tops $100, US Stocks Fall for 4th Day, Apple Bucks Trend, CPI AheadTracking Market TrendsTradingKey - On September 10 Eastern Time, the three major US stock indices fell for the fourth consecutive trading day. US August PPI showed upstream price pressures continued t
Author  TradingKey
Sep 11, Fri
Tracking Market TrendsTradingKey - On September 10 Eastern Time, the three major US stock indices fell for the fourth consecutive trading day. US August PPI showed upstream price pressures continued t
placeholder
US August CPI Preview: Will Inflation Reaccelerate? US Stocks, Dollar and Gold Face Key Test On Friday, September 11 (ET), the U.S. Bureau of Labor Statistics will release the Consumer Price Index (CPI) for August, the final major inflation report before the Federal Reserve's Sep
Author  TradingKey
Sep 10, Thu
On Friday, September 11 (ET), the U.S. Bureau of Labor Statistics will release the Consumer Price Index (CPI) for August, the final major inflation report before the Federal Reserve's Sep
goTop
quote