# GitHub Actions GPU runners: options, prices and setup

GitHub has one GPU runner, a T4, for Team and Enterprise Cloud organizations. Here is how to set it up, how to use it sparingly, and what other GPUs cost on your own runners.

November 27, 2026, by Supercorp.

GitHub Actions has GPU runners, but not on every plan and not as a label you can just write. There is one GPU runner: 4 CPUs, an NVIDIA Tesla T4 with 16 GB of memory, $0.052 a minute on Linux. It is a larger runner, so it needs a GitHub Team or Enterprise Cloud organization, and it is billed even in public repositories. Here is what GitHub offers, how to set it up, how to keep GPU minutes few, and what a GPU costs on your own runners.

## GitHub's GPU runner

From GitHub's [larger runners reference](https://docs.github.com/en/actions/reference/runners/larger-runners) and [runner pricing](https://docs.github.com/en/billing/reference/actions-runner-pricing):

| | |
|---|---|
| GPU | 1 NVIDIA Tesla T4, 16 GB of GPU memory |
| CPUs | 4 |
| Memory | 28 GB |
| Disk | 176 GB SSD |
| Systems | Ubuntu, Windows |
| Price, Linux | $0.052 a minute ($3.12 an hour) |
| Price, Windows | $0.102 a minute ($6.12 an hour) |
| GPU jobs at once | 100 |

What that means in practice:

- **Organizations on Team or Enterprise Cloud only.** Larger runners are "only available for organizations and enterprises using the GitHub Team or GitHub Enterprise Cloud plans", so a personal account or a Free organization has no GPU runner.
- **Always paid.** Larger runners are billed in public repositories too, and need a payment method. On Team and Enterprise Cloud they can draw on the plan's included usage, which is $18 or $300 a month: about 6 or 96 hours of the GPU runner.
- **One GPU, and a T4.** The T4 is from 2018. A model that needs more than 16 GB of GPU memory, or a newer GPU, does not fit.

## Setting one up

The GPU runner is created once, by an organization owner:

1. In the organization's **Settings → Actions → Runners**, choose **New runner → New GitHub-hosted runner**.
2. Give it a name, which becomes its label: say, `gpu-t4`.
3. Choose Linux x64, then under the image's **Partner** tab the **NVIDIA GPU-Optimized** image, which comes with NVIDIA's driver.
4. Under **Size**, choose from the **GPU-powered** tab.
5. Choose which repositories may use it, through its runner group.

Then a job asks for it by name:

```yaml
jobs:
  gpu-tests:
    runs-on: gpu-t4
    steps:
      - uses: actions/checkout@v7
      - run: nvidia-smi
```

The NVIDIA image is a partner image from the Azure Marketplace, not one of GitHub's runner images, so do not count on the tools GitHub's Ubuntu image has: set up Python, Node.js and the rest in the job.

## Use the GPU only for what needs it

At $3.12 an hour, a GPU runner is worth keeping for the work that needs a GPU.

**Run only GPU tests on it.** Mark the tests that use the GPU and run the rest on a standard runner:

```yaml
jobs:
  tests:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v7
      - run: pip install -r requirements.txt && pytest -m "not gpu"
  gpu-tests:
    runs-on: gpu-t4
    steps:
      - uses: actions/checkout@v7
      - run: pip install -r requirements.txt && pytest -m gpu
```

**Build on a CPU.** Compiling CUDA code needs the CUDA toolkit, not a GPU: build in NVIDIA's `nvidia/cuda` development image on a standard runner, pass the build on as an artifact, and run only the tests on the GPU runner.

**Run GPU jobs when they matter.** On pull requests that touch GPU code (`paths:`), on the default branch, or every night, rather than on every push.

## A GPU on your own runners

On your own runners, GPU jobs use none of GitHub's minutes, and the GPU can be any that your cloud has. By the hour in us-east-1 on AWS, and on Modal, on 12 October 2026:

| GPU | GPU memory | AWS machine | AWS spot | AWS on-demand | Modal, the GPU alone |
|---|---|---|---|---|---|
| T4 | 16 GB | g4dn.xlarge | $0.27 | $0.53 | $0.59 |
| L4 | 24 GB | g6.xlarge | $0.53 | $0.80 | $0.80 |
| A10G | 24 GB | g5.xlarge | $0.40 | $1.01 | $1.10 |
| L40S | 48 GB | g6e.xlarge | $1.83 | $1.86 | $1.95 |

The same T4 as GitHub's costs $0.27 to $0.53 an hour on AWS, against $3.12. Spot prices move through the day, and a spot machine can be taken back with two minutes' notice, which suits tests better than long training runs.

The catches:

- **A new AWS account has no GPU machines.** Its quotas for G instances, spot and on-demand, start at 0, and have to be raised in Service Quotas before the first GPU machine starts.
- **A machine left running costs the same as one that works.** A GPU machine kept waiting for jobs all month is about $380 at the T4's on-demand price, whether it runs one job or a thousand. Machines started for each job, and ended after it, cost only while jobs run.
- **The image needs NVIDIA's driver**, and for containers NVIDIA's container toolkit.

## With SuperCI

SuperCI, which we make, starts a fresh machine for each job in your own AWS or Modal account, with the GPU the label asks for, and ends it with the job:

```yaml
jobs:
  gpu-tests:
    runs-on: superci/gpu=t4
```

On AWS the machine runs Ubuntu 24.04 with NVIDIA's driver, the CUDA toolkit and the container toolkit; on Modal, the larger GPUs (A100, H100, H200, B200) are there too. `superci/gpu=any` takes the least costly GPU, a T4, and when AWS has no spot T4 it tries an L4, then an A10G, then the next cloud in your order. It needs no Team plan: it works for any account. [GPU runners](/docs/gpu) has every GPU, the sizes and the quotas to ask AWS for.

Related: [what a GitHub Actions minute costs](/blog/github-actions-pricing), on every runner.
