Reference / Runner templates and pricing
Runner templates and pricing
A job picks its machine with runs-on, directly or through an
executor. The label names one runner template from this table. You
cannot define your own.
Templates
Section titled “Templates”runs-on |
Arch | vCPU | Memory | Price per minute |
|---|---|---|---|---|
ubuntu-latest, ubuntu-26.04 |
amd64 | 2 | 8 GiB | $0.004 |
ubuntu-26.04-arm |
arm64 | 2 | 8 GiB | $0.0035 |
ubuntu-26.04-4core |
amd64 | 4 | 16 GiB | $0.008 |
ubuntu-26.04-4core-arm |
arm64 | 4 | 16 GiB | $0.0065 |
ubuntu-26.04-8core |
amd64 | 8 | 32 GiB | $0.016 |
ubuntu-26.04-8core-arm |
arm64 | 8 | 32 GiB | $0.012 |
ubuntu-26.04-16core |
amd64 | 16 | 64 GiB | $0.032 |
ubuntu-26.04-16core-arm |
arm64 | 16 | 64 GiB | $0.023 |
- Price is $0.002 per vCPU per minute on amd64, a little less on arm64, and includes the machine.
- Jobs are billed per second, with a 60-second minimum per job attempt. There are no free minutes. See Billing.
- Memory is 4 GiB per vCPU.
ubuntu-latestandubuntu-26.04are two names for one template.
Against GitHub Actions
Section titled “Against GitHub Actions”GitHub rounds each job up to the nearest whole minute. hatchrun bills per second with a 60-second minimum, and every template costs less per minute than GitHub’s paid rate for the same size. See Billing for the rates.
The machine
Section titled “The machine”- Each job gets a new machine that runs only that job and is then removed.
- Machines are on-demand capacity, never reclaimed in the middle of a job.
- The image is the hatchrun runner image: Ubuntu 26.04 with the layout of GitHub’s hosted runners, common toolchains, and Docker with Buildx.
- Steps can use
sudowithout a password. - The machine has no cloud credentials and cannot reach its host’s instance metadata. Outbound traffic is open except port 25.
Labels that name no template
Section titled “Labels that name no template”Any other label is an error in hatchrun validate, and the message
lists the labels that work:
jobs: test: runs-on: ubuntu-24.04 steps: - run: make test.hatchrun/config.yml: job `test` has `runs-on: ubuntu-24.04`, which names no runner template; use one of ubuntu-latest, ubuntu-26.04, ubuntu-26.04-arm, ubuntu-26.04-4core, ubuntu-26.04-4core-arm, ubuntu-26.04-8core, ubuntu-26.04-8core-arm, ubuntu-26.04-16core, ubuntu-26.04-16core-armhatchrun convert maps GitHub’s retired Ubuntu labels:
ubuntu-24.04 and ubuntu-22.04 become ubuntu-latest, and their
-arm forms become ubuntu-26.04-arm. macOS and Windows labels have
no template.