Finance

Microsoft's $37B AI Bet, $145B Capex Tab, and an 18-Year Stock Rally

Marcus SterlingPublished 5d ago6 min readBased on 9 sources
Reading level
Microsoft's $37B AI Bet, $145B Capex Tab, and an 18-Year Stock Rally
source:microsoft.com

Microsoft logged its biggest daily percentage gain in 18 years on July 30, 2026, capping a fiscal year in which the company deployed roughly $145 billion in capital expenditures and saw its AI franchise surpass $37 billion in annual recurring revenue. Wall Street ended sharply higher that Thursday, with chip stocks jumping and Microsoft shares soaring, as fiscal Q4 results and forward guidance offset broader macro concerns (Reuters). The rally came against a difficult backdrop: Microsoft shares were down roughly 17% year-to-date in 2026 as of late July, trailing the broader market (Yahoo Finance).

The Capex Arc

Microsoft's capital expenditures traced a steep escalation through fiscal year 2026. Q1 capex came in at $34.9 billion, driven by growing demand for cloud and AI offerings, with roughly half deployed to short-lived assets such as GPUs and CPUs (Microsoft Investor). Q2 rose to $37.5 billion, with approximately two-thirds directed at short-lived hardware (Microsoft Investor). Q3 fell sequentially to $31.9 billion, which Microsoft attributed to normal variability from cloud infrastructure buildouts and the timing of equipment delivery (Microsoft Investor). Q4 then spiked to $41 billion, reflecting the impact of higher component pricing (Microsoft Investor).

The component-pricing flag in Q4 is worth noting for what it implies about supply-side pressure in the AI hardware chain. When a hyperscaler of Microsoft's scale explicitly cites higher component costs as a capex driver, it signals that GPU and server pricing power has shifted, at least partially, toward suppliers. Whether that pressure persists into fiscal 2027 will depend on competitive dynamics among silicon vendors and the cadence of next-generation chip deliveries.

The AI Revenue Engine

Microsoft's AI business surpassed $37 billion in annual recurring revenue in Q3 of fiscal 2026, up 123% year-over-year (Microsoft Investor). That growth rate, measured against a base already in the tens of billions, is unusual at this revenue scale. The recurring-revenue framing matters: ARR in this context implies contracted, subscription-like revenue streams rather than one-off consumption spikes, which carries different durability characteristics for forward modeling.

OpenAI and Earnings Mechanics

The OpenAI investment remained a minor but visible drag on reported profitability. Net losses from Microsoft's stake in OpenAI reduced net income by $14 million in Q3 (Microsoft Investor). Q3 diluted EPS came in at $4.27 (Microsoft Investor). In Q4, Microsoft provided guidance on April 29, 2026 that resulted in a $0.27 benefit to diluted EPS, and the quarter included a $3.2 billion gain (Microsoft Investor). The combination of the gain and the EPS benefit materially shaped the Q4 headline numbers that catalyzed the July 30 rally.

Shareholder Returns and Forward Guidance

In Q2 alone, Microsoft returned $12.7 billion to shareholders through dividends and share repurchases (Microsoft Investor). That pace of capital return, sustained alongside capex exceeding $35 billion per quarter, means Microsoft was simultaneously funding the largest infrastructure build in its history while returning cash at a rate exceeding $50 billion annually if the Q2 cadence held.

Microsoft's Q1 fiscal 2026 guidance, issued October 29, 2025, projected revenue of $79.5 to $80.6 billion, representing 14% to 16% growth, with COGS of $26.35 to $26.55 billion, representing 21% to 22% growth (Microsoft Investor). The COGS growth rate outpacing revenue growth by roughly 600 to 800 basis points points directly to the margin compression that rising AI infrastructure costs impose. When cost of goods grows nearly twice as fast as the top line, gross margin contraction is arithmetic, not speculation.

What the Rally Resets

The July 30 surge matters less as a valuation event and more as a sentiment inflection. A stock down 17% year-to-date that then posts its largest single-day gain in nearly two decades is a market repricing expectations with unusual force. The catalyst was Q4 results that included a $3.2 billion gain and a $0.27 EPS benefit from guidance issued in April. Strip those items, and the underlying operational trajectory, strong AI ARR growth offset by accelerating cost growth, tells a more ambivalent story.

For investors and analysts, the key tension to monitor is whether the $37 billion AI ARR run-rate, growing at triple digits, can eventually absorb the depreciation burden from roughly two-thirds of quarterly capex being deployed to short-lived assets. GPUs and CPUs on a three-to-five-year depreciation schedule create a structural mismatch: revenue from AI services must scale fast enough to outpace the rate at which those assets roll off the books. Microsoft's own guidance showed COGS growth of 21% to 22% against revenue growth of 14% to 16%. That gap is the number to watch.