How to Estimate GitHub Actions macOS Runner Costs: 2026
A GitHub Actions bill is rising, but workflow duration alone does not explain why.
Best choice: Estimate costs from your repository type, billable job usage, included account usage, and environment upkeep. Keep hosted runners, move work to a self-hosted Mac, or mix them only after checking your own records; no option is cheapest for every project.
This guide is for indie developers who build iOS apps with GitHub Actions and need to understand actual runner costs.
It also helps teams maintaining multiple apps or frequent macOS workflows compare hosted and self-hosted environments.
Developers considering a remote Mac can use the same workload records to judge whether a dedicated build environment fits.
Hosted billing by repository type
The first distinction is repository visibility. Public repositories and private repositories do not necessarily follow the same billing rules for standard GitHub-hosted runners. For private repositories, included account usage and any usage beyond it affect the bill. Self-hosted runners have a different billing boundary from hosted runners. Check the current GitHub Actions billing and usage rules before estimating, because the rules and account entitlements can change.
| Build situation | What to check | Cost implication |
|---|---|---|
| Public repository using a standard GitHub-hosted runner | Confirm the repository is public and the runner qualifies as a standard hosted runner under the current rules. | Do not apply private-repository assumptions automatically; public-repository and self-hosted billing boundaries differ. GitHub documents the billing rules here. |
| Private repository using a GitHub-hosted runner | Check the account’s included usage, the runner type, and any usage beyond the allowance. | Calculate the potential charge from current account usage and the applicable runner rate. The official pricing reference lists rates by runner type. |
| Repository using a self-hosted runner | Separate GitHub’s runner-use billing from the cost of providing and maintaining the machine. | No GitHub Actions runner-use charge does not mean the Mac, administration, or idle time costs nothing. GitHub explains the self-hosted runner model. |
How should public and private repository builds be compared?
Start by identifying where each workflow runs and whether the repository is public or private. Then check the account’s current included usage and the rules for that runner type. A workflow that looks identical in its YAML can have a different billing outcome when its repository visibility or runner changes.
The runner label alone is not a bill estimate. GitHub’s official runner pricing reference distinguishes runner types, and its billing documentation describes minute rounding. Those rules mean a job’s displayed elapsed time and the amount used for billing are not always interchangeable. Verify the current treatment for the runner and account rather than multiplying a dashboard duration by a remembered rate.
Important: A workflow’s total elapsed time can include queued time, setup, and multiple jobs. Use job execution records to understand the work, then reconcile them with the account’s billing usage. Do not treat the wall-clock duration of a workflow as its invoice amount.
A cost model for real build work
A useful estimate separates four things that are often combined in a quick calculation:
- Job execution time: How long each job ran, not how long the full workflow took from trigger to completion.
- Billable usage: The minutes charged under the current runner and repository rules, including any applicable rounding.
- Included account usage: Usage available under the account’s current plan or billing arrangement.
- Environment cost: The machine, storage, network, upkeep, and human time required to keep a self-hosted Mac ready.
The GitHub documentation on viewing job execution time shows where to inspect job durations. The product billing overview is a separate place to review charges and account usage. Use both views: job records explain what ran, while billing records show how GitHub accounts for it.
For an estimate, group jobs by purpose rather than treating every workflow as one undifferentiated total. Pull request checks, main-branch builds, simulator tests, and release jobs have different triggers and failure patterns. A pull request can run again after a new commit; a release workflow may repeat work if an upload or signing step fails. Count these runs from history. Do not guess a “typical” retry allowance.
A simple local record can help turn job history into a workload ledger. With GitHub CLI installed and authenticated for the repository, query a specific run’s jobs:
gh api repos/OWNER/REPO/actions/runs/RUN_ID/jobs \
--paginate \
--jq '.jobs[] | [.name, .status, .started_at, .completed_at] | @tsv'
Example output shape:
Build iOS completed <started_at> <completed_at>
Run tests completed <started_at> <completed_at>
This gives job-level records to sort by workflow purpose and compare across runs. It does not calculate the invoice. Check the job execution-time guidance and reconcile your log with the billing page’s actual usage. Keep failed and repeated jobs in the record: they consumed runner time even if they did not produce a releasable build.
Estimates by developer workload
Low-frequency indie developer: Start with repository visibility and account usage. If a private repository has enough included usage for the actual macOS jobs, a hosted runner may be the simplest option. If usage exceeds what the account includes, estimate from the current runner rates and the billable usage shown by GitHub. A low number of releases does not by itself prove that monthly usage is low; pull request checks and simulator work can also add jobs.
| Workload profile | Hosted runner estimate | Self-hosted Mac estimate | Decision signal |
|---|---|---|---|
| Occasional builds for one app | Review actual macOS job usage and included account usage. | Include machine access, setup, updates, and time spent keeping the runner available. | Keep hosted when its bill and simplicity suit the measured workload. |
| Several apps with recurring builds | Group usage by app and job purpose; include failed runs and repeated checks. | Estimate how much work can share the Mac without creating scheduling or maintenance problems. | Compare the total environment cost, not one runner-minute figure with a machine price. |
| Frequent team workflows | Include pull request checks, branch builds, tests, releases, and concurrent demand. | Include the Mac’s availability, capacity fit, environment upkeep, and who responds to failures. | Consider a mixed setup when different jobs have different requirements. |
Multiple-app developer: Keep a separate estimate for each app before combining totals. One app may run quick checks frequently, while another only needs a macOS environment for release preparation. Combining them too early hides which workflow drives usage and whether a particular build can be shortened, moved, or scheduled differently.
Record the workflow, job, runner type, result, and duration for each run. Then flag jobs that repeat without adding a useful check. Examples include building the same target in separate workflows when one workflow could share an artifact, or rerunning a failed job whose failure came from a configuration issue rather than a transient runner problem. These are investigation prompts, not a promise that a specific change will reduce costs; measure the new runs after changing the workflow.
Small team with frequent builds: Include concurrency and retries in the estimate. A team can generate more runner usage when several pull requests, branch builds, test jobs, and release workflows overlap. GitHub’s Actions metrics documentation can help interpret usage and workflow performance. Check queued runs alongside completed jobs: queueing affects delivery time, while completed job usage is more relevant to a runner-cost estimate. GitHub also documents Actions limits, so verify current constraints before treating a runner change as a guaranteed way to remove waiting.
Developer evaluating a self-hosted Mac Runner: Treat “no GitHub runner-use charge” as one line in the comparison, not the total. GitHub describes self-hosted runners as machines you manage. That places the host, operating environment, maintenance, and availability work on the team or service provider. A machine that sits idle between jobs still has a cost if it is being rented or owned for that capacity.
For a self-hosted Mac estimate, include:
- The Mac’s rental period or ownership cost allocated to the build workload.
- Idle time when the host is reserved but no job is running.
- Initial setup and ongoing updates to macOS, Xcode, dependencies, and runner software.
- Time spent diagnosing failed jobs, restoring the environment, and keeping credentials appropriately controlled.
- Whether the machine’s available environment matches the project’s build and release needs.
Do not compare hosted billed minutes against a full Mac rental period as if they were the same unit. A hosted runner charge follows eligible job usage and current billing rules. A Mac environment may be paid for during idle periods, but it can also serve workloads that need sustained access or tighter control over installed tools. Estimate the useful workload the host can actually take on, then account for its upkeep.
Team considering a mixed setup: Jobs do not all need the same runner. Short, routine checks may remain on hosted runners, while tasks that need a persistent environment or a specific toolchain can be evaluated separately for a self-hosted Mac. The split is useful only if the team can maintain the Mac, route jobs deliberately, and keep the workflow understandable. Otherwise, the extra environment can add operational work without reducing the overall cost.
Is a GitHub self-hosted runner free if the Mac is not?
GitHub’s runner-use billing and the machine’s costs are separate. A self-hosted runner can avoid GitHub-hosted runner usage charges under the applicable rules, but a Mac still requires a source of hardware, an environment that stays ready, and someone responsible for maintenance. Include those costs before calling the build free.
A checklist before changing runners
Use this checklist with records from the same account and the same kind of work. If key information is missing, collect it before moving the workflow.
- [ ] Confirm whether each repository is public or private and identify the runner used by each macOS job.
- [ ] Review the account’s current included usage and billed usage in GitHub’s billing views.
- [ ] Record job-level execution times for pull request checks, branch builds, tests, and release workflows.
- [ ] Include failed runs, manual reruns, repeated checks, and overlapping team workflows.
- [ ] Apply the current runner-specific billing and rounding rules from GitHub’s official pages.
- [ ] For a self-hosted Mac, price the machine over its actual rental or ownership period and account for idle time.
- [ ] Assign an estimate to updates, environment recovery, credentials, and ongoing maintenance.
- [ ] Compare the resulting total with the actual bill and workload; decide whether to retain hosted runners, move suitable work to a Mac, or split the workflows.
When is an indie developer ready to move iOS builds to a self-hosted Mac?
Consider the move when actual records show a recurring workload that benefits from a Mac environment the team can maintain, and the full host cost compares favorably with the hosted option. It is not a good fit just because a private-repository bill looks high in isolation. If the workload is occasional, the Mac would sit idle, or nobody can own updates and recovery, hosted runners may remain the simpler choice.
Recheck the total, not just the runner line
A dependable GitHub Actions macOS Runner cost estimate uses actual job records, current account billing, and the cost of maintaining the environment. Private-repository usage, included account usage, runner-specific rules, job repetition, and Mac upkeep can all change the result. Recheck the estimate against the account’s actual bill before committing to a different build setup.
Hosted runners avoid the work of maintaining a Mac, but the bill can vary with eligible usage and repeated jobs. A self-hosted environment brings more control over the Mac setup, but adds machine, idle-time, and maintenance responsibilities. If those trade-offs make a dedicated Mac worth evaluating, compare the measured workload with SFTPMAC Mac rental options and review the available SFTPMAC Mac environment information. Renting is most useful when temporary or ongoing access to a real Mac fits the build plan; it is less suitable when the team needs to own physical interfaces or expects sustained heavy use that makes purchasing and managing its own hardware the better fit.