Hundreds of billions of dollars are being spent on artificial intelligence software and infrastructure. These companies are already benefiting from AI demand.

It's no secret that artificial intelligence stocks have dominated the S&P 500 's growth over the past few years. The booming sector has been spurred on by a race among the largest tech players as they spend hundreds of billions of dollars to stay ahead of rivals.

If you feel like you're missing out on the AI boom or simply looking for a few ideas to expand your artificial intelligence portfolio, here are four AI stocks you can buy today and feel comfortable holding for the next decade.

1. Nvidia

Nvidia ( NVDA 0.77% ) is one of the leading AI semiconductor companies, with its processors in an estimated 70% to 95% of A

See Full Page