Gitea vs GitLab

Updated

Gitea is the lightweight pick: a single Go program that its docs say runs on two CPU cores and 1 GB of RAM for a small team. GitLab is the heavyweight pick: a much larger platform with built-in Pages, deeper project management and security scanners, and a documented baseline of 8 vCPU and 16 GB of RAM. If you want a private Git server for yourself or a small team, choose Gitea. If you want one platform that covers planning, CI, scanning and static sites, and you can give it a real server, choose GitLab.

At a glance

Gitea GitLab (self-managed)
Latest release checked 28.4.0 (15 Nov 2026) 19.6 (19 Nov 2026), patch 19.6.2 (25 Nov 2026)
Sizing from official docs 2 CPU cores and 1 GB RAM typically enough for small teams 8 vCPU and 16 GB RAM single-node baseline; at least 8 GB in memory-constrained setups
Licence MIT Community Edition MIT; Enterprise Edition code under a proprietary EE licence
Built-in CI Gitea Actions (GitHub Actions-style workflows) GitLab CI/CD with GitLab Runner
Pages No built-in Pages server Yes (GitLab Pages)
Databases SQLite, MySQL, PostgreSQL PostgreSQL (17.x minimum for GitLab 19.x)
Release rhythm Frequent point releases Monthly minor release, required upgrade stops
Backup gitea dump (stop the instance first) gitlab-backup create plus separate config files

Resource needs

GitLab’s installation requirements page is the clearest of the two. For a single node it gives 8 vCPU and 16 GB of RAM as the baseline, and says GitLab can run with at least 8 GB in memory-constrained environments. It recommends SSD storage, says to avoid network file systems such as NFS, and says to disable swap where possible. The PostgreSQL minimum depends on the GitLab version: 17.x for GitLab 19.x, 16.5 for 18.x. Burstable cloud instances are not recommended. The page does not list per-user-count tiers; it sends larger deployments to a separate sizing guide.

Gitea publishes no formal minimum. Its documentation home page says a Raspberry Pi 3 is powerful enough for small workloads and that two CPU cores and 1 GB of RAM are typically enough for small teams or projects. That is guidance, not a guarantee, and busy instances with big repositories or many Actions jobs will need more. Gitea ships as one binary with SQLite, MySQL and PostgreSQL support built in, so a small install needs no separate database server.

In practice, the difference decides where you can host. Gitea fits a small VPS or a home server such as a Raspberry Pi. GitLab needs a mid-sized VPS at minimum; see best VPS for self-hosting for providers.

CI and automation

GitLab CI/CD is part of every tier. You add a .gitlab-ci.yml file to the root of a project, and GitLab Runner, an MIT-licensed application, executes the jobs on your own machines. Runner supports several executors, including Docker and Kubernetes, and runs on Linux, macOS and Windows.

Gitea Actions has been built in since Gitea 1.19. Workflows are YAML files in .gitea/workflows/, and Gitea’s overview calls Actions “similar and mostly compatible” to GitHub Actions. Its own comparison page lists gaps, such as jobs.<job_id>.environment being ignored and GITEA_TOKEN being unable to publish to the repository’s package registry. Two setup points catch newcomers: Actions is disabled per repository until you turn it on, and you must install and register a runner yourself.

The runner has changed names. Gitea’s runner 1.0.0 announcement (5 May 2026) says the project formerly known as act_runner is now Gitea Runner, with a gitea-runner binary and a gitea/runner image. Runner 6.0.0 (11 November 2026) requires Gitea 1.26.2 or newer, and 6.1.0 was the latest release on 2 December 2026. Older tutorials still show the old name, so check the date of any guide. The Gitea Actions runner setup guide covers the current steps.

Two things follow. If your team already writes GitHub Actions workflows, Gitea Actions is the closer match. If you want GitLab’s pipeline features and its integrated security scanning, GitLab CI is the stronger tool.

Features

Both include repository hosting, issues, merge or pull requests, a wiki, a package registry and a container registry, according to Gitea’s own comparison page. Keep in mind that this page is written by the Gitea project.

Where they differ:

  • Pages. GitLab Pages publishes static sites from a repository through CI pipelines, and on self-managed a server administrator must configure it before users can publish. Gitea’s FAQ says it does not provide a built-in Pages server, and its comparison page lists Pages as available only through third-party software.
  • Project management. Gitea’s comparison page lists GitLab as ahead on subgroups, group milestones, related and confidential issues, creating issues by email, Service Desk and merge conflict resolution. Gitea lists issues, milestones, time tracking and dependencies as its own project management features.
  • Security scanning. GitLab’s SAST docs show basic scanning with open-source analyzers in Free and Premium, while Ultimate adds cross-file scanning with Advanced SAST, vulnerability management and the vulnerability report. Gitea has no equivalent built-in scanner suite in the docs read for this page, so you would add scanners in your CI workflows.
  • Tiers. GitLab gates features by tier (Free, Premium, Ultimate). Gitea’s open source edition is MIT; a separate Gitea Enterprise adds SSO, audit logs and SLA support, according to the Gitea site.

Editions and licences

Gitea is MIT licensed. GitLab splits into two editions. The Community Edition repository carries the MIT licence. Enterprise Edition code sits under GitLab’s EE licence, whose text says it may only be used in production if you have agreed to GitLab’s subscription terms or another governing agreement. Read those terms before choosing the gitlab-ee package over gitlab-ce; the Linux package docs offer both. If you want a purely open source GitLab, install Community Edition.

On cost, GitLab’s licensing policy says the Free tier of self-managed has no five-user maximum; that limit applies only to GitLab.com’s Free tier. Paid-tier prices change often, so check GitLab’s pricing page if you need them.

