SpaceX Bets $60 Billion on AI Coding: Acquires Cursor Days After Its Blockbuster IPO
SpaceX announced on June 16 it will acquire Anysphere — maker of the AI coding assistant Cursor — for $60 billion in an all-stock deal, the largest acquisition in the space company's history and a direct challenge to Microsoft GitHub Copilot and Google in the fast-growing AI coding market.
SpaceX, fresh off the largest IPO in U.S. history, announced on June 16 that it had agreed to acquire Anysphere — the San Francisco-based startup behind the AI coding assistant Cursor — for $60 billion in an all-stock transaction. The deal, which is expected to close in the third quarter of 2026, will not draw on the proceeds from SpaceX's recent public offering.
Strategic Logic: Plugging the AI Coding Gap
The acquisition is directly tied to SpaceX's February 2026 merger with Elon Musk's AI company xAI, which had long struggled to compete with Microsoft's GitHub Copilot in the enterprise AI coding market. In its IPO prospectus, SpaceX described Cursor's data access — including billions of real-world coding requests and design decisions by software developers — as a potential goldmine for training and improving Grok, xAI's flagship language model.
By June 2026, Cursor had grown into one of the dominant AI coding tools for professional developers, generating approximately $2.6 billion in annualized business-to-business revenue. Its tight integration into developers' day-to-day workflows makes it a strategically defensible asset in a market where switching costs are high.
Deal Structure and Timing
SpaceX had reportedly been evaluating the acquisition since at least April 2026, when it extended Anysphere a formal option: either a $10 billion partnership arrangement or a full $60 billion acquisition. The company exercised the acquisition option on June 16. All consideration will be paid in SpaceX stock — at the time of the announcement, SpaceX shares had already pushed the company's market capitalization briefly above Amazon's following its IPO, establishing it as the fifth most valuable public company in the world.
What It Means for the AI Coding Market
The Cursor deal reshapes the competitive landscape in AI-assisted software development, a segment where Microsoft, Google, and a growing roster of AI-native startups have been battling for enterprise contracts. Microsoft's GitHub Copilot remains the market share leader, but SpaceX/xAI now enters with an instantly scaled distribution through Cursor's existing user base and a combined war chest of IPO proceeds.
For developers, little is expected to change in the near term — SpaceX has signaled it intends to keep Cursor running as a standalone product. But over time, deeper integration with xAI's Grok models and SpaceX's compute infrastructure, including satellite-based edge compute capabilities under development, could differentiate the offering.


