GitHub Codespaces vs Unikraft Cloud

GitHub Codespaces is a dev environment: a Linux dev container on its own VM, opened from a GitHub repository, that stops after 12 hours at most. Unikraft Cloud turns a Dockerfile into a small Firecracker-based microVM that it says cold boots in under 10 ms. Instances sleep when idle and wake on the next request, and Unikraft sells flat pools of running capacity.

The companies and products

GitHub Codespaces

GitHub Codespaces is GitHub's cloud development environment: a ready-to-code Linux machine for a repository, opened in the browser, VS Code or the GitHub CLI.

Codespaces is a different kind of product from boat: a dev environment for people who work on a GitHub repository, not a sandbox API for agents. Each codespace is a Docker container built from the repo's dev container config. It runs on its own newly built VM on Azure, with 2 to 32 cores. It is built for developers and teams who want every contributor to start from the same setup, with prebuilds, port forwarding and GitHub billing.

Unikraft Cloud

Unikraft Cloud is a microVM cloud from Unikraft Inc. It runs any Dockerfile-based workload as a minimal Linux microVM, with cold starts it states as under 10 ms and scale-to-zero.

Your Dockerfile becomes the VM image at build time. Each instance runs on a customized Firecracker VMM and can go into standby when no traffic arrives. It is a general compute platform for dense, bursty work such as HTTP services, browsers and agent fleets. It sells flat self-serve plans, plus Enterprise dedicated hosts, on-prem and bring your own cloud. You reach instances through services, the CLI and a sandbox plugin for commands and files. For SSH or a desktop, you add them to your image with its official guides.

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. “290th cheapest of 365” means 289 of the other 364 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 Codespaces: price rankUnikraft Cloud: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
Codespaces gives you Docker inside a dev container but stops at 12 hours. Unikraft builds your Dockerfile into the VM image, and its docs describe no container runtime inside a running instance, so you bake each service into an image. boat has Docker and /dev/kvm on every plan.
290th of 365, with limits
$4,618 a month
Not ranked: misses a requirement5th cheapest of 365
$634 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
A codespace stops at 12 hours. Unikraft has no published session cap, but its Team pool gives all running instances 8 vCPU / 8 GiB to share. boat has no session cap once auto-stop is off on a paid plan (default 1 hour).
320th of 361, with limits
$6,970 a month
Not ranked: misses a requirement6th cheapest of 361
$657 a month
Code interpreter bursts
100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month
Short runs that sleep between calls are the shape Unikraft is built for, though self-serve plans run up to 24 instances at once. Each codespace builds a dev container on a new VM. On boat each start counts against the plan's start cap.
283rd of 336, with limits
$619 a month
Not ranked: misses a requirement189th 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
Unikraft Pro holds 5,000 standby instances but 24 running ones, so hundreds of active users need an Enterprise contract. GitHub does not publish how many codespaces can run at once. boat runs 100 to 2,000 at once by plan.
276th of 349, with limits
$1,964 a month
Not ranked: misses a requirement3rd 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
276th of 349, with limits
$9,489 a month
Not ranked: misses a requirement39th 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
295th of 359, with limits
$1,519 a month
Not ranked: misses a requirement10th cheapest of 359
$200 a month
CI runners
40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month
Codespaces has no fork or snapshot API. Unikraft checkpoints a running microVM, and offers nested virtualization on Enterprise only. boat has /dev/kvm on every plan and forks a warm sandbox; each job counts as a start.
317th of 374, with limits
$909 a month
Not ranked: misses a requirement2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
Unikraft keeps a box around all month on its $39 Team pool. For SSH you add sshd to your image and reach it through a TLS tunnel. Codespaces is a polished VS Code box with SSH that stops after 12 hours. boat gives direct SSH into every sandbox.
144th of 371, with limits
$270 a month
121st cheapest of 371
$39 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 codespace can add a basic noVNC desktop through the desktop-lite add-on. Unikraft documents a VNC desktop recipe that you build into your image. boat streams a built-in desktop at 60 fps.
297th of 367, with limits
$1,367 a month
Not ranked: misses a requirement7th cheapest of 367
$200 a month
Browser-use agents
50 at once · 2 vCPU / 4 GB · 30,000 sessions of 10 min a month
Unikraft can run your own headless Chrome from a Dockerfile. In a codespace you install a browser yourself. boat gives each sandbox Chrome on a desktop, with browser control.
306th of 356, with limits
$678 a month
Not ranked: misses a requirement7th 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
324th of 343, with limits
$922 a month
Not ranked: misses a requirement6th 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
279th of 327, with limits
$18,637 a month
Not ranked: misses a requirement73rd 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
284th of 351, with limits
$445 a month
Not ranked: misses a requirement3rd cheapest of 351
$200 a month
GPU eval jobs
10 at once · 8 vCPU / 32 GB · 500 sessions of 30 min a month
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
Not ranked: misses a requirementNot ranked: misses a requirementNot ranked: misses a requirement

