Cloudflare's May 7 「AI-First」 Memo: 1,100 Out, a 34% Revenue Beat, and a Stock That Dropped 18% Anyway

On May 7 Cloudflare announced 1,100 layoffs (~20% of staff) on the same call where it printed 34% YoY revenue growth and raised guidance to 30%. The stock dropped 18%. CEO Matthew Prince says internal AI usage is up 600% in three months and the cuts target 「support roles behind the people creating code」.

Cloudflare's May 7 「AI-First」 Memo: 1,100 Out, a 34% Revenue Beat, and a Stock That Dropped 18% Anyway

Cloudflare picked the same Thursday morning to print 34% year-over-year revenue growth and to send 1,100 employees an email telling them their jobs were not “the roles needed for the future.” The two things landed in employees’ inboxes within hours of each other on May 7, 2026. The stock dropped 18% in extended trading.

That sequence — beat earnings, raise guidance, cut a fifth of the workforce, watch the stock get punished — is the layoffs-against-AI-tailwind pattern in its purest form. The numbers are not bad. The numbers are quite good. The cuts are not happening because the business is shrinking. They are happening because Matthew Prince has decided the business does not need the people inside it to grow at the rate it is growing.

What Cloudflare actually printed

Q1 2026 came in at 34% YoY revenue growth, with Cloudflare raising its full-year revenue guidance and lifting forward growth expectations to roughly 30%. That is acceleration, not deceleration. By any normal reading of a B2B infrastructure company’s financials, this is the print where the CEO goes on Bloomberg and talks about hiring sprees.

Instead, Prince filed an 8-K disclosing roughly 1,100 role eliminations — about 20% of Cloudflare’s roughly 5,500-person workforce — and disclosed the cost: $140 million to $150 million in restructuring charges, of which $105 million to $110 million is cash for severance and benefits. Most of the charges land in Q2.

The market read the package the way it has read every other May 2026 announcement of this shape: the cut is the news, the cut is permanent, the cut is what the company actually wants you to price.

Prince’s framing — and the line that mattered

Prince’s internal memo — which leaked within hours, the way these things always do — used a sentence worth quoting verbatim: there are roles at Cloudflare “that are not the roles needed for the future,” and “the support roles behind those directly creating code” are not the roles that will drive the company forward.

That is a weirdly specific statement, and it is doing more work than it looks. Prince is not saying engineers are safe. He is saying production engineers who write code are safe. He is also saying that almost everything else — DevRel, technical support, customer-success-as-debugging, internal ops, parts of HR, parts of finance, parts of marketing — is now subject to a credible AI substitute. The line implicitly drops a tier of jobs from the “AI-augmented” category into the “AI-replaced” category.

Prince paired the framing with a number: internal AI usage at Cloudflare is up roughly 600% over the past three months, with thousands of agentic workflows running across engineering, finance, marketing, and HR daily. The implicit logic: if the company’s own employees are leaning that hard on agents internally, then the company’s headcount math has been wrong for at least a year, and the cut is correcting it now rather than later.

The honest version is that Cloudflare grew headcount aggressively from 2022 through 2025 on the assumption that scaling a B2B infrastructure business required scaling the human supporting cast around it. Prince is now telling investors that the supporting cast does not have to scale anymore, because the agents are doing the supporting. Whether that is correct or only mostly correct will be visible in customer-support metrics for the next six quarters.

The earnings-beat-plus-layoff trade is its own genre now

Cloudflare is the third May 2026 announcement to fit this exact silhouette: a quarter that beat consensus, paired with a workforce cut measured in single-digit thousands, paired with stock-price punishment despite the beat. The other two were PayPal on May 5 (4,760 jobs, $1.5B savings, EPS beat, stock down) and DeepL on May 7 (250 jobs, ~25% of staff, “AI-native” pivot).

