GitHub Actions bills per minute, rounded up per job, and the rate depends heavily on the runner. Here are the list prices for private repos (GitHub's pricing page, Nov 2026):

Runner $/min vs Linux 2-core
Linux 2-core (ubuntu-latest) $0.006 1x
Linux 2-core arm64 $0.005 0.8x
Windows 2-core (windows-latest) $0.010 ~1.7x
macOS 3/4-core (macos-latest) $0.062 ~10x
macOS 5-core M2 Pro (xlarge) $0.102 17x
Linux 16-core (larger) $0.042 7x
Linux 64-core (larger) $0.162 27x
Windows 64-core (larger) $0.322 ~54x

Two details catch people:

  1. Rounding is per job. A 10-job matrix where every job takes 20 seconds bills 10 minutes, not 3.3.
  2. Larger runners are billed on public repos too. Only standard runners are free for public repositories.

What one PR actually costs

Take an ordinary iOS + backend repo:

  • test-ios on macos-latest: 14 min → 14 × $0.062 = $0.87
  • test-api matrix (3 Node versions) on ubuntu-latest: 3 × 6 min → 18 × $0.006 = $0.11
  • lint on ubuntu-latest: 1 min → $0.006

That's about $0.98 per push. A PR that takes 6 pushes (normal with review fixes, and low if an agent is iterating) costs about $5.90. At 40 PRs a week, that's about $1,000 a month, and ~88% of it is the one macOS job.

None of that shows up anywhere a developer looks. The billing page is monthly, org-wide, and usually only an admin can see it.

Why showing it on the PR changes behavior

Developers already react to what's in the PR: failing checks, coverage drops, bundle-size diffs. Cost works the same way. When the PR says "this PR: $5.90, +$4.10 vs main, most expensive job: test-ios $0.87/run", the fixes are obvious and cheap:

  • paths: filters so docs-only PRs skip the macOS job
  • concurrency: { group: ${{ github.workflow }}-${{ github.ref }}, cancel-in-progress: true } so stale pushes stop billing
  • moving non-Apple steps (lint, unit tests, codegen) off macOS onto Linux
  • collapsing tiny matrix jobs that each eat a rounded-up minute
  • caching the dependency install that's 4 of the 14 macOS minutes

None of these need a platform team. They need someone to notice, and a number on the PR is how they notice.

How I'm doing it

I built PRCost, a GitHub App that listens for workflow_run, reads job start and finish times from the Actions jobs API, rounds each up to the minute, multiplies by the runner's list price, and keeps one comment on the PR updated. It's free for one repo. Here's a live example.

If you'd rather DIY, the same math is about 40 lines in a workflow step with gh api repos/{owner}/{repo}/actions/runs/{id}/jobs. The point is the number, not the tool.

Note: the example numbers are illustrative math from the published rates, not a customer's bill.