GTLB

GitLab Q1 Beat Comes With AI Restructuring Move

GitLab packed two disclosures into a single 8-K on June 2, 2026: a third straight quarterly earnings beat and a restructuring charge tied to AI. Item 2.02 covered Q1 FY2027 results; Item 2.05 covered costs associated with exit or disposal activities. The market got to celebrate and absorb bad news simultaneously, which is its own form of message management.

GitLab Inc. (GTLB) — stock analysis
The numbers
  • Three consecutive earnings beats: $0.24 vs. $0.16 estimate, $0.25 vs. $0.20 estimate, and $0.30 vs. $0.23 estimate in the most recent quarter.
  • Trailing twelve-month revenue of $1.00 billion, growing 23.1% year-over-year; gross margin of 86.8%; free cash flow of $313 million.
  • Net insider selling of $32.31 million against $0.13 million in open-market purchases over the trailing 90 days.

Filing Both at Once

There is nothing unlawful about disclosing earnings and restructuring charges in the same 8-K. But the choice to do so warrants attention. Reports described the June 2 event as "AI-focused layoffs alongside an earnings beat" — characterization consistent with the dual-item filing. GitLab did not separately explain the connection between solid operating performance and simultaneous headcount reductions. That gap is the thing investors need to fill in on their own.

The restructuring framing matters because it arrives at the same moment GitLab is pitching a transformation story. Around June 11, the company announced new capabilities designed to give enterprises speed and control at agentic scale. The product positioning is coherent: cut legacy overhead, invest in AI-native functionality, emerge leaner. Future filings will have to prove whether the execution matches the pitch.

The Fundamentals Are Not the Problem

GitLab crossed $1.00 billion in trailing twelve-month revenue growing at 23.1% per year. The gross margin is 86.8%, which is what pure-software unit economics look like when the business is working. Free cash flow reached $313 million — a number that gives management real optionality to fund an AI transition from internal cash rather than equity dilution.

The three consecutive earnings beats are not noise. The company reported $0.24 against a $0.16 estimate, then $0.25 against a $0.20 estimate, then $0.30 against a $0.23 estimate. The magnitude of each beat increased quarter over quarter. The operating model is demonstrably outperforming what consensus had built in, and the pattern is durable enough to be real rather than statistical coincidence.

The Insider Register

CEO William Staples bought GitLab shares in the open market on March 31, 2026: 5,069 shares at $21.30 and 941 shares at $21.65, totaling approximately $128,342. Open-market purchases with personal capital carry weight as a conviction signal. Staples was putting money in when the stock was trading in the low $20s, below where it sits today.

Director Sytse Sijbrandij was moving in the other direction. He sold 116,200 shares at $20.77 on April 15, generating approximately $2.41 million. On May 18, he returned to sell 10,792 shares at $24.09 and 105,408 shares at $24.93, bringing that date's proceeds to approximately $2.89 million. The selling picked up as prices recovered, not as they fell.

Pull back to the full 90-day window and the aggregate picture is difficult to set aside. Net insider selling across all reportable transactions reached $32.31 million against $0.13 million in purchases. Staples' open-market buy is real conviction, but it represents less than half of one percent of the selling that insiders registered over the same period. The CEO is buying while directors are liquidating at scale, and the size disparity is too large for the purchase to neutralize the signal.

The $33 Question

GitLab shares trade at $28.40, below the analyst consensus price target of $33.61, implying upside of roughly 18%. The forward P/E sits at 27.6x on a market cap of $4.80 billion. For a software company growing at 23% with 86.8% gross margins and $313 million in free cash flow, that is a fair multiple. DevSecOps businesses with credible AI differentiation have commanded more on weaker underlying economics.

The case for the stock rests on fundamentals that are genuinely strong, and on a consensus discount that exists for reasons the current filing does not fully explain. The case against it rests on restructuring charges of unspecified scope filed in the same breath as the earnings beat, and on net insider selling that outpaces open-market buying by a factor of roughly 250 to one. Both arguments are reasonable — the risk/reward is balanced rather than skewed in either direction.

The next quarterly filing is the checkpoint. If the AI restructuring translates into improved operating leverage without significant revenue disruption, the discount to consensus closes. If restructuring costs run deeper than the current 8-K suggests, or if revenue growth decelerates, the gap widens in the other direction. The June 2 filing raised the question. The answer comes later.

Run the free GitLab Inc. deep-dive →

Basis Report does not hold positions in securities discussed. This is not investment advice.

Frequently Asked Questions

What happened in GitLab's Q1 FY2027 earnings?

GitLab reported Q1 FY2027 results on June 2, 2026, with earnings per share of $0.30 against an analyst estimate of $0.23 — the third consecutive quarterly beat. The company filed these results alongside restructuring charges in the same 8-K, which news reporting characterized as AI-focused layoffs occurring simultaneously with the earnings outperformance.

Why did GitLab announce layoffs with earnings?

GitLab's June 2, 2026 8-K included both Item 2.02 (results of operations) and Item 2.05 (costs associated with exit or disposal activities), the SEC items that correspond to earnings disclosure and restructuring charges respectively. The filing did not separately explain the operational rationale for combining the two disclosures, though the company's subsequent June 11 announcement of new enterprise AI capabilities suggests the restructuring is tied to an AI-focused reallocation of resources.

Are GitLab insiders buying or selling the stock?

The picture is split but heavily weighted toward selling. CEO William Staples made open-market purchases totaling approximately $128,342 in March 2026 when the stock was trading in the low $20s. However, net insider selling over the trailing 90 days reached $32.31 million against just $0.13 million in purchases, with Director Sytse Sijbrandij accounting for approximately $5.3 million in sales across April and May 2026.

Is GitLab stock undervalued right now?

GitLab shares trade at $28.40 against an analyst consensus price target of $33.61, implying roughly 18% upside. The company's 86.8% gross margin, $313 million in free cash flow, and 23.1% revenue growth support a reasonable valuation argument at a 27.6x forward P/E. The restructuring charges of unspecified scope and $32.31 million in net insider selling over 90 days complicate the case, leaving the risk/reward balanced rather than clearly skewed.

What is GitLab's annual revenue and growth rate?

GitLab's trailing twelve-month revenue reached $1.00 billion, growing at 23.1% year-over-year. The company has posted three consecutive quarterly earnings beats, with the Q1 FY2027 result of $0.30 EPS exceeding the $0.23 consensus estimate by the widest margin of the three-quarter streak.

Sources & filings