The shared template:

  1. Print solid revenue growth.
  2. Acknowledge that the growth is not yet flowing to the operating margin investors want.
  3. Announce headcount reduction with an AI rationale.
  4. Project a multi-quarter cost-savings glide path.
  5. Watch the stock drop on the announcement, not on the print.

What the market is actually saying with the 18% drop is not “we don’t believe the cut will happen.” It is “we already priced the cut and we wanted to see margin expansion proof, not a $140M restructuring charge in the quarter we are looking at.” Investors who priced Cloudflare for an “AI-tailwind, headcount-unchanged” story now have to re-underwrite the multiple to a “post-cut, post-charge, AI-leverage” story, and that re-underwrite happens on the day with a haircut.

The interesting variant in Cloudflare’s case is the simultaneous guidance raise. Prince is telling investors: revenue is going to grow faster than we previously said, and we are taking 20% of the workforce out, and the ratio is going to mean operating-margin expansion. That is a coherent thesis. It is also the thesis with the highest execution risk in the May 2026 cohort, because Cloudflare’s growth depends on customer support quality scaling with seat count, and the bet is that agents will hold support quality at half the human staffing.

The agents Cloudflare is selling, and the agents Cloudflare is using

This is the part where the company’s own product story bends back on itself in a way worth pausing on. Cloudflare is one of the most aggressive vendors in the agentic-platform-for-developers race — Workers, R2, Durable Objects, AI Gateway, Vectorize, and Agents have all been pitched in the past nine months as the substrate other companies will run their AI agents on. The pitch is that Cloudflare’s edge network is the natural home for short-lived agentic compute that needs to be close to users.

The 1,100 cut is, in part, the in-house validation story for that pitch. Cloudflare is now both the platform and the customer. The pitch deck goes from “agents will let your engineering team do more with the same headcount” to “agents let our engineering team do more with 1,100 fewer humans.” The before/after is the marketing material.

That is a strong story for prospective customers and a brutal story for the 1,100 people whose departure became the proof point.

What to watch through the August print

  • Customer-support response time and CSAT. The first place a too-aggressive support cut shows up is in mid-tier enterprise CSAT and in median time-to-resolution on tickets. If Cloudflare’s enterprise NRR softens through Q3, the cut probably went too deep on customer-facing roles.
  • Where the AI-leverage actually lands in the financials. Operating-margin expansion in Q2 will be muddied by the $140M one-time charge. Q3 is the first clean quarter where the AI-leverage story shows up or doesn’t. Watch operating margin ex-restructuring vs. consensus.
  • The “support roles behind the code” line in re-statements. The investor-relations team has now defined a category of roles internally as “the roles not needed for the future.” That language will either disappear from the next earnings call (because it scared the surviving employees too much) or harden into the formal taxonomy of how Cloudflare reports productivity.
  • The pattern-match against PayPal, Freshworks, Coinbase, Accenture, and DeepL. Six announcements in six weeks of the “AI-restructuring as margin story” template. If Q2 prints don’t show meaningful operating-margin lift across at least three of these names, the entire genre is going to face a credibility test in the second half of the year.

The dryly funny coda

The single most quoted thing about Cloudflare’s announcement on May 7 was not the layoff number, the charge, or even the guidance raise. It was the BusinessToday headline: “This wasn’t an easy decision.” That sentence has now been used by every CEO of every company in this six-week cohort. It is becoming the corporate version of “thoughts and prayers” — a phrase that signals the speaker has correctly identified the gravity of the moment without committing to anything beyond the gravity itself.

The decision was, in fact, easy. The company was growing 34% on the top line, the AI tools were already eating support-role workflows internally, the investor base wanted a margin story, and the founder-CEO controls the board. The actually hard decision — what does Cloudflare do with the 4,400 humans who are still inside the building when the agents handle support, ops, and most of the not-directly-creating-code work? — is the one that won’t get answered until the August call, and probably not even then.

Twelve weeks. Then we’ll see whose roles were the future.