Key features

FeatureGitHub CodespacesUnikraft Cloudboat
What it isA cloud dev environment for a GitHub repository, opened in VS Code, the browser or JupyterLabA microVM cloud that runs Dockerfile-based workloads with millisecond cold starts and scale-to-zeroA sandbox you drive from code: full VMs with coding agents and a desktop built in
IsolationA Docker container on its own newly built VM, with its own virtual networkMinimal Linux microVM on a customized Firecracker VMM; full VMs on EnterpriseFull VM with its own kernel, on boat's own AMD Ryzen 7 9700X and Ryzen 9 9950X hosts; shared vCPUs
How long it runsStops after 30 idle minutes by default and after 12 hours at most, even while in useNo published session cap; instances run until stopped or put in standbyNo cap once auto-stop is off on a paid plan; auto-stop defaults to 1 hour, up to 30 days
Machine size2, 4, 8, 16 or 32 cores, with 4 GB of memory per corePlan pool shared by all running instances: 2 vCPU / 4 GiB, 8 vCPU / 8 GiB or 24 vCPU / 32 GiB4 vCPU / 8 GB by default, up to 16 vCPU / 32 GB per sandbox on the $100 plan and above
Docker insideDocker and sudo inside the dev containerThe Dockerfile becomes the VM image; no container runtime inside a running instance documentedDocker, systemd and root, like any Ubuntu machine
Nested virtualization/dev/kvm is not documentedYes, with a per-instance flag, Enterprise only/dev/kvm on every plan, for Android emulators and VMs
SSHSSH and the GitHub CLI, plus VS Code and the browserRun sshd in your image and reach it through a TLS service port and a local tunnel (socat or 'unikraft instances tunnel'); no built-in SSH endpointBuilt in on every sandbox, through a shared IPv4 host and port
Idle and wakeStops when idle; you start it again from the editor, CLI or APIStandby after a 1 second idle cooldown by default; incoming traffic wakes it, with memory kept in stateful modeDisk saved every minute and at each stop; no compute charge while stopped; started again by API; resume is like a reboot
Fork and checkpointsNo copy or snapshot endpoint; new codespaces start from a repo, branch, pull request or prebuildCheckpoint memory and volumes of a running microVM, then start new instances from itFork a running sandbox from its last 1-minute disk snapshot; saved snapshots as templates
Desktop and browserVS Code, JupyterLab and a terminal; a noVNC desktop through the desktop-lite add-on, which you configureNo prebuilt desktop; an official VNC/noVNC desktop recipe you build into your imageBuilt-in desktop and Chrome at 1920x1080 and 60 fps, with computer tools for agents
Coding agentsGitHub Copilot as a VS Code extension; other agents you install yourselfNone installed; you add the agent to your own imageSeven harnesses installed, with a prompt, steer and events API
Keeping API keys outSecrets are copied into the codespace as environment variablesNetwork shield injects secrets into HTTP traffic, Enterprise only, limited accessOptional AI credentials proxy on every plan ($1 a day while on, plus $1 per 1,000 requests) for supported model providers
Inbound accessA URL per forwarded port, private, organization or public; no public IPServices on its load balancer: HTTP on 80, HTTPS on 443, TLS-wrapped TCP on other ports, custom domains; no public IP per instanceUp to 50 HTTPS URLs, token-gated by default; SSH; raw ports over IPv6 on sandboxes with no IPv4 of their own
RegionsUS East, US West, Europe West and Southeast AsiaDallas, Frankfurt, San Francisco, Singapore and Washington DC; dedicated hosts, on-prem and your own cloud on EnterpriseGermany, Finland and France; you cannot pick one; no US or Asia region
Every feature Battleships tracks (43)
FeatureGitHub CodespacesUnikraft Cloudboat
Full VM (own kernel)YesYesYes
Docker insideYesNo documented wayYes
Nested virtualizationNot publishedYesYes
RootYesYesYes
SystemdNot publishedNot publishedYes
Desktop GUIWith your own setupWith your own setupYes
BrowserNo documented wayWith your own setupYes
Computer-use APINo documented wayNo documented wayYes
SSHYesWith your own setupYes
Persistent diskYesYesYes
Pause/resumeYesYesYes
Automatic snapshotsNo documented wayYesYes
Fork/cloneNo documented wayYesYes
Live fork (no pause)No documented wayYesYes
Memory forkNo documented wayYesNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsNo documented wayYesYes
Idle auto-stopYesYesNo documented way
Wake on requestNo documented wayYesNo documented way
HTTPS preview URLsYesYesYes
Raw TCP inboundNo documented wayNot publishedYes
Public IPv4No documented wayNo documented wayNo documented way
Egress allowlistNo documented wayYesNo documented way
Secret proxyNo documented wayYesYes
Secret proxy for any APINo documented wayYesYes
Preinstalled agentsNo documented wayNo documented wayYes
Agent harness APINo documented wayNo documented wayYes
MCP serverNo documented wayNo documented wayNo documented way
GPUNo documented wayYesNo documented way
WindowsNo documented wayNo documented wayNo documented way
Arm64No documented wayYesNo documented way
Self-hostingNo documented wayYesNo documented way
BYOCNo documented wayYesNo documented way
Open sourceNo documented wayNo documented wayNo documented way
Scoped API keysNot publishedNot publishedYes
Spend limitsYesNot publishedYes
Usage per sandbox (API)No documented wayNo documented wayYes
Audit logsYesYesNo documented way
SSOYesNo documented wayNo documented way
SOC 2YesYesNo documented way
HIPAANo documented wayYesNo documented way
EU data residencyYesYesNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

