Agentic web traction meets rising restructuring costs
- Cloudflare sells subscriptions to its Connectivity Cloud, a global network used to protect, speed up, and connect apps.
- The bull case is that Cloudflare becomes core AI plumbing as more apps, agents, and developers run through its edge network.
- Customer expansion accelerated, with dollar-based net retention improving to 120% in Q2 2026.
- Gross margin stabilized at 73.1% after a string of sequential declines, offering a pause to profitability concerns.
- The estimated cost of the company's shift to an agentic AI-first operating model increased to up to $165 million.
AI pull meets a painful reset
Cloudflare is still one of the clearer ways to invest in the next version of the internet. Its network sits between users, apps, devices, and now AI agents. That gives it a chance to sell security, speed, networking, and developer tools from one platform.
The good news is that customer expansion has accelerated. Dollar-based net retention reached 120% in the second quarter of 2026. This means the same customer base is spending more with Cloudflare. Non-human traffic also crossed the 50% mark on its network, proving the agentic web thesis.
Profitability pressures have eased slightly. Gross margin rebounded to 73.1%, breaking a streak of sequential declines. This gives investors hope that newer products like Workers AI can scale without permanently dragging down margins.
Cloudflare is still navigating a major internal rebuild. The shift to an agentic AI-first operating model now carries an expected cost of up to $165 million. If this works, operating leverage could improve. If execution falters, the restructuring could disrupt sales and product speed.
Subscriptions on a huge edge network
Cloudflare makes money mainly through subscriptions. Customers pay for access to its global Connectivity Cloud, which includes web security, DDoS protection, content delivery, Zero Trust tools, network services, and developer compute.
The company uses a large freemium model. Free users add scale to the network and create a funnel for paid plans. Developers can start small on Cloudflare Workers, then grow into larger paid contracts if their apps gain traffic.
A single network supports many products, creating powerful economics. The company is now exploring transaction models for machine-to-machine traffic. Tools like Monetization Gateway and cloudflare.pay aim to capture value from AI agents and redefine the business model of the internet.
Management is trying to separate revenue growth from headcount growth. The planned AI-first operating model is meant to make each employee more productive. The shift to pool-of-funds pricing could make short-term revenue timing less predictable, but investors hope it drives long-term scale.
Four acts of Cloudflare
Act 1: Reverse proxy
This is the original core: WAF, DDoS mitigation, CDN, and DNS. It protects and speeds up websites and apps, and it remains the base many customers start from.
Act 2: Cloudflare One
This is the Zero Trust and SASE product set, including Secure Web Gateway, Magic WAN, DLP, and CASB. It helps companies connect employees, offices, apps, and data without relying on old private network gear.
Act 3: Workers and Workers AI
Workers lets developers run code on Cloudflare's global network instead of only in a central cloud region. Workers AI adds model inference, and recent large deals show this platform is becoming more important to big customers.
Act 4: Agentic web
This is Cloudflare's bet on infrastructure for AI agents that browse, buy, and transact online. Monetization Gateway and cloudflare.pay are early tools to build a two-sided agentic marketplace.
Revenue is global, not segment-based
Cloudflare does not report separate operating segments. For the second quarter of 2026, revenue by customer billing address was 51% United States, 27% EMEA, 14% APAC, and roughly 8% Other.
What could break the thesis
Restructuring disrupts the machine
High impact · Medium oddsCloudflare is evolving into an agentic AI-first operating model and reducing its workforce by about 20%. Management has raised the expected cost of this restructuring to up to $165 million. The danger is that sales coverage, support quality, or product pace weakens before the new model proves itself.
Gross margin resets lower
High impact · High oddsGross margin stabilized at 73.1% in Q2 2026, breaking a streak of sequential declines. Investors are still trying to judge if the long-term margin profile will be lower. If AI and developer workloads cost more to serve, growth may not convert into profit as well as hoped.
AI hardware supply tightens
Medium impact · Medium oddsCloudflare relies on server components to expand its network. The company has warned about possible shortages in memory, SSDs, CPUs, and high-capacity hard drives as manufacturing shifts toward AI infrastructure. Shortages could raise costs or slow capacity additions.
Big price leaves little room for mistakes
High impact · Medium oddsFinn's valuation score is low, so the stock already reflects a lot of future success. That does not mean the business is weak. It means misses on margins, growth, or the restructuring could hit the share price hard.
Key people and culture risk
Medium impact · Medium oddsCloudflare depends on senior leaders and technical talent to keep its platform moving. A large workforce cut can increase the risk of talent loss and slow product work. That matters more when the company is also trying to create new markets like the agentic web.
In one breath
What does Cloudflare actually do?
Cloudflare runs a global network that sits in front of websites, apps, and corporate networks. Customers use it for security, speed, networking, and developer compute.
Why is Cloudflare tied to AI?
AI apps need fast, global infrastructure, and AI agents create new traffic, scraping, security, and payment problems. Cloudflare wants its Workers platform and agentic web tools to become key parts of that stack.
What is the biggest issue for Cloudflare stock?
The biggest issue is whether growth can turn into better profit. Gross margin has been under pressure, and the company is going through a massive internal restructuring.

