Skip to content

GitHub Actions

Labels and prices

The four flockvm runs-on labels, their vCPU, RAM and disk, their per-second prices next to GitHub's, and the rules a job's labels must follow.

The runs-on: label of a job picks the size of its VM. There are four labels, each priced at a third of GitHub's hosted Linux x64 runner with the same number of vCPUs.

Prices

runs-on: Size vCPU RAM Disk Per minute Per hour GitHub-hosted, per minute
flockvm-small small 2 4 GB 50 GB $0.002 $0.12 $0.006 (2-core)
flockvm default 4 8 GB 50 GB $0.004 $0.24 $0.012 (4-core)
flockvm-large large 8 16 GB 110 GB $0.00733 $0.44 $0.022 (8-core)
flockvm-xlarge xlarge 16 32 GB 250 GB $0.014 $0.84 $0.042 (16-core)

flockvm-large is exactly $0.022 ÷ 3 per minute, shown rounded.

flockvm-xlarge runs one job at a time

The host in France shares 30 vCPUs between all its VMs, so one 16-vCPU flockvm-xlarge job fits at a time, and it waits queued while the host is busy. The CI page of the dashboard leaves out any label the host could not run at all; today it lists all four.

The CI page shows the labels you can use right now, with their prices, next to a workflow snippet you can copy.

The labels table lists only the sizes the host can run.

How billing works

A job bills its VM's whole life, from the creation of the VM to its deletion, by the second, at its label's CI price.

  • That includes about 25 seconds for the VM to boot and register the runner, then your steps, then the teardown.
  • There is no rounding to the minute. A job of 3 minutes 10 seconds of steps on flockvm bills about 3 minutes 35 seconds: about $0.0143.
  • A job that never gets a VM (refused, cancelled while queued, a size the host cannot run) costs nothing.
  • CI time is paid like VM time: from the plan's $18 for the period first, then from the wallet. Without a plan in good standing or credit left, new jobs fail at once with "held by flockvm" and the reason. See Plan and wallet. CI starts with the paid plan: during the free trial, new jobs are held. See CI during the trial.
  • The CI price is not the VM price of the same size. A flockvm-large job bills $0.44 an hour; a large VM you create from the dashboard bills $0.064 an hour. See Pricing.

Your CI spend shows on the CI page (Last 30 days, Jobs, Runner time, Per job, and a CI spend chart per UTC day), and runner VMs count in the organization's usage.

Label rules

GitHub matches a job to a runner by its labels. flockvm takes a job only when its labels follow these rules.

flockvm labelstringrequired

Exactly one of flockvm-small, flockvm, flockvm-large, flockvm-xlarge. A job with two flockvm labels, such as [flockvm, flockvm-large], is not taken.

self-hosted, linux, x64string

Optional. These three labels may sit next to the flockvm label; they change nothing. Any other label, such as ubuntu-latest, gpu or arm64, makes the job not flockvm's.

caserule

Case is ignored, as GitHub does: Flockvm-Large is flockvm-large.

A job that does not follow these rules is left to GitHub: flockvm ignores it and does not store it, so it does not show on the CI page.

Valid and invalid labels

Taken by flockvm
runs-on: flockvm
runs-on: flockvm-large
runs-on: [self-hosted, linux, x64, flockvm-small]
runs-on: [self-hosted, FLOCKVM]
Left to GitHub
runs-on: ubuntu-latest                 # not a flockvm label
runs-on: [flockvm, flockvm-large]      # two flockvm labels
runs-on: [flockvm, gpu]                # a label flockvm does not know
runs-on: flockvm-medium                # not a label

Pick a size per job

Different jobs of one workflow can use different labels. Keep cheap jobs on flockvm-small and give the heavy ones more cores.

.github/workflows/ci.yml
name: CI
on: [push, pull_request]

jobs:
  lint:
    runs-on: flockvm-small    # 2 vCPU, 4 GB
    steps:
      - uses: actions/checkout@v4
      - run: npm ci && npm run lint

  build:
    runs-on: flockvm-large    # 8 vCPU, 16 GB, 110 GB disk
    steps:
      - uses: actions/checkout@v4
      - run: make -j"$(nproc)"

To make the label a choice, use an expression:

jobs:
  test:
    runs-on: ${{ github.event_name == 'push' && 'flockvm-large' || 'flockvm' }}

Next steps