Analysis
The S&P 500 closed at a fresh all-time high of 7,736.52, up 1.8% on the day, while the Dow Jones Industrial Average closed above 54,000 for the first time and the Nasdaq Composite gained 2.6% as AI-related names led a broad market rally, according to [Axios](https://www.axios.com/2026/08/05/ai-stocks-sp-500-high).
What Drove the Rally
Strong corporate earnings across the broader market, easing oil prices, and investor optimism over a potential breakthrough in US-Iran relations all contributed to the session's gains, with strategists framing it as the AI trade broadly regaining its footing after a rockier stretch earlier in the summer.
A Split Story Underneath the Index
The index-level rally sits awkwardly next to what happened to several individual AI-infrastructure names this same week: AMD, SpaceX and Uber all posted genuine earnings beats and still saw their own stocks sell off on guidance, capex or customer-commitment concerns. That split -- broad optimism at the index level, sharper stock-specific scrutiny underneath it -- suggests investors are rewarding the AI theme in aggregate while getting considerably more selective about which individual companies' spending and guidance actually justify their current multiples.
What to watch: whether the index-level rally continues even as more individual earnings reports roll in this month, and whether the gap between broad AI-sector optimism and single-stock skepticism narrows or widens as the market gets more data points to sort winners from spenders.