# Ten workflows are the bill. Find them before you tune anything.

> A few workflows are most of your Actions bill. Rank them, price them at 2026 runner rates, then fix triggers, caching, runner size, concurrency and retention.

Source: https://finopsaid.com/solutions/github-actions-cost-optimization/  
Updated: 2026-11-30  
Publisher: FinOpsAid (https://finopsaid.com)

---

**Short answer:** GitHub Actions cost optimization starts with ranking, not tuning: a handful of workflows usually produce most of the bill. Find them under Insights → Actions Usage Metrics, price them at GitHub's per-minute rates — $0.006 for Linux, $0.010 for Windows, $0.062 for macOS — then apply four levers to the top of the list: trigger filters, caching, runner sizing and cancelling superseded runs.

## Rank before you tune

CI cost is concentrated. A small number of workflows — usually an integration suite, a matrix build that grew a dimension nobody removed, and a nightly job whose purpose has been forgotten — account for most of the minutes. The long tail is genuinely cheap.

GitHub gives you the ranking. Under your organization's **Insights → Actions Usage Metrics**, the Workflows tab ranks minutes by workflow and the Jobs tab shows the heaviest jobs and where they ran. Those are minutes, not dollars, so weight them by runner rate — or pull the **detailed usage report** from **Billing & Licensing → Usage → Metered usage**, whose rows carry a workflow path and a billed amount. Fix the top ten; skip the org-wide campaign.

## The four levers that matter

- **Trigger discipline** — Path filters, branch filters, and not running the full suite on every draft push. The cheapest minute is one that never starts. Failed runs bill the minutes they used, and a rerun bills again.
- **Caching and reuse** — Dependency caches, build caches, and not rebuilding what a previous job already built. It compounds: every later run gets shorter, not just the next one.
- **Runner sizing** — A Linux 4-core runner costs $0.012 a minute, double the 2-core's $0.006, so it only pays if the job finishes in under half the time. Arm64 Linux is cheaper per minute than x64 at the same size. Test per workflow.
- **Concurrency and cancellation** — A concurrency group with cancel-in-progress set to true stops superseded runs when someone pushes three times in ten minutes. Pure waste elimination, no trade-off.

## Artifacts and retention are a different bill

Minutes are the compute. Artifacts and caches are **storage**, and it accrues hourly. Artifacts share one allowance with GitHub Packages — 2 GB on Team, 50 GB on Enterprise Cloud — then bill at **$0.25 per GB-month**. Caches get 10 GB per repository and bill at $0.07 only if someone raised the cache limit above that.

GitHub keeps artifacts and logs for **90 days by default**. Deleting an artifact stops future charges but doesn't remove what's already accrued this cycle, so retention is the fix, not cleanup. Set it shorter at repository, organization or enterprise level, or per artifact in actions/upload-artifact. It's the most commonly skipped optimisation in Actions.

## Self-hosted runners are not automatically cheaper

Self-hosted runners move the cost; they don't remove it. Today a self-hosted minute costs nothing on your GitHub invoice and doesn't draw on included usage. GitHub announced a $0.002-per-minute platform charge for self-hosted runners from 1 March 2026, then postponed it. Hosted runners got cheaper instead — by up to 39% on 1 January 2026 — so a comparison made in 2025 needs rerunning.

The cost lands on your cloud bill, plus maintenance and idle capacity. A GitHub-hosted runner costs nothing between jobs; a self-hosted fleet sized for peak costs the same at 3am as at 3pm unless it autoscales. The Runner type tab in Actions Usage Metrics compares self-hosted and hosted minutes, but nothing in GitHub prices an idle machine.

Because that cost lands on infrastructure you own, FinOpsAid models it from your own rates and labels the result an estimate — it isn't a figure GitHub bills you, and presenting it as one would be exactly the conflation we refuse to make.

## Measure per-merge, not per-month

Total CI spend rises when engineering does more work, which makes it a bad optimisation target. **Cost per merged pull request** holds still when volume changes and moves when efficiency does. A month where total spend rose and cost per merge fell is a successful month, and only one of those two numbers will tell you so.

## What FinOpsAid doesn't do

- It doesn't price self-hosted runners from GitHub data, because GitHub doesn't bill them — runner cost is modeled from the infrastructure rates you enter, and labelled an estimate.
- It doesn't cancel, re-route or speed up workflows; it's read-only and doesn't replace a runner provider.
- It doesn't show same-day Actions spend: billed usage arrives from GitHub's billing API with a lag of a few days.

## Frequently asked questions

### How do I reduce GitHub Actions costs?

Rank workflows by billed cost and fix the top ten. Find them in Insights → Actions Usage Metrics or the detailed usage report. Then add path and branch filters so full suites don't run on every push, cache dependencies and builds, right-size runners per workflow, and cancel superseded runs with cancel-in-progress. Org-wide tuning campaigns cost more time than they recover.

### How much do GitHub Actions minutes cost in 2026?

GitHub-hosted runners bill per minute by OS and size: $0.006 for Linux 2-core, $0.005 for Linux 2-core arm64, $0.010 for Windows 2-core and $0.062 for macOS 3- or 4-core. Larger runners run up to $0.552. Jobs round up to the whole minute, and your plan's included usage — $300 a month on Enterprise Cloud — is spent at these rates.

### Does GitHub charge a fee for self-hosted runners?

Not currently. GitHub announced a $0.002-per-minute platform charge for self-hosted runners from 1 March 2026, then postponed it to re-evaluate. Its billing documentation lists self-hosted runners as free, and they don't draw on your included compute usage. You still pay for the machines themselves on your cloud or data-centre bill.

### Are larger GitHub-hosted runners cheaper?

Sometimes. A Linux 4-core runner costs $0.012 a minute, double the 2-core rate, so it's cheaper overall only if the job finishes in less than half the time. That depends on whether the workload parallelises. Test it per workflow and compare total billed cost per run — it's an empirical question, not a global policy.

### Do GitHub Actions artifacts cost money?

Yes. Artifacts share a storage allowance with GitHub Packages — 2 GB on Team, 50 GB on Enterprise Cloud — and bill at $0.25 per GB-month beyond it, accruing hourly. Default retention is 90 days, and deleting an artifact doesn't refund what's already accrued. Shortening retention is the most commonly skipped Actions optimisation.

### Are self-hosted runners cheaper than GitHub-hosted?

Only if you account for idle capacity and maintenance. Self-hosted moves the cost from your GitHub invoice to your cloud bill, and a fleet sized for peak costs the same overnight as at midday unless it autoscales. Hosted rates fell by up to 39% in January 2026, so comparisons made before then favour self-hosted too much.

### How do I see what idle self-hosted runners cost us?

GitHub can't tell you, because it doesn't bill self-hosted minutes. Actions Usage Metrics compares self-hosted and hosted minutes by runner type, but not machine cost. You need utilization — online versus busy over time — plus your own infra rates. FinOpsAid's Runners page shows both and labels the resulting dollar figure as an estimate.

### How do I build a business case for cutting Actions costs?

Use your own billed numbers, not benchmarks. From the detailed usage report, rank workflows by net amount, then price the fixable waste: minutes spent on failed runs, superseded runs nobody cancelled, and storage held past its use. Add self-hosted idle capacity as a labelled estimate. Compare the total with the engineering time the fixes take.

---

Try FinOpsAid with your org (free, read-only): https://finopsaid.com/setup/ · Pricing: https://finopsaid.com/pricing/ · More guides: https://finopsaid.com/solutions/
