AI Chatbot Concept in Front of Suit Man

How to Invest in xAI Stock in 2026

Last Updated: Jun 17, 2026
Author
Investor & Finance Writer
Reviewed by Bryan Junus, CFA
We mention products and services that we think can be helpful for our users. Some or all of them may be from partners who compensate us. This can influence which topics we choose and how products are presented on the page, but it does not affect our opinions or conclusions. Read more in our advertising disclosure.

xAI is Elon Musk's artificial intelligence lab. It was built to compete directly with OpenAI, Anthropic, and Google's Gemini.

Founded in 2023, xAI's goal is to build “maximally curious” AI systems capable of understanding the true nature of the universe. 

Put simply, the company wants to create models that can reason more deeply and think more independently than today's leading systems like ChatGPT, Claude, and Gemini.

Its first product, Grok, is an AI chatbot designed to bring that vision to life. It's available as a standalone app and is also integrated with X (Twitter) and Tesla vehicles.

Unsurprisingly, investors rushed to back Musk's latest venture. The company raised $62 billion in total funding, including a $20 billion round in January 2026 that came at a $230 billion valuation.

That momentum set the stage for one of the largest private-company transactions in history.

SpaceX acquires xAI

In February 2026, SpaceX acquired xAI in an all-stock deal that valued xAI at $250 billion and SpaceX at $1 trillion, giving the combined entity a $1.25 trillion valuation.

While Grok is xAI's most visible product, it wasn't the reason for the acquisition.

Over the past several years, xAI has spent billions of dollars building its own AI compute stack. That effort culminated in Colossus, the world's largest AI supercomputer, built to train and run next-generation models at massive scale.

The lab's decision to build its own data centers reflects a broader constraint facing the AI industry. Modern models require enormous amounts of power and cooling, and as systems grow larger, those requirements are becoming a bottleneck to progress.

One proposed solution is to move portions of that infrastructure off of Earth entirely.

In space, solar energy is abundant, cooling is effectively free, and many of the environmental, regulatory, and permitting constraints that are slowing data center development disappear.

Elon Musk has been one of the most vocal advocates of this idea, repeatedly arguing that truly large-scale AI will eventually require moving compute beyond the planet. That belief is where SpaceX and xAI converge.

The combined entity has launch capability, orbital infrastructure, satellite internet, and AI compute all under one roof, positioning SpaceX for a future where large-scale, solar-powered compute operates in space rather than on the ground.

And that vision helped set the table for the largest IPO in history.

SpaceX IPO

On June 12, 2026, SpaceX (SPCX) became a public company.

In its public offering, SpaceX sold 555.55 million shares at $135 each, raising $75 billion at a $1.75 trillion valuation.

The stock surged in its first week of trading, reaching past $225 per share before settling around $200. Its market capitalization stands at $2.65 trillion, making it the fifth largest company in the world.

Since SpaceX is now a public company, anyone can invest in it — and get exposure to xAI.

Can you buy xAI stock?

xAI became a wholly owned subsidiary of SpaceX in February 2026, meaning the only way to invest in it is by buying SpaceX stock. I cover the exact steps of how to do that in the next section.

While this isn't a direct investment in xAI, SpaceX estimated that its AI business represents $26.5 trillion of its $28.5 trillion total addressable market (the maximum amount of revenue it could generate if it captured 100% of market demand in each of its sub-segments), or roughly 93%.

Because of this, xAI's performance is likely to have a major influence on SpaceX's valuation and stock price.

If you're bullish on xAI, buying SpaceX stock is the closest available way to invest in its growth, though you will also be gaining exposure to SpaceX's launch, connectivity, and other businesses.

How to invest in xAI through SpaceX

SpaceX (SPCX) is a publicly-traded company, meaning anyone can buy it with a regular brokerage account.

