Self-hosted vs managed CI runners: when each makes sense, and the costs people miss
When to run your own CI runners and when to pay for managed ones, for GitHub Actions and GitLab™ CI, with the costs that never show on the cloud bill: updates, images, idle machines, busy hours and the security of every job.
Who sells managed runners for GitHub Actions?#
Use managed runners unless a hosted service cannot give you what a job needs: hardware it does not offer, a private network your jobs must reach, GitHub Enterprise Server, or steady load on machines you already run and maintain. Self-hosting removes the per-minute bill for runners. In return you take on the operating system and runner updates, the images, enough machines for busy hours and the security of every job, and little of that work shows up on the cloud invoice.
This applies to GitHub Actions and to GitLab™ CI alike: in both, a runner is the machine that takes a job from the queue and runs its steps, and both let you bring your own.
GITLAB is a trademark of GitLab Inc. in the United States and other countries and regions.
What a self-hosted runner costs beyond the machine#
Updates that cannot wait#
GitHub's documentation is plain about who maintains a self-hosted runner: "you are responsible for updating the operating system and all other software." The runner application updates itself by default. Turn that off, and you have 63 days to install each new version, after which GitHub stops sending jobs to the runner; a critical security update stops them until it is installed.
GitLab asks the same of teams that keep their code on GitLab.com: keep GitLab Runner at the latest version, because GitLab.com is updated continuously.
Images you build yourself#
A hosted runner starts from an image its provider maintains, and the tools in GitHub's own images are updated weekly. For your own machines, that image is yours to build and test, and to refresh, and a job that relied on a preinstalled tool fails the day the tool goes missing.
Machines for busy hours#
Load on CI is uneven. A fleet sized for the morning burst sits idle at night and still costs money, while a fleet sized for the average makes the burst wait in the queue. Adding machines as the queue grows is your automation to write. GitHub's Kubernetes operator for this, Actions Runner Controller, comes with a warning: GitHub recommends "staff with expert-level knowledge of container orchestration", and much of the installation, from networking to policy, falls outside GitHub Support's scope.
A job that finds no matching runner does not fail at once. It waits in GitHub's queue for up to 24 hours and then stops without running.
The security of every job#
A runner runs whatever the workflow says. GitHub warns that self-hosted runners "can be persistently compromised by untrusted code in a workflow" and should almost never be used for public repositories, because anyone can open a pull request. Destroying a runner after each job "might not be as effective as intended", GitHub says, "as there is no way to guarantee that a self-hosted runner only runs one job." Just-in-time runners take at most one job before they are removed, though GitHub notes that reusing the hardware underneath them can still expose information from the environment.
GitLab's guidance is just as direct about its shell executor: use it "only for running trusted builds". Docker in privileged mode hands a job the root capabilities of the machine it runs on.
The time of the people who run it#
All of this lands on an engineer: an update that broke a job, a disk that filled up, a queue that grew during a release. The cloud bill shows the machines. It does not show the hours.
What a managed runner takes off your plate#
A managed runner hands most of that list back to the provider. On GitHub's own runners, "machine maintenance and upgrades are taken care of for you", every job gets a new virtual machine (apart from the single-CPU size), and the images are kept current. GitLab's runners on GitLab.com work the same way: each job gets a newly provisioned machine, deleted when the job ends.
What remains is a different set of trade-offs:
- Limits: a job runs for at most 6 hours on GitHub's runners and 3 hours on GitLab's runners on GitLab.com, where self-hosted runners on GitHub allow 5 days.
- Billing: GitHub rounds each job up to the whole minute. Compute minutes on GitLab count the job's duration times a cost factor for its size.
- Sizes: bigger machines are on paid plans, GitHub's larger runners on Team and Enterprise Cloud and GitLab's large sizes on Premium and Ultimate.
- Reach: a hosted machine sits outside your network unless the provider offers a way in, such as GitHub's Azure private networking for larger runners.
Third-party runner services sit in between: one label change sends a job to their machines, with their own hardware and cache, and their own prices. The GitHub Actions runner comparison compares them by name.
When self-hosting is the right call#
- Anything on GitHub Enterprise Server, where GitHub-hosted runners are not supported and its own docs point you to self-hosted ones.
- Jobs that need special hardware, or access to a private network that no hosted option can reach.
- Steady, heavy load on machines your company already runs, with people who already maintain them.
- Jobs longer than a hosted service allows, such as GitHub's 6 hours.
- Private repositories only: keep public ones on hosted runners.
When a managed runner is the right call#
- Load that comes in bursts, where idle machines would cost more than per-minute or per-second billing.
- Public repositories, where GitHub's standard runners are free and unlimited.
- Small teams with nobody to spare for runner upkeep.
- Work that should start every job on a fresh machine, such as pull requests from people or tools you do not fully trust.
A middle path#
Some services split the difference. With Promigence, the runners can be hosted for you, with nothing to keep running on your side, or started by one command on a machine of yours, with a GitHub or GitLab token you control. Either way, each job runs in a fresh sandbox on Promigence.
Where Promigence fits#
A GitHub Actions job moves with one line, runs-on: promigence or a sized label, and a GitLab CI job with a runner tag. Each job gets its own sandbox, billed for the seconds it runs. With the runner command, --cap sets the most one job may cost, --max how many sandboxes run at once and --warm N how many runners wait for jobs, billed while idle. For a monthly ceiling on runners you start with a project's key, an owner can cap that project's spend with promigence project cap.
The command also works with GitHub Enterprise Server, through --github-api, and with a GitLab Self-Managed instance, through --url. The runner guide sets it up in two lines, CI runners lists the sizes, and pricing has the rates.
At a glance#
| Self-hosted runners | GitHub's and GitLab's hosted runners | Promigence runners | |
|---|---|---|---|
| Who maintains machines and images | You | The provider | Promigence; you add language setup steps |
| A fresh machine for every job | Only if you build it | Yes (GitHub's single-CPU size excepted) | A fresh sandbox per job |
| Billing | Your machines, busy or idle | Per minute on GitHub; compute minutes on GitLab | Per second, by size |
| Most one job may cost | No limit beyond your machines | A time limit: timeout-minutes or timeout: | --cap in dollars with the runner command |
| Longest job | 5 days on GitHub | 6 hours on GitHub, 3 hours on GitLab.com | Set with --timeout on the runner command |
| GitHub Enterprise Server | Yes | No | Yes, with --github-api |
FAQ#
Who sells managed runners for GitHub Actions?#
GitHub sells its own: standard runners and, on Team and Enterprise Cloud, larger runners with up to 96 CPUs. Several companies sell hosted runners that a job reaches by its runs-on label, Promigence among them. Our GitHub Actions runner comparison sets them side by side, with each vendor's own facts, each dated and linked.
Should enterprise CI runners be self-hosted or managed?#
Start from the constraints. A GitHub Enterprise Server installation rules out GitHub-hosted runners, and a private network or special hardware may rule out other hosted ones. Where neither applies, managed runners cost less in people's time, and the question becomes which controls you need: static IP addresses and Azure private networking on GitHub's larger runners for Enterprise Cloud, or per-job caps and runner groups with the Promigence runner command.
Are self-hosted runners cheaper than managed ones?#
On the invoice, often. Self-hosted runners use no GitHub Actions minutes, and your own runners use no GitLab compute minutes. The machines still cost money while idle, and the updates, images, capacity planning and security reviews cost engineering time. Compare a month of both, including the hours, before you decide.
Sources#
Every page below was read on 24 Nov 2026. The authority is each company's own page.
| Company | Pages | Checked |
|---|---|---|
| GitHub | Self-hosted runners, Self-hosted runners reference, Secure use reference, Actions Runner Controller, Support for ARC, GitHub-hosted runners, GitHub-hosted runners reference, Larger runners, Private networking, Actions limits, Actions runner pricing, GitHub Actions billing, GitHub Actions for GitHub Enterprise Server | 24 Nov 2026 |
| GitLab | GitLab Runner, Runner security, GitLab-hosted runners, Compute minutes, Pricing, Trademark guidelines | 24 Nov 2026 |
| Promigence | CI runners, GitHub Actions runner guide, CLI reference, Pricing | 24 Nov 2026 |
If anything on this page is out of date or wrong, write to support@promigence.ai and we will correct it and note the date.