Self-host GitLab cost: Forgejo on a $6 VPS
GitLab (Premium (annual), $29.00/seat/mo) vs. self-hosted Forgejo (1.0 GB RAM, 1 vCPU). Verified 2026-12-03.
Honest Worked Example (at $50/hr maintenance, 0.8 hrs/mo)
Assumes Hetzner Cloud CX22 / Shared 4GB ($6.00/mo = $72/yr) plus $480/yr for 0.8 hrs/mo of updates and backups.
| Team Size | GitLab SaaS | Self-Host Forgejo | Verdict |
|---|---|---|---|
| 1 user | $348/yr | $552/yr | SaaS is $204/yr cheaper |
| 5 users | $1,740/yr | $552/yr | Self-host saves $1,188/yr |
| 15 users | $5,220/yr | $552/yr | Self-host saves $4,668/yr |
When GitLab still wins: You need enterprise compliance, built-in SAST/DAST scanners, or GitHub/GitLab's free tier suffices.
Recommended VPS Tiers for Forgejo (1.5 GB RAM target)
| Provider | Plan | Monthly | Link |
|---|---|---|---|
| Hetzner Cloud | CX22 / Shared 4GB (4 GB / 2 vCPU) | $6.00/mo | Official pricing → |
| Vultr | vc2-1c-2gb (2 GB / 1 vCPU) | $10.00/mo | Official pricing → |
| DigitalOcean | Basic 2 GiB (2 GB / 1 vCPU) | $12.00/mo | Official pricing → |
| Linode (Akamai) | Linode 2 GB (2 GB / 1 vCPU) | $12.00/mo | Official pricing → |
| Hostinger VPS | KVM 1 (renews $11.99/mo) (4 GB / 1 vCPU) | $11.99/mo | Official pricing → |
Disclosure: Vultr (Referral link: new users get $300 trial credit (card/PayPal needed, 30 days); we may earn $100 after they spend $100.). Hetzner Cloud, DigitalOcean, Linode (Akamai), and Hostinger VPS are plain links. This never changes the calculator math. Sources: GitLab pricing · Forgejo docs (checked 2026-12-03).
FAQ: Self-Hosting Forgejo
How fast does Forgejo pay off vs GitLab Premium?
At $29/seat/mo, even 2 paid seats ($58/mo) exceed a $6-12 VPS running Forgejo.
How heavy is Forgejo?
Forgejo is a lightweight Go binary that runs smoothly on 1 GB RAM and 1 vCPU.