GitHub Actions vs GitLab.com hosted runners

Both are CI services that give each job a fresh VM and remove it when the job ends. GitHub Actions runs jobs from GitHub repositories for up to 6 hours. GitLab.com hosted runners run jobs from GitLab projects for up to 3 hours.

The companies and products

GitHub Actions

GitHub Actions is GitHub's CI/CD service: workflows in your repository run as jobs on runners that GitHub hosts or that you host yourself.

GitHub Actions is a CI service, not a general sandbox API. Each job on a GitHub-hosted runner gets a new VM with passwordless sudo, and GitHub removes the VM when the job ends. Windows and larger runners run on Azure, standard Linux runners run on a multi-cloud pool, and macOS runs on GitHub's own Mac fleet. The 1-CPU slim runner is a container, not a VM. Actions is built to build, test and deploy the code in a repository. The Copilot cloud agent runs on Actions runners when you start it from the web or Copilot Chat. The newer Copilot in the cloud runs in a Copilot cloud sandbox by default: an isolated Linux session that keeps a snapshot when it stops.

GitLab.com hosted runners

GitLab.com hosted runners are the machines that run GitLab CI/CD jobs for projects on GitLab.com, paid for in compute minutes.

This is a CI service, not a sandbox API. Each job gets a new VM on Google Cloud (Linux and Windows) or on AWS Mac hardware (macOS), with passwordless sudo. GitLab deletes the VM right after the job. It is built to build, test and deploy the code in a GitLab project. GitLab's Duo Agent Platform can also run Claude Code and Codex agents as CI/CD jobs on these runners.

Which use cases each one fits

For each use case, Battleships prices every sandbox provider on the same workload and sorts them from the cheapest monthly bill up. “85th cheapest of 374” means 84 of the other 373 providers run that workload, with every feature it needs, for less. “With limits” means the provider runs it but misses something, so it is listed after every full match. Open a use case for its whole ranking and what each provider misses.

