Forgejo vs GitLab
Forgejo is a community-run Git forge stewarded by a German non-profit. GitLab is a commercial platform for source code, CI/CD and security testing, from a company listed on Nasdaq. This page compares them on stewardship and license, release and patch policy, package registry, repository mirroring, hosted service and paid tiers, and says which fits which situation.
Both can be self-hosted at no license cost. Forgejo is released under GPL v3 or later. GitLab sells Premium and Ultimate tiers on top of a free tier, on GitLab.com, Self-Managed and Dedicated.
Prices and other facts are as of October 29, 2026. Vendors change prices; confirm them on the vendor’s own pricing page. Independent analysis: neither project nor any vendor named here paid for or reviewed this page.
Who stands behind each
Forgejo's governance is defined by its contributors. Codeberg e.V., a non-profit association registered in Berlin, holds the Forgejo domains and provides resources. Forgejo is funded by volunteers, grants, donations and employers who assign staff to it.
GitLab is a public company listed on Nasdaq as GTLB. Bill Staples is its CEO. Most of GitLab's source code is under the MIT Expat license. Code in its ee/ directory is under a separate license.
Where they differ
Compared on Forgejo 17.0 (released October 15, 2026), GitLab 19.5 and GitLab list prices as of October 2026.
Stewardship and license
Forgejo
A contributor-governed project under the umbrella of Codeberg e.V. Releases from v9.0, published in August 2024, are under GPL v3 or later. Earlier releases remain under MIT.
GitLab
Built by a public company. Code outside the ee/ directory is under MIT Expat. The ee/ directory carries GitLab's own license. Documentation is under CC BY-SA 4.0.
Forgejo's terms come from a license and a non-profit; GitLab's come from a license plus a subscription agreement with one company.
Release and patch policy
Forgejo
One stable release each quarter, supported for about three months. Every fourth release is LTS, supported for about 15 months. 15.0 LTS reaches end of life on July 15, 2027.
GitLab
A minor release on the third Thursday of each month and a major release each May. Patch releases ship twice a month. Bug fixes go to the current release, and security fixes to the current and two previous releases.
Forgejo's LTS line lets you upgrade once a year; GitLab expects an upgrade at least every three months to keep security fixes.
Package registry
Forgejo
23 formats, including Alpine, Arch, Debian, RPM, Conda, CRAN, Swift and container images. Packages belong to a user or organization and can be linked to a repository.
GitLab
Cargo, Composer, Conan, Debian, Go, Helm, Maven, npm, NuGet, PyPI, RubyGems, Yarn and generic packages, in every tier. A container registry is also in every tier. Conda, CRAN, RPM and Swift are listed as not supported.
Teams that ship RPM, Conda, CRAN or Swift packages can host them in Forgejo but not in GitLab's registry.
Repository mirroring
Forgejo
Pull mirrors and push mirrors, both over HTTPS. Push mirrors can also use SSH with a generated Ed25519 key. A pull mirror must be created as a new repository.
GitLab
Push mirroring in every tier. Pull mirroring needs Premium or Ultimate. Bidirectional mirroring is documented, with a warning that it can cause conflicts.
Keeping a read-only copy of an outside repository costs nothing on Forgejo and needs a paid tier on GitLab.
Hosted service
Forgejo
Codeberg.org, run by Codeberg e.V., is a Forgejo instance. Its terms require public content under a free license and allow private repositories only for the needs of free software projects.
GitLab
GitLab.com is a multi-tenant service open to private code. Free allows 5 users per private top-level group. GitLab Dedicated is a single-tenant service that GitLab hosts.
A company's private code can live on GitLab.com; on Forgejo it needs your own instance or an independent provider.
Paid tiers and support
Forgejo
The project publishes only free software. Independent firms offer support and hosting on its professional services tracker, which carries Supplier and Hosting labels.
GitLab
Free is $0. Premium is $29 per user per month, billed annually, and adds priority support. Ultimate and Dedicated are priced by quote. US list prices as of October 2026.
GitLab gives one vendor to hold to a contract; Forgejo support is a separate purchase from a third party.
The short answer
Choose Forgejo when
- you want every release under a copyleft license
- you publish packages for Linux distributions such as Alpine, Arch, Debian or RPM
- you need pull mirrors from other forges without buying a tier
Choose GitLab when
- you want support with an SLA from the company that builds the product
- you want a hosted service for private, proprietary code
- you want a fixed monthly release on a published schedule, with security fixes for three releases
Matching each to a workload
An open source project that wants free hosting
Either. Codeberg.org hosts free software projects on Forgejo. GitLab.com Free has no 5-user limit on public groups.
A company hosting private code without running servers
GitLab. GitLab.com and GitLab Dedicated accept private code. Codeberg.org allows private repositories only for free software projects.
Upgrading the forge once a year
Forgejo. Its LTS releases are supported for about 15 months. GitLab sends security fixes to the three most recent monthly releases.
One registry for distribution packages and language packages
Forgejo. It hosts Alpine, Arch, Debian and RPM packages alongside npm, PyPI and Maven. GitLab lists RPM as not supported.
Which costs less?
Both have a $0 option to self-host: Forgejo and GitLab Self-Managed Free. The difference is in what you add. On GitLab, pull mirroring and priority support start at Premium, $29 per user per month. On Forgejo, those costs are your own staff time or a contract with an independent provider. Price support and hosting for your team size on both before comparing.
Questions buyers ask
Is Forgejo owned by a company?
No. Its governance is defined by its contributors. Codeberg e.V., a Berlin non-profit, holds its domains and provides resources.
Is GitLab free to self-host?
Yes. GitLab Self-Managed Free costs $0. Premium is $29 per user per month, billed annually, and Ultimate is priced by quote.
What does GitLab charge for AI features?
GitLab Credits cost $1 each on demand. Premium and Ultimate on GitLab.com include 12 and 24 credits per user per month as a limited-time offer.
Sources
- Forgejo FAQ
- Forgejo: Comparison with Gitea
- Forgejo v9.0 and later are GPL v3+
- Forgejo release schedule
- Forgejo package registry
- Forgejo repository mirrors
- Forgejo professional services
- What is Codeberg?
- Codeberg Terms of Use
- GitLab Reports Second Quarter Fiscal Year 2027 Financial Results
- GitLab LICENSE file
- GitLab maintenance policy
- GitLab 19 release notes
- GitLab package registry
- GitLab container registry
- GitLab repository mirroring
- Choosing a GitLab subscription
- GitLab pricing
Keep reading
Working documents for technology leaders, free with a work email.
Weekly stories built from government data: tech jobs, software prices, AI adoption and more.