CI/CD Build Minutes & Hosted vs Self-Hosted Runner Cost Calculator
Interactive CI/CD Build Minutes & Self-Hosted Runner Calculator
?
Developers who trigger CI, counted from the repository's active contributors in the last month (1 to 500).?
CI workflow runs per developer per workday (1 to 30). Count the pushes and pull request updates that trigger a pipeline.?
Average wall-clock minutes of one pipeline (1 to 90, step 0.5), read from the workflow run summary. Matrix jobs add their minutes. GitHub rounds the minutes of each job up to the nearest whole minute: enter billed minutes (for example 10 for a 9.5-minute job) or the hosted bill is understated by about 5.6 % at the default.?
Per-minute runner price from the GitHub Actions runner pricing page: $0.006 for Linux 2-core and $0.062 for macOS 3/4-core are standard runners; the 4, 8 and 16-core Linux rates ($0.012, $0.022, $0.042) are larger runners. Use the rate of the runner label your jobs use. Larger runners need a Team or Enterprise Cloud plan; the $18 included compute can be used on them.?
Monthly cost of the self-hosted runner cluster, in dollars (15 to 2000, step 5). The $65 default is illustrative, not a quoted price: enter your own cost for the machines that run the peak number of concurrent jobs, including storage and backups.?
Engineering hours a month spent patching the runner operating system, updating images and tools, clearing disks and caches and handling failed runners (0 to 200, step 1). GitHub states that for a self-hosted runner you are responsible for updating the operating system and all other software. No typical value is assumed: the default 0 keeps the result at server cost only, so enter the hours from your own ticket or on-call log.?
Hourly cost of the engineer who does that work (1 to 500 dollars, step 1). The $64 default is rounded from the BLS median hourly wage of $64.44 for software developers, quality assurance analysts and testers (May 2025). That is pay, not fully loaded cost, so enter your own figure. It only matters when the hours above are more than 0.Use the CI/CD Build Minutes & Self-Hosted Runner Calculator to evaluate M_mo = N_dev · B_day · 22 · t_min | Cost_hosted = max(0, M_mo · R_min − 18) | Saving = 12 · (Cost_hosted − Cost_self) for GitHub Actions pipelines, Docker multi-arch image builds. With the defaults (Active Engineering Team Size = 18 Devs, CI Pipeline Runs per Dev per Day = 6, Average Pipeline Duration = 9.5 Minutes) it returns Monthly ci runs & build minutes: 2376 runs/mo = 22572 build minutes/mo.
Governing equationM_mo = N_dev · B_day · 22 · t_min | Cost_hosted = max(0, M_mo · R_min − 18) | Saving = 12 · (Cost_hosted − Cost_self) (GitHub-hosted runner list prices and Team compute allowance (checked November 2026))
Model assumptions
Enter billed minutes: GitHub rounds the minutes of each job up to the nearest whole minute, so a 9.5-minute job bills 10. Self-hosted runners are priced at the server cost you enter, plus maintenance hours × hourly cost when you enter them (0 hours by default). GitHub announced a USD 0.002 per minute platform charge for self-hosted runners and then postponed it with no new date; it is not included (checked November 2026).
Why Hosted Build Minutes Become a Recurring Cost Line
Hosted CI runners bill per minute, and the rate rises with runner size. The GitHub-hosted list prices checked in November 2026 are $0.006 per minute for a 2-core Linux runner, $0.012 for 4-core, $0.022 for 8-core, $0.042 for 16-core, and $0.062 for macOS 3/4-core (docs.github.com/en/billing/reference/actions-runner-pricing). The larger Linux runners are offered to Team and Enterprise Cloud organizations. At the 4-core rate, 22,572 build minutes a month cost $270.86 before any allowance.
The Team plan includes $18 of compute per month. The GitHub billing page states that this allowance is a monetary amount, not a fixed number of minutes (docs.github.com/en/billing/concepts/product-billing/github-actions). The calculator therefore subtracts $18 from the metered cost: hosted cost = max(0, minutes x rate - 18). The default case of 18 developers, 6 runs per developer per day over 22 workdays, and 9.5 minutes per run gives 2,376 runs and 22,572 minutes a month, a hosted bill of $252.86 against a $65 self-hosted server.
| Team Size | Monthly Builds | Total Minutes | Hosted 4-Core ($0.012) | Self-Hosted Runner Cluster ($65, illustrative) | Annual Savings (negative = costs more) |
|---|---|---|---|---|---|
| 5 Devs | 660 | 6,270 min | $57.24/mo | $65.00/mo | -$93/yr |
| 10 Devs | 1,320 | 12,540 min | $132.48/mo | $65.00/mo | $810/yr |
| 18 Devs | 2,376 | 22,572 min | $252.86/mo | $65.00/mo | $2,254/yr |
| 30 Devs | 3,960 | 37,620 min | $433.44/mo | $65.00/mo | $4,421/yr |
| 50 Devs | 6,600 | 62,700 min | $734.40/mo | $65.00/mo | $8,033/yr |
| 100 Devs | 13,200 | 125,400 min | $1,486.80/mo | $65.00/mo | $17,062/yr |
How Many Runner Slots Does Self-Hosting Need, and What Does the Comparison Leave Out?
The self-hosted figure is the server budget you enter, plus the maintenance time if you enter hours. With 0 hours, the default, it excludes engineering time for patching, cache management and incident response, so the annual saving is a hardware comparison, not a total cost of ownership. Enter the full monthly cost of the runner fleet, and the maintenance hours, to make the comparison fair. GitHub announced a USD 0.002 per minute platform charge for self-hosted runners and then postponed it with no new date (github.com/resources/insights/2026-pricing-changes-for-github-actions, checked November 2026). It is not in the calculation; if it takes effect, the default saving falls from about $2,254 to about $1,713 a year (22,572 minutes x $0.002 = $45.14 a month).
Peak concurrency assumes an 8-hour workday of 480 minutes and a 2.8x clustering factor for busy hours: peak = ceil((minutes / (22 x 480)) x 2.8). The 2.8 factor and the 22 workdays are model assumptions and are not taken from the pricing pages. The default needs 6 concurrent runner slots: 22,572 / 10,560 = 2.14, times 2.8 is 5.99, rounded up to 6. Those 6 slots are runner processes that can run at the same time; the calculator assumes the self-hosted cluster is sized to host them and does not choose an instance type, so the cost you enter should cover that many concurrent jobs. The $40, $65, $110, $180 and $250 figures in the tier table are illustrative, with no instance type or public price behind them.
| Runner Tier | Per-Minute Rate | Monthly Hosted Bill | Self-Hosted Runner Cluster (illustrative cost: enter your own) | Annual Savings (negative = costs more) |
|---|---|---|---|---|
| Linux 2-Core (standard) | $0.006/min | $117.43/mo | $40/mo | $929/yr |
| Linux 4-Core (larger runner) | $0.012/min | $252.86/mo | $65/mo | $2,254/yr |
| Linux 8-Core (larger runner) | $0.022/min | $478.58/mo | $110/mo | $4,423/yr |
| Linux 16-Core (larger runner) | $0.042/min | $930.02/mo | $180/mo | $9,000/yr |
| macOS 3/4-Core, M1 or Intel (standard) | $0.062/min | $1,381.46/mo | $250/mo | $13,578/yr |
What Do the 12-Developer and 35-Developer Presets Show?
Example 1: a 12-developer team on 4-core runners with a $65 server. The team triggers 1,584 runs a month of 9 minutes each, which is 14,256 build minutes. The hosted bill is $153.07 a month against $65.00 for the server, so on server cost alone self-hosting saves $1,057 a year, and the peak needs 4 concurrent slots. The margin is thin in hours: the $88.07 monthly gap ($153.07 − $65.00) pays for only 1.4 hours of engineering time at $64 an hour, so a team that spends more than that on its runners is better off hosted. Related in the Cloud, API, LLM & Automation Hub: Kubernetes Node Allocatable & Pod Packing Calculator (self-hosted runners run as pods on nodes sized there) and Zapier vs Make vs n8n Workflow Cost Calculator (same hosted versus self-hosted cost question for workflow tools).
Example 2: 35 developers on 8-core runners with a $120 cluster. They trigger 6,160 runs a month of 12 minutes, which is 73,920 build minutes. The hosted bill is $1,608.24 a month against $120.00, a saving of $17,859 a year on server cost, with 20 concurrent slots at peak. The room here is larger: the $1,488.24 monthly gap covers 23.3 hours of engineering time at $64 an hour. But 20 slots across a cluster are a real service to patch and monitor, so count the hours before you commit. You can compare these limits with other calculators in the Engineering Studio.
When Is Hosted Cheaper and When Is Self-Hosted Cheaper?
The presets show both regimes. The 12-developer preset (6 runs a day, 9-minute builds on 4-core runners, a $65 server) produces 1,584 runs and 14,256 minutes, a hosted bill of $153.07 against $65, so the server saves $1,057 a year on this model. The 35-developer preset (8 runs a day, 12-minute builds on 8-core runners, a $120 cluster) produces 6,160 runs and 73,920 minutes, a hosted bill of $1,608.24 and 20 concurrent slots. The annual saving keeps its sign: with one developer the hosted bill falls inside the $18 allowance and is $0, so a $65 server gives -$780 a year, which means the self-hosted option costs more.
How Much Engineering Time Does a Self-Hosted Runner Take?
The calculator does not assume a typical number: enter the hours your team logs for runner work in a month, such as patching, image and tool updates, disk and cache clean-up and failed or stuck runners. GitHub is explicit about the split. For a self-hosted runner you are responsible for updating the operating system and all other software, and the runner application is the only part that receives automatic updates (GitHub Docs, Self-hosted runners, checked November 2026).
The break-even rule is hours = (hosted bill − self-hosted server cost) / hourly cost. At the default, ($252.86 − $65.00) / $64 = 2.9 hours a month. Enter 10 hours and the labor is $640 a month, so the hosted bill is $5,426 a year cheaper than self-hosting, which is what the result card then reports.
Download the data on this page (CC BY 4.0, checked 2026-12-02): CSV Monthly CI/CD Build Minutes & Hosted vs Self-Hosted Cost by Engineering Team Size (6 Runs/Day, 9.5 Min) · the $65 self-hosted cluster cost is illustrative: enter your own · example list prices, verify current pricing (docs.github.com/billing/reference/actions-runner-pricing, checked November 2026) — Computed via M_mo = N_dev · B_day · 22 · t_min | Cost_hosted = max(0, M_mo · R_min − 18) | Saving = 12 · (Cost_hosted − Cost_self) (GitHub-hosted runner list prices and Team compute allowance (checked November 2026)) · Sources checked November 2026; Hosted Runner Cost Comparison Across Machine Tiers for 22,572 Monthly Build Minutes · the $40, $65, $110, $180 and $250 self-hosted cluster costs are illustrative figures with no instance type behind them: enter your own · example list prices, verify current pricing (docs.github.com/billing/reference/actions-runner-pricing, checked November 2026) — Computed via M_mo = N_dev · B_day · 22 · t_min | Cost_hosted = max(0, M_mo · R_min − 18) | Saving = 12 · (Cost_hosted − Cost_self) (GitHub-hosted runner list prices and Team compute allowance (checked November 2026)) · Sources checked November 2026; all tables as JSON. More files on Data & How to Cite.
Sources
- GitHub Docs · Actions runner pricingPer-minute rates: Linux 2-core $0.006, 4-core $0.012, 8-core $0.022, 16-core $0.042 (larger runners, for Team and Enterprise Cloud organizations); macOS 3/4-core $0.062. Basis of the rate selector.
- GitHub Docs · About billing for GitHub ActionsThe Team plan includes an $18 monthly compute credit, expressed as a monetary amount rather than a fixed number of minutes. Basis of the $18 offset: the calculator subtracts the $18 monthly compute credit of the Team plan from the hosted bill.
- GitHub Docs · Control the concurrency of workflows and jobscancel-in-progress: true also cancels a run already in progress in the same concurrency group. Basis of the advice to cancel superseded runs.
- GitHub Docs · Actions minute multipliers (billed minutes)GitHub rounds the minutes and partial minutes each job uses up to the nearest whole minute. Basis of the advice to enter billed minutes.
- GitHub · 2026 pricing changes for GitHub ActionsAnnounced a USD 0.002 per minute platform charge for self-hosted runners, then postponed it with no new date (checked November 2026). Basis of the note that the self-hosted comparison excludes the charge.
- GitHub Docs · Self-hosted runnersFor self-hosted runners, you are responsible for updating the operating system and all other software, and for the cost of maintaining your runner machines; only the runner application receives automatic updates. Basis of the maintenance-hours input (checked November 2026).
- U.S. Bureau of Labor Statistics · Software Developers, Quality Assurance Analysts, and Testers Government statisticsMedian pay in May 2025: $64.44 per hour for the group. The $64 default of the hourly cost is rounded from it; it is pay, not fully loaded cost (checked November 2026).
Method and test suite: Calculation Methodology.
Frequently Asked Questions: CI/CD Build Minutes & Self-Hosted Runner Calculator
Why does the macOS runner cost more?
The list price is $0.062 per minute for macOS 3/4-core, against $0.006 per minute for a 2-core Linux runner, so each minute costs about ten times as much. Run linting and unit tests on Linux, and reserve macOS runners for steps that need macOS.
How do I stop superseded runs from billing?
Add a concurrency block with cancel-in-progress set to true. GitHub documents that this also cancels a run already in progress in the same group, not only queued runs: concurrency: group: ${{ github.workflow }}-${{ github.ref }} with cancel-in-progress: true.
Does the $18 allowance cover all the minutes?
No. The page expresses it as a dollar amount of compute, so it offsets metered charges rather than a set number of minutes. The calculator subtracts it from the total bill as a simplification.
Are the minutes I enter billed exactly?
No. GitHub rounds the minutes and partial minutes each job uses up to the nearest whole minute (docs.github.com/en/billing/reference/actions-minute-multipliers). Enter billed minutes, for example 10 for a 9.5-minute job, or the hosted bill is understated: at the default, 2,376 runs x 10 minutes x $0.012 - $18 = $267.12 against $252.86, about 5.6 % more.
How does a test matrix change the bill?
Each matrix combination is its own job and its own runner, so a matrix of 3 operating systems and 4 language versions starts 12 jobs per push, and their minutes add up. Limit the full matrix to merges and nightly runs, and keep one primary combination on pull requests.