Better artificial intelligence stock: Nvidia vs. AMD

Let's examine.

| More on:

You’re reading a free article with opinions that may differ from The Motley Fool’s Premium Investing Services. Become a Motley Fool member today to get instant access to our top analyst recommendations, in-depth research, investing resources, and more. Learn More

This article was originally published on Fool.com. All figures quoted in US dollars unless otherwise stated.

Even with new export controls cutting off a vital market in China, demand for advanced chips used to power artificial intelligence (AI) infrastructure remains high. While there is a growing market for custom AI chips, the most commonly used chips for running AI workloads are graphics processing units (GPUs). This name stems from the fact that these chips were originally designed to speed up graphics rendering in video games.

Due to their powerful processing speeds, GPUs are now used for a variety of high-power computing tasks, such as training large language models (LLMs) and running AI inference. The GPU market is basically a duopoly at this point, headed by Nvidia (NASDAQ: NVDA) and Advanced Micro Devices (NASDAQ: AMD). The question many investors ask, though, is: Which stock is the better buy?

The leader versus the challenger

The unquestioned leader in the GPU space is Nvidia, which commands an over 80% market share. Not only is Nvidia larger than AMD, but it's also been growing its data center revenue more quickly. Last quarter, Nvidia grew its data center revenue by 73% to $39.1 billion, while AMD's data center revenue jumped 57% to $3.7 billion.

Nvidia's advantage comes from its software platform, CUDA. It launched the free software platform all the way back in 2006 as a way to let developers program its GPUs for different tasks in an effort to expand beyond the video game market. The company pushed the use of the software to universities and research labs, which made it the software program upon which developers were taught to program GPUs.

While AMD made some half-hearted efforts with software, it didn't launch a true CUDA competitor until around 10 years later with ROCm. By that time, CUDA had already become the default software used to program GPUs, and ROCm was still behind with less hardware support, limited documentation, and more difficulty to install and use. Meanwhile, Nvidia has since expanded upon its software lead through a collection of AI-specific libraries and tools built on top of CUDA, called CUDA X, which helps bolster the performance of its chips for AI tasks.

Ultimately, CUDA has given Nvidia a big network effect advantage. The more CUDA is used, the more tools and libraries are built for it, making Nvidia GPUs all the stickier. While ROCm continues to improve, it still trails CUDA, especially for use in LLM training.

However, where AMD has been able to gain more traction is in AI inference. Training AI models is a much more difficult task, which is why Nvidia has dominated this market and where its CUDA advantage really shines through. Inference, on the other hand, is easier, and there is more of a focus on things such as latency, power consumption, and cost. Due to its competitive positioning, AMD's GPUs tend to be less expensive than those from Nvidia, and while its ROCm software trails CUDA, it is generally considered good enough for running most AI inference workloads.

The good thing for AMD is that the inference market is eventually expected to become the much larger of the two markets. In fact, some pundits, including venture capitalist and former Facebook executive Chamath Palihapitiya, have said the inference market could be up to 100 times larger than the market for training AI models. But whether the inference market becomes 2 times bigger or 100 times than the training market, AMD could have an opportunity to gain some market share.

Which stock is the better buy?

When it comes to valuation, both stocks trade in a similar range. Nvidia has a forward price-to-earnings (P/E) ratio of just over 32 times this year's analyst estimates, while AMD is at 28 times. Nvidia, meanwhile, is growing its revenue more quickly.

NVDA PE Ratio (Forward) Chart

NVDA PE Ratio (Forward) data by YCharts

With their valuations similar, the key factor to which stock will outperform in the coming years will largely come down to growth. Nvidia is the clear leader in the GPU space and should continue to see strong growth as the AI infrastructure buildout continues. However, its AI data center revenue is now 10 times that of AMD. so the law of large numbers can come into play.

As AI infrastructure begins to shift more toward inference, AMD should have a nice opportunity to take some market share. Nvidia still has the lead in inference, but the gap is narrower compared to training. AMD also doesn't need to take a lot a of share in what could be a rapidly growing market to really make a big difference off its much smaller AI data center revenue base. As such, there is a good possibility it could begin to grow more quickly than the much bigger Nvidia. If that happens, I think its stock will outperform.

Ultimately, investors can own both stocks, which is probably a good idea. With AI infrastructure spending still appearing to be in its early days, both should be winners, although I do think AMD has more potential upside. The biggest risk, meanwhile, would be if AI spending unexpectedly starts to slow.

This article was originally published on Fool.com. All figures quoted in US dollars unless otherwise stated.

Geoffrey Seiler has no position in any of the stocks mentioned. The Motley Fool Australia's parent company Motley Fool Holdings Inc. has positions in and has recommended Advanced Micro Devices and Nvidia. The Motley Fool Australia has recommended Advanced Micro Devices and Nvidia. The Motley Fool has a disclosure policy. This article contains general investment advice only (under AFSL 400691). Authorised by Scott Phillips.

More on International Stock News

Three small children reach up to hold a toy rocket high above their heads in a green field with a blue sky above them.
International Stock News

SpaceX shares are rocketing – how can Aussie investors get exposure?

Should investors buy into the hype?

Read more »

A woman stacks smooth round stones into a pile by a lake.
International Stock News

Gina Rinehart just made US$425 million from SpaceX shares in 2 days

Gina Rinehart’s US$1 billion SpaceX bet is already paying off.

Read more »

Astronaut floats in space looking down on Earth.
International Stock News

Elon Musk is now the world's first trillionaire. Should you buy SpaceX shares?

Elon Musk’s SpaceX delivered a huge first-day gain for investors.

Read more »

A rocket blasts off into space with planet behind it.
International Stock News

BlackRock just ordered US$5 billion of SpaceX shares. Should you follow?

BlackRock’s huge SpaceX order adds more heat to the IPO.

Read more »

Codan share price A dismayed kid dressed as a scientist stands with his back to a rocket crashed into the ground
International Stock News

The SpaceX IPO will make lots of people rich. Just not you

SpaceX is about to float, but could it sink early investors?

Read more »

A man flies into the sky over a city building-scape with a rocket jet pack sketched onto his back.
International Stock News

Don't want to buy SpaceX shares? You may not have a choice

The SpaceX IPO will be hard to avoid.

Read more »

Red sell button on an Apple keyboard.
International Stock News

Berkshire Hathaway just sold these stocks

Berkshire has sold a few market darlings...

Read more »

Warren Buffett
International Stock News

Berkshire Hathaway just bought these stocks

Buffett may be gone, but Berkshire added some surprising stocks last quarter.

Read more »