How Does Cloudflare Make its Money?

Cloudflare operates a global network spanning 330+ cities that provides web security, performance, and reliability services. The company started as a CDN (Content Delivery Network) and DDoS protection service, but has expanded into a full cloud platform offering zero trust security, serverless computing (Workers), AI inference, email security, and more. Revenue comes from subscriptions across pay-as-you-go and contracted plans.

Revenue Breakdown

Category 2024 2023 YoY Growth
Subscription & Support $1.85B $1.56B +18.6%
Total Revenue $1.85B $1.56B +18.6%

Cloudflare reports as a single segment. Products include:

  • Application Services: CDN, DDoS protection, WAF (web application firewall), bot management, load balancing. The original product suite.
  • Zero Trust / SASE: Cloudflare Access, Gateway, and WARP — replacing traditional VPNs and firewalls with cloud-delivered security. Competing with Zscaler and Palo Alto.
  • Network Services: Magic Transit (network-level DDoS), Magic WAN (SD-WAN), CASB. Protecting and connecting corporate networks.
  • Developer Platform: Workers (serverless computing), R2 (S3-compatible storage), D1 (database), Pages (web hosting), AI inference. Competing with AWS Lambda and Vercel.
  • AI Gateway: Routing, caching, and rate-limiting for AI API calls. A newer product positioned for the AI developer ecosystem.

Customer Mix

Metric 2024 2023
Paying Customers 221,000+ 192,000+
Large Customers (>$100K ARR) 3,500+ 2,800+
Net Dollar Retention 112% 115%

Income Statement Overview

Metric 2024 2023
Total Revenue $1.85B $1.56B
Gross Profit $1.42B $1.20B
Operating Income -$0.08B -$0.17B
Net Income -$0.05B -$0.15B

Key Financial Metrics

  • Gross Margin: 76.8% — Strong margins given Cloudflare operates its own global network hardware (unlike pure SaaS companies that rent cloud infrastructure).
  • Operating Margin: -4.3% — Approaching breakeven. Cloudflare has prioritized growth over profitability but is rapidly approaching GAAP profitability.
  • Free Cash Flow Margin: 6% — Already free-cash-flow positive despite GAAP losses, due to favorable working capital dynamics.
  • Large Customer Growth: +25% — Customers spending >$100K annually are the key metric, and they’re growing fast.

What to Watch

  1. Zero Trust / SASE — Cloudflare is positioning its network as a replacement for corporate VPNs, firewalls, and secure web gateways. Winning large enterprise zero trust deployments is the biggest growth opportunity.
  2. Developer platform — Workers, R2, and D1 aim to make Cloudflare a cloud computing platform competing with AWS. Still early, but edge computing could be a massive market.
  3. AI inference at the edge — Cloudflare’s global network is well-positioned to serve AI inference close to end users. AI Gateway and Workers AI are attracting developer interest.
  4. Path to profitability — Cloudflare is on the cusp of GAAP profitability. Crossing this threshold would broaden the investor base.
  5. Competition — Akamai (CDN), Zscaler (zero trust), Fastly (edge computing), and the hyperscalers all compete with different parts of Cloudflare’s expanding platform.