Admin effort

GitLab releases a minor version on the third Thursday of each month, with patch releases twice a month, and a major release each year (20.0 is scheduled for 20 May 2027). Security fixes are backported to the current release and the previous two. Upgrades must go through required stops: currently 19.2, 19.5, 19.8 and 19.11 for the 19 series. If you skip months, you can still upgrade, but you must hit each stop in order. Falling far behind is the main way GitLab becomes painful.

Gitea upgrades are lighter: for a binary install you stop the service, replace the binary and restart. The upgrade docs say upgrading across minor versions is supported and back up first, since a database upgraded by a new version cannot be used by an old one. Read the release post each time; Gitea 28.0.0 dropped the historical 1. prefix from version numbers, raised the minimum Git version to 2.25.0, and changed defaults for Actions run retention and self-registration. Release 28.4.0 fixes many security issues and its post urges upgrading, so do not sit on an old version.

Backups differ too. sudo gitlab-backup create covers the database, repositories, uploads, registry data and more, but not /etc/gitlab/gitlab.rb or /etc/gitlab/gitlab-secrets.json, which you copy separately. GitLab’s docs warn the backup command is likely unusable once the database passes 100 GB, or at around 400 GB of Git data. gitea dump writes one ZIP with the config, data, repositories and a database dump, and the docs say to shut the instance down while it runs. Gitea’s docs also recommend your database’s native dump tools over the built-in SQL dump.

Exposing either one safely

Put a reverse proxy with TLS in front of either server, and keep SSH and web access current with the update routine above. Keep the administration area off the open internet: reach it over a VPN, an SSH tunnel or an IP allowlist at the proxy. Test restores of your backups, not just the backup command. Both projects ship security fixes regularly, so patching is not optional.

Who should pick which

  • Pick Gitea if you are one person or a small team, your server is small, you want quick upgrades and simple backups, or your CI workflows already look like GitHub Actions. Start with what Gitea is.
  • Pick GitLab if you need built-in Pages, subgroups, issue boards beyond the basics or security scanning, and you can budget 8 GB of RAM at the very least and a monthly upgrade habit. See self-hosted GitLab.
  • Consider Forgejo if you like Gitea’s size but want non-profit governance. It is a community fork of Gitea, and the Gitea vs Forgejo comparison explains the differences.

For the wider field of options, return to the Git hosting hub.

Frequently asked questions

Is Gitea or GitLab better for a small team?
For a handful of people on one small server, Gitea is usually the easier fit: its docs say two CPU cores and 1 GB of RAM are typically enough for small teams, while GitLab's docs give 8 vCPU and 16 GB as the single-node baseline. Choose GitLab if you want its built-in Pages, deeper project management or its security scanners.
Does Gitea have CI like GitLab CI?
Yes. Gitea Actions is built in and uses workflow files that are mostly compatible with GitHub Actions. Jobs run on a separate Gitea Runner that you install and register. GitLab CI/CD uses a .gitlab-ci.yml file and GitLab Runner. The two syntaxes are different, so pipelines do not copy across unchanged.
Is self-hosted GitLab free?
The Community Edition is MIT licensed and free to run. GitLab's licensing policy also says the Free tier of self-managed has no five-user maximum, which applies only to GitLab.com. Some features, such as vulnerability management for SAST findings, need the Ultimate tier.
Can I run Gitea or GitLab on a Raspberry Pi?
Gitea's docs say a Raspberry Pi 3 is powerful enough for small workloads. GitLab's docs list 8 vCPU and 16 GB as the single-node baseline and say it can run with at least 8 GB in memory-constrained setups, so a Pi is a poor match.
What about Forgejo?
Forgejo is a community fork of Gitea run under a non-profit. Most of what this page says about Gitea's feature set applies to it, but its licence and governance differ. The Gitea vs Forgejo article covers that choice.

Sources, checked December 2, 2026

  1. GitLab self-managed installation requirements
  2. GitLab Linux package installation (editions, supported OS)
  3. GitLab release and maintenance policy
  4. GitLab upgrade paths (required upgrade stops)
  5. GitLab 19.6 release notes
  6. GitLab backup documentation
  7. GitLab CI/CD overview
  8. GitLab Runner documentation
  9. GitLab Runner licence (MIT)
  10. GitLab Pages documentation
  11. GitLab Pages administration (self-managed)
  12. GitLab SAST documentation (tiers)
  13. GitLab licensing policy (Free tier user limits)
  14. GitLab Community Edition (gitlab-foss) licence
  15. GitLab Enterprise Edition licence (ee/LICENSE)
  16. Gitea documentation home (features, requirements, licence)
  17. Gitea: install from binary
  18. Gitea: upgrade from Gitea
  19. Gitea: backup and restore
  20. Gitea: compared to other Git hosting
  21. Gitea FAQ (no built-in Pages server)
  22. Gitea Actions quickstart
  23. Gitea Actions: comparison with GitHub Actions
  24. Gitea Runner documentation
  25. Gitea Actions overview (similar and mostly compatible to GitHub Actions)
  26. Gitea Runner 1.0.0 release post (rename from act_runner, 5 May 2026)
  27. Gitea Runner 6.0.0 release post (11 November 2026, needs Gitea 1.26.2+)
  28. Gitea Runner releases (v6.1.0 latest, 27 November 2026)
  29. Gitea 28.0.0 release post
  30. Gitea 28.4.0 release post
  31. Gitea releases on GitHub
  32. Gitea licence (MIT)
  33. Forgejo: comparison to Gitea

More in Git hosting