Here are the steps:

  1. Open a brokerage account (if you need one, I like Public)
  2. Fund your account
  3. Type in "SpaceX" or "SPCX"
  4. Select "Buy"
  5. Enter the number of shares or amount in dollars you'd like to purchase
  6. Select "Market order" (buy immediately at the current ask price) or "Limit order" (set the price per share you're willing to pay)
  7. Submit the order

If the market is open and the price you set is equal to or higher than the current trading price, your order will get filled immediately.

That's it. You're now a part owner of SpaceX.

How much of SpaceX's business comes from xAI?

In its S-1 filing (the paperwork it filed with the SEC before going public), SpaceX divided its business into three segments: Space, Connectivity, and AI.

Here's a look at how each of those segments performed in 2025:

  Space Connectivity AI
Businesses SpaceX Starlink xAI, X (Twitter)
Revenue $4 billion $11.4 billion $3.2 billion
Operating income (loss) ($657 million) $4.4 billion ($6.35 billion)

Unsurprisingly, xAI was a massive cash drain on the business.

The AI segment generated $3.2 billion in revenue in 2025 but posted a $6.35 billion operating loss as the company spent heavily on data centers, computing infrastructure, and model development.

By comparison, Starlink generated $4.4 billion in operating income, making it the main source of profits used to support SpaceX's more capital-intensive businesses.

For now, xAI represents a relatively small share of SpaceX's revenue and a major source of losses. However, it also accounts for the vast majority of the company's estimated total addressable market, which means investors are largely betting that those investments will eventually produce significant growth.

Alternatives to investing in xAI

Here's a list of other AI-related investment opportunities you may be interested in.

1. Publicly traded AI companies

For retail investors, the easiest way to invest in AI is to buy publicly traded stock.

  • Nvidia (NVDA) is the market leader in developing the chips used to train and run supercomputers and AI networks. It has also participated in xAI's last two rounds, with much of the capital raised in these rounds expected to go toward acquiring Nvidia chips.
  • Taiwan Semiconductor (TSM) is the sole manufacturer of Nvidia's AI GPUs. The company does not design any of its own chips; it only builds chips for its clients.
  • Microsoft (MSFT) owns 27% of OpenAI and is entitled to up to 20% of its revenue (up to an undisclosed cap). It's also integrating the lab's technology into its existing suite of products, including Office 365 and GitHub. You can read more about their partnership in this article.
  • Alphabet (GOOGL) is positioned to be the biggest winner from AI-powered search. Additionally, its chatbot (Gemini) is a competitor to OpenAI, and its Google Cloud Platform is likely to host a number of future AI applications.
  • Amazon (AMZN) runs Amazon Web Services (AWS), the world's largest cloud computing provider. A significant amount of future AI computing will likely be run on its servers. It also owns ~15% of Anthropic.

Dell (DELL) was also contracted to build half of the racks needed to power xAI's original supercomputer, and Cisco (CSCO) — in addition to being an investor in xAI — has partnered with Nvidia to help it deploy AI factories.

While none of these companies are working on the exact same problems as xAI, they either benefit from or are themselves investing heavily in artificial intelligence.

2. ETFs and private funds

If you don't want to invest in a specific stock but want exposure to the industry, here are a few options:

  • The Roundhill Generative AI & Technology ETF (CHAT) invests in companies focused on generative AI.
  • The Themes Generative Artificial Intelligence ETF (WISE) owns stocks that generate their revenue from AI, big analytics and data, natural language processing, or AI-driven services.

There are also funds that allow you to invest in privately held companies:

  • The ARK Venture Fund (mentioned above) invests in innovative companies, regardless of whether they're publicly traded or privately held.
  • The Fundrise Innovation Fund gives retail investors access to a portfolio of privately held tech companies like OpenAI, Anthropic, Anyscale, Anduril, Databricks, and more. The minimum investment is just $10.

3. Other private AI companies

Accredited investors can also buy shares of OpenAI and Anthropic, the leading AI labs.

While they're private companies, both of them have shares available for purchase on Hiive.

xAI's acquisition of X (Twitter)

The stated mission of xAI is “to understand the true nature of the universe” and to seek truth, helping to filter out and prevent the spread of misinformation.

One obvious use case for this technology is X (formerly Twitter), Musk's social media company. Grok, xAI's chatbot, is heavily integrated with X.

In March 2025, in a move to further link the two companies, Musk announced that xAI acquired X in an all-stock deal, which valued xAI at $80 billion and X at $33 billion ($45 billion less $12 billion in debt).

Musk originally purchased X for $44 billion in October 2022. Its valuation had swung wildly since the purchase, at one point being valued at less than $10 billion, though it had risen in the months following President Trump's election.

Musk described the two companies' futures as "intertwined" and said the acquisition will help them "combine the data, models, compute, distribution and talent.”

More on Grok and xAI

As of September 2025, xAI reported that Grok had 64 million monthly active users.*

*In January 2026, xAI reported 600 million monthly active users, but that figure included both Grok and X (Twitter) apps.

For comparison, OpenAI said in December that ChatGPT had hit 900 million weekly users, while Google reported it had crossed 650 million monthly users for its Gemini app in November.

Despite having a fraction of the user base — Grok has less than 2% of ChatGPT's usage — xAI was valued at $230 billion in January 2026, or 27% of OpenAI's latest official valuation ($852 billion).

That premium reflects investor confidence in xAI's long-term potential, which is driven by several factors:

  • Data centers: xAI has spent billions building its own compute infrastructure. Its flagship system, Colossus, is the largest AI-specific supercomputer on earth, powered by more than 200,000 GPUs. A follow-up system, Colossus 2, is currently under construction.
  • Founder and strategic backing: Elon Musk's involvement continues to attract capital and media attention, helping xAI command a valuation that far exceeds what current usage or revenue would typically support.
  • Integration: Grok is deeply integrated into X (Twitter) and Grok Voice is now available in Tesla vehicles, two powerful distribution channels that could unlock major monetization opportunities down the road.

That said, Grok hasn't escaped controversy. It's been criticized for producing politically charged, Musk-aligned responses, and is currently under regulatory scrutiny after its image generator was used to create sexualized images of other users.

Any views expressed here do not necessarily reflect the views of Hiive Markets Limited ("Hiive") or any of its affiliates. Stock Analysis is not a broker-dealer or investment adviser. This communication is for informational purposes only and is not a recommendation, solicitation, or research report relating to any investment strategy, security, or digital asset. All investments involve risk, including the potential loss of principal, and past performance does not guarantee future results. Additionally, there is no guarantee that any statements or opinions provided herein will prove to be correct. Stock Analysis may be compensated for user activity resulting from readers clicking on Hiive affiliate links. Hiive is a registered broker-dealer and a member of FINRA / SIPC. Find Hiive on BrokerCheck.

Author
Written by
Investor & Finance Writer
Editor
Edited by
Editor & COO
Reviewer
Reviewed by
Chartered Financial Analyst

Stay informed in just 2 minutes

Get an email with the top market-moving news in bullet point format, for free.

  • Sent 30 minutes before market open.
  • Monday-Friday, except holidays.
  • 100% free. Unsubscribe with 1 click.

Trusted by 258,883+ investors.