smol machines vs Modal VM Sandboxes

Both give each agent a Linux VM with its own kernel and Docker inside. smol machines keeps a machine as long as you want and can branch it while it runs. A Modal VM Sandbox runs up to 24 hours, and a filesystem snapshot carries its files to the next one. Modal adds more regions, bigger bursts and a large AI platform.

The companies and products

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.

Modal VM Sandboxes

Modal is a serverless cloud for AI work, and VM Sandboxes are the version of its sandboxes that run in a virtual machine with their own Linux kernel.

You create a VM Sandbox from Python, TypeScript or Go code with runtime="vm", run commands in it, and terminate it when the job is done. Modal built the runtime on the Rust-based Cloud Hypervisor, so Docker, FUSE, systemd and nested cgroups work, with the same API, images and prices as its gVisor sandboxes. It became generally available on 1 October 2026. It suits teams that want many agent machines next to Modal's inference and training.

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. “41st cheapest of 361” means 40 of the other 360 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 workloadsmol machines: price rankModal VM Sandboxes: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
All three run Docker in a VM. smol machines and boat keep the disk across a stop with no code. A Modal VM ends within 24 hours; you snapshot its filesystem and boot a new sandbox from it, or keep files in a Volume. boat adds /dev/kvm, SSH and a built-in desktop.
105th of 365, with limits
$604 a month
27th cheapest of 365
$633 a month
5th cheapest of 365
$634 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
An agent that lives on its machine all month fits smol machines and boat (with auto-stop off; default 1 hour). A Modal VM stops at 24 hours. You set it up: snapshot the filesystem and boot a new sandbox from it each day; running programs start again.
41st cheapest of 361
$1,038 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
Both fit short code runs. smol machines has a one-minute minimum, a /code endpoint and branches of a warm machine that pay the minimum once. Modal bills per second on max(request, use) and runs up to 5,000 containers at once on Team.
16th cheapest of 336
$140 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
smol machines starts a stopped machine on the next command. On Modal you snapshot each user's filesystem and boot from it when the user comes back. A stopped boat sandbox has no compute charge and keeps its disk at least 14 days; each start counts against the plan's start cap.
12th cheapest of 349
$531 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
smol machines branches a running machine with its memory and processes. Modal's memory snapshots are in alpha: snapshotting ends the sandbox, and snapshots expire after 7 days. Modal Team runs 5,000 containers at once.
119th of 349, with limits
$6,978 a month
163rd of 349, with limits
$11,982 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
49th cheapest of 359
$670 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
Builds that need Android emulators or VMs need /dev/kvm. boat has it on every plan, smol cloud on Startup and Enterprise, and Modal on Enterprise only, as an experimental option.
69th cheapest of 374
$514 a month
170th of 374, with limits
$655 a month
2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
230th of 371, with limits
$29 a month
Not ranked: misses a requirement19th 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 smol machines nor Modal ships a hosted desktop. You set it up: Modal's runnable example installs Xvfb, x11vnc, noVNC and Chromium, and smol's guide runs Chromium from an OCI image. boat streams a 60fps desktop with computer tools.
135th of 367, with limits
$156 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
58th of 356, with limits
$136 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
97th cheapest of 343
$242 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
145th of 327, with limits
$4,344 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
Many attackers in parallel each need a full VM. Modal VM Sandboxes fit when each attack ends within 24 hours. smol cloud fits with a plan that holds enough machines. boat fits with its start limits per plan.
59th of 351, with limits
$377 a month
27th cheapest of 351
$464 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

Featuresmol machinesModal VM Sandboxesboat
Isolationlibkrun microVM with its own guest kernelVM with its own Linux kernel on Cloud HypervisorFull VM with its own kernel, on AMD Ryzen 7 9700X and Ryzen 9 9950X hosts dedicated to boat; vCPUs are shared
Docker insideYes; Docker data must live on the machine's ext4 diskYes; you start dockerd yourselfYes, with systemd and root in every sandbox
CPU benchmark (V8 Web Tooling, 4 vCPU / 8 GB, StarSling run of 3 October 2026)Not in the public benchmarks we useVM runtime 15.48 runs/s, gVisor 12.60, both rank 7 of 15 (shared); measured with cpu=428.06 runs/s, second of 15, on an AMD Ryzen 9 9950X host
Longest sessionNo provider cap; an optional lifetime you set24 hours (default 5 minutes); continue in a new sandbox from a filesystem snapshotNo cap once auto-stop is off on a paid plan (default 1 hour, up to 30 days)
Stop and keep your filesFilesystem in /workspace survives a stop and a command wakes it; /tmp is emptied; stopped disk bills at $0.0001/GB-hourNo paused state. You set it up: snapshot_filesystem() before the end, then boot a new sandbox from it (kept 30 days by default, or with no expiry), or keep files in a VolumeDisk saved every minute and at stop; memory and /tmp are not saved. A stopped sandbox has no compute charge and its disk is kept at least 14 days
ForkBranch a running machine with its memory and processesSnapshot a running sandbox's filesystem and boot any number of new sandboxes from it; memory snapshots in alpha end the sandboxFork a running sandbox from its last 1-minute disk snapshot; the fork boots fresh
Nested virtualizationYes on Startup ($150 a month plus usage) and EnterpriseEnterprise plan only, as an experimental optionYes, /dev/kvm on every plan
DiskMachine disk billed at $0.0001/GB-hour, also while stoppedFixed 512 GiB root filesystem on VMsFixed per size: 51 GB at 4 vCPU, up to 251 GB at 16 vCPU
Inbound accessUp to 16 published ports via token URLs or an authenticated connect route, plus a TCP tunnel route; no dedicated IPEncrypted and raw TCP tunnels, connect tokens, inbound IP allowlistUp to 50 HTTPS URLs, token-gated by default; a public IPv6 address per sandbox; the IP changes at each resume
Outbound rulesBlocked, open, or an allowlist of hosts and CIDR rangesBlock all, IP-range allowlist, domain allowlist (beta)Open internet, no provider-side allowlist
Desktop and browserYou set it up: run Chromium from an OCI image (official guide)You set it up: Modal's runnable example installs Xvfb, x11vnc, noVNC, Chromium and a Browser Use agentLinux desktop and Chrome streamed at 1920x1080, 60fps, with computer-use tools
Coding agentsManaged agents API: Claude Code, Codex, OpenCode or any command, with turns, cancel, event stream, rewind and branchYou install the harness in the image; official examples cover the Claude Agent SDK and OpenCodeSeven harnesses installed, with a prompt, steer and events API
Keeping API keys out of the sandboxStored credentials: the guest sees a placeholder, swapped for the real value on HTTPS to allowed hostsYou set it up: run a credential-injecting proxy in a Sidecar (experimental), from an official exampleOptional AI credentials proxy, $1 per UTC day plus $1 per 1,000 requests; covers supported AI providers only
RegionsNo region choice in the cloud APIUS, EU and Asia-Pacific plus narrower regions; pinning costs 1.15x to 1.75xGermany, Finland and France; you cannot pick a region
Machines at once20 on Standard, 100 on Pro, 1,000 on Startup; a stopped machine holds a slot100 containers on Starter, 5,000 on Team; no per-start fee100 on the $20 plan up to 2,000 on the $2,000 plan; starts per minute, hour and day are capped by plan
Self-hostingOpen-source smolvm runs on your laptop or your own serversHosted onlyHosted only
Every feature Battleships tracks (43)
Featuresmol machinesModal VM Sandboxesboat
Full VM (own kernel)YesYesYes
Docker insideYesYesYes
Nested virtualizationYesYesYes
RootNot publishedYesYes
SystemdNot publishedYesYes
Desktop GUINo documented wayWith your own setupYes
BrowserWith your own setupWith your own setupYes
Computer-use APINo documented wayWith your own setupYes
SSHNo documented wayWith your own setupYes
Persistent diskYesWith your own setupYes
Pause/resumeYesNo documented wayYes
Automatic snapshotsNo documented wayNo documented wayYes
Fork/cloneYesYesYes
Live fork (no pause)YesNot publishedYes
Memory forkYesYesNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsYesYesYes
Idle auto-stopYesYesNo documented way
Wake on requestYesNo documented wayNo documented way
HTTPS preview URLsYesYesYes
Raw TCP inboundNot publishedYesYes
Public IPv4No documented wayNo documented wayNo documented way
Egress allowlistYesYesNo documented way
Secret proxyYesWith your own setupYes
Secret proxy for any APIYesNo documented wayYes
Preinstalled agentsYesWith your own setupYes
Agent harness APIYesNo documented wayYes
MCP serverYesNo documented wayNo documented way
GPUNo documented wayNo documented wayNo documented way
WindowsNo documented wayNo documented wayNo documented way
Arm64YesNo documented wayNo documented way
Self-hostingYesNo documented wayNo documented way
BYOCYesNo documented wayNo documented way
Open sourceYesNo documented wayNo documented way
Scoped API keysNot publishedNot publishedYes
Spend limitsYesNot publishedYes
Usage per sandbox (API)YesNot publishedYes
Audit logsNot publishedYesNo documented way
SSOYesYesNo documented way
SOC 2No documented wayYesNo documented way
HIPAANo documented wayYesNo documented way
EU data residencyNo documented wayYesNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

