GitHub Codespaces vs smol machines

GitHub Codespaces is a dev environment for people: a dev container opened from a GitHub repository in VS Code, which stops after 12 hours at most. smol machines is a microVM service you drive from code, with no session cap, live branching with memory, and an open-source engine you can also run on your own servers.

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.

smol machines

smol machines makes isolated Linux microVMs that run the same way on your laptop, in their hosted cloud, or on your own servers.

The core is smolvm, an open-source microVM engine built on libkrun. Each machine has its own guest kernel. smol cloud is the paid hosted service. It runs machines behind a REST API, Node, Python and Rust SDKs, and a managed agents API. It is for developers who want one VM model from local development to production, with live branching of running machines.

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 ranksmol machines: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
Both run Docker. A codespace stops after 12 hours and documents no /dev/kvm. smol cloud exposes nested virtualization on Startup ($150 a month plus usage) and Enterprise. boat has /dev/kvm on every plan and no session cap once auto-stop is off.
290th of 365, with limits
$4,618 a month
105th of 365, with limits
$604 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 fits smol machines better than Codespaces, which stops every 12 hours. smol has no session cap; you set up a desktop and browser in your own image. boat has no cap once auto-stop is off, with a desktop and Chrome built in.
320th of 361, with limits
$6,970 a month
41st cheapest of 361
$1,038 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
smol machines suits short code runs: a one-minute minimum, billing on used CPU and memory, and a /code endpoint. 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
16th cheapest of 336
$140 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
smol machines holds up to 1,000 machines on Startup, stopped ones included. GitHub does not publish how many codespaces can run at once. boat runs 100 to 2,000 at once by plan, with start limits per plan.
276th of 349, with limits
$1,964 a month
12th cheapest of 349
$531 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
smol machines can branch a running machine with its memory and processes. Codespaces has no copy or snapshot endpoint. A boat fork copies the disk only and counts as a start.
276th of 349, with limits
$9,489 a month
119th of 349, with limits
$6,978 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
295th of 359, with limits
$1,519 a month
49th cheapest of 359
$670 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
smol machines starts each job from an image or a branch of a warm machine. Codespaces starts from a repo or a prebuild built by GitHub Actions. Android builds need /dev/kvm: smol has it on Startup and Enterprise, boat on every plan.
317th of 374, with limits
$909 a month
69th cheapest of 374
$514 a month
2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
Codespaces gives a polished VS Code setup per repo, but it stops after 12 hours. smol machines keeps running but documents no SSH route. boat has SSH and no session cap once auto-stop is off.
144th of 371, with limits
$270 a month
230th of 371, with limits
$29 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. On smol cloud you install a desktop and a screen stream in your own image. boat streams its desktop at 60 fps and can embed it in your app.
297th of 367, with limits
$1,367 a month
135th of 367, with limits
$156 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
306th of 356, with limits
$678 a month
58th of 356, with limits
$136 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
324th of 343, with limits
$922 a month
97th cheapest of 343
$242 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
279th of 327, with limits
$18,637 a month
145th of 327, with limits
$4,344 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
284th of 351, with limits
$445 a month
59th of 351, with limits
$377 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
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 Codespacessmol machinesboat
What it isA cloud dev environment opened from a GitHub repository in VS Code, the browser or the CLIA hosted microVM service with a REST API and Node, Python and Rust SDKsA sandbox API for agents: full VMs you create, fork and drive from code
IsolationA Docker container on its own newly built VM, with its own virtual networklibkrun microVM with its own guest kernelFull 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 provider cap; you can set your own time to liveNo cap once auto-stop is off on a paid plan; auto-stop defaults to 1 hour, up to 30 days
Files after a stopFiles kept and storage billed; processes end; stopped codespaces are deleted after 30 days by defaultFilesystem survives a stop, memory paths like /tmp are emptied; checkpoints can capture RAM; disk bills while stoppedDisk saved every minute and at each stop; no compute charge while stopped; disk kept at least 14 days; memory is not kept
ForkNo copy or snapshot endpoint; new codespaces start from a repo, branch or prebuildBranch a running machine with its memory and processes; the one-minute minimum is paid onceFork a running sandbox from its last 1-minute disk snapshot; the fork boots fresh
Starting pointDev container config in the repo, with prebuilds built by GitHub ActionsRegistry images in amd64 and arm64, or your own .smolmachine artifactboat's image or a saved snapshot, shareable by code; you cannot boot your own Docker or OCI image
Docker and nested virtualizationDocker and sudo in the dev container; /dev/kvm not documentedDocker inside the VM; nested virtualization on Startup ($150 a month plus usage) and Enterprise, refused on Standard and ProDocker, root, systemd and /dev/kvm on every plan
Shell accessSSH and the GitHub CLICommand API, sessions and a WebSocket terminal capped at one hour per connection; no SSH route documentedSSH, plus a command API and terminal
Desktop and computer useVS Code, JupyterLab and a terminal; a noVNC desktop through the desktop-lite add-on, which you configureNo hosted desktop; you set it up: run Chromium from an OCI image and add a desktop and stream yourselfBuilt-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 yourselfManaged agents API: Claude Code, Codex, OpenCode or any command, with turns, cancel, events, pause, rewind and branchSeven harnesses installed, with a prompt, steer and events API
Keeping keys out of the sandboxSecrets copied in as environment variablesStored credentials bound to a machine: the guest sees a placeholder, and the real value goes only to allowed hostsOptional AI credentials proxy ($1 a day while on, plus $1 per 1,000 requests) for supported model providers and HTTPS APIs
Reaching the machineA URL per forwarded port, private, organization or public; no public IPUp to 16 published ports through token URLs or an authenticated connect route, plus a TCP tunnel route; no dedicated IPUp to 50 HTTPS URLs, token-gated by default; SSH; public IPv6; no dedicated IPv4, and the IP changes at each resume
Outbound rulesOpen internet; GitHub says there is no way to restrict itBlocked, open, or an allowlist of hosts and CIDR rangesOpen internet; no provider-side allowlist
Where it runsUS East, US West, Europe West and Southeast AsiaNo region choice in the cloud API; open-source smolvm on your own serversGermany, Finland and France; you cannot pick one; no US or Asia region
Every feature Battleships tracks (43)
FeatureGitHub Codespacessmol machinesboat
Full VM (own kernel)YesYesYes
Docker insideYesYesYes
Nested virtualizationNot publishedYesYes
RootYesNot publishedYes
SystemdNot publishedNot publishedYes
Desktop GUIWith your own setupNo documented wayYes
BrowserNo documented wayWith your own setupYes
Computer-use APINo documented wayNo documented wayYes
SSHYesNo documented wayYes
Persistent diskYesYesYes
Pause/resumeYesYesYes
Automatic snapshotsNo documented wayNo documented wayYes
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 wayYesYes
Agent harness APINo documented wayYesYes
MCP serverNo documented wayYesNo documented way
GPUNo documented wayNo documented wayNo 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 wayYesNo documented way
Scoped API keysNot publishedNot publishedYes
Spend limitsYesYesYes
Usage per sandbox (API)No documented wayYesYes
Audit logsYesNot publishedNo documented way
SSOYesYesNo documented way
SOC 2YesNo documented wayNo documented way
HIPAANo documented wayNo documented wayNo documented way
EU data residencyYesNo documented wayNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

