Salesforce remains the dominant player in the customer relationship management market while pivoting toward autonomous AI agents.
Palantir is experiencing rapid expansion in its commercial business as organizations seek to operationalize their data.
Which software giant deserves a place in your portfolio for 2027?
Salesforce (NYSE:CRM) and Palantir Technologies (NASDAQ:PLTR) represent two distinct ways to play the artificial intelligence boom. Which software provider offers the most compelling path for your portfolio over the next three years?
Salesforce provides a massive cloud platform for managing customer relationships, while Palantir builds operating systems that integrate disparate data for decision-making. Investors compare them because both are aggressively integrating generative AI into enterprise workflows to drive efficiency for global businesses.
Salesforce provides customer relationship management (CRM) tools to businesses through its Agentforce 360 platform. The company is currently focused on deploying autonomous AI agents that can handle sales and service tasks without constant human oversight for its more than 10,000 customers. In its latest annual report, it also highlighted its expansive partner network and recent acquisitions like Braze (NASDAQ:BRZE) to bolster its data management and AI offerings.
In the 12 months ended July 31, 2026, revenue reached $43.9 billion, which is an 11.2% increase over the previous twelve-month period. Net income for this time frame was $9.7 billion, demonstrating the company's ability to maintain high profitability while transitioning to new AI products. This growth highlights the steady adoption of cloud-based tech stocks that focus on enterprise efficiency and customer retention.
As of its January 2026 balance sheet, the debt-to-equity ratio was 0.3x, suggesting the company maintains a conservative level of borrowing relative to its equity. The current ratio, which compares short-term assets to liabilities, was 0.8x. In the fiscal year ended Jan. 31, 2026, free cash flow reached $14.4 billion. Note that stock-based compensation (SBC) represented 23.4% of operating cash flow, which inflates reported cash generation since SBC is a non-cash expense added back in the cash flow statement.
Palantir Technologies builds software platforms that allow organizations to integrate massive amounts of data with AI models for real-time decision-making. The company serves both government agencies and commercial enterprises, recently announcing a partnership with AmeriLife Group to apply AI in the insurance distribution market. Its Artificial Intelligence Platform (AIP) is a core driver of its current strategy as more businesses look to move beyond simple chatbots toward operational AI tools.
In the 12 months ended Sept. 30, 2026, revenue reached $7.3 billion, representing growth of 87.1% as demand for its data platforms accelerated. Net income during this period was $3.7 billion, reflecting the scalability of its infrastructure software model. This sharp increase in revenue aligns with a rapidly expanding customer base that grew to over 1,000 total customers by the middle of 2026.
As of its December 2025 balance sheet, the debt-to-equity ratio was zero, meaning the company carries no debt relative to its equity. The current ratio was 7.1x, suggesting a high level of short-term liquidity to fund its growth initiatives. In the fiscal year ended Dec. 31, 2025, free cash flow was $2.1 billion. Note that stock-based compensation represented roughly 32% of operating cash flow.
Salesforce faces intense competition in the enterprise software market from established giants like Microsoft (NASDAQ:MSFT) and a new wave of AI-native start-ups. The company also manages operational risks involving its AI deployments, where errors or biases could lead to regulatory scrutiny or reputational damage. Furthermore, integrating major acquisitions such as Braze or Informatica requires significant execution focus to avoid disrupting existing customer relationships.
Palantir deals with significant customer concentration, where the loss of a few major government or commercial contracts could impact overall financial performance. The company also relies on third-party cloud infrastructure from providers like Amazon (NASDAQ:AMZN) to deliver its services to clients. Additionally, the intensive and lengthy sales cycles common in the software infrastructure industry can make it difficult for investors to predict quarterly revenue with high precision.
Salesforce carries a lower Forward P/E, based on future earnings estimates, and P/S ratio, which measures value against sales over the past twelve months, than its peer.
| Metric | Salesforce | Palantir Technologies |
|---|---|---|
| Forward P/E | 11.0x | 91.0x |
| P/S ratio | 3.8x | 54.3x |
Valuation metrics include sourcing from Financial Modeling Prep (FMP) and may differ from other data providers.
Deciding whether to invest in Salesforce or Palantir comes down to a classic trade-off between cash-flow value at a reasonable price and hyper-growth AI momentum at a steep valuation. Salesforce looks like a far better value, and in fact, its P/S and forward P/E ratios are both at low points for the past year, suggesting now is a good time to buy.
Certainly, the CRM leader's low valuation makes its stock more likely to deliver a solid return, while Palantir carries greater risk, because its elevated share price valuation means if its business does not maintain high sales growth, the stock will sink. Moreover, while Salesforce's top-line growth is not as strong as Palantir's, the CRM leader pays a dividend, yielding 0.92% as of Nov. 19, which adds to its total return.
These factors make Salesforce the better stock for conservative investors. For those with a high risk tolerance, I recommend Palantir over Salesforce. Palantir's AIP is attracting commercial customers, leading to soaring sales. The company generated $2.3 billion in third-quarter revenue, an impressive 96% year-over-year increase.
Q3 also marked the first time its U.S. commercial sales surpassed U.S. government revenue, signaling a key inflection point in its business. I believe Palantir is poised for more growth in 2027 as its commercial customers continue to expand amid strong demand for AI.
Robert Izquierdo has positions in Amazon, Microsoft, Palantir Technologies, and Salesforce. The Motley Fool has positions in and recommends Amazon, Microsoft, Palantir Technologies, and Salesforce. The Motley Fool recommends Braze. The Motley Fool has a disclosure policy.