GitHub CodespacesNot measured
Unikraft CloudNot measured
boat28.06 runs/s

GitHub Codespaces and Unikraft Cloud are not in the public benchmarks we use, so we cannot compare their CPU. Unikraft states cold starts under 10 ms; that is its own figure and measures start time, not CPU speed. 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 Codespaces and Unikraft Cloud 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 Codespaces, a monthUnikraft Cloud, 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
$51 · Personal account: GitHub Free$39 · Hobby$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$270 · Personal account: GitHub Free · with limits$39 · Hobby$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,019 · Personal account: GitHub FreeNot ranked: misses a requirement$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
$850 · Personal account: GitHub Free · with limitsNot ranked: misses a requirement$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
$1,889 · Personal account: GitHub Free · with limitsNot ranked: misses a requirement$8,800 · $2000/mo · with limits

GitHub Codespaces: Codespaces bills $0.09 per core-hour while a codespace is active, used or not, plus $0.07 per GB-month of storage while it exists, stopped too. There is no 4-core machine with 8 GB, so a 4 vCPU / 8 GB job is priced on the 4-core 16 GB machine. Personal accounts get a free monthly quota, and organizations do not.

Unikraft Cloud: Unikraft charges a flat monthly fee for a pool of running capacity: free for 2 vCPU / 4 GiB, $39 for 8 vCPU / 8 GiB, $199 for 24 vCPU / 32 GiB. Standby instances do not count against the pool. It publishes no per-hour, disk or egress price, so anything bigger is an Enterprise quote.

Unikraft Cloud: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. Unused time does not carry over. A 4 vCPU / 8 GB sandbox costs $0.036 an hour, billed per second while it runs, busy or idle. A stopped sandbox has no compute charge, and boat keeps its disk for at least 14 days. Saved snapshots above the included count and the optional AI credentials proxy still charge while sandboxes are stopped. The $20 plan includes 12 starts a minute, 60 an hour and 200 a day; create, fork and resume each count as one start, and an extra start costs $0.03 to $0.07. A card is required, also for the 7-day trial.

Limits in those scenarios

Every codespace stops after 12 hours at most, so it does not fit the always-on scenario without a restart script. GitHub does not publish how many codespaces can run at once, so 300 user sandboxes and 1,000 short jobs are not confirmed. Unikraft's limits are pools that all running instances share: one 4 vCPU / 8 GB agent fills the Team plan, so the 50-agent, user-sandbox and burst scenarios fit no self-serve plan and need Enterprise. boat's limits: auto-stop defaults to 1 hour, and each plan caps starts. For 1,000 short jobs at once, even the $2,000 plan needs paid extra starts and refuses starts above 270 a minute, so boat does not fit. A boat resume is like a reboot, and a machine failure loses the writes after the last 1-minute snapshot.

ScenarioGitHub CodespacesUnikraft Cloudboat
One coding agent, workdaysNone for this scenario
  • flat pool: the tier is billed whether used or not
  • disk beyond 0 GiB: price unknown
  • egress price not published
None for this scenario
One agent that never stops
  • Personal account: GitHub Free: sessions capped at 12 h
  • flat pool: the tier is billed whether used or not
  • disk beyond 0 GiB: price unknown
  • egress price not published
None for this scenario
50 agents in parallel
  • how many machines can run at once: limit not published, probably fine at 50 (the typical published limit is 50)
  • no pool tier with 200 vCPU / 400 GiB for 50 VMs
  • no published per-resource rate
None for this scenario
Sandboxes for your users
  • not confirmed: how many machines can run at once (you need 300; the typical published limit is 50)
  • no pool tier with 600 vCPU / 1,200 GiB for 300 VMs
  • no published per-resource rate
