Modal VM Sandboxes vs Instabox

Both give an agent a Linux VM with its own kernel, root and Docker. Modal VM Sandboxes run up to 24 hours each on a large serverless AI platform, and carry work forward through filesystem snapshots. Instabox keeps each machine, can pause it with its memory, and has a free plan and paid plans from $20 a month.

The companies and products

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.

Instabox

Instabox gives each AI agent its own Linux machine in the cloud. It has a free plan with one machine and paid plans from $20 a month plus usage.

Each Instabox machine is a Firecracker microVM with its own kernel, root and Docker. It starts from a template (agent-browser by default, universal, t3, herdr, orca, android, omarchy or ci), from your own snapshot, or from a Docker image that you import as a snapshot. The default size is 4 vCPU / 8 GiB, and paid plans go up to 32 vCPU / 64 GiB. You drive it from a CLI, a TypeScript SDK, an HTTP API or an MCP server, with SSH, mosh, HTTPS port URLs and a desktop for computer use.

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. “27th cheapest of 365” means 26 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 workloadModal VM Sandboxes: price rankInstabox: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
All three fit a software factory with your own setup or built in. Instabox costs $410 a month in our default preset, Modal VM $633 and boat $634. Instabox and boat keep each machine and fork it while it runs. On Modal your code snapshots the filesystem before the 24-hour limit and boots a new sandbox from it.
27th cheapest of 365
$633 a month
Cheapest of 365
$410 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 one machine all month hits Modal's 24-hour limit, so your code snapshots the filesystem and starts a new sandbox each day. On Instabox, turn off the idle pause (default 30 minutes) on a paid plan. On boat, turn off auto-stop (default 1 hour) on a paid plan.
Not ranked: misses a requirement4th cheapest of 361
$534 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
Not ranked: misses a requirement4th cheapest of 336
$56 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
Modal Team runs 5,000 containers at once. Instabox runs 100 machines at once on Pro, 200 on Builder and 500 on Team. boat runs 100 to 2,000 by plan, and each session counts as a start.
Not ranked: misses a requirement10th cheapest of 349
$500 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
Huge bursts of short rollouts are what Modal is built for, with no per-start fee. Instabox limits starts to 30 to 100 a minute by plan, and boat to 12 to 90 a minute included. All three are a compromise in our RL preset.
163rd of 349, with limits
$11,982 a month
16th of 349, with limits
$845 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
All three run many evals at once. Modal Team runs 5,000 containers, Instabox 100 to 500 running machines by plan, and boat 100 to 2,000 sandboxes by plan, within its start limits.
Not ranked: misses a requirement34th cheapest of 359
$500 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
All three run Docker builds in a VM. For Android emulators, boat has /dev/kvm on every sandbox, Modal offers nested virtualization on Enterprise only, as an experimental option, and Instabox has a native Android template but does not document /dev/kvm.
170th of 374, with limits
$655 a month
3rd cheapest of 374
$89 a month
2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
A dev box you come back to fits Instabox and boat with no code: both keep the machine. Instabox adds pause with memory and SSH with mosh. On Modal your code snapshots the filesystem and boots a new sandbox at least once a day.
Not ranked: misses a requirement14th cheapest of 371
$24 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
Instabox has a desktop with a browser and a screenshot and click API, and you bring the model. On Modal you set it up: its official example installs Xvfb, Chromium and noVNC in a VM sandbox. boat streams a 60 fps desktop with computer tools for its built-in agents.
Not ranked: misses a requirement4th cheapest of 367
$122 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
Not ranked: misses a requirement49th of 356, with limits
$61 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
Not ranked: misses a requirement5th cheapest of 343
$83 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
Not ranked: misses a requirement31st of 327, with limits
$1,658 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
27th cheapest of 351
$464 a month
2nd cheapest of 351
$100 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

