Modal vs Instabox
Modal runs sandboxes inside a large AI compute platform, with GPUs, many regions, a VM runtime for Docker and huge bursts of jobs. Each sandbox ends within 24 hours. Instabox gives each agent its own Firecracker VM with Docker that can pause with its memory and fork while running, with a free plan and paid plans from $20 a month.
The companies and products
Modal
Modal is a serverless cloud for AI work: inference, training, batch jobs and sandboxed code, all driven from Python, TypeScript or Go code.
Modal Sandboxes are containers you create from code, run commands in, and then terminate. By default they run under gVisor, a user-space kernel from Google. Since October 2026 you can also pick a VM runtime with its own Linux kernel for Docker and FUSE (Battleships tracks that as a separate card, Modal VM Sandboxes). Your code can save a sandbox's disk as a filesystem snapshot and start new sandboxes from it. It suits teams that already run models on Modal and want scalable code execution next to their GPUs.
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. “15th cheapest of 336” means 14 of the other 335 providers run that workload, with every feature it needs, for less. “With limits” means the provider runs it but misses something, so it is listed after every full match. Open a use case for its whole ranking and what each provider misses.
| Use case and its workload | Modal: price rank | Instabox: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month Software factories need Docker, a desktop and a disk that lasts. Instabox ranks 2nd here at $410 a month and forks a running machine. Modal VM ranks 7th at $633: you snapshot the filesystem between sessions. boat ranks 8th at $634 and forks a running sandbox with its disk saved every minute. | 106th of 365, with limits $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 always-on agent hits Modal's 24-hour sandbox limit, so your code snapshots the filesystem and starts a new sandbox each day. On Instabox you turn off the idle pause on a paid plan; it ranks 4th here. boat ranks 5th: turn auto-stop off on a paid plan (default 1 hour). | 61st of 361, with limits $1,574 a month | 4th 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 Both fit huge numbers of short code runs. Instabox ranks 3rd here at about $56 a month and Modal 11th at about $140. boat ranks 130th as a compromise, because its start limits bite. | 15th cheapest of 336 $140 a month | 4th 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 All three fit sandboxes for your users. boat ranks 2nd at about $209 a month, Instabox 8th at $500 (300 running at once needs its Team plan) and Modal 15th at about $671. | 18th cheapest of 349 $671 a month | 10th 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 RL rollouts launch many short sandboxes at once, which Modal is built for, and Modal ranks 6th here. Instabox ranks 15th as a compromise: Team runs at most 500 machines and 100 starts a minute. | 6th cheapest of 349 $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 | 62nd cheapest of 359 $889 a month | 34th 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 CI jobs that build Docker images run on Instabox and on every boat sandbox, and on Modal with the VM runtime. boat ranks 2nd at $86 a month and Instabox 3rd at $89. Builds that need /dev/kvm run on boat; Instabox does not document it. | 110th cheapest of 374 $1,112 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 | 129th of 371, with limits $9.07 a month | 14th 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 screenshot and click API and ranks 4th at $122 a month. Modal's official example installs Xvfb, Chromium and noVNC in a VM sandbox; with it Modal ranks 6th. boat ranks 8th at $200, with a 60 fps desktop and computer tools for its built-in agents. | 45th cheapest of 367 $153 a month | 4th 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 | 57th of 356, with limits $121 a month | 49th 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 | 98th cheapest of 343 $252 a month | 5th 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 | 171st of 327, with limits $5,957 a month | 31st 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 | 289th of 351, with limits $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 Modal has GPUs from T4 to B300. Neither Instabox nor boat has GPUs, so Modal is the pick for GPU jobs. | 18th cheapest of 102 $1,116 a month | Not ranked: misses a requirement | Not ranked: misses a requirement |
| macOS agents 5 at once · 4 vCPU / 8 GB · 1,000 sessions of 20 min a month | Not ranked: misses a requirement | Not ranked: misses a requirement | Not ranked: misses a requirement |
Key features
| Feature | Modal | Instabox | boat |
|---|---|---|---|
| Isolation | gVisor user-space kernel by default; VM runtime with its own kernel (runtime="vm") | Firecracker microVM with its own kernel and root | Full VM with its own kernel on hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared |
| Docker inside | Yes with the VM runtime; not documented on the default gVisor runtime | Docker and Docker Compose run inside | Docker and Compose run inside, with root and systemd |
| Nested virtualization | VM runtime only, Enterprise plan only, as an experimental option | /dev/kvm not documented; an android template runs Android natively | Yes, /dev/kvm for Android emulators and VMs |
| Machine sizes | You request CPU and memory per sandbox; 512 GiB disk by default | 4 vCPU / 8 GiB on Free; up to 8 / 16 on Pro, 16 / 32 on Builder, 32 / 64 on Team | Up to 8 vCPU / 16 GB on the $20 plan and 16 vCPU / 32 GB on $100 and above; disk 51 to 251 GB by size |
| Longest session | 24 hours (default 5 minutes); for longer work, a filesystem snapshot and a new sandbox | No maximum on paid plans once the idle pause (default 30 minutes) is off; Free pauses after 8 hours of running | Auto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no cap |
| Stop, pause and resume | No paused state; filesystem and directory snapshots keep files after a sandbox ends (30 days by default, or no expiry); Volumes keep folders | Pause keeps memory and running programs; resume usually takes about a second | No compute charge while stopped; disk kept at least 14 days; resume boots the machine again |
| Fork and snapshots | One filesystem snapshot boots many identical sandboxes; memory snapshots in alpha end the sandbox | Fork a running or stopped machine's disk, up to 5 copies per call; snapshots saved by hand while running, unlimited on paid plans | Fork a running sandbox from its last 1-minute disk snapshot; disk saved every minute and at each stop with no action |
| GPUs | T4 to B300, on the gVisor runtime; 10 at once on Starter, 50 on Team | None | None |
| Desktop and computer use | No built-in desktop; Modal's official example installs Xvfb, Chromium, x11vnc and noVNC in a VM sandbox | VNC desktop with a browser on most templates, screenshot and click API, shareable view or control links; you bring the model | 1920x1080, 60 fps desktop with Chrome and computer tools for every built-in agent |
| Public ports | Encrypted and raw TCP tunnels, connect tokens, inbound IP allowlist | HTTPS on up to 16 ports, public by default, token-protected with --private; raw TCP through the port gateway | HTTPS on up to 50 ports, token-gated by default; raw ports (IPv6 only on sandboxes without their own IPv4) |
| SSH | Supported | Gateway with short-lived certificates, paste-anywhere SSH tokens and mosh | SSH into every sandbox |
| Outbound network rules | Block all, IP-range allowlist, domain allowlist (beta) | Not documented | No provider-side allowlist |
| Coding agents and API keys | You install a harness in the image (official OpenCode example); secrets are environment variables, or you run your own proxy in a sidecar | Claude Code, Codex and OpenCode on some templates, run by you; a secrets proxy swaps a placeholder for the real key on outbound HTTPS to allowed hosts | Seven agents preinstalled, driven through a prompt, steer and events API; optional AI credentials proxy ($1 a day plus $1 per 1,000 requests) |
| Regions | US, EU and Asia-Pacific; pinning a region costs 1.15x to 1.75x | Not published | Germany, Finland and France; no region choice, no US or Asia region |
Every feature Battleships tracks (43)
| Feature | Modal | Instabox | boat |
|---|---|---|---|
| Full VM (own kernel) | No documented way | Yes | Yes |
| Docker inside | No documented way | Yes | Yes |
| Nested virtualization | No documented way | Not published | Yes |
| Root | Yes | Yes | Yes |
| Systemd | No documented way | Yes | Yes |
| Desktop GUI | With your own setup | Yes | Yes |
| Browser | With your own setup | Yes | Yes |
| Computer-use API | With your own setup | Yes | Yes |
| SSH | With your own setup | Yes | Yes |
| Persistent disk | With your own setup | Yes | Yes |
| Pause/resume | No documented way | Yes | Yes |
| Automatic snapshots | No documented way | No documented way | Yes |
| Fork/clone | Yes | Yes | Yes |
| Live fork (no pause) | Not published | Yes | Yes |
| Memory fork | Yes | No documented way | No documented way |
| Custom image (Docker or snapshot) | Yes | Yes | Yes |
| ≥24 h sessions | Yes | Yes | Yes |
| Idle auto-stop | Yes | Yes | No documented way |
| Wake on request | No documented way | Yes | No documented way |
| HTTPS preview URLs | Yes | Yes | Yes |
| Raw TCP inbound | Yes | Yes | Yes |
| Public IPv4 | No documented way | No documented way | No documented way |
| Egress allowlist | Yes | Not published | No documented way |
| Secret proxy | No documented way | Yes | Yes |
| Secret proxy for any API | No documented way | Yes | Yes |
| Preinstalled agents | With your own setup | Yes | Yes |
| Agent harness API | No documented way | Not published | Yes |
| MCP server | No documented way | Yes | No documented way |
| GPU | Yes | Not published | No documented way |
| Windows | No documented way | No documented way | No documented way |
| Arm64 | No documented way | Not published | No documented way |
| Self-hosting | No documented way | Not published | No documented way |
| BYOC | No documented way | Yes | No documented way |
| Open source | No documented way | No documented way | No documented way |
| Scoped API keys | Not published | Yes | Yes |
| Spend limits | Not published | Yes | Yes |
| Usage per sandbox (API) | Not published | Yes | Yes |
| Audit logs | Yes | Yes | No documented way |
| SSO | Yes | Yes | No documented way |
| SOC 2 | Yes | Not published | No documented way |
| HIPAA | Yes | Yes | No documented way |
| EU data residency | Yes | Not published | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
StarSling's run of 3 October 2026 (run 37073680030) ran the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, median of 5 sandboxes. Modal's VM runtime did 15.48 runs/s and its default gVisor runtime 12.60. boat did 28.06, second of 15. 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. 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 measured on: Sandbox (gVisor), request = size, any region. 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.
| Scenario | Modal, a month | Instabox, a month | boat, a month |
|---|---|---|---|
| One coding agent, workdays 4 vCPU / 8 GB, 50 GB disk, 8 hours a day, 22 days a month, files kept between days | $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 · with limits | $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: Modal bills by the second for whichever is higher, the CPU and memory you request or what you use, and an idle sandbox pays until it is terminated. Modal prices CPU per physical core, and one core equals 2 vCPU, so a 4 vCPU / 8 GiB sandbox is $0.476 an hour at a full request. StarSling ran Modal with cpu=4 and the sandbox saw 4 CPUs (PR #121); sized that way, Modal bills 4 cores, $0.76 an hour. Starter is free with $30 of monthly credit, and Team is $250 a month with $100 of credit.
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, which is $0.034 an hour at 4 vCPU / 8 GiB. Disk above the included pool costs $0.08 per GiB-month, and egress above the allowance $0.02 per GiB. Snapshots and a paused machine's memory are free.
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 default sandbox (4 vCPU / 8 GB) costs $0.036 an hour, billed per second while it runs. Egress is not billed. A stopped sandbox has no compute charge and keeps its disk for at least 14 days, but saved snapshots above the included count and the AI credentials proxy still charge. The $20 plan includes 12 starts a minute, 60 an hour and 200 a day; each extra start costs $0.03 to $0.07.
Limits in those scenarios
On Modal, a sandbox lives at most 24 hours, so the always-on scenario needs your code to snapshot the filesystem and start a new sandbox each day, and the 50-agent fleet needs Docker, which takes the VM runtime. Instabox Free allows one machine; Pro allows 100 running, Builder 200 and Team 500, at 30, 50 and 100 starts a minute. None of the three fits 1,000 short jobs at once as priced. Instabox Team runs at most 500 machines, and Modal's tier uses shared vCPUs. boat's $2,000 plan includes 90 starts a minute and 2,400 a day, bills extra starts at $0.03 to $0.07, and refuses starts above 3 times the included rate per minute.
| Scenario | Modal | Instabox | boat |
|---|---|---|---|
| One coding agent, workdays | None for this scenario | None for this scenario | None for this scenario |
| One agent that never stops |
| None for this scenario | None for this scenario |
| 50 agents in parallel |
| None for this scenario | None for this scenario |
| Sandboxes for your users | None for this scenario | None for this scenario | None for this scenario |
| 1,000 short jobs at once |
|
|
|
Which one should you use?
Use Modal when
your sandboxes need GPUs, must run outside Europe, need an outbound allowlist, or are huge bursts of short jobs that finish in minutes.
- GPUs next to your sandboxes. Useful if your agent trains or runs models: Modal rents GPUs from T4 to B300 on the same platform as its sandboxes.
- Regions and outbound rules. Modal runs in the US, EU and Asia-Pacific, and can block a sandbox's outbound traffic or allow only chosen domains.
- Very large bursts of short jobs. Useful for evals and RL rollouts: Modal runs up to 5,000 containers at once on its Team plan.
Use Instabox when
you want a free machine to start with, a low hourly rate, pause with memory, machines above 16 vCPU or your own Docker image.
- 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.
- Pause with memory and live fork. A paused machine keeps its memory and running programs and usually resumes in about a second; a running machine forks in one call.
- SSH gateway with mosh. Its SSH gateway relays mosh and gives paste-anywhere SSH tokens, so a session survives sleep and network changes.
Where boat fits
If you run coding agents that work for hours, look at boat. Modal ends a sandbox within 24 hours, and your code carries files forward with a filesystem snapshot. Instabox keeps the machine and pauses with memory, and you run the agent yourself. boat gives each agent a full VM with /dev/kvm, saves its disk every minute, and lets you prompt and steer the agents through one API.
Disk saved every minute, with no action
On Modal your code takes a filesystem snapshot to keep work past 24 hours. On Instabox you save snapshots by hand. boat saves the disk every minute and at each stop, and forks a running sandbox from its last snapshot. If a machine fails, boat loses writes made after the last snapshot.
Docker and /dev/kvm
On Modal, Docker needs the VM runtime, and nested virtualization is Enterprise only and experimental. Instabox runs Docker but does not document /dev/kvm. boat has Docker, systemd and /dev/kvm in every sandbox, for Android emulators and VM builds.
Agents you drive from outside
On Modal you install the agent harness yourself. On Instabox you run Claude Code or Codex yourself, so queueing, steering and events are code you write. boat has seven agents installed with a prompt, steer and events API.
Use boat when your agents work for hours or days and you want to prompt and steer them through one API, need /dev/kvm, or want the disk saved every minute with no action. Turn auto-stop off on a paid plan for long work (default 1 hour). Compare it one to one: boat vs Modal 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 cheaper than Instabox?
Usually not. One agent on workdays is $0 on both: inside Modal's $30 monthly credit, and on Instabox's Free plan. One always-on agent is about $109 on Modal against $25 on Instabox, and Modal ends a sandbox every 24 hours. 50 agents in parallel are $1,480 on Modal's VM runtime against $269 on Instabox. boat comes to $20, $26 and $317 for those three.
Which is faster, Modal or Instabox?
Only Modal has been measured. In StarSling's run of 3 October 2026 at 4 vCPU / 8 GB, Modal's VM runtime did 15.48 runs/s and its gVisor runtime 12.60, and boat did 28.06. Instabox is not in that benchmark, and its claim of a shell in under a second has not been measured.
Can Modal and Instabox run Docker?
Instabox runs Docker and Docker Compose in every machine. Modal runs Docker with its VM runtime, chosen with runtime="vm"; the default gVisor runtime does not document it. Every boat sandbox runs Docker with no extra setting.
How long can a sandbox run on Modal and on Instabox?
A Modal sandbox runs 5 minutes by default and 24 hours at most; for longer work, Modal recommends a filesystem snapshot and a new sandbox. Instabox documents no maximum on paid plans, but a new machine pauses after 30 idle minutes unless you change that. boat auto-stop defaults to 1 hour; on a paid plan you can turn it off, and then there is no session cap.
Can Modal and Instabox fork a running machine?
Instabox forks a running or stopped machine's disk, up to 5 copies per call. Modal boots many identical sandboxes from one filesystem snapshot that your code takes. boat forks a running sandbox from its last 1-minute snapshot, so writes from the last minute or so can be missing.
Do Modal or Instabox have GPUs?
Modal has GPUs from T4 to B300, 10 at once on Starter and 50 on Team. Instabox has none, and neither does boat, so for GPU work Modal is the fit.
Try boat
Install the CLI, then run boat new.
7-day free trial