Direct answer
It depends on your monthly macOS build minutes and how much you rely on caching. Few minutes and occasional builds: GitHub's runners cost less. Daily builds with large gains from incremental compilation: an always-on machine at a fixed monthly fee fits better.
Basis
- Billing (GitHub Actions billing, checked 2026-11-12): GitHub-provided runners are priced per minute, and the documentation states that macOS and Windows jobs cost more than Linux. Standard runners are free for public repositories. Private repositories first use the allowance included in the plan each month, and that allowance is expressed as an amount of money rather than a number of minutes. Current per-minute rates for each machine type are in its pricing table; we do not copy the numbers here.
- The same document lists self-hosted runner usage as free and as not consuming the included allowance. In other words, after switching to self-hosted, the minute bill on the GitHub side drops to zero and the cost becomes the machine's monthly rent.
- Environment: GitHub's documentation states that each runner it provides is a new virtual machine. Which Xcode versions are preinstalled and when old ones are retired is GitHub's decision. On a self-hosted machine you decide which versions are installed and how long they stay, and state persists between builds.
- Maintenance: GitHub updates its own images. On a self-hosted machine the OS, Xcode and disk cleanup are your job.
Boundaries: when the answer is different
GitHub is the better choice when: you build very little each month; you need many jobs running at once, since it can spin up multiple machines on demand and one Mac mini cannot; you maintain a public open-source repository, where it is free and where a self-hosted runner should not be exposed to outside contributions; or nobody on the team wants to maintain a machine. Billing rules change, so check GitHub's documentation at the time you decide. On our side, billing is monthly or for longer terms with no per-minute or per-hour option; pricing and stock are as shown on the plans page.
How to do it
- On GitHub's billing usage page, export Actions usage for the last three months and pick out only the macOS minutes.
- Work out the monthly amount spent on macOS at the current rate, minus whatever the included allowance covers.
- Compare it with the monthly fee on the plans page, and count the time you would spend maintaining the machine as well.
- If unsure, run both: everyday commits on self-hosted, peaks and fallback on GitHub.
Related questions
- Rented Mac mini as an always-on build machine for small teams? Count your build minutes first
- Per-minute cloud builds vs a flat monthly build machine: which is cheaper?
- Do I still pay for GitHub Actions minutes on my own rented Mac mini?
- Remote Mac vs GitHub Actions macOS runner or Codemagic: which should I use?
- Can a self-hosted runner keep DerivedData and dependency caches between builds?
Use case
This question belongs to the use case: Rented Mac mini as an always-on build machine for small teams? Count your build minutes first
Other questions in the same use case:
- I already have Xcode Cloud. Do I still need my own Mac mini build machine?
- Bitrise vs renting your own Mac mini as a build machine
- Codemagic pay-per-minute vs a fixed rented Mac mini for a small team
- Can I drop my build machine in quiet months and rent again at release time?
Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram Contact support