Blog·

GitHub Actions macOS minutes vs a dedicated Mac mini: what iOS CI really costs

macOS minutes on GitHub Actions cost ten times Linux ones. Here is the maths for real iOS teams, and why a dedicated Mac mini builds faster and costs less as soon as you build every day.

A glowing hourglass next to a Mac mini on a pedestal: paying by the minute against a Mac of your own

Continuous integration for an iOS or macOS app has one cost that Android and web teams never see: the build has to run on a Mac. On GitHub Actions that usually means macOS minutes, and macOS minutes are the most expensive minutes GitHub sells.

The more you build, the more it matters. For a team that pushes all day, the bill can pass the price of a whole dedicated Mac within the first week of the month. This article puts real numbers on it, using GitHub’s published prices, and shows what else a Mac of your own gives your pipeline.

What GitHub charges for macOS

GitHub bills hosted runners by the minute, and each job is rounded up to the next whole minute. According to GitHub’s runner pricing page, the rates for macOS are:

Runner Hardware Price per minute
Standard macOS (arm64) 3-core M1, 7 GB of memory, 14 GB of disk $0.062
macOS larger runner, Intel 12 cores $0.077
macOS larger runner, arm64 5-core M2 Pro $0.102

The larger runners are only available on the Team and Enterprise Cloud plans. For comparison, the basic Linux runner costs $0.006 a minute, so a minute on a standard Mac costs about ten times a minute on Linux.

How far the included usage goes

Every plan includes a monthly amount of Actions usage, now expressed in dollars rather than minutes: $12 on Free, $18 on Pro and Team, $300 on Enterprise Cloud. Jobs on private repositories draw from that amount at their own rate.

Divide by $0.062 and the picture is clear. The Free plan covers about 190 minutes of standard macOS builds a month, Pro and Team about 290. A single clean iOS build with tests often takes 10 to 20 minutes on a 3-core runner, so the included usage lasts for roughly 15 to 30 builds. After that, every build is billed, or blocked if no payment method is on file.

One rule is worth knowing: according to GitHub’s billing documentation, self-hosted runners are free: jobs that run on a machine you register yourself do not use the included amount and are not billed per minute.

Three teams, three bills

The numbers below use the standard macOS rate of $0.062, 22 working days a month, and ignore the included amount, which covers only the first few hours.

A solo developer. Five builds a week on a personal app, 15 minutes each: about 330 minutes a month, or roughly $20. Here a dedicated Mac pays off in time more than in money: builds start warm on 12 cores instead of 3, and the same Mac is there all day for Xcode, the Simulator and the App Store upload.

A small app team. Three developers, 20 builds a day between pull requests and the main branch, 12 minutes each: 240 minutes a day, about 5,300 minutes a month. At $0.062 that is about $330 a month on hosted runners.

A busy release pipeline. 40 builds a day, 15 minutes each, plus a nightly UI test run of an hour: 660 minutes a day, about 14,500 minutes a month, around $900. Moving the heavy jobs to the larger arm64 runner to save time pushes the rate to $0.102 a minute.

A dedicated SoloRack Mac mini M6 costs $112 a month, whatever the number of minutes. At $0.062 a minute, that is the price of about 1,800 hosted macOS minutes, or 30 hours of builds a month: about an hour and twenty minutes per working day. Above that line, every extra build on a dedicated Mac is free, and the small team in the example above would spend about a third of what it spends on hosted runners.

Minutes are not the same on every Mac

The comparison above is generous to hosted runners, because it assumes a job takes the same time everywhere. It does not.

More cores, faster builds. A standard hosted macOS runner has 3 M1 cores and 7 GB of memory. A Mac mini M6 has a 12-core CPU and 16 GB. Swift compilation, asset catalogues and test runs in parallel simulators all scale with cores and memory, so the same job finishes sooner on the bigger machine.

Warm caches. A hosted runner starts from a clean image for every job. Swift packages are resolved again, CocoaPods are installed again, and DerivedData is rebuilt from nothing, unless you spend time setting up cache actions and then pay for the minutes to restore them. A self-hosted runner keeps all of that on its own SSD, so the second build of the day starts warm. For many iOS projects that is the biggest single saving, larger than the difference in hardware.

Disk space. A hosted macOS runner gives you 14 GB of free disk. A project with large assets, several simulator runtimes or archives to keep between steps can fill that quickly. A dedicated Mac mini has 256 GB, all for your work.

Waiting in the queue. GitHub’s own documentation notes that macOS jobs may take longer to start when demand is high. A runner you own is idle and waiting for your next push.

Your Xcode, on your schedule. Hosted images move to new Xcode versions on GitHub’s timetable. On your own Mac you install the version you need, keep two side by side, and switch when your pipeline is green.

The mix most iOS teams end up with

In practice, many teams split the work. Linting, backend tests and anything that runs on Linux stay on cheap hosted Linux runners. The macOS jobs, which are the expensive ones, run on a dedicated Mac registered as a self-hosted runner, with its caches warm and its Xcode pinned. The workflow file chooses per job with runs-on, so the two live side by side in the same pipeline.

Setting that up takes about twenty minutes. Our step-by-step guide to a self-hosted GitHub Actions runner on a Mac mini covers Xcode, registration, the launchd service and a first iOS workflow, and the macOS runner page explains code signing and TestFlight uploads in CI.

How to decide in five minutes

Open your organisation’s billing page on GitHub and look at last month’s macOS minutes:

  1. Under about 300 minutes: the bill is small, but every build still starts cold on 3 cores. If waiting for CI slows you down, try a dedicated Mac for a week and compare the run times.
  2. Between 300 and 1,800 minutes: warm caches and faster hardware shorten every build, and the same Mac is your Xcode machine for the rest of the day. Try it for a week and compare the run times.
  3. Over 1,800 minutes: a dedicated Mac costs less than your current bill, before counting the faster builds.

Remember that builds on a self-hosted runner are often shorter, so the hosted minutes you see today are more than the time the same work would take on a faster Mac.

A dedicated Mac mini for your pipelines

A SoloRack Mac mini M6 is a whole physical Mac for you alone: 12-core CPU, 16 GB of memory, 256 GB of SSD and a 1 Gbit/s connection, in the datacenter closest to you among those available when you book. Register it as a runner, and your macOS jobs cost the same in a quiet month and in release week: from $3.73 a day with the monthly plan, $112 a month. See the plans on our pricing page.

Try SoloRack from ⁦$3.73⁩ a day

A dedicated Mac mini M6 on the monthly plan: ⁦$112⁩ a month. Prices in US dollars, VAT included where it applies.

Before you pay

The email you enter on the payment page becomes your account: you sign in to My account with that same address.

Payment is handled by Stripe through Link, its payment service: the payment page shows Link's name, and your bank statement will show LINK.COM* SOLORACK.

They show us how the site is used, including recordings of your visit; what you type stays hidden (PostHog, Google Analytics). These tools use cookies and start only if you say yes. You can change your mind at any time from the bottom of the page. If you say no to statistics, we only count your visit, without cookies. Cookie policy