Use case and its workloadGitHub Actions: price rankGitLab.com hosted runners: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
A software factory needs agents that keep their checkout and Docker cache between tasks. On both services you set it up: restore them from the cache or artifacts at each job (GitLab caps a cache archive at 5 GB), or from a larger-runner custom image on GitHub. Each job still ends within 6 hours on GitHub or 3 on GitLab.
304th of 365, with limits
$5,553 a month
348th of 365, with limits
$14,454 a month
5th cheapest of 365
$634 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
An assistant that lives on its machine all month does not fit jobs that end after 6 hours on GitHub or 3 hours on GitLab. You can chain scheduled jobs and carry files in the cache, but each job starts on a clean VM.
151st of 361, with limits
$12,882 a month
350th of 361, with limits
$21,858 a month
6th cheapest of 361
$657 a month
Code interpreter bursts
100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month
288th of 336, with limits
$721 a month
314th of 336, with limits
$1,896 a month
189th of 336, with limits
$2,000 a month
Sandboxes for your users
300 at once · 2 vCPU / 4 GB · 30,000 sessions of 23 min a month
Neither takes public inbound traffic, and GitHub's terms rule out offering Actions as a service, so neither is built to hand machines to your users.
302nd of 349, with limits
$2,892 a month
326th of 349, with limits
$6,133 a month
3rd cheapest of 349
$209 a month
RL rollouts
1,000 at once · 2 vCPU / 4 GB · 1,000,000 sessions of 3 min a month
297th of 349, with limits
$14,721 a month
312th of 349, with limits
$29,762 a month
39th of 349, with limits
$2,000 a month
Agent evals
250 at once · 4 vCPU / 8 GB · 15,000 sessions of 20 min a month
299th of 359, with limits
$1,662 a month
327th of 359, with limits
$4,758 a month
10th cheapest of 359
$200 a month
CI runners
40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month
Both fit, and the right one is usually the one where your code lives. boat also fits, for CI that wants a warm disk between runs or jobs past 3 or 6 hours; you bring the CI runner.
85th cheapest of 374
$729 a month
129th cheapest of 374
$2,089 a month
2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
A dev box needs SSH, open ports and a disk that stays. Hosted runners on both services block public inbound traffic and remove the VM after the job; GitLab's web terminal works only on runners you host yourself.
253rd of 371, with limits
$71 a month
361st of 371, with limits
$805 a month
19th cheapest of 371
$26 a month
Computer-use agents
50 at once · 4 vCPU / 8 GB · 20,000 sessions of 15 min a month
Neither provides a desktop stream. You set it up: a Linux job on either service can install a virtual display such as Xvfb and a browser, but nobody can watch it live from outside. boat streams a 1920x1080, 60 fps desktop with computer tools for agents.
306th of 367, with limits
$1,502 a month
344th of 367, with limits
$4,278 a month
7th cheapest of 367
$200 a month
Browser-use agents
50 at once · 2 vCPU / 4 GB · 30,000 sessions of 10 min a month
198th of 356, with limits
$942 a month
213th of 356, with limits
$2,118 a month
7th cheapest of 356
$200 a month
Scraping & bots (startup scale)
50 at once · 1 vCPU / 2 GB · 100,000 sessions of 3 min a month
202nd of 343, with limits
$1,184 a month
218th of 343, with limits
$2,854 a month
6th cheapest of 343
$90 a month
Mass scraping & bots (undetectable)
1,000 at once · 1 vCPU / 2 GB · 3,000,000 sessions of 2 min a month
296th of 327, with limits
$28,971 a month
314th of 327, with limits
$58,429 a month
73rd of 327, with limits
$1,800 a month
Parallel red teaming
200 at once · 2 vCPU / 4 GB · 5,000 sessions of 30 min a month
123rd of 351, with limits
$467 a month
145th of 351, with limits
$1,383 a month
3rd cheapest of 351
$200 a month
GPU eval jobs
10 at once · 8 vCPU / 32 GB · 500 sessions of 30 min a month
Both offer a Linux runner with an NVIDIA T4, which on GitLab needs Premium or Ultimate. boat has no GPU on any size.
Not ranked: misses a requirementNot ranked: misses a requirementNot ranked: misses a requirement
macOS agents
5 at once · 4 vCPU / 8 GB · 1,000 sessions of 20 min a month
Both host macOS runners on Apple silicon; GitLab's are in beta and need Premium or Ultimate. boat runs Linux only.
23rd of 35, with limits
$1,178 a month
22nd of 35, with limits
$1,069 a month
Not ranked: misses a requirement

Key features