GitHub CodespacesNot measured
smol machinesNot measured
boat28.06 runs/s

GitHub Codespaces and smol machines are not in the public benchmarks we use, so we cannot say which is faster. smol publishes a boot time under 200 ms for smolvm; that is a 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 smol machines 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 monthsmol machines, 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$25 · Standard$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$93 · Standard$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 Free$1,139 · Pro$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 limits$465 · Startup$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 limits$1,389 · Startup$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 4 vCPU / 8 GB work is priced on the 4-core 16 GB machine. Personal accounts get a free monthly quota, and organizations do not.

smol machines: smol cloud charges $0.04 for every hour a machine runs, plus $0.05 per active vCPU-hour and $0.0162 per active GB-hour of memory, with a one-minute minimum. Disk bills also while stopped, and egress costs $0.05 per GB. Standard is $0; Pro ($20 a month) and Startup ($150 a month) are fees on top of usage. New accounts get $100 of credit once.

smol machines: 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. smol machines caps how many machines you hold by plan: 20 on Standard, 100 on Pro and 1,000 on Startup, and a stopped machine still holds a slot. So 50 agents need Pro, and the 1,000-job burst needs Startup. 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. boat has no US or Asia region.

ScenarioGitHub Codespacessmol machinesboat
One coding agent, workdaysNone for this scenarioNone for this scenarioNone for this scenario
One agent that never stops
  • Personal account: GitHub Free: sessions capped at 12 h
