Better (Almost) $4 Trillion AI Stock to Buy Now: Microsoft or Alphabet

Source The Motley Fool

Key Points

  • Microsoft stood out for its OpenAI investment and partnerships across the industry.

  • The emerging strength of Google Gemini has shown Alphabet can stay relevant in the AI race.

  • 10 stocks we like better than Alphabet ›

Both Microsoft (NASDAQ: MSFT) and Alphabet (NASDAQ: GOOGL) (NASDAQ: GOOG) continue to grow as they solidify their positions in the artificial intelligence (AI) industry. Amid a recent surge, Alphabet's market cap has reached almost $3.9 trillion, while Microsoft's has pulled back slightly to $3.6 trillion.

What's unusual is that the Google parent was substantially smaller than the software giant until recently, when Alphabet pulled ahead. Considering that surge by Alphabet, is it the better investment among multitrillion-dollar companies in the AI realm, or should investors stick with Microsoft?

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

The case for Microsoft

Microsoft has long been a leading cloud company, but it stood out in the AI race because early on it took what is now a 27% ownership stake in OpenAI. Thus, upon the release of GPT-4, that partnership appeared to put Microsoft stock in a strong position as the frenzy around generative AI began to take hold.

To this end, it has developed its own AI engine, called Copilot, which stands out within Microsoft's ecosystem. Still, Microsoft has likely drawn the most investor attention from its partnerships. Despite its OpenAI stake, both companies are free to partner with other AI companies. More recently, Microsoft made an agreement with Anthropic to scale Claude AI on Azure servers powered with Nvidia chips.

Microsoft can also afford such investments. Over the last 12 months, it generated almost $78 billion in free cash flow, and that does not include the $69 billion in capital expenditures (capex) invested over that time.

Moreover, with the earlier ties to OpenAI, Microsoft rose significantly in prior years, so year-to-date gains have slowed to about 14%. It also trades at a P/E ratio of 34, though it is not far above the S&P 500 average of 31. Ultimately, given its continued progress in AI, that slightly above-average valuation is unlikely to stop the steady rise of Microsoft stock.

An AI cloud schematic.

Image source: Getty Images.

Why investors might choose Alphabet

After ChatGPT came on the scene, investors began to question whether Alphabet's Google Search engine was on the way to obsolescence. Its AI-enabled queries bypassed the ads that have long been the source of most of Alphabet's income.

However, Alphabet launched Google Gemini to compete with ChatGPT. At first, it seemed like just another AI engine, but over the last few months, it has emerged as the site of choice for real-time information, video generation, and unstructured prompts thanks to the improvements in Gemini 3.

Additionally, even amid the skepticism, Alphabet's revenue grew, and it continued to generate massive free cash flows. This has funded Gemini's improvements, along with its other AI-related businesses, such as Google Cloud and the autonomous driving platform Waymo.

Furthermore, investors should expect continued improvements as the company plans to spend $91 billion to $93 billion on capex this year alone. Despite that spending, its free cash flow was just under $74 billion over the last 12 months, an indication it can afford these massive outlays.

Also, despite gaining around 70% so far this year, Alphabet stock trades at a 32 P/E ratio, close to the S&P 500 average. When one also factors in the increasing strength of its AI-related businesses, such conditions could make the Google parent an attractive choice.

Microsoft or Alphabet?

Both stocks have shown they are industry leaders in AI, and thus, it is likely that both stocks will continue moving higher. However, if you're choosing between the two, Alphabet likely holds the edge.

Indeed, investors should commend Microsoft for its early moves in AI and its ability to make itself essential to more than one major AI engine.

Still, both the stock price and valuation seem to already reflect that growth. Conversely, Alphabet investors may still benefit from a delayed reaction to the Google parent's AI.

Alphabet has spent more than Microsoft on capex, and it has overcome perceptions that AI was passing it by. When also considering its slightly lower valuation, Alphabet should remain in a stronger position to drive higher returns over time.

Should you invest $1,000 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 $513,353!* 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,072,908!*

Now, it’s worth noting Stock Advisor’s total average return is 965% — a market-crushing outperformance compared to 193% for the S&P 500. 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 December 8, 2025

Will Healy has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Alphabet, Microsoft, and Nvidia. 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
Wall Street Sounds Alarm: "Bitcoin's Four-Year Cycle Invalidated" - Will the Crypto Bull Market Persist?Wall Street Challenges Bitcoin's CyclicalityTradingKey - Recently, Wall Street firms led byJPMorgan, Bernstein, and ARK Invest ignited debate, asserting Bitcoin's four-year cycle is broken. They claim
Author  TradingKey
Dec 12, Fri
Wall Street Challenges Bitcoin's CyclicalityTradingKey - Recently, Wall Street firms led byJPMorgan, Bernstein, and ARK Invest ignited debate, asserting Bitcoin's four-year cycle is broken. They claim
placeholder
Ethereum Price Eyes an Upside Break — But $3,350 Has Other IdeasEthereum is consolidating above $3,200 and its 100-hour SMA after defending $3,150, with a bullish trend line support at $3,180 and an upside breakout hinging on a clean move through $3,320–$3,350, while a drop below $3,150 would reopen $3,040–$3,000 support.
Author  Mitrade
Dec 12, Fri
Ethereum is consolidating above $3,200 and its 100-hour SMA after defending $3,150, with a bullish trend line support at $3,180 and an upside breakout hinging on a clean move through $3,320–$3,350, while a drop below $3,150 would reopen $3,040–$3,000 support.
placeholder
Gold Price Forecast: XAU/USD climbs above $4,250 as Fed rate cut weakens US DollarGold price (XAU/USD) rises to seven-week highs near $4,275 during the early Asian session on Friday. The precious metal extends its upside as the US Federal Reserve’s (Fed) quarter-point rate cut drags the US Dollar (USD) lower. 
Author  FXStreet
Dec 12, Fri
Gold price (XAU/USD) rises to seven-week highs near $4,275 during the early Asian session on Friday. The precious metal extends its upside as the US Federal Reserve’s (Fed) quarter-point rate cut drags the US Dollar (USD) lower. 
placeholder
Judgment on the Fed's December Rate Cut and 2026 Monetary Policy Trend: Identifying Opportunities in the U.S. Stock Market1. IntroductionSince U.S. stocks pulled back from their late-October highs, they have staged a rebound after hitting a cyclical low in mid-to-late November. Currently, the S&P 500 has largely recouped
Author  TradingKey
Dec 11, Thu
1. IntroductionSince U.S. stocks pulled back from their late-October highs, they have staged a rebound after hitting a cyclical low in mid-to-late November. Currently, the S&P 500 has largely recouped
placeholder
Gemini Deepens Ripple Ties with RLUSD Rollout as Derivatives Arm Secures CFTC NodGemini integrates Ripple's RLUSD on XRPL and secures a CFTC license for prediction markets, though XRP price struggles at $2.02 despite strong ETF inflows.
Author  Mitrade
Dec 11, Thu
Gemini integrates Ripple's RLUSD on XRPL and secures a CFTC license for prediction markets, though XRP price struggles at $2.02 despite strong ETF inflows.
goTop
quote