Key Points
GitLab shares have been beaten down, despite consistent strong growth.
Artificial intelligence (AI) has been viewed as a headwind, but it is more likely a tailwind.
The stock is now trading at cheap levels.
One of the most beleaguered artificial intelligence (AI) stocks over the past two years has been GitLab (NASDAQ: GTLB). The share price fell more than 10% in 2024 and another 33% in 2025. However, 2026 could be the year the company proves the bears wrong.
Strong results, but poor stock performance
GitLab runs a DevSecOps (development, security, and operations) platform, which is a secure ecosystem for organizations to design software. More recently, it has been transforming itself more into an end-to-end software development life cycle (SDLC) platform that uses AI agents to not only help developers write code, but also help them throughout the entire software development process. Given that coders only spend about 20% of their time writing code, this is highly valuable.
Where to invest $1,000 right now? Our analyst team just revealed what they believe are the 10 best stocks to buy right now, when you join Stock Advisor. See the stocks »
Its Duo agent platform is also generally an add-on, which helps boost average revenue per user (ARPU). The added value that the company's platform is providing is also one reason why it is switching to a new hybrid seat-plus-usage-based model.
Image source: Getty Images.
GitLab has been seeing strong growth, with revenue growth consistently between 25% and 35% for the past two years. The company's growth has come from both adding new customers and existing customers expanding. Over the past 12 months, it's had a 119% dollar-based net retention, led mostly by seat expansion, and to a lesser extent, customers upgrading to high-tier services. Overall, it's a fast-growing, sticky, high-gross-margin (around 80%) business.
So, what has been the issue? The bears believe that AI in general is going to lead to fewer programmers, hurting GitLab's business model. And while GitLab's new pricing model will also help address this, investors are wary that with less price uncertainty, customers will push back. However, as a secure depository of important source code and data that you won't want generic AI agents having access to, GitLab has a sticky platform.
At the same time, AI is leading to more coding and software creation, and more people who can write software. Investors have been fearful of the impact of vibe-coding (writing code using natural language) on software-as-a-service (SaaS) companies, but GitLab would also likely be a beneficiary of this trend, as no matter who writes code, it still needs to be written and stored in a secure environment like GitLab's platform. Even AI agents would need to write code in a secure environment that would need to be reviewed, since, like humans, AI agents do make errors.
Time to buy the stock
GitLab's strong growth and poor stock performance have left it at a cheap valuation, trading at a forward price-to-sales (P/S) multiple of around 5.5 times and a forward price-to-earnings (P/E) ratio of 24.5. With AI likely more of an opportunity than a risk, this looks like a cheap stock with a lot of potential upside that will prove the bears wrong.
Should you buy stock in GitLab right now?
Before you buy stock in GitLab, consider this:
The Motley Fool Stock Advisor analyst team just identified what they believe are the 10 best stocks for investors to buy now… and GitLab wasn’t one of them. The 10 stocks that made the cut could produce monster returns in the coming years.
Consider when Netflix made this list on December 17, 2004... if you invested $1,000 at the time of our recommendation, you’d have $448,476!* Or when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you’d have $1,180,126!*
Now, it’s worth noting Stock Advisor’s total average return is 945% — a market-crushing outperformance compared to 197% for the S&P 500. Don't miss the latest top 10 list, available with Stock Advisor, and join an investing community built by individual investors for individual investors.
See the 10 stocks »
*Stock Advisor returns as of January 30, 2026.
Geoffrey Seiler has positions in GitLab. The Motley Fool has positions in and recommends GitLab. The Motley Fool has a disclosure policy.