FeatureGitHub ActionsGitLab.com hosted runnersboat
Kind of productCI service: jobs run from workflow files in a GitHub repositoryCI runners: jobs run from a GitLab project's .gitlab-ci.ymlSandbox API: create, stop, fork and reach machines from your code
IsolationNew VM per job with passwordless sudo; Windows and larger runners on Azure, standard Linux on a multi-cloud pool, macOS on GitHub's Mac fleetNew VM per job on Google Compute Engine, deleted right after; Linux jobs run in a privileged Docker containerFull VM with its own kernel, root and systemd, on hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared
Job lengthUp to 6 hours per jobUp to 3 hours per job, whatever the project settingAuto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no session cap
Disk between runsFresh VM every job. You set it up: the cache, artifacts, or a larger runner's disk saved as a custom imageFresh VM every job. You set it up: the CI cache (5 GB per archive, removed after 14 days unused) or artifactsDisk saved every minute and at each stop, kept at least 14 days after a stop; memory and running programs are not saved
ForkNo live fork; a larger runner's custom image is a template for new runnersNo VM fork; every job starts from a fresh VM and a container imageFork a running sandbox from its last 1-minute snapshot
Nested virtualizationYes on Linux runners, after adding the runner user to the KVM groupNot documented; privileged mode is described for Docker-in-Docker onlyYes, /dev/kvm on every sandbox for Android emulators and VMs
Inbound accessNo public inbound access; runners joined to your Azure network can be reached only from inside itGitLab's firewall blocks inbound traffic; the web terminal works only on runners you host yourselfSSH, up to 50 token-gated HTTPS URLs, public IPv6; raw ports on sandboxes without their own IPv4 work over IPv6 only
Desktop and computer useNo desktop stream; browsers preinstalled for tests. You set it up: a virtual display such as XvfbNo desktop stream; a Linux job can install Xvfb and a browser. macOS runners do not support UI-interaction jobsLinux desktop and Chrome streamed at 1920x1080, 60 fps, with computer tools for agents
Coding agentsCopilot cloud agent, plus Claude and Codex in public preview, on issues and pull requestsDuo Agent Platform runs Claude Code and Codex (plus Amazon Q and Gemini with your own credentials) from issues and merge requests, on Premium and Ultimate, once GitLab support turns it onSeven agent harnesses installed, driven from any program with a prompt, steer and events API
Keeping API keys out of the machineSecrets enter the job as inputs or environment variables and are hidden from logs; OIDC gives short-lived cloud tokensGitLab-managed credentials for its Claude and Codex agents; other secrets enter as CI/CD variablesOptional AI credentials proxy ($1 per day on, plus $1 per 1,000 requests): with it on, real keys of supported providers stay out; other secrets still enter
Operating systems and GPUsLinux x64 and arm64, Windows x64 and arm64, macOS, and NVIDIA T4 larger runnersLinux x64 and Arm64, Windows (beta), macOS on Apple silicon (beta), and a Linux T4 runnerLinux x64 only, no GPU; Windows programs through Wine
Jobs at onceStandard runners: 20 on Free, 40 on Pro, 60 on Team, 500 on Enterprise. Larger runners: 1,000 on Team and Enterprise. GitHub Support can raise limitsNo published cap on runner VMs at once; new jobs stop when the group's minutes run out100 at once on $20, up to 2,000 on $2,000. Included starts per plan ($2,000: 90 a minute); extra starts cost $0.03 to $0.07; starts above 3 times the included number per minute fail with 429
Regions and networkingLarger runners can get static IP ranges or join your Azure network in the US, EU and APACGoogle Cloud us-east1 and us-east5 for Linux x86-64, us-central1 for Arm64 and GPUGermany, Finland and France; no US or Asia region, no region choice; open internet
Self-hostingOpen-source runner under MIT; usage on self-hosted runners is free todayOpen-source GitLab Runner under MIT; jobs on your own runners use no compute minutesCloud only
Every feature Battleships tracks (43)
FeatureGitHub ActionsGitLab.com hosted runnersboat
Full VM (own kernel)YesYesYes
Docker insideYesYesYes
Nested virtualizationYesNo documented wayYes
RootYesYesYes
SystemdNo documented wayNo documented wayYes
Desktop GUINo documented wayNo documented wayYes
BrowserYesYesYes
Computer-use APINo documented wayNo documented wayYes
SSHNo documented wayNo documented wayYes
Persistent diskNo documented wayNo documented wayYes
Pause/resumeNo documented wayNo documented wayYes
Automatic snapshotsNo documented wayNo documented wayYes
Fork/cloneNo documented wayNo documented wayYes
Live fork (no pause)No documented wayNo documented wayYes
Memory forkNo documented wayNo documented wayNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsNo documented wayNo documented wayYes
Idle auto-stopYesYesNo documented way
Wake on requestNo documented wayNo documented wayNo documented way
HTTPS preview URLsNo documented wayNo documented wayYes
Raw TCP inboundNo documented wayNo documented wayYes
Public IPv4No documented wayNo documented wayNo documented way
Egress allowlistYesNo documented wayNo documented way
Secret proxyNo documented wayYesYes
Secret proxy for any APINo documented wayNo documented wayYes
Preinstalled agentsYesYesYes
Agent harness APIYesYesYes
MCP serverYesNo documented wayNo documented way
GPUYesYesNo documented way
WindowsYesYesNo documented way
Arm64YesYesNo documented way
Self-hostingYesYesNo documented way
BYOCNo documented wayNo documented wayNo documented way
Open sourceYesYesNo documented way
Scoped API keysNot publishedNot publishedYes
Spend limitsYesNot publishedYes
Usage per sandbox (API)YesNo documented wayYes
Audit logsYesYesNo documented way
SSOYesYesNo documented way
SOC 2YesYesNo documented way
HIPAANo documented wayNo documented wayNo documented way
EU data residencyYesNo documented wayNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

