Cloudflare Surges as AI Demand Pushes Quarterly Revenue to $696 Million

Cloudflare shares soared after the internet infrastructure company reported second-quarter revenue of $696.1 million, up 36% year over year, beating Wall Street estimates and prompting management to raise its full-year outlook. The results, released August 6, sent the stock up roughly 16% as investors bet that the surge of AI traffic washing across the web is turning Cloudflare into one of its most strategically positioned toll collectors.

The quarter blew past analyst expectations. Revenue of $696.1 million topped the FactSet consensus of $664.7 million and the broader Street estimate near $665 million. Non-GAAP diluted earnings came in at $0.29 per share, up from $0.21 a year earlier. Growth accelerated from prior quarters, a notable feat for a company already operating at a multibillion-dollar annual run rate.

"We delivered a stellar second quarter, highlighted by revenue accelerating to $696.1 million, up 36% year-over-year, and record growth in total paying customers, large customers, and developers on our platform," CEO Matthew Prince said in the earnings release.

Demand Across Security, Developers, and AI

Cloudflare's momentum spanned its three core franchises: cybersecurity, developer infrastructure, and the fast-growing category of AI workloads. The company added record numbers of paying customers and large enterprise accounts, while its developer platform continued to expand.

The AI story is increasingly central to how management frames the business. Cloudflare said AI-driven agent traffic now exceeds 50% of overall network traffic on its network, and that AI agent requests are growing more than 1,700% year over year. Because Cloudflare sits between users, applications, networks, and data centers, it is uniquely placed to route and secure the machine-to-machine traffic that AI agents generate as they crawl, query, and transact across the web.

"As the web shifts to AI answer engines and agent-driven commerce, we are seeing a fundamental rewrite of the Internet for machine-to-machine traffic," Prince said.

Not everything in the quarter was clean. Cloudflare absorbed a $150.7 million restructuring charge tied to a shift toward what it described as an "agentic AI-first" operating model, a reorganization that widened its GAAP loss. Investors largely looked past the one-time hit, focusing instead on the revenue acceleration and the raised guidance.

Raised Outlook Signals Confidence

Management lifted its full-year 2026 revenue forecast to a range of $2.864 billion to $2.870 billion, up from the prior $2.805 billion to $2.813 billion. It also raised adjusted earnings guidance to between $1.25 and $1.26 per share, ahead of the roughly $1.21 analysts had modeled. The upward revision, coming alongside a beat rather than in place of one, is the kind of signal that tends to reset expectations for a growth stock, and several Wall Street firms responded by boosting their price targets.

The company is not just riding AI demand passively. Cloudflare has been building developer tools for AI inference and agents, and it has moved aggressively to reshape the economics of web crawling. Its "pay per crawl" initiative, which lets content owners charge AI crawlers for access, is evolving into a broader "Pay Per Use" framework. Beginning September 15, 2026, Cloudflare plans to block mixed-use crawlers from ad-supported pages by default for new customers, new sites, and existing free customers who have not changed their settings. It has also introduced products aimed at agent-driven commerce, including stablecoin wallets and payment rails designed to let AI agents transact with spending guardrails.

Why It Matters

Cloudflare's quarter is a data point in one of the most important shifts in enterprise technology: AI spending is spreading up the stack. The first wave of the AI boom concentrated at the bottom, in Nvidia chips and the hyperscale data centers that train frontier models. What Cloudflare's results suggest is that the money is now flowing into the plumbing that connects models to the real world, the networking, security, and orchestration layers that AI agents depend on to actually do useful work.

That points toward what the industry has started calling the "agentic web," a version of the internet where autonomous software agents, not humans, generate the majority of traffic. If Prince is right that agent traffic could one day dwarf human traffic many times over, the companies that control the roads and set the tolls stand to benefit regardless of which AI lab wins. Cloudflare is trying to be that layer, and its pay-per-crawl and agent-commerce products are early attempts to invent the business model for it. For publishers squeezed by AI crawlers harvesting their content for free, Cloudflare's tools also represent a rare piece of leverage.

What to Watch

The key questions now are durability and margins. Investors will want to see whether AI-driven revenue is incremental or simply pulling forward existing demand, and whether the restructuring charge marks the end of the reorganization or the beginning of more. Adoption of pay-per-crawl and the September crawler-blocking policy will test how much bargaining power Cloudflare really holds over AI companies and publishers alike. And with expectations now elevated by the raised guidance, the bar for the next quarter is higher. For a business betting that the web is being rewritten for machines, the coming quarters will show how quickly that rewrite pays.

“As the web shifts to AI answer engines and agent-driven commerce, we are seeing a fundamental rewrite of the Internet for machine-to-machine traffic.”
— Matthew Prince, CEO, Cloudflare
$696M
Q2 revenue
36%
Year-over-year growth
$2.87B
Raised FY2026 outlook
$664.7M
Analyst estimate beaten