Four days after its IPO, Elon Musk’s SpaceX agrees to buy Cursor maker for $60 billion

SpaceX has agreed to acquire Anysphere, the developer of AI coding tool Cursor, in an all-stock deal worth $60 billion. The deal was disclosed in a filing with the U.S. Securities and Exchange Commission (SEC) on June 16, just four days after SpaceX raised $75 billion in its Nasdaq IPO, valuing the company at more than $2 trillion.

The move did not come out of nowhere. In April, SpaceX announced an option to buy Cursor for $60 billion, or alternatively pay $10 billion for a partnership agreement. Two months later, Elon Musk’s company has chosen the outright purchase. Under the terms, X67 Inc, a SpaceX subsidiary, will merge into Anysphere, making Anysphere a wholly owned subsidiary of SpaceX.

Launched in 2022, Cursor is one of the most popular AI coding tools, letting developers write, edit and review code using natural language. It competes directly with Anthropic’s Claude Code and OpenAI’s Codex. As of early June, Cursor’s annualized revenue topped $4 billion, up from around $2 billion in February, with roughly $2.6 billion coming from enterprise customers.

The deal will be paid entirely in stock, without tapping IPO proceeds. The exchange ratio will be based on the volume-weighted average closing price of SpaceX shares over the seven consecutive trading days before the deal closes.

Following the news, SpaceX shares rose nearly 10% in pre-market trading, at one point climbing as much as 16% and pushing the company past Amazon in market capitalization. SpaceX said the acquisition is meant to strengthen the position of xAI, the company behind the Grok chatbot that merged with SpaceX in February, in the market for AI developer tools.