GitHub ActionsNot measured
GitLab.com hosted runnersNot measured
boat28.06 runs/s

Neither GitHub Actions nor GitLab.com hosted runners is in the public benchmarks we use, so we cannot say which is faster. For reference, boat did 28.06 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, second of 15 in StarSling's run of 3 October 2026 (run 37073680030). Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host. boat also places some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure.

V8 Web Tooling Benchmark at a 4 vCPU / 8 GB target, runs per second, higher is better. Source: StarSling's run of 3 October 2026 (run 37073680030), median of 5 sandboxes. Providers ran on different hardware in different regions. StarSling gives a shared rank when the run cannot separate two providers. Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host. boat also places some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure. GitHub Actions and GitLab.com hosted runners are not in the public benchmarks we use, so we cannot say which is faster.

Pricing in five scenarios

Each bill is priced from the providers' public price lists by the open Battleships engine, with the cheapest plan that runs the scenario. Start limits, per-start fees and plan minimums are in the price, boat's included.

ScenarioGitHub Actions, a monthGitLab.com hosted runners, a monthboat, a month
One coding agent, workdays
4 vCPU / 8 GB, 50 GB disk, 8 hours a day, 22 days a month, files kept between days
$21 · Enterprise Cloud · with limits$119 · Premium · with limits$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$71 · Enterprise Cloud · with limits$805 · Premium · with limits$26 · $20/mo
50 agents in parallel
50 machines of 4 vCPU / 8 GB at once, 8-hour sessions, 1,100 sessions a month, Docker inside
$3,565 · Enterprise Cloud · with limits$9,491 · Premium · with limits$317 · $20/mo × 3 seats
Sandboxes for your users
2 vCPU / 4 GB, 30,000 sessions of 10 minutes a month, up to 300 at once
$1,092 · Enterprise Cloud · with limits$2,658 · Premium · with limits$200 · $100/mo × 2 seats
1,000 short jobs at once
2 vCPU / 4 GB, 1,000 at once, 3 minutes each, 200,000 jobs a month
$2,721 · Enterprise Cloud · with limits$5,896 · Premium · with limits$8,800 · $2000/mo · with limits

GitHub Actions: GitHub bills per minute per job, rounding each job up to the next whole minute, from $0.006 a minute for 2-core Linux. Each plan includes a monthly compute amount in dollars ($12 Free, about 2,000 minutes of 2-core Linux; $18 Pro and Team; $300 Enterprise Cloud), shared with Copilot cloud sandboxes. Larger runners draw from it on Team and Enterprise. Public repositories use standard runners for free.

GitLab.com hosted runners: Each job uses compute minutes equal to its run time times a cost factor, from 1 for small Linux up to 12 for the biggest machines. Plans include 400 minutes on Free, 10,000 on Premium ($29 per user a month, billed yearly) and 50,000 on Ultimate. Extra minutes cost $10 per 1,000, bought ahead of time. When included minutes run out, new jobs stop until you buy more.

GitLab.com hosted runners: Plans cost $20, $100, $500 or $2,000 a month. The whole plan price comes back as VM time for that month, and it does not carry over. A default sandbox (4 vCPU / 8 GB) costs $0.036 an hour, billed per second while it runs, busy or idle. A stopped sandbox has no compute charge; saved snapshots above the included count and the AI credentials proxy still charge. The $20 plan includes 200 starts a day; each extra start costs $0.03 to $0.07.

Limits in those scenarios

