spendtron · Guide

Why macOS runners cost about 10× Linux, and when you need one

A standard macOS runner on GitHub Actions is $0.062 a minute. A standard 2-core Linux runner is $0.006. That's a factor of about 10.3. The larger macOS runners are $0.077 (12-core) and $0.102 (M2 Pro, 5-core).

In practice that means one 15-minute macOS job costs about the same as two and a half hours of Linux. A cross-platform test matrix that adds a macOS cell to every pull request often ends up as most of the bill, even though it's one cell out of many.

On public repositories, standard macOS runners are free like the other standard runners. The cost question is about private repositories and larger runners.

When a job really needs macOS

When it usually doesn't

Keep macOS off every pull request

The common fix keeps full coverage but changes when the expensive cell runs. Pull requests test on Linux. Pushes to main and a weekly schedule test on both:

on:
  pull_request:
  push:
    branches: [main]
  schedule:
    - cron: "0 6 * * 1"

jobs:
  test:
    strategy:
      matrix:
        os: ${{ github.event_name == 'pull_request'
              && fromJSON('["ubuntu-latest"]')
              || fromJSON('["ubuntu-latest", "macos-latest"]') }}
    runs-on: ${{ matrix.os }}
    steps:
      - uses: actions/checkout@v4
      - run: npm ci && npm test

If the macOS job is the slow, platform-specific one (an iOS build, say), give it a paths filter so it only runs when files it builds actually change.

Find out first

Before moving anything, check whether macOS is actually where the money goes. The detailed usage report has a sku column, and rows with actions_macos are the Mac minutes. spendtron sums them by workflow for you.

See which of your workflows costs what.

Drop GitHub's detailed usage report into spendtron and get a chart by workflow and runner. It's read in your browser, nothing is uploaded, and it's free.

Free tools: Workflow checker · Cost calculator · Self-hosted break-even · Larger runners
More guides: Runner pricing · macOS runner cost · The usage report · Cutting minutes
Rates and plan details from GitHub's documentation, checked November 2026. GitHub changes them; its pricing page is the authority.