FeatureModal VM SandboxesInstaboxboat
IsolationVM with its own Linux kernel on Cloud HypervisorFirecracker microVM with its own kernel and rootFull VM with its own kernel, on AMD Ryzen 7 9700X and Ryzen 9 9950X hosts; vCPUs are shared
Machine sizesYou set the CPU and memory each sandbox requests4 vCPU / 8 GiB on Free; up to 8 / 16 on Pro, 16 / 32 on Builder, 32 / 64 on TeamUp to 8 vCPU / 16 GB on the $20 plan and 16 vCPU / 32 GB on $100 and above
CPU benchmark (V8 Web Tooling, 4 vCPU / 8 GB, StarSling run of 3 October 2026)15.48 runs/s (gVisor runtime 12.60); measured with cpu=4Not in the public benchmarks we use28.06 runs/s on a Ryzen 9 9950X host; boat does not promise a CPU model
Docker, rootYes; you start dockerd yourself as the entrypointDocker and Docker Compose run inside, with root and systemdDocker and Compose run inside, with root and systemd
Nested virtualizationEnterprise plan only, as an experimental option/dev/kvm not documented; an android template runs Android nativelyYes, /dev/kvm on every sandbox
Longest session24 hours (default 5 minutes); continue in a new sandbox from a filesystem snapshotNo cap on paid plans once you turn off the idle pause (default 30 minutes); the Free machine pauses after 8 hours of runningNo cap once auto-stop is off on a paid plan (default 1 hour, timer up to 30 days)
Stop, pause and resumeNo paused state; your code takes a filesystem snapshot (kept 30 days by default, or with no expiry) or uses a Volume, then boots a new sandboxPause keeps memory and running programs; the docs say resume usually takes about a secondStop keeps the disk with no code, for at least 14 days; memory is not saved, so a resume is like a reboot
Fork and snapshotsOne filesystem snapshot boots many new sandboxes; memory snapshots in alpha end the sandboxFork a running or stopped machine, disk only, up to 5 copies per call; you save snapshots yourselfFork a running sandbox from its last 1-minute snapshot; disk saved every minute and at each stop
Desktop and computer useYou set it up: Modal's official example installs Xvfb, Chromium, x11vnc and noVNC in a VM sandboxVNC desktop with a browser on most templates, screenshot and click API, shareable view or control links; you bring the model1920x1080, 60 fps desktop with Chrome and computer tools for every built-in agent
Coding agentsYou install the harness in the image; official examples cover the Claude Agent SDK and OpenCodeClaude Code, Codex and OpenCode preinstalled on some templates; CLI, skills and MCP; you run the agent yourselfSeven harnesses installed, with a prompt, steer and events API
Keeping API keys out of the sandboxSecrets are environment variables, or you run a credential-injecting proxy in a Sidecar (experimental)Secrets proxy swaps a placeholder for the real key in outbound HTTPS headers to allowed hostsOptional paid proxy ($1 a day while on, plus $1 per 1,000 requests) for supported model providers and custom HTTPS APIs
Hosting portsEncrypted and raw TCP tunnels, connect tokens, inbound IP allowlistHTTPS on up to 16 ports, public by default, token-protected with --private; a port visit wakes an idle-paused machineHTTPS URLs for up to 50 ports, token-protected by default; raw ports over IPv6 on sandboxes with no IPv4 of their own
SSHSupportedSSH through a gateway with short-lived certificates, paste-anywhere SSH tokens and moshSSH into every sandbox through a shared IPv4 host:port
Regions and outbound rulesUS, EU and Asia-Pacific; block all outbound traffic or allow only chosen IP ranges or domainsRegions not publishedGermany, Finland and France, no region choice; open internet, no provider-side allowlist
Machines at once100 containers on Starter, 5,000 on Team, more on Enterprise; no per-start fee1 on Free; 100 running on Pro, 200 on Builder, 500 on Team; 3 to 100 starts a minute by plan100 to 2,000 by plan; $20 plan includes 12 starts a minute and 200 a day, extra starts $0.03 to $0.07
Every feature Battleships tracks (43)
FeatureModal VM SandboxesInstaboxboat
Full VM (own kernel)YesYesYes
Docker insideYesYesYes
Nested virtualizationYesNot publishedYes
RootYesYesYes
SystemdYesYesYes
Desktop GUIWith your own setupYesYes
BrowserWith your own setupYesYes
Computer-use APIWith your own setupYesYes
SSHWith your own setupYesYes
Persistent diskWith your own setupYesYes
Pause/resumeNo documented wayYesYes
Automatic snapshotsNo documented wayNo documented wayYes
Fork/cloneYesYesYes
Live fork (no pause)Not publishedYesYes
Memory forkYesNo documented wayNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsYesYesYes
Idle auto-stopYesYesNo documented way
Wake on requestNo documented wayYesNo documented way
HTTPS preview URLsYesYesYes
Raw TCP inboundYesYesYes
Public IPv4No documented wayNo documented wayNo documented way
Egress allowlistYesNot publishedNo documented way
Secret proxyWith your own setupYesYes
Secret proxy for any APINo documented wayYesYes
Preinstalled agentsWith your own setupYesYes
Agent harness APINo documented wayNot publishedYes
MCP serverNo documented wayYesNo documented way
GPUNo documented wayNot publishedNo documented way
WindowsNo documented wayNo documented wayNo documented way
Arm64No documented wayNot publishedNo documented way
Self-hostingNo documented wayNot publishedNo documented way
BYOCNo documented wayYesNo documented way
Open sourceNo documented wayNo documented wayNo documented way
Scoped API keysNot publishedYesYes
Spend limitsNot publishedYesYes
Usage per sandbox (API)Not publishedYesYes
Audit logsYesYesNo documented way
SSOYesYesNo documented way
SOC 2YesNot publishedNo documented way
HIPAAYesYesNo documented way
EU data residencyYesNot publishedNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