Neither fits any of the five agent scenarios: both are CI services, the runner's disk does not carry to the next job unless you save files to a cache or artifacts, and jobs end after 6 hours on GitHub and 3 hours on GitLab. For 1,000 short jobs at once, GitHub Enterprise standard runners stop at 500 concurrent jobs; larger runners on Team and Enterprise allow 1,000, and GitHub Support can raise limits. GitLab publishes no limit on how many runner VMs run at once, so the 300 and 1,000 machine scenarios are not confirmed there. On GitLab, new jobs stop when a group's minutes run out until you buy more or the month resets. On boat the 1,000-job burst does not fit as priced either: the $2,000 plan includes 90 starts a minute, extra starts cost $0.03 to $0.07, and starts above 270 a minute fail with 429. boat never queues a start.

ScenarioGitHub ActionsGitLab.com hosted runnersboat
One coding agent, workdays
  • Enterprise Cloud: sessions capped at 6 h
  • different kind of product: CI runner
  • Premium: sessions capped at 3 h
  • missing persistent disk
  • different kind of product: CI runner
  • no persistent disk: files lost when it stops or sleeps
None for this scenario
One agent that never stops
  • Enterprise Cloud: sessions capped at 6 h
  • different kind of product: CI runner
  • Premium: sessions capped at 3 h
  • missing persistent disk
  • different kind of product: CI runner
  • no persistent disk: files lost when it stops or sleeps
None for this scenario
50 agents in parallel
  • Enterprise Cloud: sessions capped at 6 h
  • different kind of product: CI runner
  • Premium: sessions capped at 3 h
  • missing persistent disk
  • different kind of product: CI runner
  • no persistent disk: files lost when it stops or sleeps
None for this scenario
Sandboxes for your users
  • different kind of product: CI runner
  • different kind of product: CI runner
  • not confirmed: how many machines can run at once (you need 300; the typical published limit is 50)
  • egress price not published
None for this scenario
1,000 short jobs at once
  • Enterprise Cloud: max 500 concurrent
  • different kind of product: CI runner
  • needs talk to sales: above plan "Enterprise Cloud" limits: contact sales for more
  • different kind of product: CI runner
  • not confirmed: how many machines can run at once (you need 1,000; the typical published limit is 50)
  • egress price not published
  • 2,400 starts/day included, paid above that (needs ~6,667)
  • 600 starts/hour included, paid above that (needs ~1,000)
  • starts above 90/min are paid, and starts above 270/min fail with 429

Which one should you use?

Use GitHub Actions when

your code is on GitHub, when jobs need up to 6 hours, KVM for Android emulators or Windows arm64, or when you want larger runners inside your Azure network.

  • Longer jobs. A GitHub Actions job can run for up to 6 hours, twice the 3-hour cap on GitLab.com hosted runners.
  • KVM and more OS choices. Teams running Android emulators or building for Windows arm64 get documented KVM and arm64 Windows on GitHub-hosted runners.
  • Your own network and clear limits. Larger runners can join your Azure network or get static IP ranges, and each plan states how many jobs run at once.

Use GitLab.com hosted runners when

your code is on GitLab.com, when you want big Linux machines up to 32 vCPU, a hard minutes quota, or Claude Code and Codex agents with GitLab-managed keys.

  • Native CI for GitLab projects. If your code lives on GitLab.com, hosted runners are on by default for every project, with nothing extra to wire up.
  • Agent keys kept out for Claude and Codex. GitLab's Claude Code and Codex agents use GitLab-managed credentials through an AI Gateway, so those model keys stay out of the job.
  • Big Linux machines and a hard quota. Premium and Ultimate offer Linux runners up to 32 vCPU and 128 GB, and a hard minutes quota stops surprise overage.

Where boat fits

If what you run is agents, not CI jobs, both services make you fit them into jobs: each job is a fresh VM that ends after 6 hours on GitHub or 3 hours on GitLab, with no public way in. boat gives each agent a full VM that keeps its disk between runs and can be reached over SSH and HTTPS. Keep your CI where your code lives, and run the agents on boat.

A machine that stays

On both services every job starts clean. You carry files with a cache or artifacts, and GitLab caps a cache archive at 5 GB. boat saves the disk every minute and at each stop, and keeps a stopped disk at least 14 days. Memory and running programs are not saved. Auto-stop defaults to 1 hour; turn it off on a paid plan for long work.

