GitLab.com hosted runners vs Codemagic
GitLab.com hosted runners run the CI jobs of any GitLab project on fresh Linux, Windows or macOS VMs, for up to 3 hours each. Codemagic is a CI service built for mobile apps, with Mac minis, code signing and store publishing. Its builds run up to 120 minutes on self-serve plans.
The companies and products
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.
Codemagic
Codemagic is a cloud CI/CD service built for mobile developers: it builds, tests and publishes iOS, Android, Flutter and React Native apps.
You describe a workflow in codemagic.yaml, and each build runs on a new virtual machine: an Apple silicon Mac, an Ubuntu Linux machine or a Windows machine. Codemagic deletes the machine when the build finishes. The result can go straight to App Store Connect, Google Play and other stores. It is built for app teams that want builds and code signing done for them. It is a different kind of product from an agent sandbox. The two overlap where an agent needs a machine for a short, scripted job.
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. “129th cheapest of 374” means 128 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 workload | GitLab.com hosted runners: price rank | Codemagic: price rank | boat: 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 services between tasks. A 3-hour GitLab job and a 120-minute Codemagic build carry state over only through caches and artifacts that you set up. | 348th of 365, with limits $14,454 a month | 361st of 365, with limits $32,669 a month | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB An always-on assistant does not fit jobs that end within 2 or 3 hours and start from a clean machine each time. boat has no session cap once auto-stop is off (default 1 hour). | 350th of 361, with limits $21,858 a month | 359th of 361, with limits $98,550 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 | 314th of 336, with limits $1,896 a month | 329th of 336, with limits $9,098 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 is built to hand machines to your own users: GitLab blocks inbound traffic, and Codemagic's public plans run at most 10 builds at once. boat's plans run 100 to 2,000 sandboxes at once. | 326th of 349, with limits $6,133 a month | 341st of 349, with limits $28,448 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 | 312th of 349, with limits $29,762 a month | 327th of 349, with limits $135,098 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 | 327th of 359, with limits $4,758 a month | 358th of 359, with limits $10,898 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 GitLab's runners fit CI on a GitLab project. Codemagic is a compromise outside mobile builds because its smallest Linux machine is 8 vCPU / 32 GB. boat suits CI you start by API that wants a warm disk between runs, within its per-plan start limits. | 129th cheapest of 374 $2,089 a month | 205th of 374, with limits $3,338 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB Neither keeps a machine overnight: GitLab deletes the VM after each job and Codemagic deletes it after each build. You carry files over with caches and artifacts. A boat sandbox keeps its disk for at least 14 days when stopped. | 361st of 371, with limits $805 a month | 207th of 371, with limits $333 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 A GitLab Linux job can install Xvfb and a browser, but nobody can watch it live. Codemagic offers VNC or RDP for a person who debugs a build. boat streams a 60fps desktop with computer tools for agents. | 344th of 367, with limits $4,278 a month | 120th of 367, with limits $9,998 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 | 213th of 356, with limits $2,118 a month | 221st of 356, with limits $10,898 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 | 218th of 343, with limits $2,854 a month | 222nd of 343, with limits $13,261 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 | 314th of 327, with limits $58,429 a month | 326th of 327, with limits $263,348 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 | 145th of 351, with limits $1,383 a month | 152nd of 351, with limits $6,623 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 GitLab offers a Linux runner with an NVIDIA T4 on Premium and Ultimate. Codemagic and boat have no GPUs. | Not ranked: misses a requirement | Not ranked: misses a requirement | Not ranked: misses a requirement |
| macOS agents 5 at once · 4 vCPU / 8 GB · 1,000 sessions of 20 min a month Both run real macOS on Apple silicon: GitLab's macOS runners are in beta and need Premium or Ultimate, and Codemagic is built around Mac minis with Xcode. boat runs Linux only. In our macOS estimate, GitLab comes to $1,069 a month and Codemagic to $1,903. | 22nd of 35, with limits $1,069 a month | 30th of 35, with limits $1,903 a month | Not ranked: misses a requirement |
Key features
| Feature | GitLab.com hosted runners | Codemagic | boat |
|---|---|---|---|
| Kind of product | CI runners for jobs in a GitLab project's .gitlab-ci.yml | Mobile CI/CD: builds start from codemagic.yaml or the API | Sandbox API: create, stop, fork and reach machines from your code |
| How long a machine can run | Up to 3 hours per job | 120 minutes per build on Free, Pay as you go and Fixed price; 180 minutes on Enterprise | Auto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no session cap |
| Files between runs | VM deleted after each job; you set up carry-over with the CI cache (5 GB per archive) or artifacts | Machine and disk deleted; you set up carry-over with cache folders in codemagic.yaml and build artifacts | Disk saved every minute and at each stop, kept at least 14 days; memory and running programs are not saved |
| Fork | No VM fork; every job starts from a fresh VM, plus any cache you pass | No fork; every build starts from a stock image, with cached folders restored | Fork a running sandbox from its last 1-minute snapshot |
| Docker and nested virtualization | Docker-in-Docker in privileged mode; nested virtualization not documented | Docker and Android emulators on Linux; macOS machines cannot run Android emulators | Docker, root, systemd and /dev/kvm on every sandbox |
| Operating systems | Linux x64 and Arm64, Windows (beta), macOS on Apple silicon (beta) | macOS on Mac mini M2 and M4, Linux and Windows | Linux x64 only (Ubuntu 24.04); Windows programs through Wine |
| GPUs | A Linux runner with an NVIDIA T4 on Premium and Ultimate | None | None |
| Mobile release tools | Not built in; you script signing and uploads in your pipeline | Code signing and publishing to App Store Connect, TestFlight and Google Play built in | Not built in; you script it yourself |
| Reaching the machine | GitLab's firewall blocks inbound traffic; you set up a preview with an outbound tunnel from the job; the web terminal works only on self-hosted runners | Temporary SSH, VNC or RDP turned on per build; machines sit on a private network | SSH and up to 50 HTTPS URLs, token-gated by default; raw ports over IPv6 only on sandboxes with no IPv4 of their own |
| Desktop and computer use | No desktop provided; a Linux job can install Xvfb and a browser, but nobody can watch it live | VNC or RDP for a person to debug a build; no computer-use API documented | Linux desktop and Chrome streamed at 60fps, with computer tools for agents |
| Coding agents | Duo 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 on | You set it up: install an agent CLI in a build script step; codemagic-init helps agents on your own computer write workflows | Seven harnesses preinstalled, driven from outside with a prompt, steer and events API |
| Keeping API keys out of the machine | GitLab-managed credentials through an AI Gateway for its Claude and Codex agents; other secrets enter as CI/CD variables | Encrypted environment variables delivered into the build machine while it runs | Optional 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 the sandbox |
| Self-hosting | Open-source GitLab Runner on your own machines, using no compute minutes | Managed only | Managed only |
| Regions | US (Google Cloud us-east1 and us-east5 for Linux x86-64, us-central1 for Arm64 and GPU) | US data centers; dedicated macOS hosts in the EU on request | Germany, Finland and France; you cannot pick a region; no US or Asia region |
Every feature Battleships tracks (43)
| Feature | GitLab.com hosted runners | Codemagic | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Yes | Yes | Yes |
| Nested virtualization | No documented way | Yes | Yes |
| Root | Yes | Not published | Yes |
| Systemd | No documented way | No documented way | Yes |
| Desktop GUI | No documented way | Yes | Yes |
| Browser | Yes | Yes | Yes |
| Computer-use API | No documented way | No documented way | Yes |
| SSH | No documented way | Yes | Yes |
| Persistent disk | No documented way | No documented way | Yes |
| Pause/resume | No documented way | No documented way | Yes |
| Automatic snapshots | No documented way | No documented way | Yes |
| Fork/clone | No documented way | No documented way | Yes |
| Live fork (no pause) | No documented way | No documented way | Yes |
| Memory fork | No documented way | No documented way | No documented way |
| Custom image (Docker or snapshot) | Yes | No documented way | Yes |
| ≥24 h sessions | No documented way | No documented way | Yes |
| Idle auto-stop | Yes | Yes | No documented way |
| Wake on request | No documented way | No documented way | No documented way |
| HTTPS preview URLs | No documented way | No documented way | Yes |
| Raw TCP inbound | No documented way | No documented way | Yes |
| Public IPv4 | No documented way | No documented way | No documented way |
| Egress allowlist | No documented way | No documented way | No documented way |
| Secret proxy | Yes | No documented way | Yes |
| Secret proxy for any API | No documented way | No documented way | Yes |
| Preinstalled agents | Yes | No documented way | Yes |
| Agent harness API | Yes | No documented way | Yes |
| MCP server | No documented way | No documented way | No documented way |
| GPU | Yes | No documented way | No documented way |
| Windows | Yes | Yes | No documented way |
| Arm64 | Yes | Yes | No documented way |
| Self-hosting | Yes | No documented way | No documented way |
| BYOC | No documented way | No documented way | No documented way |
| Open source | Yes | No documented way | No documented way |
| Scoped API keys | Not published | Not published | Yes |
| Spend limits | Not published | Not published | Yes |
| Usage per sandbox (API) | No documented way | No documented way | Yes |
| Audit logs | Yes | Yes | No documented way |
| SSO | Yes | Yes | No documented way |
| SOC 2 | Yes | Yes | No documented way |
| HIPAA | No documented way | No documented way | No documented way |
| EU data residency | No documented way | Yes | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
Neither GitLab.com hosted runners nor Codemagic is in the public benchmarks we use, so we cannot say which of the three is faster. Codemagic also sells only fixed sizes, such as Linux X2 at 8 vCPU / 32 GB, so there is no 4 vCPU / 8 GB machine to put next to boat's. For reference, boat did 28.06 runs per second 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 that 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. GitLab.com hosted runners and Codemagic 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.
| Scenario | GitLab.com hosted runners, a month | Codemagic, a month | boat, 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 | $119 · Premium · with limits | $333 · Free (individual) · with limits | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $805 · Premium · with limits | $333 · Free (individual) · 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 | $9,491 · Premium · with limits | $21,482 · Pay as you go (team, 3 concurrent) · 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 | $2,658 · Premium · with limits | $12,248 · Pay as you go (team, 3 concurrent) · 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 | $5,896 · Premium · with limits | $27,098 · Pay as you go (team, 3 concurrent) · with limits | $8,800 · $2000/mo · with limits |
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 Linux and macOS machines. Plans include monthly minutes per group (400 on Free, 10,000 on Premium at $29 per user a month, billed yearly). Extra minutes cost $10 per 1,000, bought ahead of time. When included minutes run out, new jobs stop until you buy more.
Codemagic: Codemagic bills build minutes: $0.095 a minute on a Mac mini M2, $0.114 on an M4 and $0.045 on Linux X2 or Windows, with 500 free M2 minutes a month for individuals. Pay as you go runs 1 build at a time and sells up to 2 more at $49 a month each. Fixed annual plans start at $3,990 a year.
Codemagic: 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 4 vCPU / 8 GB sandbox costs $0.036 an hour, billed per second while it runs. The $20 plan includes 200 starts a day; extra starts cost $0.03 to $0.07. A stopped sandbox has no compute charge and keeps its disk for at least 14 days; saved snapshots above the included count and the AI credentials proxy still charge. A card is required, also for the 7-day trial.
Limits in those scenarios
Neither GitLab.com hosted runners nor Codemagic fits the five agent scenarios, because both are CI services. GitLab jobs stop at 3 hours and Codemagic builds at 120 minutes on self-serve plans, and only caches and artifacts carry over. Codemagic's public plans run at most 10 builds at once, on Linux machines no smaller than 8 vCPU / 32 GB. GitLab publishes no limit on how many runner VMs run at once, so the 300 and 1,000 machine scenarios are not confirmed for either. On boat only the 1,000-job burst does not fit: on the $2,000 plan, starts above 90 a minute cost extra, starts above 270 a minute fail with 429, and boat never queues a start.
| Scenario | GitLab.com hosted runners | Codemagic | boat |
|---|---|---|---|
| One coding agent, workdays |
|
| None for this scenario |
| One agent that never stops |
|
| None for this scenario |
| 50 agents in parallel |
|
| None for this scenario |
| Sandboxes for your users |
|
| None for this scenario |
| 1,000 short jobs at once |
|
|
|
Which one should you use?
Use GitLab.com hosted runners when
your code lives on GitLab and you want CI for it, especially for Linux Arm64, Windows, big Linux machines, a T4 GPU, or runners you host yourself.
- Native CI for GitLab projects. If your code lives on GitLab, these runners work from the first pipeline, with caches and artifacts built in.
- More kinds of machines. Teams that need Linux Arm64, big Linux machines up to 32 vCPU, Windows or a T4 GPU get a hosted runner for each.
- Your own runners, free of minutes. You can run the open-source GitLab Runner on your own machines, and those jobs use no compute minutes.
Use Codemagic when
you build, sign and publish iOS, Android or Flutter apps and want Mac minis with Xcode for builds that finish within two hours.
- Built for mobile releases. If you ship iOS, Android or Flutter apps, Codemagic signs them and publishes to App Store Connect, TestFlight and Google Play.
- Mac minis with Xcode ready. iOS teams get Mac mini M2 and M4 machines with current Xcode and iOS simulator runtimes preinstalled.
- A way into the build machine. When a build breaks, you can open SSH, VNC or RDP on the machine to look around, which GitLab's hosted runners do not allow.
Where boat fits
Both are CI services: they give a job a clean machine, run it for a few hours at most and delete the machine. If you run agents that work for hours, keep their files and serve what they build, look at boat. For GitLab pipelines and for signing and shipping mobile apps, these two remain the right tools. boat runs Linux only, in Germany, Finland and France.
A machine that stays
On GitLab a job ends after 3 hours, and on Codemagic a build ends within 120 minutes on self-serve plans. Both delete the machine, so an agent carries state over with caches or reinstalls. A boat sandbox has no session cap once auto-stop is off (default 1 hour) and saves its disk every minute; a resume is like a reboot.
Reach it from outside
GitLab blocks inbound traffic to hosted runners, and Codemagic opens temporary SSH, VNC or RDP per build. boat gives each sandbox SSH, token-gated HTTPS URLs on up to 50 ports and a 60fps desktop.
Agents you drive from outside
GitLab starts its agents from issues and merge requests, and on Codemagic an agent is a build step you add. On both, most keys arrive as variables the agent can read. boat preinstalls seven agents you drive by API, and its optional paid credentials proxy keeps real keys of supported providers out.
Use boat when an agent needs its own Linux machine that keeps its disk, runs past a few hours, takes inbound traffic and shows a desktop you can watch live. Check boat's start limits for your plan. Compare it one to one: boat vs GitLab.com hosted runners and boat vs Codemagic.
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 GitLab.com hosted runners cheaper than Codemagic?
For general Linux CI, GitLab's runners cost less in our tables: $2,089 a month against $3,338 for the same CI runner workload, and boat comes to $86. For iOS builds the answer depends on your Mac minutes, and on GitLab macOS needs Premium or Ultimate.
Which is better for iOS builds, GitLab or Codemagic?
Codemagic is built for it: Mac minis with Xcode and iOS simulators, plus code signing and App Store Connect publishing built in. GitLab has hosted macOS runners on Apple silicon too, but they are in beta and need Premium or Ultimate.
Which is faster?
Neither GitLab.com hosted runners nor Codemagic is in the public benchmarks we use, so we cannot say. For reference, boat did 28.06 runs per second 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.
Can GitLab runners and Codemagic run Docker?
Yes on Linux for both: GitLab runs Docker-in-Docker in privileged mode, and Codemagic Linux machines run Docker and Android emulators. Codemagic's macOS machines cannot run Android emulators, because they have no nested virtualization. boat has Docker and /dev/kvm on every sandbox.
Can I SSH into a GitLab runner or a Codemagic machine?
Not into a GitLab.com hosted runner: inbound traffic is blocked, and the web terminal works only on runners you host. Codemagic lets you turn on temporary SSH, VNC or RDP for a build. You can SSH into a running boat sandbox and open HTTPS URLs on up to 50 ports.
Can I run AI coding agents on either one?
On GitLab Premium and Ultimate, the Duo Agent Platform runs Claude Code and Codex as CI jobs from issues and merge requests, within the 3-hour limit. On Codemagic you install an agent CLI in a build step, and the run ends with the build. On boat agents are preinstalled in a VM that keeps its disk, and you drive them by API.
Try boat
Install the CLI, then run boat new.
7-day free trial
More comparisons
- boat vs GitLab.com hosted runners
- boat vs Codemagic
- GitHub Actions vs GitLab.com hosted runners
- CircleCI vs GitLab.com hosted runners
- Blacksmith vs GitLab.com hosted runners
- Depot vs GitLab.com hosted runners
- WarpBuild vs GitLab.com hosted runners
- Buildkite vs GitLab.com hosted runners
- GitLab.com hosted runners vs Bitrise
- GitLab.com hosted runners vs RunsOn
- GitLab.com hosted runners vs Ubicloud
- GitHub Actions vs Codemagic