None for this scenarioNone 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)
None for this scenarioNone 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)
None for this scenarioNone 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)
None for this scenario
  • 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. For teams on GitHub: open a ready codespace from any repo, branch or pull request, with the dev container already set up.
  • Free hours for personal accounts. For occasional personal work: a GitHub Free account includes 120 core-hours and 15 GB-month of storage each month.
  • Regions in the US and Asia. For developers in the US or Asia: codespaces run in US East, US West, Europe West and Southeast Asia.

Use smol machines when

your code needs microVMs that run until stopped, branch with their memory, limit outbound hosts, bill on used CPU and memory, or also run on your own servers.

  • Live branches with memory. For RL and test fan-out: branch a running machine with its memory and processes, paying the one-minute minimum once.
  • Open source, laptop to your own servers. For teams that want one VM engine locally, in a hosted cloud and on their own servers.
  • Pay for what the guest uses. smol bills the CPU and memory a guest actually uses, plus a base fee per running hour, so mostly idle machines cost less than their full size.

Where boat fits

Codespaces is built for people in an editor, and smol machines gives you a lean microVM to build on. If your agents do long, heavy work like builds, Docker, emulators and a browser, boat gives each one a full VM with /dev/kvm and a desktop on every plan, and coding agents built in. It has no session cap once auto-stop is off on a paid plan (default 1 hour). boat has no memory fork, no self-hosting and no region choice.

A whole machine on every plan

GitHub does not document /dev/kvm. smol cloud exposes it on Startup and Enterprise only, and documents no SSH route. boat has /dev/kvm and SSH on every plan.

Runs as long as the work does

A codespace stops at 12 hours even while in use, and its processes end. smol has no cap, but a stopped machine bills its disk and holds a plan slot. A stopped boat sandbox has no compute charge and keeps its disk at least 14 days; saved snapshots above the included count and the optional credentials proxy still charge.

Desktop built in

Codespaces needs a desktop add-on you configure, and on smol cloud you build the desktop and stream into your own image. boat streams a 60 fps desktop with Chrome and computer tools on every sandbox.

Use boat when your agents need a whole machine for long work: Docker, /dev/kvm, SSH, a desktop and HTTPS URLs on every plan, with 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 smol machines.

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 smol machines?

No, smol machines costs less in every scenario we priced. One coding agent on workdays is $51 a month on Codespaces against $25 on smol machines, and 50 agents in parallel come to $3,019 against $1,139. For 1,000 short jobs at once, smol Startup costs $1,389, and Codespaces $1,889 with its limit not confirmed. boat is $20 and $317 for the first two, and does not fit the 1,000-job burst because of its start limits.

Which is faster?

Neither is in the public benchmarks we use, so we cannot say. In StarSling's run of 3 October 2026, boat did 28.06 V8 Web Tooling runs/s at 4 vCPU / 8 GB on a Ryzen 9 9950X host. boat does not promise a CPU model.

Can I run an agent 24/7 on GitHub Codespaces or smol machines?

On smol machines, yes: a machine runs until you stop it unless you set a lifetime. A codespace stops after 12 hours at most, even while in use, so it needs a restart and its processes end. boat has no session cap once auto-stop is off on a paid plan (default 1 hour).

Can GitHub Codespaces and smol machines run Docker?

Both run Docker: Codespaces inside the dev container with sudo, smol machines inside the VM. GitHub does not document /dev/kvm. smol cloud exposes nested virtualization on Startup and Enterprise. Every boat sandbox has Docker, systemd and /dev/kvm.

Can either fork a running machine?

smol machines can branch a running machine with its memory and processes. Codespaces has no copy or snapshot endpoint, so each new codespace starts from a repo or a prebuild. boat forks a running sandbox from its last 1-minute disk snapshot.

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