Baidu vs. Alibaba: Which Chinese AI Stock Is the Better Investment Now?

In This Article:

Baidu BIDU and Alibaba BABA are two of China’s tech titans that have increasingly pivoted toward artificial intelligence (AI). Both companies dominate their respective fields – Baidu in online search and AI cloud services, Alibaba in e-commerce and cloud computing – yet they share notable similarities. Each is profitable, generates substantial cash, and has been pouring investments into cutting-edge AI research and applications.

In fact, Chinese tech companies like Alibaba and Baidu have recently captured renewed investor attention thanks to a series of positive developments (including massive government stimulus and the rise of AI services) after a few challenging years. With China’s AI sector booming, these two companies stand out as key players riding the trend.

Let's dive deep and closely compare the fundamentals of the two stocks to determine which one is a better investment now.

The Case for Baidu Stock

Baidu, often dubbed “China’s Google,” has successfully repositioned itself as an AI-first company, marking a significant shift toward cloud computing and AI services in recent years. The company’s aggressive push into AI has yielded promising results, particularly in its first-quarter 2025 performance. Baidu Core’s revenue growth was driven largely by its AI Cloud business, which surged 42% year over year. AI Cloud now represents 26% of Baidu Core’s revenue, up from 20% in the same period the previous year, highlighting increasing recognition of Baidu's AI capabilities.

A key driver behind Baidu’s AI growth is its model-as-a-service platform, Qianfan, which offers an extensive model library and supports fine-tuning of multimodal and reasoning models. By reducing inference costs, Qianfan has made Baidu’s cloud offerings especially attractive to enterprise clients, bolstering subscription-based revenue. (read more: Baidu's Q1 Earnings & Revenues Top Estimates, Margins Down Y/Y).

Baidu further strengthened its AI leadership with the launch of ERNIE 4.5 and ERNIE X1, and their Turbo versions in April 2025. These models promise superior performance at lower costs, enabled by Baidu’s unique four-layer AI architecture that optimizes infrastructure, frameworks, models, and applications. As part of its strategy to drive accessibility, Baidu plans to open-source ERNIE 4.5 by June 30, 2025, helping expand its ecosystem.

Despite challenges such as U.S. chip export restrictions, Baidu remains confident in its ability to maintain momentum, citing efficient GPU utilization and growing domestic chip capabilities. Additionally, Baidu’s mobile search product is increasingly AI-driven, with 35% of mobile search results now featuring AI-generated content, up from 22% in January.

In terms of challenges, the company posted a negative free cash flow of RMB 8.9 billion in the first quarter, largely due to elevated AI investments despite a strong operating margin of 16% for Baidu Core and a non-GAAP margin of 19%. Management signaled further increases in capital outlays for AI Cloud, model development, autonomous driving, and AI search transformation in 2025.

The ongoing weakness in online advertising is a concern. Even in the latest quarter, Baidu’s core online marketing revenues declined 6% year over year, extending the prior year’s decline. Competition from rivals (e.g., ByteDance’s TikTok/Douyin in advertising, Tencent in digital ads, etc.) and the shift of ad budgets to new platforms have made it harder for Baidu to grow its search ad business. In cloud computing and AI, Baidu faces competition from Alibaba Cloud and Tencent Holdings Limited’s TCEHY cloud services.