CNBC's Jim Cramer is telling investors to buy two of the biggest names in artificial intelligence: Nvidia and Meta Platforms. That's according to reporting summarized by The Motley Fool, Yahoo Finance, and MSN, which carried the same underlying story.

The hook is the scale of the gains these stocks have already delivered. The Motley Fool's headline frames the two companies as being up 460% and 1,300% since 2023 — enormous run-ups over roughly two and a half years. The sources do not spell out which figure belongs to which company, so investors should treat the pairing carefully.

What makes the pitch notable, according to the coverage, is that Cramer isn't alone. The headline stresses that "Wall Street agrees" — a nod to broader analyst enthusiasm for both names rather than a lone-wolf call.

Nvidia and Meta sit on different sides of the AI boom. Nvidia designs the chips that power AI systems, while Meta is a leading consumer-tech company investing heavily in AI across its platforms. Grouping them as "AI megacaps" reflects how the AI trade has driven much of the stock market's strength.

A note of caution the numbers themselves suggest: stocks that have already climbed several hundred or over a thousand percent carry the question of how much upside is left. The sources report the bullish view but do not offer price targets or a timeline.

Why it matters: when a high-profile commentator and much of Wall Street rally around the same handful of AI stocks, it signals how concentrated investor bets on artificial intelligence have become.