Any investing exposure to the "Magnificent Seven" stocks has made your 2023 investing year a big success. This group of mega-cap tech stocks, including Nvidia (NVDA 3.14%), Amazon (AMZN 2.32%), Tesla (TSLA 5.93%), Apple (AAPL -0.52%), Microsoft (MSFT 1.28%), Meta Platforms (META 2.16%), and Alphabet (GOOG 5.46%) (GOOGL 5.53%), has outperformed the broader market despite the Nasdaq Composite surging over 45% last year.

If it's not broken, don't fix it... right? Well, not exactly. A look at the numbers signals that some of these genuinely magnificent stocks could soon run out of steam. Here are the four stocks in this group worth buying in 2024, and the three to leave behind in 2023.

1. Nvidia: Buy

Nvidia's chips, which specialize in demanding, high-compute applications, have become a focal point of the artificial intelligence (AI) breakthrough. The company has quickly established dominance, controlling as much as 90% of the market for AI chips. That's pushed the business to new heights, accelerating revenue growth to 200% year over year in its most recent quarter to $18 billion.

NVDA PE Ratio (Forward) Chart

NVDA PE Ratio (Forward) data by YCharts

AI demand doesn't seem to be going anywhere, which should create plenty of growth for Nvidia moving forward. Analysts believe the company's earnings will grow by 42% annually over the coming years, arguably justifying Nvidia's valuation at 40 times 2023 profits. That's a PEG ratio of just 1, signaling the stock is still attractive despite its massive 250% climb in 2023.

2. Apple: Avoid

Not every "Magnificent Seven" company has grown enough to keep up with its stock. Apple's revenue has fallen over the past year, and net income is up just 1%. Apple's business can be cyclical, gyrating between periods of growth depending on key iPhone releases. That's fine, but it can complicate things when share prices and operating results go in different directions.

AAPL PE Ratio (Forward) Chart

AAPL PE Ratio (Forward) data by YCharts

Analysts have lowered their growth expectations for Apple moving forward. At more than 29 times 2023 earnings, that PEG ratio over 3 makes buying Apple here a tough pill to swallow. Investors should wait for the price to make sense again.

3. Meta Platforms: Buy

Wall Street was down on Meta in 2022 when the company was fighting a slowing advertising business, harmful privacy changes to iPhones, and expensive metaverse projects that weren't showing any return on investment. Shares fell to $89 before CEO Mark Zuckerberg righted the ship by cutting costs, working through the iPhone challenges, and getting revenue growth and profits back on track.

META PE Ratio (Forward) Chart

META PE Ratio (Forward) data by YCharts

Astonishingly, the stock is still attractive at just 25 times 2023 earnings, with expected annual growth of 20% on average moving forward. It turns out that Meta is still a great business, and Wall Street forgot that in a big way. The rally in 2023 undid the pessimism, but there is still room for the growth Meta can achieve in 2024 and beyond.

4. Microsoft: Avoid

ChatGPT was a viral sensation in 2023, and Microsoft swiftly jumped in, tying itself to its creator, OpenAI, with a multibillion-dollar investment and extended partnership. Between enterprise software, cloud computing, gaming, and more, Microsoft is one of the world's largest and most diversified technology companies. Its cloud positioning amid the AI opportunity has seemingly boosted analyst expectations for its earnings growth in the coming years.

MSFT PE Ratio (Forward) Chart

MSFT PE Ratio (Forward) data by YCharts

Mid-teens growth is nothing to dismiss, but it's becoming harder to call Microsoft a growth stock at its whopping $2.8 trillion market cap. At a forward P/E over 33, the stock's resulting PEG ratio over 2 isn't as appealing as some other "Magnificent Seven" stocks.

It's not abhorrently expensive, but after its 57% single-year gallop, there are better deals out there. It's OK for investors to be picky.

5. Amazon: Buy

Interestingly, e-commerce and cloud leader Amazon trades at a similar PEG ratio to Microsoft of just over 2. So, why should investors consider buying Amazon over similarly valued Microsoft? Amazon is famous for investing its profits into the business, which can understate its true profit potential. The stock trades at 57 times its bottom-line earnings but just 22 times its operating profits, which are earnings from day-to-day business.

AMZN PE Ratio (Forward) Chart

AMZN PE Ratio (Forward) data by YCharts

Over the past decade, that's over 20% below Amazon's average price-to-cash-from-operations ratio. Amazon has tons going on, including investing in developing its AI technology, a critical ingredient to its future. That's not touching on e-commerce, which still has room to grow over the coming decades (e-commerce is just 15% of U.S. retail).

6. Tesla: Avoid

Electric vehicle and energy company Tesla is another example of share price and fundamentals heading in opposite directions. Tesla began cutting prices in 2023 to boost unit sales. The idea is that more units made and sold will let Tesla lower its prices, a cycle that will price competitors out of the market. It's a bold move that has brought short-term consequences to Tesla's operating results. Gross profit margin is down 22% over the past year.

TSLA PE Ratio (Forward) Chart

TSLA PE Ratio (Forward) data by YCharts

Hopefully, unit sales will grow enough for Tesla to realize the cost savings it's striving for soon. Analysts have aggressively lowered their expectations for Tesla's future earnings growth due to the price cuts. If analysts are correct, Tesla's stock has become far more pricey at a PEG ratio over 4. After the stock ran 130% last year, investors might be better off waiting to buy until the numbers prove Tesla right in its price-cutting strategy.

7. Alphabet: Buy

Alphabet's dominance with Google and YouTube overshadows its behind-the-scenes AI potential. The company is leaning on AI to help customers maximize their advertising spend on its platforms (how Alphabet makes most of its money). Its massive pile of user data and pole position among the world's most trafficked websites makes Alphabet a boring but effective money-printing machine.

GOOGL PE Ratio (Forward) Chart

GOOGL PE Ratio (Forward) data by YCharts

The company spends much of that cash flow buying back tons of stock, lowering the number of outstanding shares by 10% in the past five years. That recipe of growth and buybacks has analysts expecting earnings to compound at over 17% annually. The stock's 57% run in 2023 has raised its valuation, but it remains a solid deal for long-term investors at a PEG ratio of 1.4.