None for this scenario
1,000 short jobs at once
  • not confirmed: how many machines can run at once (you need 1,000; the typical published limit is 50)
  • no pool tier with 2,000 vCPU / 4,000 GiB for 1,000 VMs
  • no published per-resource rate
  • 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 Codespaces when

your developers want a ready VS Code environment for a GitHub repository, opened from a branch or pull request, in the US, EU or Asia.

  • Built into GitHub. Useful if your team lives on GitHub: open a ready dev container from any repo, branch or pull request.
  • A full editor with big machines. Useful for developers who want VS Code in the browser on up to 32 cores, with SSH and port forwarding.
  • Free hours for personal accounts. Useful for occasional personal work: a GitHub Free account includes 120 core-hours and 15 GB-month each month.

Use Unikraft Cloud when

you run many small services or headless browsers that sleep most of the time and must wake at once, want flat prices, or want GPUs, on-prem or your own cloud under an Enterprise contract.

  • Millisecond starts and scale-to-zero. Best for many small services that sleep most of the time: Unikraft states cold starts under 10 ms, and standby instances do not use the running pool.
  • No session clock and flat prices. An instance can run all month with no published session cap. Hobby is free with no card, and Team is $39 a month, flat.
  • GPUs, arm64 and your own hardware. Enterprise customers can get NVIDIA GPUs, arm64 hosts, egress filtering, dedicated hosts, on-prem or their own cloud.

Where boat fits

Codespaces is a dev box for people that stops at 12 hours, and Unikraft is tuned for small services that sleep, with nested virtualization and secret injection on Enterprise. If your agents work for hours, boat gives each one a full VM with Docker, /dev/kvm, SSH, a desktop and coding agents on self-serve plans. It has no session cap once auto-stop is off on a paid plan (default 1 hour). boat has no memory pause and no region outside Europe, and caps starts per plan.

A whole machine with /dev/kvm

Codespaces documents no /dev/kvm. Unikraft offers it on Enterprise, and documents no container runtime inside an instance. boat gives root, systemd, Docker and /dev/kvm on every plan.

Runs as long as the task does

A codespace stops at 12 hours even in use, so you need a restart script, and it cannot be copied. Unikraft has no clock, but its Team pool is 8 GiB shared by every running instance. boat runs until you stop it once auto-stop is off, and bills at full rate while a sandbox runs.

Agents driven from outside

On Codespaces your API key sits in an environment variable, and on Unikraft secret injection is Enterprise only. boat installs seven coding agents with a prompt, steer and events API. Its optional paid proxy keeps the real keys of supported providers outside the sandbox.

Use boat when your agents need a full machine to work in for hours: Docker, emulators, SSH, a desktop and a browser, and coding agents you drive from outside. Turn auto-stop off on a paid plan for long work (default 1 hour). Compare it one to one: boat vs GitHub Codespaces and boat vs Unikraft Cloud.

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 Codespaces cheaper than Unikraft Cloud?

For one 4 vCPU / 8 GB agent, no. One coding agent on workdays is $51 a month on Codespaces and $39 on Unikraft's Team pool. One agent that never stops is $270 on Codespaces, which also needs a restart every 12 hours, against $39 on Unikraft. boat is $20 and $26. For 50 agents, Codespaces is $3,019 a month, and no self-serve Unikraft plan is big enough, so Unikraft needs an Enterprise quote.

Which is faster?

For CPU work we cannot say: neither is in the public benchmarks we use. For starts, Unikraft states cold boots under 10 ms and wakes on the next request; that is its own figure. A codespace builds a dev container on a new VM, which prebuilds speed up.

Can I run Docker in GitHub Codespaces or Unikraft Cloud?

In Codespaces, yes: Docker works inside the dev container and you have sudo. Unikraft uses your Dockerfile to build the VM image, and its docs do not describe a container runtime inside a running instance. Every boat sandbox has Docker, systemd and /dev/kvm.

Can I SSH into them?

You can SSH into a codespace through the GitHub CLI. On Unikraft you add an SSH server to your image, expose it as a TLS service, and connect through a local tunnel (socat or 'unikraft instances tunnel'). Every boat sandbox takes SSH directly, with no tunnel.

Can I run an AI agent 24/7 on either?

Not on Codespaces without restarts, since every codespace stops after 12 hours at most. Unikraft has no published session cap, but a 4 vCPU / 8 GB agent fills its Team pool. boat has no session cap once auto-stop is off on a paid plan (default 1 hour).

Is boat SOC 2 compliant?

SOC 2 is in progress; there is no SOC 2 report today. We're open about where we stand: live status at status.ascii.dev and our data retention policy at docs.boat.dev/data-retention.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons