Baidu reported second-quarter revenue of 31.33 billion yuan (about $4.65 billion) on Tuesday, a 4% year-on-year decline that fell short of Wall Street expectations, as a deepening slump in its core advertising business outweighed another quarter of strong growth in the company's AI-related operations.

The result, compiled from reporting by Reuters, missed the analyst consensus of 31.96 billion yuan according to LSEG data, and Baidu's U.S.-listed shares slipped roughly 3.5% in premarket trading following the release. The report lands amid an intense race for AI dominance in China that Baidu once led but increasingly finds itself chasing from behind.

Advertising Weakness Continues to Drag

Baidu's online marketing services segment — historically the engine of its profitability — generated 13.1 billion yuan in revenue for the quarter ended June, down 19% from a year earlier. The company attributed the continued erosion to a prolonged downturn in China's property sector and weak consumer spending, which have led businesses across the country to cut their marketing budgets.

The decline puts further pressure on a business that has now shrunk for multiple consecutive quarters, and it offsets much of the momentum Baidu has built elsewhere. Advertising once accounted for the overwhelming majority of the company's income, making the transition to AI-driven revenue streams not just strategic but existential.

AI and Cloud Revenue Climbs 25%

The bright spot in the report was Baidu's Core AI-powered Business, which includes cloud computing and AI applications. That segment rose 25% year-on-year to 12.5 billion yuan, as enterprises accelerating their adoption of artificial intelligence drove sustained demand for Baidu's cloud infrastructure.

The figure means Baidu's AI-related operations now generate nearly as much revenue as its legacy advertising business — a milestone that underscores how quickly the composition of the company is changing. Executives have argued for quarters that this shift is the centerpiece of Baidu's future, even as the transition period compresses margins.

Baidu has been increasing spending on AI infrastructure and talent, and analysts quoted by Reuters warned that this elevated investment could continue to pressure margins even as AI-related revenue grows. The tension between funding long-term AI ambitions and protecting near-term profitability is one shared across the industry, but it is particularly acute for Baidu given the fragility of its advertising base.

Falling Behind in China's Model Race

Perhaps the more uncomfortable storyline for the Beijing-based company is its position in China's fiercely competitive AI landscape. Once an early leader with its Ernie chatbot, Baidu has fallen behind rivals such as ByteDance and Alibaba in the race to develop frontier AI technologies and products.

Baidu's Ernie large language model has gone months without a major upgrade, according to Reuters, while competitors have continued to roll out newer and more capable versions of their models. Alibaba in particular has been aggressive, releasing a steady cadence of open-weight Qwen models that have racked up billions of downloads and increasingly compete with Western frontier systems.

The contrast matters commercially. Cloud customers sign long-term contracts based on the perceived quality of the underlying models, and a perception of technological lag can be self-reinforcing. Baidu's 25% AI growth, while substantial, trails the expansion rates some Chinese rivals have posted as they capitalize on surging enterprise demand for inference capacity.

What It Means for Investors

Wall Street had entered the print focused on three variables: the trajectory of AI cloud growth, the depth of the advertising decline, and margins. The company delivered convincingly on the first, disappointing on the second, and offered little immediate relief on the third.

Analysts expected earnings of roughly $1.46 per share on about $4.74 billion in revenue heading into the report, according to a Seeking Alpha preview. The revenue miss — about 2% below consensus — was driven almost entirely by the advertising shortfall, reinforcing the view that Baidu's turnaround depends on how quickly AI revenue can scale to fill the gap.

There are reasons for cautious optimism. The AI cloud business is growing from a larger base each quarter, and enterprise AI adoption in China shows no sign of slowing. Government support for domestic AI ecosystems continues to favor local providers over foreign platforms, giving Baidu, Alibaba, ByteDance and Tencent a protected arena in which to compete. And with advertising now contributing less than half of core revenue, each quarter of 25% AI growth mechanically closes more of the gap left by the legacy business.

But the clock is running. Every quarter in which advertising declines faster than AI grows, Baidu's total revenue shrinks — and the company's valuation case erodes with it. Chief among the questions for the second half of 2026 is whether Ernie's next major upgrade, whenever it arrives, can reignite developer enthusiasm and enterprise workloads on Baidu's platform.

Stay Ahead of AI

Get the latest AI news on Baidu, Alibaba and the companies reshaping China's AI economy — read more AI news →