アーキテクチャ・意思決定比較表
GitHub と GitLab のデータ構造、運用コスト、ライセンスリスクの違いを詳細に分析します。
GitHub Team’s $4/user/month is cheap enough that even at 100 users, it beats self-hosted GitLab CE’s estimated TCO ($900-$2,200/month vs. GitHub’s flat $400) by a wide margin — this is another case where the SaaS option wins on pure cost at every scale we modeled, and the real argument for GitLab has to come from somewhere other than the spreadsheet.
GitHub Official Plans
| Plan Name | Price (Monthly Billing) | Price (Annual Billing) | Per | Highlights |
|---|---|---|---|---|
| Free | $0 | $0 | User | Unlimited public/private repos (individuals), 2,000 Actions minutes (public), 500 Actions minutes (private), 500MB Packages storage |
| Team | $4.40 | $4.00 | User/month | Protected branches, Code owners, GitHub Pages, 3,000 GitHub Actions minutes/month, 2GB Packages storage |
| Enterprise | Contact Sales | Contact Sales | User/month | SAML single sign-on, GitHub Connect, Audit logs, Advanced security features, On-premise deployment (Enterprise Server) |
Note: GitHub Actions minutes and Packages storage limits are pooled across the organization for paid plans. Enterprise pricing is typically significantly higher, often starting from $20-30+ per user per month.
Hidden Costs of GitHub
Beyond the advertised per-user fees, several factors can inflate GitHub’s true cost:
- GitHub Actions Overage: While generous, minutes are consumed by CI/CD workflows. Exceeding the bundled limits (e.g., 3,000 for Team plans) incurs charges, typically $0.008/minute for Linux, $0.016/minute for Windows, and $0.08/minute for macOS. For active development teams, these can accumulate rapidly.
- GitHub Packages Storage Overage: Similar to Actions, exceeding storage limits (e.g., 2GB for Team plans) leads to charges, usually $0.04/GB per month. Large projects with many artifacts or frequent builds can quickly hit these caps.
- Large File Storage (LFS): Git LFS, crucial for managing large binary files, often comes with separate billing. GitHub’s free tier for LFS is typically 1GB of storage and 1GB of bandwidth per month; exceeding this costs $5/month for an additional 50GB pack.
- Advanced Security Features: Enterprise plans offer advanced security (CodeQL, Dependabot alerts with auto-fix, secret scanning). While powerful, these are premium features that significantly increase the Enterprise plan’s undisclosed cost.
- Integrations and Marketplaces: Many third-party tools integrate with GitHub, but their subscriptions are separate. Examples include advanced project management tools, specialized CI/CD runners, or security scanners that might duplicate or extend GitHub’s native capabilities.
- Onboarding and Training: For larger or less tech-savvy teams, transitioning to or maximizing GitHub’s features may require training, which is an implicit cost not covered by the SaaS fee.
- API Limitations: While GitHub’s API is robust, high-volume programmatic access can sometimes hit rate limits, requiring custom solutions or higher-tier plans that may come with additional costs or support considerations.
Total Cost of Ownership (TCO) Analysis for GitLab (Free & Open Source)
GitLab’s Community Edition (CE) offers a powerful, self-hosted alternative that can significantly reduce recurring per-user SaaS fees. However, it shifts costs from subscriptions to infrastructure, maintenance, and internal engineering effort.
Cost Trade-offs at a Glance
Hosting & Server Resource Estimation (Monthly Cost) These estimates assume a Linux VM from a reputable cloud provider (e.g., AWS EC2, DigitalOcean, Hetzner) for a production-grade GitLab instance, including CPU, RAM, and SSD storage.
- Small Team (5-10 users):
- Requirements: 2-4 vCPUs, 4-8 GB RAM, 100-200 GB SSD (for OS + initial repos).
- Estimated Monthly Hosting Cost: $30 - $75
- Medium Team (20-50 users):
- Requirements: 4-8 vCPUs, 8-16 GB RAM, 200-500 GB SSD.
- Estimated Monthly Hosting Cost: $75 - $150
- Large Team (100-200 users):
- Requirements: 8-16 vCPUs, 16-32 GB RAM, 500 GB - 1 TB SSD (or more for heavy usage). Could involve a multi-server setup for high availability.
- Estimated Monthly Hosting Cost: $150 - $400
Maintenance & Engineering Support Estimation (Monthly Cost) This covers tasks like installation, upgrades, backups, security patching, monitoring, and troubleshooting. These figures represent the allocated internal engineering time valued at a blended rate of $75-$120 per hour.
- Small Team:
- Estimated Time: 2-4 hours/month (e.g., occasional upgrades, simple monitoring).
- Estimated Monthly Support Cost: $150 - $300
- Medium Team:
- Estimated Time: 5-8 hours/month (e.g., regular upgrades, backup verification, minor troubleshooting).
- Estimated Monthly Support Cost: $375 - $800
- Large Team:
- Estimated Time: 10-15+ hours/month (e.g., complex upgrades, high-availability management, performance tuning, proactive monitoring, security audits).
- Estimated Monthly Support Cost: $750 - $1,800
Comparative TCO Table: SaaS Fees vs. Self-Host Infrastructure This table compares the estimated monthly cost for GitHub Team (annual billing) against the estimated total cost of running GitLab CE self-hosted.
| Team Size | GitHub Team (SaaS Fees - Annual Billing) | GitLab CE (Self-Hosted - Est. Hosting) | GitLab CE (Self-Hosted - Est. Maint. & Eng.) | GitLab CE (Self-Hosted - Total Est. TCO) |
|---|---|---|---|---|
| 5 Users | $4.00/user * 5 = $20/month | $30 - $75 | $150 - $300 | $180 - $375/month |
| 20 Users | $4.00/user * 20 = $80/month | $75 - $150 | $375 - $800 | $450 - $950/month |
| 100 Users | $4.00/user * 100 = $400/month | $150 - $400 | $750 - $1,800 | $900 - $2,200/month |
Note: These are estimates. Actual costs for self-hosting can vary significantly based on infrastructure provider, region, specific hardware/VM choices, and internal engineering salary rates. The GitLab TCO does not include potential premium GitLab (paid) features that might offer similar advanced capabilities to GitHub Enterprise.
Scenarios (Cost Comparison)
-
Scenario 1: Small Team (5 users)
- GitHub Team (SaaS): $4.00/user * 5 users = $20/month. This excludes potential overage charges for Actions/Packages, which are typically minimal for small teams.
- GitLab CE (Self-Hosted): Estimated TCO ranges from $180 - $375/month.
- Conclusion: For a small team, GitHub Team is significantly more cost-effective due to the high fixed cost of self-hosting infrastructure and dedicated maintenance time, even at minimal effort.
-
Scenario 2: Medium Team (20 users)
- GitHub Team (SaaS): $4.00/user * 20 users = $80/month. Again, without overages.
- GitLab CE (Self-Hosted): Estimated TCO ranges from $450 - $950/month.
- Conclusion: GitHub Team remains the more economical choice. The SaaS model scales efficiently for teams up to a certain size, leveraging GitHub’s economies of scale and reducing operational burden.
-
Scenario 3: Large Team (100 users)
- GitHub Team (SaaS): $4.00/user * 100 users = $400/month. This is the baseline, before any potential overage charges for highly active CI/CD.
- GitLab CE (Self-Hosted): Estimated TCO ranges from $900 - $2,200/month.
- Conclusion: Even for a large team, if strictly comparing to the GitHub Team plan, GitHub’s SaaS offering still appears cheaper in most cases. However, at this scale, the percentage difference starts to shrink, and if the organization required features only available in GitHub Enterprise (which has significantly higher per-user costs, often $20-30+/user/month), GitLab’s self-hosted (or even GitLab’s paid self-managed tiers which bundle more features) could become competitive or even cheaper. The $400/month for 100 users on GitHub Team doesn’t include Enterprise-grade security, compliance, or advanced features.
When Does Paying for GitHub Actually Save Money?
Paying for GitHub typically saves money and resources when:
- Teams are Small to Medium (up to ~100 users for Team plan): The per-user fee is easily outweighed by the avoided costs of infrastructure, dedicated admin time, and the operational overhead of maintaining a self-hosted solution.
- Operational Simplicity is Paramount: Organizations with limited DevOps or IT staff benefit immensely from GitHub’s fully managed service, offloading maintenance, security patches, backups, and scalability concerns.
- Feature Set Alignment: If GitHub’s standard features (even the Team tier) meet all current and foreseeable development needs, there’s no strong incentive to incur the additional TCO of self-hosting.
- Compliance & Security Requirements are Met by SaaS: For many, GitHub’s robust security, compliance certifications (e.g., SOC 2, ISO 27001), and enterprise-grade reliability are sufficient, avoiding the need for internal audits and infrastructure hardening.
- Leveraging the Ecosystem: Extensive use of GitHub Actions, GitHub Packages, and the vast marketplace of integrations can provide significant value, often at a lower total cost than building or integrating equivalent capabilities with a self-hosted solution. The developer experience and community support are also implicit benefits.
- Avoiding Hidden Engineering Costs: The “free” aspect of open-source often comes with significant hidden engineering costs for setup, configuration, ongoing maintenance, and troubleshooting. GitHub abstracts all of this.
Final Purchasing Recommendation
For most engineering organizations up to 100 users, GitHub’s Team plan is the straightforwardly cheaper and lower-effort option — the numbers here don’t leave much room for debate.
GitLab’s self-hosted case gets stronger past 200-300 users, especially when the real comparison is against GitHub Enterprise’s much higher per-seat pricing rather than the $4/month Team tier. It’s also the right call for organizations with hard data residency requirements or a DevOps team already sized to absorb the maintenance — but treat “the software is free” as only true of the license, never of the labor and infrastructure that come with running it.
Cost and pricing analysis verified as of 2026-07-20. Self-hosting costs are estimates based on standard cloud providers.
よくある質問
How do GitHub's Team and Enterprise tiers compare in pricing, and what hidden add-on costs should we budget for?
GitHub's Team tier costs $4 per user/month, while the Enterprise tier is $21 per user/month. Beyond these base rates, you must budget for hidden costs like GitHub Copilot licenses ($10 to $39 per user/month) and Advanced Security for Enterprise at approximately $49 per user/month. Overage fees also apply, including $5 per 50 GB/month for Git LFS storage and $0.008/minute for Linux Actions minutes.
With GitLab scoring a 9/10 overlap with GitHub, what core development features do we get under GitLab's MIT license instead of paying for GitHub?
GitLab's MIT-licensed open-source version provides self-hosted Git repository management, code reviews, issue tracking, and wikis, matching GitHub's core workflow. Choosing GitLab helps teams avoid GitHub's paid upgrades, where Team ($4/user/month) and Enterprise ($21/user/month) tiers are required to get features like branch protection rules or single sign-on (SAML).
機能と価格データは公式ドキュメントと料金ページを出典としており、最終確認日は 2026年7月20日 です。 誤りを見つけましたか?お知らせいただければ修正します。