GitHub Actions self-hosted runner cost and break-even utilization
Compare the full cost of a self-hosted runner pool with the hosted charges the same jobs would actually incur after unused account credit.
- Self-hosted Actions execution fee
- 0 USD/min
- Standard Linux x64 execution rate
- 0.006 USD/min
- Team shared compute allowance
- 18 USD/cycle
Decision guide
- GitHub-hosted
- Keep hosted capacity for variable workloads when the applicable account credit and job rate leave little cash to recover by owning machines.
- Two self-hosted slots
- Operate a runner pool when demand fits the available slots, a measured performance or hardware requirement justifies the setup, and the owner can sustain image and runner maintenance.
- Deciding factor
- Test the threshold against peak concurrency, queue delay and actual cost per successful build. Paid idle hours and undercounted labor can erase a nominal minute-rate advantage.
Comparison matrix
| Decision factor | GitHub-hosted | Two self-hosted slots |
|---|---|---|
| 24,000 comparison minutes | 126 USDEstimated | 209.6 USDEstimated |
| 50,000 comparison minutes | 282 USDEstimated | 222.6 USDEstimated |
What does GitHub charge when you supply the machine?
Self-hosted Actions execution carries a $0 GitHub runner fee. The organization that provides the machine pays for its capacity and upkeep. Savings depend on the hosted expense the move would eliminate.
Start from one billing cycle for a private repository and divide the work by execution environment. A Linux x64 compiler job, a macOS signing job and a workload that needs a particular accelerator should have separate comparisons. Check the GitHub Actions runner pricing for the corresponding machine, eligibility and rounding. A fleet of Linux machines cannot claim savings for macOS jobs that will continue on hosted runners. Public repositories already receive free standard hosted execution, so that particular comparison has no hosted compute charge to recover.
GitHub also distinguishes runner compute from artifacts and caches. Stored artifacts that remain in GitHub under the same retention policy can incur the same account charges after migration. Charge only the difference to the migration decision, while retaining the full expense in the operating budget.
Which parts of a runner pool cost money when it is idle?
Count every paid machine-hour from availability through retirement. A machine waiting for a matching job still occupies the allocated cloud or data-center capacity, even when the runner dashboard records no execution.
For an illustrative 30-day month, assume two always-on Linux x64 machines with one concurrent job per machine. Give each two virtual CPUs and 8 GiB of memory. Use a hypothetical internal charge of $0.09 per machine-hour. The pair runs for 1,440 machine-hours, so the fixed compute line is $129.60. Add $18 for persistent runner disks and monitoring, and one hour of maintenance valued at $50. The resulting $197.60 is the monthly fixed pool expense. These are planning inputs, independent of any cloud provider’s published price.
Separately assume $0.0005 per busy minute for metered transfer and temporary storage. This allocation covers only job-related costs outside the fixed $18. A real team should replace it with measured bytes, storage duration and applicable rates. Do not count a committed instance once as a fixed charge and again as a per-job rental.
At what volume does the example pool cost less?
With identical useful throughput on each platform, and one self-hosted busy minute for every hosted billable minute, the example fleet costs $197.60 plus $0.0005 times the number of minutes. Standard hosted Linux x64 costs $0.006 per billable minute before credit.
Suppose all $18 of the Team account’s included compute remains available for these private jobs. At 24,000 minutes, hosted gross usage is $144 and the additional bill is $126. Self-hosting costs $197.60 plus $12, or $209.60. At 50,000 minutes, the corresponding amounts are $282 hosted and $222.60 self-hosted. With positive hosted overage, the two equations meet at 39,200 minutes: each side costs $217.20. The assumed two-slot pool supplies 86,400 available minutes, so the crossover is about 45.4 percent busy time if those minutes fit the schedule.
When the account has already used its credit on other work, the crossover falls to roughly 35,928 whole minutes. If the credit would otherwise go unused, include it in the hosted comparison. When a different repository will consume the freed credit, compare changes to the complete account bill before booking a saving.
Will the cheaper fleet meet the deadline?
Test a busy interval against the number of matching slots. A moderate monthly utilization figure can conceal queues that make a release miss its build window. GitHub routes self-hosted jobs to available runners that match the requested labels and groups.
Suppose twelve ten-minute jobs become ready together and both runner slots are idle. Ignoring initialization, the first pair finishes in ten minutes and the final pair in sixty. The last two jobs wait about fifty minutes before execution. The same 120 busy minutes spread across a morning might produce no queue at all. For each important label group, record arrival time, start time, completion time and the longest tolerable wait. Compare the upper tail of wait time on release days with the service target.
A warm third machine adds another $64.80 of modeled instance time over the month before disk and operating overhead. It cuts this ideal twelve-job burst from six waves to four. Alternatively, consider ephemeral capacity that starts on demand. Price machine startup, image download and shutdown time even when none of those minutes completes a test.
How do you measure a comparable unit of work?
Use the successful delivery of an identical artifact or test suite as the unit of comparison. Measure both environments from the same commit with the same dependency lock file, cache policy and acceptance checks.
Record the runner application version, image digest or machine image, architecture, CPU and memory limit, and how many jobs shared the underlying host. Retain a cold-cache sample as well as a warm one. A persistent checkout may make the fastest run look excellent while concealing the cost of a newly created runner. Log setup and teardown separately so infrastructure charges can include machine lifetime while GitHub-hosted minute estimates follow their own job boundaries. A mismatch between the two minute counts is an observation to retain in the model.
Retries belong in the comparison. If a pool executes 100 attempts to produce 92 acceptable outputs, allocate its expense across 92 completed results. Compare the same definition of success on hosted capacity. Include any change to developer wait time as an operational outcome, with its own unit, so it stays distinct from cash an accountant can verify.
What should the pilot budget include before a fleet expands?
Give the runner pool an owner and measure the hours that owner spends keeping it usable. GitHub supplies the runner application, while the operator maintains the operating system, toolchain and build images.
Start with one workload class and a defined measurement period. Include image updates, replacing broken workers, storage cleanup, and restoring service after a failed image change. Label records by repository and environment to distinguish a capacity shortage from a routing mismatch. An idle general-purpose worker cannot satisfy a job assigned to a specialized group that it never joined. A pool that consumes little compute can still require substantial attention if its dependencies change each week.
For a Kubernetes deployment, GitHub’s Actions Runner Controller can scale runner sets with demand. Include the share of cluster capacity and operator time that the runner service requires. A disappearing runner pod saves a node charge only when the billed node capacity can actually shrink or be reused. At the end of the trial, compare measured tail latency, monthly infrastructure and labor against the original forecast. Expand to other repositories only when their peaks, environments and dependency patterns fit the same model.
Frequently asked questions
Is an existing machine effectively free?
Its next job might have little immediate cash cost if it has spare capacity. A fleet budget still needs its replacement, power, maintenance and the value of capacity consumed during another team’s peak.
Can a self-hosted runner use the monthly included compute balance to pay its cloud bill?
GitHub’s included value applies to eligible GitHub usage. AWS, Azure, a hosting provider or an internal data-center team bills the runner infrastructure separately.
Methodology and sources
GitHub runner responsibilities, hosted prices and credit eligibility were checked December 3, 2026. The fleet configuration, internal prices, staffing, job counts and runtimes are hypothetical. The comparison assumes equal useful throughput and excludes tax, contract-specific discounts and unchanged shared artifact costs.