SpaceX Spends $329 Million on Tesla Megapacks to Power xAI Data Centers

SpaceX Spends $329 Million on Tesla Megapacks to Power xAI Data Centers

SpaceX significantly increased its purchases of Tesla's Megapack battery storage systems during the second quarter, spending $295 million on the products and bringing its total Megapack purchases this year to $329 million, according to the company's latest earnings report. The battery systems are expected to support the growing power demands of AI data centers, including facilities tied to xAI.

The filing highlights another major commercial relationship between Elon Musk's companies. Musk serves as CEO and the largest shareholder of SpaceX while also leading Tesla. Earlier this year, SpaceX acquired xAI, further connecting the companies' operations and infrastructure.

Megapacks are designed to provide large-scale energy storage, helping data centers maintain stable power as AI workloads fluctuate. Unlike traditional computing facilities, AI infrastructure can experience rapid swings in electricity demand as models are trained or inference workloads increase. Battery systems can respond almost instantly, supplying additional electricity when needed while reducing peak demand on the local power grid.

The batteries are also used to provide backup power in the event of interruptions. By smoothing sudden spikes in energy consumption, operators can reduce utility demand charges and help maintain consistent performance across GPU-intensive AI systems.

The latest purchases build on earlier Megapack orders associated with xAI. Before the merger with SpaceX, xAI purchased $430 million worth of Tesla Megapacks for its data centers. During the first quarter of this year, xAI acquired an additional $34 million of the battery systems.

SpaceX's earnings report also disclosed that, as of December 2025, the company had purchased $131 million worth of Tesla Cybertrucks at the manufacturer's suggested retail price.

The transactions are conducted under Tesla's Related Person Transactions Policy because Musk holds leadership positions and significant ownership stakes in both companies. Such related-party transactions are commonly reviewed by investors and analysts, who often examine whether they are completed under market-standard terms.

The latest filings also underscore the growing role of energy infrastructure in AI development. While xAI has relied on natural gas generation to power parts of its data center operations, battery storage remains an important component of those facilities by providing fast-response power and supporting stable operation during periods of rapidly changing electricity demand.

This analysis is based on reporting from Whalesbook.

Image courtesy of Tesla.

This article was generated with AI assistance and reviewed for accuracy and quality.

Last updated: August 4, 2026

About this article: This article was generated with AI assistance and reviewed by our editorial team to ensure it follows our editorial standards for accuracy and independence. We maintain strict fact-checking protocols and cite all sources.

Word count: 384Reading time: 0 minutes
Browse All Articles
Share this article:
Next Article

AI News Daily

Breaking Intelligence β€’ Since 2023

Join hundreds of thousands of AI professionals who start their day with our curated newsletter. Get breaking news, expert analysis, and exclusive insights.

Stay Ahead of AI

Get the latest AI breakthroughs, tools, and insights delivered to your inbox every week.

βœ“ Free foreverβœ“ Unsubscribe anytimeβœ“ No spam guarantee

Go Premium

Unlock unlimited AI tools and an ad-free reading experience designed for AI professionals.

β€’ Ad-free experienceβ€’ Premium AI tools
Start Free Trial

14-day free trial β€’ Cancel anytime
Plus $9/mo β€’ Pro $90/yr (2 months free)

Follow Our Community

ChatAI

Breaking Intelligence

Your daily briefing on what matters in AI. Trusted by developers, researchers, executives, and AI enthusiasts worldwide.

Β© 2026 ChatAI. All rights reserved.