smol machinesNot measured
Modal VM Sandboxes15.48 runs/s
boat28.06 runs/s

On the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, in StarSling's run of 3 October 2026 (run 37073680030), boat did 28.06 runs/s, second of 15. Modal's VM runtime did 15.48 and its gVisor runtime 12.60, both rank 7 (shared). On real repos in the same run, total seconds were 135.8 vs 180.8 (Better-Auth), 980 vs 1,205 (Mastra) and 428 vs 659 (OpenClaw), boat vs Modal VM. StarSling ran Modal with cpu=4, and the sandbox saw 4 CPUs (PR #121); sized that way, Modal bills 4 cores, $0.76/h. Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host; boat also places sandboxes on Ryzen 7 9700X hosts, which this run did not measure. Providers ran on different hardware in different regions. smol cloud is not in the public benchmarks we use, so we cannot say how it compares. smol publishes a boot time under 200 ms for smolvm, which is a start time, not CPU speed.

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. Modal VM Sandboxes measured on: VM Sandbox, request = size. 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. smol machines is 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.

Scenariosmol machines, a monthModal VM Sandboxes, 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
$25 · Standard$0 · Starter$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$93 · Standard$109 · Starter · 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
$1,139 · Pro$1,480 · Starter$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
$465 · Startup$579 · Team$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,389 · Startup$1,911 · Team · with limits$8,800 · $2000/mo · with limits

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 at $0.0001 per GB-hour, also while stopped. Standard is $0. Pro ($20 a month) and Startup ($150 a month) are fees on top of usage, not credit.

Modal VM Sandboxes: Modal prices CPU per physical core, and one core equals two vCPUs. It bills by the second for the larger of the CPU and memory you request and what you use, until the sandbox ends. A 4 vCPU / 8 GiB sandbox is 2 cores + 8 GiB: $0.476 an hour when the request equals the size. Starter is $0 with $30 of credit a month. Team is $250 a month with $100 of credit. Pinning a region multiplies the price by 1.15x to 1.75x.

Limits in those scenarios

A Modal VM Sandbox runs 24 hours at most. Files carry over through a filesystem snapshot (kept 30 days by default, or with no expiry) or a Volume, which your code sets up. The always-on scenario has no break, so Modal needs a snapshot and a new sandbox each day and is marked as not fitting as-is. smol machines caps machines by plan, and a stopped machine still holds a slot, so 50 agents need Pro and 1,000 jobs at once need Startup, whose fee comes on top of usage. boat runs 100 sandboxes at once on the $20 plan and 2,000 on the $2,000 plan. Even the $2,000 plan includes only 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, so it does not fit 1,000 short jobs at once. A stopped boat sandbox has no compute charge; saved snapshots above the included count and the AI credentials proxy still charge.

Scenariosmol machinesModal VM Sandboxesboat
One coding agent, workdaysNone for this scenarioNone for this scenarioNone for this scenario
One agent that never stopsNone for this scenario
  • Starter: sessions capped at 24 h
None for this scenario
50 agents in parallelNone for this scenarioNone for this scenarioNone for this scenario
Sandboxes for your usersNone for this scenarioNone for this scenarioNone for this scenario
1,000 short jobs at onceNone for this scenario
  • shared vCPUs on this tier (Modal (VM Sandboxes) sells dedicated cores separately as “VM Sandbox, request = size”): heavy, sustained CPU use can be slowed by other tenants
  • 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 smol machines when

you want machines that stay as long as you need, live branches of a running machine with its memory, or one open-source VM engine from your laptop to your own servers.

  • Machines that stay. For agents that keep working past a day: a smol machine has no provider time cap and keeps its files when stopped.
  • Live branches with memory. Useful 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 servers. Teams that want the same VM locally, in a hosted cloud and on their own servers can use one open-source engine.

Use Modal VM Sandboxes when

you run huge bursts of jobs that finish within a day, need regions outside Europe, or already run your models on Modal.

  • Regions around the world. Teams that need machines in the US, the EU or Asia-Pacific can pin Modal sandboxes to a region.
  • Very large bursts and a big disk. Useful for huge waves of short jobs: Team runs 5,000 containers at once, and each VM has 512 GiB of disk.
  • One platform with your models. Teams that already serve or train models on Modal can keep sandboxes, GPUs and models on one account and one bill.

Where boat fits

Look at boat if your agents work for hours or days in a machine they come back to. It gives each agent a full VM with /dev/kvm, SSH, a built-in desktop and seven coding agents on every plan, and saves the disk every minute. boat has no region choice, no GPU and caps starts per plan.

A machine that keeps its work with no code

boat saves the disk every minute and at stop. A Modal VM ends within 24 hours, so you snapshot its filesystem or use a Volume. smol keeps files across a stop. A boat resume is like a reboot, and writes after the last good snapshot can be lost if a machine fails.

Emulators, SSH and a desktop on every plan

boat has /dev/kvm, SSH and a 60fps desktop on every plan. smol cloud has nested virtualization on Startup and Enterprise and documents no SSH route. Modal offers nested virtualization on Enterprise only. On both you set up the desktop yourself.

More CPU work per hour in one public run

In StarSling's run of 3 October 2026, boat did 28.06 runs/s against 15.48 for Modal's VM runtime and 12.60 for gVisor, on a 9950X host. boat also places sandboxes on 9700X hosts, which this run did not measure. smol cloud was not in the run.

Use boat when your agents need a whole machine for days of work: Docker, /dev/kvm, SSH, a desktop and a browser on every plan, a disk saved every minute and coding agents you drive by API. Compare it one to one: boat vs smol machines and boat vs Modal VM Sandboxes.

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 smol machines cheaper than Modal VM Sandboxes?

In most of our scenarios, yes. 50 parallel agents cost $1,139 a month on smol machines and $1,480 on Modal, and sandboxes for your users $465 against $579. One agent on workdays fits in Modal's $30 monthly Starter credit, against $25 on smol. boat costs $20, $317 and $200 for the same three.

Which is faster, smol machines or Modal VM Sandboxes?

smol cloud is not in the public benchmarks we use, so we cannot say. In StarSling's run of 3 October 2026, Modal's VM runtime did 15.48 runs/s and its gVisor runtime 12.60 at 4 vCPU / 8 GB. boat did 28.06 in the same run, on an AMD Ryzen 9 9950X host.

How long can a machine run on each?

A Modal VM Sandbox runs 5 minutes by default and 24 hours at most; a filesystem snapshot carries its files to a new sandbox. smol machines has no provider cap. boat has no cap once auto-stop is off on a paid plan; the default is 1 hour.

Can I run Docker and Android emulators in each?

All three run Docker inside the VM. For Android emulators you need nested virtualization: smol cloud exposes it on Startup and Enterprise, and Modal on Enterprise only, as an experimental option. boat exposes /dev/kvm on every plan.

Can smol machines or Modal fork a running machine?

Both can. smol machines branches a running machine into children that keep its memory and running processes. Modal snapshots a running sandbox's filesystem and boots any number of new sandboxes from it; its memory snapshots are in alpha and end the sandbox. boat forks from the last 1-minute disk snapshot, and the fork boots fresh.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons