# Membl vs GitHub Actions: Per-second execution and in-place caches vs default hosted VMs

GitHub Actions wins for public open-source repos, macOS or Windows jobs, and usage inside your included plan allowance. Membl wins on busy private Linux repos where per-second vCPU billing and in-place block-overlay caches cut matrix tar stalls.

Canonical HTML: https://membl.io/vs/github-actions
Markdown Twin: https://membl.io/vs/github-actions.md
Competitor Sources Checked: 2026-11-22

## Sourced Switching Triggers & Architecture Comparison

| Dimension | Membl (Hosted Linux) | GitHub Actions | Switching Trigger | Source |
|---|---|---|---|---|
| **Billing granularity** | Per active vCPU-second (15s minimum per job). Queue and boot seconds cost $0.00. | Rounds minutes and partial minutes each job uses up to the nearest whole minute. | Short lint, typecheck, and matrix shards finishing at 1m 05s or 2m 10s. | [GitHub Actions runner pricing](https://docs.github.com/en/billing/reference/actions-runner-pricing) |
| **Linux x64 unit rates** | $0.001998/vCPU-min ($0.0000333/vCPU-second, about $0.004/min at 2 vCPU), on every plan. Membl sizes runners automatically without fixed size tiers. | $0.006/min on standard 2-core x64 (8 GB RAM) and $0.012/min on 4-core larger runners (16 GB RAM, requires GitHub Team or Enterprise Cloud). | Running private Linux x64 jobs past your included GitHub plan allowance. | [GitHub Actions runner pricing](https://docs.github.com/en/billing/reference/actions-runner-pricing) |
| **Dependency cache model** | Jobs mount shared read-only block-overlay caches in place on membl runners and upload only changed megabytes on save. | 10 GB repository cache allowance via network download and tar/zstd extraction inside billed job minutes. | Monorepo pnpm, Cargo, uv, or Playwright caches exceeding 2 to 10 GB across matrix shards. | [GitHub Actions billing & cache storage](https://docs.github.com/en/billing/concepts/product-billing/github-actions) |
| **Cost observability & coding agents** | Itemized per-job queue, boot, execution, and dollar receipts plus @membl/mcp tools for coding agents. | Organization-level billing summaries in GB-hours and rounded minutes without per-job MCP failure tools. | AI coding agents pushing frequent PRs that need fast failure logs and spend visibility. | [GitHub-hosted runners reference](https://docs.github.com/en/actions/reference/runners/github-hosted-runners) |
| **OS and machine breadth** | Hosted Linux single-use sandboxes (membl-x64 and membl-arm) sized automatically from live job telemetry. | Linux x64/arm64 (1 to 96 cores), Windows x64/arm64, macOS Intel/Apple Silicon, and GPU larger runners. | Stay on GitHub-hosted runners for iOS, Windows, GPU, or fixed large VM workloads. | [GitHub-hosted runners reference](https://docs.github.com/en/actions/reference/runners/github-hosted-runners) |

## Monthly Linux x64 Pricing Math (20k, 100k, and 400k vCPU-Minutes)

| Monthly Usage (vCPU-min) | Membl Compute Usage | Membl Starter All-In ($25/mo) | Membl Team All-In ($75/mo) | GitHub Actions Published Cost | Notes |
|---:|---:|---:|---:|---|---|
| 20,000 vCPU-min (10,000 min at 2 vCPU) | $39.96 | $49.96 | $75.00 | $60.00 | Compares 20,000 billed x64 vCPU-minutes on Membl with 10,000 minutes on GitHub's 2-core runner ($0.006/min). Whole-minute rounding and tar-cache restores add extra billed minutes on GitHub. |
| 100,000 vCPU-min (50,000 min at 2 vCPU) | $199.80 | $209.80 | $229.80 | $300.00 | At 100k vCPU-minutes (50k 2-core minutes on GitHub), skipping archive unpack per shard lowers total billed time on Membl. |
| 400,000 vCPU-min (200,000 min at 2 vCPU) | $799.20 | $809.20 | $829.20 | $1,200.00 | High-concurrency orgs pair Membl Business (256 concurrent vCPU) with per-second vCPU billing. Actual bills depend on included usage, plan fees, job duration, and other charges. |

Membl figures are computed from pricing/rates.v1.json: $0.001998/vCPU-min ($0.0000333/vCPU-second, about $0.004/min at 2 vCPU), billed per second with a 15-second minimum per job and $0.00 queue/boot time. Starter ($25/mo) includes $15 monthly credit and up to 16 concurrent vCPU. Team ($75/mo) includes $45 credit and 64 concurrent vCPU. GitHub Actions figures use published overage list rates ($0.006/min on 2-core Linux x64, rounded up to whole minutes per job) before plan-included usage. Actual bills depend on included usage, plan fees, job duration, and other charges. Checked 2026-11-22.

- Source (2026-11-22): [GitHub Docs: Actions runner pricing](https://docs.github.com/en/billing/reference/actions-runner-pricing)
- Source (2026-11-22): [GitHub Docs: GitHub Actions billing](https://docs.github.com/en/billing/concepts/product-billing/github-actions)

## Switch in 2 minutes

1. Create an account at https://app.membl.io/sign-in (for $25 in beta runner credit, ask at https://membl.io/contact?source=vs-github-actions&credit=25) and install the Membl GitHub App on your organization.
2. Merge the automated 1-line pull request changing `runs-on` from `ubuntu-latest` to `runs-on: membl-x64` (or `runs-on: membl-arm` for Linux Arm jobs).
3. Keep every existing GitHub Action, secret, OIDC token, matrix strategy, and trigger intact with zero workflow YAML step rewrites.

```yaml
jobs:
  test:
    # Before: runs-on: ubuntu-latest
    runs-on: membl-x64
    steps:
      - uses: actions/checkout@v4
      - run: pnpm test
```

## Where GitHub Actions is the better choice

- Public open-source repositories: standard GitHub-hosted Linux, Windows, and macOS runners are free and unlimited on public repos.
- Multi-OS and high-core runners: GitHub offers native macOS (M1/M2 Pro/Intel), Windows x64/arm64, GPU instances, and Linux larger runners from 8 to 96 cores.
- Light private usage inside included plan credits: if your monthly private CI usage stays comfortably inside your existing GitHub Free, Team, or Enterprise included compute allowance, staying on default runners costs $0 extra.
- Custom VM images: GitHub larger runners let enterprise teams bake custom OS images directly inside GitHub's runner fleet.

## Buyer FAQ

### How does billing differ between Membl and GitHub Actions?

GitHub Actions lists 2-core Linux x64 at $0.006/minute and rounds every job up to the next whole minute, including time spent downloading and extracting actions/cache tarballs. Membl bills Linux x64 overage at $0.001998/vCPU-minute (about $0.004/minute at 2 vCPU) per execution second with a 15-second job minimum and $0 for queue and boot time.

### Can I keep macOS or Windows jobs on GitHub Actions while moving Linux jobs to Membl?

Yes. Runner labels are set per job in .github/workflows/*.yml. Teams route Linux jobs to membl-x64 or membl-arm while leaving macOS or Windows build jobs on GitHub-hosted labels in the same workflow.

### Do I have to rewrite actions/checkout, secrets, or matrix strategies?

No. Installing the Membl GitHub App and updating runs-on keeps your existing GitHub Actions steps, OIDC permissions, secrets, artifacts, and matrix definitions intact.

### How do we roll back to ubuntu-latest if needed?

Revert the 1-line runs-on change in your workflow file or toggle the repository off in Membl. Subsequent runs execute on GitHub-hosted runners immediately.

## Model Your Workload or Claim Beta Runner Credit

- Interactive pricing calculator: https://membl.io/calculator
- Claim $25 in hosted membl beta runner credit: https://membl.io/contact?source=vs-github-actions&credit=25
- All runner comparisons: https://membl.io/vs
