When do self-hosted GitHub Actions runners make sense?
Self-hosted GitHub Actions runners make sense when you need private-network access, unusual hardware, a controlled image, or enough steady CI work to justify owning the fleet. GitHub charges no Actions minutes for them, but you pay for capacity, patching, isolation, monitoring and on-call time. In the illustrative model below, 12,000 job-minutes cost $474 self-hosted versus $54 on GitHub-hosted Linux runners. Figures checked September 21, 2026.
Last checked September 21, 2026: GitHub’s self-hosted runner documentation, hosted runner rates, security guidance, update policy and postponed platform charge were checked on that date.
GitHub's self-hosted runner overview says the service charges no Actions minutes for these jobs. You supply and maintain the machines. That makes GitHub Actions self-hosted pricing a total-cost question rather than a per-minute price: infrastructure plus the engineering time needed to run it safely and reliably.
This guide makes that total visible, separates self-managed and managed runners, and gives a sequence for testing the decision with your own workload. Every dollar result below is an example with replaceable assumptions, not a general estimate for your team.
Compare Basic with the dated Premium model
The worked model below keeps its original Premium rate and 3,000-minute allowance so its totals and crossover remain reproducible. For a new Basic account, the same 2-vCPU minutes cost max(0, minutes − 3,000) × $0.001: $9 at 12,000 minutes, $47 at 50,000 and $197 at 200,000, before tax. This assumes equal runtime, not a Basic speed-up.
Sengi Basic costs $0.001/$0.002/$0.004 per minute for 2/4/8 vCPU; Premium costs $0.003/$0.006/$0.012. Choose sengi-basic-2-ubuntu-2404, sengi-basic-4-ubuntu-2404 or sengi-basic-8-ubuntu-2404 for Basic. Premium uses sengi-premium-2-ubuntu-2404, sengi-premium-4-ubuntu-2404 or sengi-premium-8-ubuntu-2404.
New accounts share 3,000 free credits each UTC month, on Basic or Premium: one rounded Basic job-minute uses 1/2/4 credits by size, and a Premium minute uses 3 times the credits of a Basic minute of the same size. Compare your own minutes with the Basic and Premium calculator.
What are the real costs of running your own runner?
1. The machine, billed whether or not a job is running
A runner is a server that sits there. You pay for it by the hour or month regardless of how many jobs arrive, so the useful figure is the machine price divided by the job-minutes it actually delivers. In this example, an always-on Linux server with 2 vCPU and 8 GB runs one job at a time. A 730-hour month contains 43,800 machine-minutes; maintenance, failures and idle time keep usable job-minutes below that ceiling.
2. Idle waste, which is most of what you buy
CI is bursty. Jobs cluster around pushes, and the queue you are trying to avoid forms at the peak. Sizing a fleet for that peak leaves paid capacity idle at quieter times. This model assumes 40% average utilisation; that is an input, not an industry benchmark. It produces 17,520 usable job-minutes per machine and 26,280 paid but unused machine-minutes each month.
Usage-priced hosted runners do not have that idle-capacity line. GitHub's runner pricing reference bills larger runners only while workflows execute. Sengi Premium bills only the minutes your jobs run, with boot and teardown never billed. You never pay for idle capacity.
3. Ops time, which dominates at ordinary volumes
Somebody has to build the image, keep the runner application current, patch the operating system and tools, clean disks, drain and replace machines, preserve diagnostics, and respond when jobs stop being accepted. On June 12, 2026 GitHub published its minimum-version enforcement timeline: version 2.329.0 or later is required for registration, and runners must install later releases within 30 days to keep receiving jobs.
The runner application updates itself by default, but GitHub leaves the operating system and all other software to the operator. Price that work at your team's loaded hourly cost. The model below uses five hours a month at $90 an hour and states the result separately so you can replace both inputs.
4. Isolation and security, which is not a one-off
A standard GitHub-hosted job gets a fresh virtual machine. A persistent self-hosted runner does not provide that guarantee. GitHub's secure-use guidance warns against self-hosted runners for public repositories because pull-request code can compromise the environment, its secrets and its GITHUB_TOKEN. Private repositories still need a threat model for untrusted contributors and dependencies.
GitHub recommends ephemeral autoscaling and documents just-in-time runners that accept at most one job. Its self-hosted runner reference also requires operators to forward ephemeral-runner logs externally and warns that reusing the underlying hardware can expose earlier job data. Clean instances, restricted runner groups, network boundaries and teardown verification are recurring engineering work rather than initial setup.
5. The charge that was announced and postponed
On December 16, 2025 GitHub announced a $0.002-a-minute Actions cloud platform charge for self-hosted use in private repositories from March 1, 2026, then postponed that change before it took effect. The billing documentation checked September 21, 2026 still lists self-hosted usage as free, and GitHub has published no replacement date. Do not add the proposed rate to a current bill. The GitHub Actions pricing changes page preserves the timeline.
What assumptions does this comparison make?
Everything below follows from these. Three of them are assumptions about your team, not facts about anyone's product; change them and the arithmetic changes with them.
| Assumption | Value | Where it comes from |
|---|---|---|
| Machine | One always-on 2 vCPU, 8 GB Linux server at $24 a month, one job at a time | Assumed. Substitute your own server bill. |
| Machine-minutes a month | 43,800 (730 hours × 60) | Arithmetic. |
| Average utilisation | 40%, so 17,520 usable job-minutes per machine | Assumed. Lower it if you size for a sharper peak. |
| People time | 5 hours a month at $90 an hour, so $450 a month, flat | Assumed, and optimistic at the top row: fleet work grows with the fleet. |
| GitHub plan | GitHub Team: $18 of included usage, which covers 3,000 standard Linux 2-core minutes at $0.006 a minute | GitHub's published rates and included usage, checked November 7, 2026. |
| Sengi Premium | 2 vCPU, 8 GB at $0.003 a minute after 3,000 allowance minutes a month | Published catalog. |
| Everything else | The same job takes the same minutes on all three; artifact and cache storage is not counted on any side | Assumed, so the comparison is compute only. |
Is self-hosting cheaper than GitHub-hosted runners?
| Job-minutes a month | Machines | Self-hosted total | Self-hosted per minute | GitHub-hosted | Sengi Premium catalog (planning) |
|---|---|---|---|---|---|
| 12,000 | 1 | $474.00 | $0.0395 | $54.00 | $27.00 |
| 50,000 | 3 | $522.00 | $0.0104 | $282.00 | $141.00 |
| 200,000 | 12 | $738.00 | $0.0037 | $1,182.00 | $591.00 |
The self-hosted total is machines plus people: $24 per machine plus a flat $450. The GitHub-hosted column is the minutes above the 3,000 included, at $0.006. The Sengi Premium column is the minutes above its 3,000 free minutes, at $0.003. Nothing else is in any column.
The shape is the point. At 12,000 minutes the assumed people time is 95% of the self-hosted total. At 200,000 minutes that fixed input is spread across far more work, so this particular self-hosted model costs less than GitHub-hosted execution.
Because machine count is rounded up, the crossing is stepped rather than smooth. Self-hosting first equals GitHub-hosted at 102,000 minutes, briefly dips below it, then needs another machine; it remains below GitHub-hosted above about 106,000 standard Linux minutes a month. Against Sengi Premium at $0.003, self-hosting does not break even until about 289,000 minutes a month.
Had the postponed platform charge taken effect, it would have been added to the self-hosted column and to nothing else: $18.00 a month at 12,000 minutes, $94.00 at 50,000 and $394.00 at 200,000. It did not, and it is not charged today.
When is self-hosting the right answer anyway?
Cost is only one reason to own the runner. Self-hosting can be the right call when a job needs hardware a hosted service does not offer, when a named compliance control requires execution inside your network, when builds depend on a local artifact store or licence server, or when an existing platform team can operate the fleet at low marginal cost.
| Option | Best fit | Responsibility you keep |
|---|---|---|
| GitHub-hosted | Standard CI, public repositories, macOS or Windows, and private usage that fits the plan allowance | Workflow correctness, permissions, dependencies and storage policy |
| Self-hosted | Private-network dependencies, custom hardware or images, and steady volume backed by an operations team | Capacity, images, patches, isolation, network policy, logs, recovery and incident response |
| Managed GitHub Actions runners | Linux CI at lower cost, with no fleet to run and workflows still in GitHub | Workflow correctness and permissions. The provider runs everything else |
Sengi Premium gives you what self-hosting promises without the rota: bare metal gaming CPUs, a fresh VM for every job and the cache included. On our public benchmark, Sengi Premium 4 vCPU finished faster than GitHub’s 4 vCPU runner on 11 of 12 open-source projects, up to 1.59× faster on fd (cargo build --release, then cargo test). See how it works and pricing, or how it compares with Blacksmith and with RunsOn, which runs runners in your own AWS account. Managed and self-hosted side by side, responsibility by responsibility: the self-hosted runner alternative.
What should I measure before deciding?
Start with four measured inputs: monthly job-minutes from billing, peak concurrent jobs from the busiest windows, current engineering hours spent on CI infrastructure, and the rate for the runner you use. The GitHub Actions pricing guide lists current rates, and the cost calculator turns rounded job-minutes into a hosted baseline.
A bounded evaluation sequence
- Separate queue time from execution time. More machines only address capacity queues. If jobs start promptly but run slowly, use the performance guide. If labels or capacity leave jobs waiting, use the stuck-job checklist.
- Model the peak. Convert the busiest hour into required concurrent runners, then cost all hours those machines exist. Include headroom for replacement and maintenance.
- Define the trust boundary. List which repositories and actors may dispatch work, which networks and credentials a job can reach, whether every job gets a clean instance, and where diagnostic logs survive teardown. GitHub runner groups can restrict repository access, but they do not clean a reused machine.
- Choose an update and recovery owner. Record who rebuilds images within GitHub's 30-day runner-release window, rotates credentials, handles offline runners and restores capacity. GitHub's monitoring guide identifies runner status and diagnostic files to retain.
- Pilot one low-risk workflow. Compare completed-job time, queue time, failure rate and operator time for a full maintenance cycle. Keep the old label available as the rollback, then decide with observed numbers.
If a network or compliance requirement is decisive, self-hosting earns its cost. If the goal is cheaper, faster Linux CI, a managed runner gets you there with a one-line change and no fleet to own.
Originally published at sengi.run, where the tables are kept current.



