Salesforce is integrating AI agents into its software and has shifted away from a paid-set model to a usage-based one.
Oracle's cloud infrastructure sales more than doubled in the first quarter of fiscal 2027, proving its new focus on renting AI compute power is working.
Both companies could be long-term winners, but owning Salesforce stock has lower risks.
Enterprise AI stocks haven't been big winners for investors over the past year, as Salesforce (NYSE: CRM) and Oracle (NYSE: ORCL) shareholders will tell you. Salesforce's stock is down about 3% over the past 12 months, while Oracle's stock has cratered 55%, compared to the S&P 500's (SNPINDEX: ^GSPC) 16% gains.
But both have made big moves into artificial intelligence (AI), some of which are already yielding positive results. With the AI boom still in the early innings, investors hope Salesforce and Oracle could still be long-term winners.
Missed Nvidia in 2009? This Rare Signal Is Flashing Again. In 2009, a "Double Down" signal flashed for a little-known chipmaker called Nvidia. For the first time in years, that same "Total Conviction" signal is flashing for a company 1/100th the size of Nvidia. Continue »
So, which looks like the better bet for an AI-fueled run? Here's what you need to know.
Image source: Getty Images.
Oracle is building its future on the company's cloud Infrastructure business, which rents out computing power to tech companies for their AI needs.
The good news is that the company has secured computing contracts from OpenAI, Meta, Nvidia, and others, and its cloud infrastructure sales soared 121% year over year to $7.4 billion in its recently reported fiscal Q1 2027 results. Some analysts believe the company is making the right move as it transforms into an AI hyperscaler, with Citizens Financial analyst Patrick Walravens recently saying that the stock is an attractive opportunity and that "Oracle offers a differentiated full-stack AI platform."
Much of Oracle's first-quarter results were good, as total sales rose 30% to $19.3 billion and non-GAAP earnings per share up 30% to $1.92. Both of which beat Wall Street's consensus estimates.
However, Oracle is spending heavily on AI infrastructure, and its recent sales growth doesn't yet justify the costs.
Oracle's capital expenditures (capex) soared 235% in the first quarter to $28.5 billion, and shareholders are increasingly concerned that building expensive AI data centers won't be worth the investment.
Their concerns aren't unfounded. The company is building a new data center in New Mexico, called Project Jupiter, and Oracle recently paused its rent payments after permitting and power supply issues had slowed progress. The total project cost for Jupiter is $165 billion and is supposed to be finished by late 2028. But investors fear that timeline could be pushed back now.
Many of Oracle's shareholders were already skeptical of the company's AI spending spree, and the latest hurdles for the Jupiter project sent the company's stock tumbling.
Software-as-a-service companies are facing a difficult time as Claude and ChatGPT can perform many tasks that were once the specialty of specific tech companies. But Salesforce has transformed its customer relationship management (CRM) software over the past few years, implementing more AI services and integrations that have helped it fend off competitors.
The company has also struck deals with Alphabet to integrate its Gemini AI model into its software, so customers can build and deploy their own AI agents, and has made similar deals with Anthropic to give customers access to plug-in capabilities for Claude.
The pairing of Salesforce's software with AI agents has already had some success. The company's second-quarter fiscal 2027 sales of $11.3 billion were up 11% from the year-ago quarter, and non-GAAP earnings more than doubled to $5.90, both outpacing analysts' consensus estimates.
The company has already had to adapt to this shift by switching from a business model that primarily focused on paid seats -- how many people in a company used its software -- to a usage-based model. And analysts at KeyBanc Capital Markets said over the summer that Salesforce's AI platform, called Agentforce, has failed to impress some chief information officers at enterprise companies.
Analysts at the firm downgraded Salesforce stock over the summer and said that some of the customers it talked to said, "Agentforce, as a product, just isn't there."
Still, Salesforce's recent AI partnerships and strong quarterly results have helped push the company's stock up 55% over the past three months, despite concerns about AI disruption.
Both companies are adapting relatively well to AI, but if I had to pick just one as the better enterprise AI stock right now, it would be Salesforce.
While there is still pressure on the company from artificial intelligence disruption, Salesforce's current moves appear to be addressing these issues adequately. I also think that some companies will feel more comfortable continuing to use legacy software that integrates AI, rather than replacing it with AI-first tools.
And, perhaps most importantly, Salesforce isn't spending as much as Oracle on its transition to AI. Oracle's capital-intensive data centers are a risky bet, and the verdict is still out on whether it will be worth the costs.
That doesn't mean Oracle is a bad stock to own; it just gives Salesforce the edge in this match-up.
Before you buy stock in Salesforce, consider this:
The Motley Fool Stock Advisor analyst team just identified what they believe are the 10 best stocks for investors to buy now… and Salesforce wasn’t one of them. The 10 stocks that made the cut could produce monster returns in the coming years.
Consider when Netflix made this list on December 17, 2004... if you invested $1,000 at the time of our recommendation, you’d have $383,680!* Or when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you’d have $1,382,954!*
Now, it’s worth noting Stock Advisor’s total average return is 937% — a market-crushing outperformance compared to 214% for the S&P 500. Don't miss the latest top 10 list, available with Stock Advisor, and join an investing community built by individual investors for individual investors.
See the 10 stocks »
*Stock Advisor returns as of September 28, 2026.
Chris Neiger has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Alphabet, Meta Platforms, Nvidia, Oracle, and Salesforce. The Motley Fool has a disclosure policy.