Earnings per Share - Schedule of Potentially Dilutive Securities Excluded from Calculation of Diluted Net Loss Per Share (Details) - shares shares in Millions |
6 Months Ended | |
|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
|
| xAI Redeemable Convertible Preferred Stock | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Potentially dilutive securities excluded from the calculation (in shares) | 0 | 1,220 |
| SpaceX Redeemable Convertible Preferred Stock | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Potentially dilutive securities excluded from the calculation (in shares) | 0 | 6,760 |
| Share-based compensation | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Potentially dilutive securities excluded from the calculation (in shares) | 564 | 669 |