Reach it from outside

Neither GitHub nor GitLab lets public traffic into a hosted runner, so a preview, a webhook or a live look at the agent needs a third-party tunnel inside the job. boat gives SSH, up to 50 token-gated HTTPS URLs and a 60 fps desktop.

Agents driven from any program

Both start agents from issues and pull or merge requests. GitLab keeps model keys out for its managed Claude and Codex agents; other tokens sit inside the VM as variables. boat drives seven agent harnesses from any program, and its optional paid AI credentials proxy keeps real keys of supported providers out of the sandbox.

Use boat when what you run is agents rather than CI jobs: each one needs its own Linux machine that keeps its disk between runs, runs past 3 or 6 hours, takes inbound traffic and shows a desktop. Compare it one to one: boat vs GitHub Actions and boat vs GitLab.com hosted runners.

boat's own limits
  • Plans start at $20 a month. The plan price comes back as VM time for that month. Unused time does not carry over. Source
  • Starts (create, fork, resume): the $20 plan includes 12 a minute, 60 an hour and 200 a day. The $2,000 plan includes 90 a minute, 600 an hour and 2,400 a day. Extra starts cost $0.03 to $0.07. A start fails with 429 above 3 times the included starts per minute, or 6 times per hour or per day. Source
  • A stopped sandbox has no compute charge. boat keeps its disk for at least 14 days. A saved snapshot keeps it longer; extra saved snapshots and the AI credentials proxy are paid. Source
  • Auto-stop defaults to 1 hour. You can turn it off on a paid plan. The trial allows 2 hours at most. Source
  • boat saves the disk every minute and at each stop. Memory, running programs and /tmp are not saved: a resume is like a reboot. A machine failure loses writes after the last good snapshot. Source
  • Machines run in Germany, Finland and France only. Snapshot copies can be stored outside the EU. Source
  • Public IPv6 and outbound IPv4. No dedicated IPv4. The IP changes at each resume. Source
  • Hosts are AMD Ryzen 7 9700X and Ryzen 9 9950X. vCPUs are shared. No GPU. You cannot boot your own Docker image. Source

Questions people ask

Is GitHub Actions cheaper than GitLab.com hosted runners?

In this page's five scenarios GitHub Actions comes out lower every time, for example $71 against $805 a month for one 4 vCPU machine running 24/7. Neither actually fits that job, because jobs end after 6 or 3 hours. For plain CI, what your plan includes matters most: $12 of compute a month on GitHub Free (about 2,000 minutes of 2-core Linux) against 400 compute minutes on GitLab Free.

Which is faster, GitHub Actions or GitLab runners?

Neither is in the public benchmarks we use, so we cannot say which is faster. For reference, boat did 28.06 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB in StarSling's run of 3 October 2026, on an AMD Ryzen 9 9950X host.

How long can a job run on each?

Up to 6 hours on GitHub-hosted runners and up to 3 hours on GitLab.com hosted runners, whatever timeout the project sets. A boat sandbox auto-stops after 1 hour by default. You can set up to 30 days, or turn auto-stop off on a paid plan for no session cap.

Can GitHub Actions and GitLab runners run Docker?

Yes. GitHub-hosted Linux runners run Docker, and GitLab's Linux jobs run in a privileged container that supports Docker-in-Docker. GitHub also documents KVM for Android emulators, which GitLab does not document.

Can I SSH into a GitHub or GitLab hosted runner?

Not directly. Neither accepts public inbound connections to hosted runners, and GitLab's interactive web terminal works only on runners you host yourself. A third-party tunnel inside the job can give a session until the job ends. You can SSH into a boat sandbox and open up to 50 token-gated HTTPS URLs.

Do files persist between jobs?

Not on the runner, on either service. Each job gets a fresh VM, and you carry files through a cache, artifacts or, on GitHub larger runners, a custom image. A boat sandbox saves its disk every minute and at each stop, and keeps it at least 14 days after a stop. If its machine fails, writes after the last snapshot are lost.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons