Shares of Cloudflare plunged 11.5% in after-hours trading to $227.25 after the company paired a strong Q1 earnings beat with the announcement of 1,100 layoffs — roughly 20% of its workforce — to pivot toward what CEO Matthew Prince called an "agentic AI-first operating model." Revenue hit $639.8 million, up 34% year-over-year , handily topping the consensus estimate of $620.83 million . The market's verdict: growth doesn't matter when you're restructuring at this scale.

The Numbers Were Genuinely Good — And That's the Problem. Non-GAAP EPS of $0.25 beat the Street's $0.23 forecast . Operating cash flow was $158.3 million, and free cash flow reached $84.1 million, or 13% of revenue — a step up from 11% a year ago. The selloff isn't about the quarter. It's about investors suddenly questioning whether the next four quarters will require painful reorganization costs that eat into those improving profits.

Cutting One in Five Workers Signals a Company That Over-Hired. Cloudflare had 5,156 employees as of December 31, 2025, after growing headcount nearly 21% in one year . Now it's reversing that entire year of hiring in one stroke. Prince framed AI agents as "core parts of our workforce," saying the company is "being intentional in how we architect our company." But companies are cutting not because they are struggling, but because they see a future where fewer human workers and more AI infrastructure generate higher returns — a pattern sweeping tech, where layoffs hit 81,747 in Q1 2026 alone .

Gross Margins Are Already Sliding — Savings Need to Show Up Fast. GAAP gross margin fell to 71.2% from 75.9% a year ago; non-GAAP gross margin dropped to 72.8% from 77.1% . That four-point compression reflects the real cost of scaling its developer platform and AI infrastructure. The layoff savings — likely $150M–$200M annualized at Cloudflare's average compensation — could meaningfully boost operating margins, but only if the company doesn't backfill those roles with expensive AI engineers.

The Valuation Leaves No Room for Stumbles. Even after tonight's drop, Cloudflare trades at roughly 25x forward revenue against its full-year 2026 guidance of $2.785–$2.795 billion . Bears argued a stock at 130x forward EV/EBITDA has no cushion when sentiment turns . Tonight proves the point. The restructuring may ultimately be the right move, but investors are pricing the disruption risk now and the margin payoff later — if it comes at all.