Modal vs Runloop

Modal gives you serverless sandboxes under gVisor or a VM runtime, on a big AI compute platform with GPUs and regions around the world; filesystem snapshots carry work to a new sandbox. Runloop gives each coding agent its own VM devbox with Docker, a desktop and agents built in, and it can suspend and wake.

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.

Runloop

Runloop is a US platform of sandboxes, called devboxes, for building, running and testing AI coding agents.

You get Linux devboxes built from Dockerfile-style blueprints, disk snapshots, HTTPS tunnels, agent gateways that hide API keys, browser and computer use, and Axons, event streams that drive agents such as Claude Code. Each devbox runs in a micro-VM on Runloop's own bare-metal hypervisor, with a container layer inside. It is built for teams that ship coding agents, plus evaluation and RL fine-tuning work on the Enterprise plan.

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 workloadModal: price rankRunloop: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
Runloop and boat ship Docker and a desktop ready; on Modal you install them in the image and use the VM runtime. boat ranks #5 here at $634 a month, Runloop #24 at $8,152 and Modal VM #27 at $633.
106th of 365, with limits
$633 a month
24th cheapest of 365
$8,152 a month
5th cheapest of 365
$634 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
Modal's 24-hour sandbox limit makes always-on agents a compromise: your code snapshots the filesystem and starts a new sandbox each day. Runloop keeps an agent running with an idle policy and ranks #38 at $10,194. boat ranks #6 at $657, with no session cap once auto-stop is off on a paid plan.
61st of 361, with limits
$1,574 a month
38th cheapest of 361
$10,194 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
For many short code runs Modal fits well: it ranks #15 at $140 a month, against #52 at $525 on Runloop. boat is a compromise because of its start limits.
15th cheapest of 336
$140 a month
52nd cheapest of 336
$525 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
Both fit sandboxes for your users: Modal at $671 a month and Runloop at $3,301. boat ranks #3 at $209; a stopped boat sandbox has no compute charge and keeps its disk for at least 14 days.
18th cheapest of 349
$671 a month
37th cheapest of 349
$3,301 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
Modal ranks #6 and Runloop #8 for RL rollouts: both launch big waves of short sandboxes. boat's start limits make it a compromise here.
6th cheapest of 349
$11,982 a month
8th cheapest of 349
$15,922 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
91st cheapest of 359
$2,562 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 Runloop's Docker-in-Docker blueprints ($1,554 a month here) and on Modal with runtime="vm" ($1,112). boat ranks #2 at $86 and runs Docker in every sandbox.
110th cheapest of 374
$1,112 a month
125th cheapest of 374
$1,554 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
118th cheapest of 371
$410 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
Runloop ships a desktop and a browser your agent can control, at $2,306 a month here. Modal ranks #45 at $153: its official example installs Xvfb, Chromium and noVNC in a VM sandbox. boat ranks #7 at $200 with a built-in 60 fps desktop.
45th cheapest of 367
$153 a month
41st cheapest of 367
$2,306 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
38th cheapest of 356
$1,153 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
73rd cheapest of 343
$781 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
267th of 327, with limits
$15,611 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
16th cheapest of 351
$770 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 here, from T4 to B300, so it is the pick for GPU eval jobs. Runloop and boat have none.
18th cheapest of 102
$1,116 a month
Not 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

FeatureModalRunloopboat
IsolationgVisor by default; VM runtime with its own kernel available (Modal VM Sandboxes)Micro-VM on a custom hypervisor, with a container layer on topFull VM with its own kernel, on AMD Ryzen 7 9700X and Ryzen 9 9950X hosts; vCPUs are shared
Docker insideYes with the VM runtime (runtime="vm"), at the same price; not documented on gVisorYes, on the Docker-in-Docker blueprints, as rootYes, in every sandbox, with root and systemd
Nested virtualizationVM runtime only, Enterprise plan, as an experimental optionNot documentedYes: /dev/kvm, Android emulator, VMs inside
Desktop, browser, computer useNo desktop built in; Modal's VNC example installs one in the image on the VM runtimeDesktop and browser your agent can controlBuilt-in 1920x1080, 60 fps desktop, Chrome and computer tools
Keeping filesFiles kept through filesystem snapshots (30 days by default, or indefinitely) or Volumes; a sandbox itself does not pauseDisk kept through suspend (Pro plan) or disk snapshots; shutdown deletes the diskDisk saved every minute and at each stop, on every plan, with no code; kept at least 14 days
Longest session24 hours (default 5 minutes); for longer work, a filesystem snapshot and a new sandboxKeep-alive timer 1 hour by default, 48 hours max; an idle policy replaces it with no documented capNo cap once auto-stop is off on a paid plan (default 1 hour, timer up to 30 days)
Idle sleep and wakeAn idle timeout ends the sandboxSuspend after idle, wake on an HTTP request to the tunnel (Pro)No idle timer; auto-stop counts from start, and a running sandbox bills busy or idle
Snapshots and forksOne filesystem snapshot boots many new sandboxes; memory snapshots in alphaDisk snapshots that new devboxes start fromFork a running sandbox from its last 1-minute snapshot; saved snapshots as templates
GPUsT4 to B300; 10 at once on Starter, 50 on TeamNoneNone
Images and CPU architectureBuild images in code or pull any linux/amd64 registry imageBlueprints built from Dockerfiles, x86_64 and arm64boat's image or a saved snapshot, x86_64 only; you cannot boot your own Docker image
Outbound network rulesBlock all, IP-range allowlist, domain allowlist (beta)Hostname allowlist with wildcards, or block allOpen internet, no provider-side allowlist
Inbound networkingEncrypted and raw TCP tunnels, connect tokens, inbound IP allowlistOne HTTPS tunnel per devbox, SSH through a TLS proxy, no public IPHTTPS URLs for up to 50 ports, token-gated by default; SSH; raw ports over public IPv6
Coding agents and hidden keysYou install the harness in the image (official OpenCode example); secrets are environment variables, or your own sidecar proxy (beta)Claude Code, Codex, OpenCode and others through Axons; agent gateways hide API keysSeven harnesses installed with a prompt, steer and events API; optional paid AI credentials proxy
Where it runsUS, EU and Asia-Pacific; pinning a region costs 1.15x to 1.75xRegions not documented; deploy into your own AWS, GCP or Azure (Enterprise)Germany, Finland and France; no US or Asia region, and you cannot pick one
Every feature Battleships tracks (43)
FeatureModalRunloopboat
Full VM (own kernel)No documented wayYesYes
Docker insideNo documented wayYesYes
Nested virtualizationNo documented wayNo documented wayYes
RootYesYesYes
SystemdNo documented wayNot publishedYes
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 wayYesYes
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 inboundYesNo documented wayYes
Public IPv4No documented wayNo documented wayNo documented way
Egress allowlistYesYesNo documented way
Secret proxyNo documented wayYesYes
Secret proxy for any APINo documented wayYesYes
Preinstalled agentsWith your own setupYesYes
Agent harness APINo documented wayYesYes
MCP serverNo documented wayYesNo documented way
GPUYesNo documented wayNo documented way
WindowsNo documented wayNo documented wayNo documented way
Arm64No documented wayYesNo documented way
Self-hostingNo documented wayNo documented wayNo documented way
BYOCNo documented wayYesNo documented way
Open sourceNo documented wayNo documented wayNo documented way
Scoped API keysNot publishedYesYes
Spend limitsNot publishedNot publishedYes
Usage per sandbox (API)Not publishedYesYes
Audit logsYesNot publishedNo documented way
SSOYesYesNo documented way
SOC 2YesYesNo documented way
HIPAAYesNot publishedNo documented way
EU data residencyYesNo documented wayNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

Modal12.60 runs/s
Runloop8.93 runs/s
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 (second of 15), 15.48 on Modal's VM runtime, 12.60 on Modal gVisor and 8.93 on Runloop (15th of 15). 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 AMD Ryzen 7 9700X hosts, which this run did not measure. Providers ran on different hardware in different regions. The test measures CPU work only, not start time. For one start at a time, ComputeSDK's run of 7 August 2026 measured Runloop at 465 ms and Modal at 549 ms median, at each provider's default size; boat is not in ComputeSDK.

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.

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, a monthRunloop, 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$113 · Basic$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$109 · Starter · with limits$429 · Basic$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$5,268 · Basic$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$1,441 · Basic$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$3,184 · Basic$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 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 egress above the free allowance costs $0.04 per GiB.

Runloop: Runloop bills per second for the CPU and memory you allocate while a devbox starts, runs, suspends or resumes: $0.63 an hour at 4 vCPU / 8 GB. Its disk bills for the devbox's whole life. Basic has no plan fee; Pro adds $250 a month that is not usage credit and unlocks suspend and resume. New accounts get $50 of credit with no card.

Runloop: 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, busy or idle. 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

On Modal, a sandbox lives at most 24 hours, so the workday, always-on and fleet scenarios restore work from a filesystem snapshot or a Volume, which your code sets up. The 50-agent fleet needs Docker, which Modal runs on its VM runtime. Modal's Team tier for 1,000 short jobs uses shared vCPUs that other tenants can slow down. Runloop fits all five scenarios, but it publishes no egress price, and keeping a devbox's disk while it sleeps needs Pro. boat's limit is start rate: from 200 starts a day on the $20 plan to 2,400 a day on the $2,000 plan, and starts above 270 a minute fail with 429, so 1,000 jobs at once do not fit.

ScenarioModalRunloopboat
One coding agent, workdaysNone for this scenario
  • egress price not published
None for this scenario
One agent that never stops
  • Starter: sessions capped at 24 h
  • egress price not published
None for this scenario
50 agents in parallel
  • missing Docker inside
  • egress price not published
None for this scenario
Sandboxes for your usersNone for this scenario
  • egress price not published
None for this scenario
1,000 short jobs at once
  • shared vCPUs on this tier (Modal sells dedicated cores separately as “Sandbox (gVisor), request = size, any region”): heavy, sustained CPU use can be slowed by other tenants
  • egress price not published
  • 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 when

your sandboxes need GPUs, must run in regions outside Europe, or are huge bursts of short jobs that finish within a day.

  • 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 around the world. Modal runs in the US, EU and Asia-Pacific and lets you pin a sandbox to a region; Runloop documents no regions.
  • More CPU work than Runloop in one public run. In StarSling's run of 3 October 2026 at 4 vCPU / 8 GB, Modal's VM runtime did 15.48 runs/s, Modal gVisor 12.60 and Runloop 8.93.

Use Runloop when

you want a VM devbox with Docker, a desktop and agents ready, need hostname allowlists or arm64, or want devboxes inside your own cloud.

  • A full agent computer out of the box. Each devbox is a VM with Docker, a desktop, a browser and coding agents ready, where on Modal you add them to the image and pick the VM runtime.
  • Past the 24-hour mark. With an idle policy a devbox can keep running, and on Pro it suspends when idle and wakes on a request.
  • arm64 and your own cloud. Runloop offers arm64 blueprints, and on Enterprise it can run devboxes inside your own AWS, GCP or Azure account.

Where boat fits

If your agents work for hours or days on one project, look at boat. Each sandbox is a full VM that keeps its disk on every plan with no code, and runs Docker and emulators. In one public CPU run it did more work than both Modal runtimes and Runloop. Pick Modal or Runloop instead for GPUs, regions outside Europe, or huge bursts of short jobs.

Work that survives the night

A Modal sandbox ends within 24 hours; files survive only in a snapshot or a Volume you save. A Runloop devbox loses its disk on shutdown unless you pay for Pro suspend or take snapshots. boat saves the disk every minute and at each stop, and has no session cap once auto-stop is off. A machine failure loses what was written after the last snapshot.

A real kernel with /dev/kvm

Modal's default gVisor sandbox has no Docker; its VM runtime does, and nested virtualization needs the Enterprise plan. Runloop documents Docker-in-Docker but no /dev/kvm. On boat, Android emulators and VMs run inside every sandbox.

More CPU work in one public run

In StarSling's run of 3 October 2026, boat did 28.06 runs/s, Modal's VM runtime 15.48, Modal gVisor 12.60 and Runloop 8.93. On the Better-Auth repo, builds and tests took 135.8 s on boat, 180.8 s on Modal VM and 559.5 s on Runloop. Providers ran on different hardware in different regions.

Use boat when your agents work for hours or days: installs, builds, tests, Docker and emulators on a full VM, with the disk saved every minute on every plan and no snapshot code. Compare it one to one: boat vs Modal and boat vs Runloop.

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 Runloop?

In our scenarios, yes. One always-on agent costs $109 on Modal against $429 on Runloop, though Modal needs a new sandbox each day. Sandboxes for your users fit on both, at $579 on Modal against $1,441 on Runloop. boat costs $26 and $200 for those two.

Which is faster, Modal or Runloop?

In StarSling's run of 3 October 2026 at 4 vCPU / 8 GB, Modal's VM runtime did 15.48 V8 Web Tooling runs/s, Modal gVisor 12.60 and Runloop 8.93. boat did 28.06 on an AMD Ryzen 9 9950X host. Providers ran on different hardware in different regions.

Can Modal or Runloop run Docker?

Runloop runs Docker on its Docker-in-Docker blueprints. Modal runs Docker with its VM runtime (runtime="vm"), at the same price; 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 Runloop?

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. A Runloop devbox has a keep-alive timer of 1 hour by default and 48 hours at most, but an idle policy replaces that cap. On boat, auto-stop defaults to 1 hour; turn it off on a paid plan for no session cap.

Does Runloop have GPUs like Modal?

No. Runloop devboxes are CPU machines, and so are boat sandboxes. Modal rents GPUs from T4 to B300 on its gVisor runtime.

Is boat SOC 2 compliant?

SOC 2 is in progress, and boat has no SOC 2 report today. Modal has SOC 2 Type II, and Runloop's pricing page lists SOC 2 Type II. Live status is 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