SpaceX's $60 Billion Cursor Deal Puts Musk in the AI Coding Wars
SpaceX agreed to acquire Anysphere, maker of AI coding tool Cursor, for $60 billion in stock — the largest venture-backed startup acquisition ever — days after its record Nasdaq IPO, as the company bets its rebuilt xAI division can catch Anthropic and OpenAI in developer tools.
An all-stock bet on the AI developer market
Four days after its historic Nasdaq debut, SpaceX announced on June 16 it had entered a formal agreement to acquire Anysphere — the San Francisco startup behind AI coding tool Cursor — in an all-stock deal worth $60 billion, the largest venture-backed startup acquisition on recordtheguardian +1. The transaction is structured entirely in SpaceX class A common stock, representing a 3.4% dilution at its IPO valuation, and is expected to close in the third quarter of 2026 pending regulatory approvalbreclav +1.
The move is SpaceX's most direct push into competition with Anthropic and OpenAI in the AI developer tools marketforbes. Anthropic now controls roughly half the AI coding category, while Cursor's share had slipped from 41% in June 2025 to about 26% by May 2026, according to spending data from Rampbreclav.
Cursor's rise and the compute problem
Founded in 2022, Cursor grew quickly into one of the most widely used AI coding assistants, helping developers generate, edit, and review codeqz. The startup raised $900 million at a $9.9 billion valuation in mid-2025, then closed a further $2.3 billion round at a $29.3 billion valuation before year endtech-insider +1. Reuters reported Cursor had reached roughly $2.6 billion in annualized business-to-business revenue by early 2026forbes.
Even so, the startup faced a structural constraint: insufficient compute to scale its AI modelsforbes. Before SpaceX came calling, Cursor had been in talks to raise $2 billion from Andreessen Horowitz, Thrive Capital, and Nvidia — but one source told TechCrunch the sum would not have been enough to reach break-evenqz. SpaceX had telegraphed its interest in April, when it secured an option to buy Cursor for $60 billion or pay a $10 billion break-up fee if the deal fell apartqz +1.
xAI's rebuilding act and the market's response
The acquisition is also about rebuilding xAI, which SpaceX folded into the company earlier this year following a turbulent period in which all 11 of Musk's original xAI co-founders had left by Marchqz. SpaceX told IPO investors it faces a $28.5 trillion total addressable market, with approximately $26 trillion of that tied to enterprise AI, and cited Cursor's trove of developer data as a potential training asset for Grokforbes +1.
SpaceX shares jumped roughly 10% the day of the announcement and briefly surpassed Amazon in market capitalizationforbes. The euphoria faded quickly: by June 22 the stock had retreated to $154.60 from an intraday peak of $225.64, wiping out more than $400 billion in market value in a single session as investors processed both the dilutive deal and reports of a $20 billion bond offeringft. SpaceX President Gwynne Shotwell told CNBC the Cursor partnership "makes a huge amount of sense," but translating that logic into competitive gains against Anthropic and OpenAI will be the real measure of the dealbreclav.