Better $3 trillion AI stock to buy now: Microsoft or Alphabet

Alphabet's stock has surged in recent weeks.

| More on:
Robot hand and human hand touching the same space on a digital screen, symbolising artificial intelligence.

Image source: Getty Images

You’re reading a free article with opinions that may differ from The Motley Fool’s Premium Investing Services. Become a Motley Fool member today to get instant access to our top analyst recommendations, in-depth research, investing resources, and more. Learn More

This article was originally published on Fool.com. All figures quoted in US dollars unless otherwise stated.

Key Points

  • Microsoft's business is steadier than Alphabet's.
  • Alphabet's business depends on advertising spending.

Both Microsoft (NASDAQ: MSFT) and Alphabet (NASDAQ: GOOG) (NASDAQ: GOOGL) have a market cap of at least $3 trillion. But thanks to a recent surge, Alphabet is nearly a $4 trillion company. Still, these two are fairly close in size and may have investors wondering which stock is the better buy right now.

I think both have their merits, but one stands out as the better pick. 

Alphabet and Microsoft have two different base business models

Alphabet is the parent company of Google, along with several other brands, like YouTube, the Android operating system, and Waymo. It's a fairly wide business, but when you boil it down, most of Alphabet's revenue comes from advertising. In Q3 2025, Alphabet's ad revenue totaled $74.2 billion, with total revenue coming in at $102.3 billion. When the economy and the consumer are fairly strong, advertising is a great business to be in. However, once companies start to fear that a recession is imminent, they quickly pull back their spending, harming companies like Alphabet.

Currently, advertising revenue is growing across the board, so Alphabet is enjoying strong growth. But that could flip at any moment, making its business a bit more precarious than Microsoft's.

Microsoft has a sprawling business ranging from business productivity tools to cloud computing to gaming and computing hardware. Microsoft's most important segments are those devoted to business and cloud computing, and these two segments accounted for $33 billion and $30.9 billion, respectively, of Microsoft's $77.7 billion in revenue in Q1 of fiscal year 2026 (ended Sept. 30). These units may not see as strong growth if we enter a recession, but they are still more resilient than Alphabet's. If you compare both companies' growth rates over the past few years, it's evident that Microsoft may not grow as fast as Alphabet, but its growth is far steadier.

MSFT Revenue (Quarterly YoY Growth) Chart

MSFT Revenue (Quarterly YoY Growth) data by YCharts

This isn't a knock against either company; it's just the reality of the core business each is involved in. Right now, the most exciting business units for each company are their cloud computing operations. Cloud computing is seeing a huge spike in demand from artificial intelligence workloads, and each is delivering excellent results. In Q1 FY 2026, Microsoft Azure's revenue rose 40% year over year. While Microsoft doesn't break out how much revenue Azure actually generated, we know from previous announcements that Azure accounts for more than 50% of the Intelligent Cloud division's revenue, which totaled $30.9 billion in Q1 FY 2026.

Google Cloud didn't grow quite as fast in Q3 2025, with revenue rising 34% year over year, but it has made some major announcements recently. One key advantage of using Google Cloud is that it grants access to its tensor processing units (TPUs). These computing devices are an alternative to graphics processing units (GPUs) from Nvidia, and are much cheaper to run on at the cost of being less flexible. Alphabet made headlines recently when reports circulated that Meta Platforms could be purchasing TPUs from Alphabet instead of just running workloads via Google Cloud. That could open up a brand new revenue stream for Alphabet, giving it a potential leg up on Microsoft.

In terms of which business is better, it's really more personal preference. Alphabet's fastest-growing years will be better than Microsoft's, but Microsoft will be steadier. However, with Alphabet potentially starting to sell its custom TPUs, I think it's the better buy right now from a business perspective. But what about valuation?

Alphabet's stock has soared in recent days

Alphabet's stock has been on a monster run over the past few weeks, as Berkshire Hathaway announced a stake in Alphabet, and the news broke about Meta considering purchasing TPUs from Alphabet. This has caused Alphabet's valuation to spike.

MSFT PE Ratio (Forward) Chart

MSFT PE Ratio (Forward) data by YCharts

Alphabet now trades for 31 times forward earnings, which is slightly more expensive than Microsoft. However, analysts haven't had time to model what selling TPUs could do for Alphabet's profits, which is what the forward earnings metric relies on. As a result, Alphabet's stock could be slightly cheaper than it appears, which I think makes it the better stock to buy right now.

This article was originally published on Fool.com. All figures quoted in US dollars unless otherwise stated.

Keithen Drury has positions in Alphabet, Meta Platforms, and Nvidia. The Motley Fool Australia's parent company Motley Fool Holdings Inc. has positions in and has recommended Alphabet, Berkshire Hathaway, Meta Platforms, Microsoft, and Nvidia. The Motley Fool Australia's parent company Motley Fool Holdings Inc. has recommended the following options: long January 2026 $395 calls on Microsoft and short January 2026 $405 calls on Microsoft. The Motley Fool Australia has recommended Alphabet, Berkshire Hathaway, Meta Platforms, Microsoft, and Nvidia. The Motley Fool has a disclosure policy. This article contains general investment advice only (under AFSL 400691). Authorised by Scott Phillips.

More on International Stock News

Woman and man calculating a dividend yield.
International Stock News

Berkshire is selling Apple stock and buying this other magnificent artificial intelligence (AI) stock instead

Berkshire Hathaway has been selling Apple stock throughout the artificial intelligence (AI) revolution.

Read more »

Hand with AI in capital letters and AI-related digital icons.
International Stock News

2 no-brainer AI stocks to buy hand over fist for 2026

These two stocks are great additions to any growth portfolio.

Read more »

A Tesla car driving along a road at sunset.
International Stock News

Here's why Tesla will win the EV market

Elon Musk views robotaxis and autonomous driving as the future of the electric vehicle industry, but Tesla's automaker rivals have…

Read more »

Hand with AI in capital letters and AI-related digital icons.
International Stock News

What are the 2 top artificial intelligence (AI) stocks to buy right now?

Nvidia and Alphabet are among the companies that are best positioned to benefit from the next phase of the AI…

Read more »

A corporate team stands together and looks out the window.
International Stock News

Ranking the best "Magnificent Seven" stocks to buy for 2026. Here's my no. 1.

It's not the flashiest company, but it's the best for 2026.

Read more »

A tech worker wearing a mask holds a computer chip.
International Stock News

1 incredible reason to buy Nvidia stock before Feb. 25

Nvidia stock has soared because of its impressive financial results. We'll see if it can keep the momentum going in…

Read more »

the australian flag lies alongside the united states flag on a flat surface.
International Stock News

5 most traded US stocks by Aussie investors this year

The US S&P 500 is on track to outperform the ASX 200 again this year.

Read more »

Man relaxing and watching Netflix.
International Stock News

Netflix vs. Spotify: Which streaming giant is poised for a comeback in 2026?

Both stocks are down since the middle of the year, but one has solid long-term competitive advantages.

Read more »