The SPDR S&P 500 ETF Trust (SPY  ) has appreciated by over 30% in the past eight months, a dichotomy from the once-bearish market. The 10 largest artificial intelligence (AI) stocks now comprise an outsized part of the S&P 500, indicating investor optimism in AI's future.

The Data: A post on X shared a Bank of America chart depicting the "Big 10" AI stocks as a percentage of the S&P 500's total value.

The top 10 AI-related stocks now hold a record-high share of the S&P 500, more than doubling their weighting since early 2023, before the release of OpenAI's ChatGPT.

The "AI Big 10": The following companies comprise the so-called AI "Big 10."

Why it Matters: The S&P 500's sky-high performance amid tough macro conditions can largely be attributed to the proliferation of AI. On its own, NVIDIA's eye-popping performance has accounted for around half of the S&P 500's advance in 2024. In the meantime, other industries have struggled.

In recent months, other AI and AI-adjacent stocks have been added to the index. Super Micro Computer Inc (SMCI  ) was added to the S&P in March, while cybersecurity company CrowdStrike Holdings Inc (CRWD  ) will be added next week.