Modal VM Sandboxes15.48 runs/s
InstaboxNot measured
boat28.06 runs/s

In StarSling's run of 3 October 2026 (run 37073680030), the V8 Web Tooling Benchmark at 4 vCPU / 8 GB did 28.06 runs/s on boat, 15.48 on Modal's VM runtime and 12.60 on Modal gVisor. StarSling ran Modal with cpu=4, and the sandbox saw 4 CPUs (PR #121). Every boat sandbox in that run ran on an AMD Ryzen 9 9950X host; boat also places some sandboxes on other hosts, and does not promise a CPU model. Providers ran on different hardware in different regions. Instabox is not in the public benchmarks we use, so we cannot say how it compares. Instabox says a new machine's shell is ready in under a second; we have not measured that.

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. Instabox 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.

ScenarioModal VM Sandboxes, a monthInstabox, 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
$0 · Starter$0 · Free$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$109 · Starter · with limits$25 · Pro$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,480 · Starter$269 · 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
$579 · Team$500 · 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,911 · Team · with limits$500 · Team · with limits$8,800 · $2000/mo · with limits

Modal VM Sandboxes: Modal bills VM Sandboxes by the second for the higher of the CPU and memory you request or use, until the sandbox ends. Modal prices CPU per physical core, and one core equals 2 vCPU, so 4 vCPU / 8 GiB costs $0.476 an hour at a full request. StarSling ran Modal with cpu=4 (PR #121); sized that way, Modal bills 4 cores, $0.76 an hour. Starter is free with $30 of monthly credit, Team is $250 a month with $100 of credit, and pinning a region costs 1.15x to 1.75x.

Instabox: Free costs $0 for one 4 vCPU / 8 GiB machine. Pro ($20), Builder ($100) and Team ($500) a month each include usage credit equal to the fee. Usage costs $0.004 per vCPU-hour and $0.00225 per GiB-hour, per second while a machine runs: $0.034 an hour at 4 vCPU / 8 GiB. Disk above the included pool costs $0.08 per GiB-month, also while stopped, and egress above the allowance $0.02 per GiB.

Instabox: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. A 4 vCPU / 8 GB sandbox costs $0.036 an hour, billed per second while it runs. A stopped sandbox has no compute charge. Saved snapshots above the plan's count ($0.056 a day each) and the optional AI credentials proxy still charge while sandboxes are stopped. Starts above the plan's included number cost $0.03 to $0.07 each.

Limits in those scenarios

A Modal VM Sandbox runs 24 hours at most. Files carry over through a filesystem snapshot or a Volume that your code sets up, so the always-on scenario needs a new sandbox each day and does not fit as-is. Modal's bills assume a minimal CPU request that bursts above it; that extra CPU is shared and not guaranteed. Instabox runs 500 machines at most on Team, at 100 starts a minute, so 1,000 short jobs at once do not fit. An Instabox API exec call runs at most 10 minutes unless you run it in the background. On boat, the $2,000 plan includes 90 starts a minute and 2,400 a day; extra starts cost $0.03 to $0.07, and starts above 270 a minute fail with 429. So the 1,000-job burst does not fit on boat either.

ScenarioModal VM SandboxesInstaboxboat
One coding agent, workdaysNone for this scenarioNone for this scenarioNone for this scenario
One agent that never stops
  • Starter: sessions capped at 24 h
None for this scenarioNone 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 once
  • 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
  • Team: max 500 concurrent
  • bursts above 100 starts/min are queued (a burst of 333 takes ~4 min to start)
  • 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 Modal VM Sandboxes when

you run large bursts of short jobs that finish within a day, need regions outside Europe or strict outbound rules, or already run your models on Modal.

  • Huge bursts of short jobs. For teams running thousands of short jobs: Modal runs 5,000 containers at once on Team and more on Enterprise, with no per-start fee.
  • Regions and outbound rules. For teams that need it, Modal runs in the US, EU and Asia-Pacific and can limit a sandbox to chosen domains.
  • One platform with inference and training. For teams that already serve or train models on Modal: sandboxes and models share one account and one bill.

Use Instabox when

you want a free machine to start with, a low hourly rate, pause with memory, machines up to 32 vCPU, or SSH with mosh.

  • A free plan and a low hourly rate. One 4 vCPU / 8 GiB machine is free, and paid use costs $0.034 an hour at that size, per second while running.
  • Pause with memory. For agents that come back later: a paused machine keeps its memory and running programs, and usually resumes in about a second.
  • SSH gateway with mosh. For people working in a terminal: mosh and paste-anywhere SSH tokens keep a session alive through sleep and network changes.

Where boat fits

Look at boat if your agents work for hours or days in a machine they keep, and you want to prompt and steer them through one API. Modal VM Sandboxes run up to 24 hours each, and Instabox runs the agent you bring. boat installs seven agent harnesses, saves the disk every minute and has /dev/kvm on every sandbox.

A disk saved with no code

On Modal your code snapshots the filesystem before the 24-hour limit and boots a new sandbox from it. On Instabox you save snapshots yourself. boat saves the disk every minute and at each stop, and forks a running sandbox from its last 1-minute snapshot. Writes from the last minute can be missing.

Agents driven through one API

On Modal and Instabox you install or start the agent and write the code that prompts and watches it. boat installs seven harnesses and gives one API to prompt, steer and follow them. Its optional paid proxy keeps supported providers' keys out of the sandbox.

Nested VMs on every sandbox

Modal offers nested virtualization on Enterprise only, as an experimental option, and Instabox does not document /dev/kvm. boat exposes /dev/kvm on every sandbox for Android emulators, QEMU and Firecracker, next to a 60 fps desktop.

Use boat when your agents work for hours or days in a machine they keep, and you want to drive them through one API, run emulators with /dev/kvm, and have the disk saved every minute with no code. Compare it one to one: boat vs Modal VM Sandboxes and boat vs Instabox.

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

Mostly no. In this page's estimates, one agent on workdays costs $0 on both, inside Modal's $30 Starter credit and on Instabox's Free plan. 50 agents in parallel cost $269 on Instabox against $1,480 on Modal VM, and 300 user sandboxes $500 against $579. boat comes to $20, $317 and $200 for those three. An always-on agent costs $25 on Instabox and $26 on boat; on Modal it needs a new sandbox each day.

Which is faster, Modal VM Sandboxes or Instabox?

We cannot say: Instabox is not in the public benchmarks we use. In StarSling's run of 3 October 2026, Modal's VM runtime did 15.48 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, and boat did 28.06 on an AMD Ryzen 9 9950X host. Providers ran on different hardware in different regions.

Can both run Docker?

Yes. Modal VM Sandboxes run Docker if you start dockerd as the entrypoint, and Instabox runs Docker and Docker Compose inside. For Android emulators, Modal offers nested virtualization on Enterprise only, as an experimental option. Instabox has a native Android template but does not document /dev/kvm. boat has /dev/kvm on every sandbox.

How long can a machine run on each?

A Modal VM Sandbox runs 5 minutes by default and 24 hours at most. On Instabox paid plans, there is no cap once you turn off the idle pause (default 30 minutes). On boat, auto-stop defaults to 1 hour; turn it off on a paid plan for no session cap.

How many machines can I run at once?

Modal allows 100 containers at once on Starter and 5,000 on Team. Instabox allows 1 machine on Free, and 100, 200 or 500 running on Pro, Builder and Team. boat allows 100 to 2,000 sandboxes at once by plan, within its start limits.

Is boat SOC 2 compliant?

SOC 2 is in progress, and boat has no SOC 2 report today. Modal has SOC 2. Instabox does not publish a SOC 2 status. Live status for boat is at status.ascii.dev and our data retention policy is at docs.boat.dev/data-retention.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons