Elon Musk just made the biggest move yet in the AI coding wars. SpaceX has agreed to acquire Cursor for $60 billion in an all-stock deal, landing just days after the company’s record-breaking Nasdaq debut sent its valuation soaring past $2.7 trillion. Two headlines that would each be massive on their own, both happening in the same week.
The Cursor Deal: What’s Actually Changing Hands
From Option to Acquisition in Two Months
This wasn’t a sudden decision. Back in April, SpaceX and Cursor’s parent company, Anysphere, signed an agreement giving SpaceX the right to either invest $10 billion in Cursor or buy the company outright for $60 billion. SpaceX exercised the buyout option this week, converting that standing agreement into a full acquisition.
Cursor makes one of the most widely used AI coding tools on the market, helping developers write, debug, and modify software through natural language prompts. The company had been riding serious momentum – it crossed $1 billion in annualized revenue last November and was reportedly in talks to raise $2 billion at a $50 billion valuation before SpaceX came in with a bigger offer.
The deal will fold Cursor in as a wholly owned subsidiary, expected to close in the third quarter of 2026. For SpaceX, this is squarely about strengthening its AI division, which merged with Musk’s xAI earlier this year and has been working to close the gap with Anthropic and OpenAI in the coding tools market.
Why SpaceX’s Valuation Exploded Past $2.7 Trillion
A Record IPO, Then a Rapid Climb
SpaceX’s Nasdaq debut was already the largest IPO in history, pricing at $135 per share. What happened next is the more surprising part. Shares climbed steadily through the following days, pushing the company’s market cap from roughly $2 trillion on debut day to north of $2.7 trillion within a week.
That climb made SpaceX the fourth most valuable publicly traded company in the U.S., ahead of Microsoft and Amazon. Some of that surge tracks back to investor enthusiasm around Musk’s pitch: a $2.4 trillion AI infrastructure opportunity and a $22.7 trillion total addressable market in enterprise applications, built around plans for AI data centers in space alongside the core rocket and satellite business.
Not everyone is convinced the numbers hold up. Skeptics have pointed out that SpaceX’s launch and satellite businesses don’t obviously justify a valuation built on AI infrastructure promises that are still mostly aspirational. The stock’s gains added nearly $1 trillion in value in a matter of days – roughly 16 times the size of the Cursor deal itself, which gives some sense of how much the IPO alone reshaped the company’s financial footing.
What This Means for the AI Coding Market
A Bigger Player Enters a Crowded Field
The AI coding assistant space has gotten genuinely competitive over the past two years, with tools like Anthropic’s Claude Code and OpenAI’s Codex pulling developer attention away from earlier leaders. Cursor’s market share has reportedly slipped from around 41% last June to roughly 26% more recently, even as its revenue kept climbing.
Bringing Cursor under SpaceX and xAI gives Musk’s AI operation a coding product with real commercial traction, something it hasn’t had on its own. Whether SpaceX’s backing reverses Cursor’s market share slide is an open question – competition in this category has been intense, and a bigger balance sheet doesn’t automatically solve product or distribution challenges.
It’s also worth noting that SpaceX’s AI division hasn’t had a clean run lately. The unit has faced restructuring after controversies tied to its products, which makes this acquisition something of a high-stakes bet to demonstrate the AI side of the business can deliver.
The Takeaway
SpaceX closing a $60 billion acquisition within a week of a record IPO and a valuation surge past $2.7 trillion is the kind of week that reshapes how investors think about the company. Whether it’s a sign of genuine AI ambition paying off or a valuation running ahead of fundamentals is going to be the debate for months to come.
Either way, the Cursor deal puts SpaceX squarely in the AI coding conversation in a way it wasn’t a week ago.
Following SpaceX’s post-IPO moves or the AI coding tools market? Watching SEC filings and quarterly earnings calls will tell you a lot more than the headline numbers alone.




