Northflank vs Modal VM Sandboxes

Both give each sandbox its own Linux kernel and both keep files through filesystem snapshots. Northflank sandboxes run until you pause them, inside a broad platform with GPUs, 17 regions and your own cloud. Modal VM Sandboxes run up to 24 hours each, are built for large bursts, and sit next to Modal's AI platform.

The companies and products

Northflank

Northflank is a London developer platform for running services, jobs and databases on Kubernetes, and Sandboxes is its product for running untrusted code.

A Northflank sandbox is a container image deployed as a service. CPU sandboxes run in Kata microVMs with their own kernel, and GPU sandboxes run under gVisor. You create and drive them from the JavaScript or Python SDK, the CLI or the dashboard, on Northflank's cloud or inside your own. It suits teams that want one platform for apps, databases, GPUs and sandboxes.

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. “44th cheapest of 361” means 43 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 workloadNorthflank: 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
boat ranks 5th here and Modal VM 27th; both run Docker in a VM. On Modal you snapshot the filesystem before the 24-hour end and boot a new sandbox from it. On Northflank you snapshot before a pause or use volumes. boat saves the disk at each stop with no code.
186th of 365, with limits
$1,413 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 assistant that lives on its machine all month fits Northflank (44th here, with your own setup) and boat (6th, auto-stop off). A Modal VM stops at 24 hours, so you snapshot its filesystem and boot a new sandbox each day.
44th cheapest of 361
$2,551 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
Short code runs fit both: Northflank has per-second plans from 0.1 vCPU, and Modal runs up to 5,000 containers at once on Team with no per-start fee. Each boat start counts against the plan's start cap.
91st of 336, with limits
$114 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
Modal allows 5,000 containers at once on Team and keeps user files through snapshots. Northflank does not publish how many sandboxes run at once. boat ranks 3rd here: a stopped sandbox has no compute charge and keeps its disk at least 14 days.
94th of 349, with limits
$810 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
Large bursts of short rollouts are what Modal is built for. Northflank's concurrency limit is not published. boat's $2,000 plan includes 90 starts a minute, and starts above 270 a minute fail with 429.
333rd of 349, with limits
$1,742 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
139th of 359, with limits
$685 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
All three run Docker builds with their own kernel. boat ranks 2nd here and adds /dev/kvm on every plan. Modal offers nested virtualization on Enterprise only, as an experimental option. Northflank does not document it.
36th cheapest of 374
$347 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
124th cheapest of 371
$106 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
On Northflank and Modal you set up the desktop: Modal's runnable example installs Xvfb, x11vnc, noVNC and Chromium. boat has a 60 fps desktop and Chrome with computer tools inside.
189th of 367, with limits
$367 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
83rd of 356, with limits
$359 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
94th cheapest of 343
$200 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
83rd of 327, with limits
$2,031 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
boat ranks 3rd here and Modal VM 27th. Both branch work from a running machine: Modal from a filesystem snapshot, boat from its last 1-minute snapshot.
43rd of 351, with limits
$180 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
Northflank has GPU sandboxes from L4 to H100, H200 and B200 under gVisor. Modal VM Sandboxes have no GPUs; Modal's gVisor sandboxes do. boat has no GPU on any size.
5th cheapest of 102
$692 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

FeatureNorthflankModal VM Sandboxesboat
IsolationKata microVM with its own kernel for CPU sandboxes; gVisor for GPUVM 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
Longest sessionNo maximum documented; runs until you pause or delete it24 hours (default 5 minutes); continue in a new sandbox from a filesystem snapshotNo cap once auto-stop is off on a paid plan; auto-stop defaults to 1 hour, up to 30 days
What survives a stopAttached volumes survive (billed while paused); the rest of the disk resets unless you snapshot the filesystem before the pause and restore it (microVM only)No paused state; you set it up: snapshot the filesystem and boot a new sandbox from it (kept 30 days by default, or with no expiry), or keep files in a VolumeThe disk, saved every minute and at each stop with no code; kept at least 14 days; memory and processes are not saved
Snapshots and forkFilesystem snapshots of a running or terminating sandbox, opt-in; restore into a new one; no memoryFilesystem snapshots boot any number of new sandboxes; memory snapshots in alpha end the sandbox and expire after 7 daysAutomatic disk snapshots; fork a running sandbox from its last 1-minute snapshot
Docker and systemdDocker runs inside, with its own kernelDocker, FUSE and systemd; you start dockerd yourselfDocker and systemd in every sandbox
Nested virtualizationNot documented inside a sandboxEnterprise plan only, as an experimental optionYes, /dev/kvm on every plan for Android emulators and VMs
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, rank 2 of 15 (shared), on a Ryzen 9 9950X host
Desktop and browserNo built-in desktop; you install one in your own image; a Playwright guide covers browser agentsNot built in; you set it up from Modal's runnable example with Xvfb, x11vnc, noVNC, Chromium and a Browser Use agent1920x1080, 60 fps Linux desktop, Chrome and computer tools for agents
Coding agentsHarnesses start Claude Code, Codex, Cursor, OpenCode, Pi, OMP or Devin CLI; you reach them by terminal or SSHYou install the harness in the image; official examples cover the Claude Agent SDK and OpenCodeSeven agents installed, with a prompt, steer and events API
Keeping API keys out of the sandboxHeader injection for listed hosts in the network policy API (documented for your own cluster); otherwise env vars or filesYou set it up: a credential-injecting proxy in a Sidecar (experimental), from an official exampleOptional paid proxy ($1 a day plus $1 per 1,000 requests) for supported model providers and HTTPS APIs you register; other secrets still enter the sandbox
Outbound rulesNetwork policies with allow lists by IP, CIDR or domain, documented for your own clusterBlock all, IP-range allowlist, domain allowlist (beta)Open internet, no provider-side allowlist; you can add firewall rules inside the VM
Disk1 GB ephemeral disk; billed volumes for moreFixed 512 GiB root filesystem on VMs51 GB on 2 and 4 vCPU sizes, up to 251 GB on 16 vCPU; fixed per size
GPUsL4, A100, H100, H200, B200, RTX PRO 6000 and more, under gVisorNone on the VM runtime; Modal's gVisor sandboxes have GPUsNo GPU on any size
Regions17 regions in North America, South America, Europe, Asia, Australia and AfricaUS, EU and Asia-Pacific; pinning a region costs 1.15x to 1.75xGermany, Finland and France; you cannot pick a region; no US or Asia region
Your own cloudRun in your AWS, GCP, Azure or other account, or the control plane in your VPC on EnterpriseNoNo
Every feature Battleships tracks (43)
FeatureNorthflankModal VM Sandboxesboat
Full VM (own kernel)YesYesYes
Docker insideYesYesYes
Nested virtualizationNo documented wayYesYes
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
SSHYesWith your own setupYes
Persistent diskWith your own setupWith your own setupYes
Pause/resumeYesNo documented wayYes
Automatic snapshotsYesNo documented wayYes
Fork/cloneYesYesYes
Live fork (no pause)YesNot publishedYes
Memory forkNo documented wayYesNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsYesYesYes
Idle auto-stopNo documented wayYesNo documented way
Wake on requestNo documented wayNo documented wayNo documented way
HTTPS preview URLsYesYesYes
Raw TCP inboundYesYesYes
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 APINo documented wayNo documented wayYes
MCP serverNo documented wayNo documented wayNo documented way
GPUYesNo 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 sourceNo documented wayNo documented wayNo documented way
Scoped API keysNot publishedNot publishedYes
Spend limitsNot publishedNot publishedYes
Usage per sandbox (API)YesNot publishedYes
Audit logsYesYesNo documented way
SSOYesYesNo documented way
SOC 2YesYesNo documented way
HIPAAYesYesNo documented way
EU data residencyYesYesNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

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

In StarSling's run of 3 October 2026 (run 37073680030), on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, Modal's VM runtime did 15.48 runs/s and its gVisor runtime 12.60, both rank 7 (shared). boat did 28.06, second of 15. 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 some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure. Providers ran on different hardware in different regions. Northflank Sandboxes is not in that run, so we cannot say how it compares.

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

ScenarioNorthflank, 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
$30 · Developer Sandbox (free tier)$0 · Starter$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$106 · Developer Sandbox (free tier)$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,290 · Developer Sandbox (free tier)$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
$359 · Developer Sandbox (free tier) · with limits$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
$684 · Developer Sandbox (free tier) · with limits$1,911 · Team · with limits$8,800 · $2000/mo · with limits

Northflank: Northflank bills per second for the plan size you pick, with no monthly fee and no start fee; 4 vCPU / 8 GB is $0.1333 an hour. There is no idle auto-pause, so a sandbox bills until you pause it. Volumes cost $0.11657 per GiB a month, also while paused, and outbound traffic costs $0.06 per GB.

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

Modal VM Sandboxes: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month; unused time does not carry over. A 4 vCPU / 8 GB sandbox costs $0.036 an hour, billed per second while it runs. A stopped sandbox has no compute charge and keeps its disk for at least 14 days. Saved snapshots above the included count and the optional AI credentials proxy still charge while sandboxes are stopped. The $20 plan includes 12 starts a minute and 200 a day; each extra start costs $0.03 to $0.07. A card is required, also for the 7-day trial.

Limits in those scenarios

On Northflank, files outside attached volumes survive a pause only if you snapshot the filesystem first. Northflank does not publish how many sandboxes run at once, so 300 or 1,000 at a time is not confirmed. A Modal VM runs 24 hours at most, so the always-on scenario needs a snapshot and a new sandbox each day and does not fit as-is. Modal's scenario bills assume a minimal CPU request that bursts above it; that extra CPU is shared and not guaranteed. boat's limits: auto-stop defaults to 1 hour, a stopped disk is kept at least 14 days, and a machine failure loses writes after the last good snapshot. Even the $2,000 plan includes only 90 starts a minute and refuses starts above 270 a minute, so boat does not fit 1,000 short jobs at once.

ScenarioNorthflankModal 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 parallel
  • how many machines can run at once: limit not published, probably fine at 50 (the typical published limit is 50)
None for this scenarioNone for this scenario
Sandboxes for your users
  • not confirmed: how many machines can run at once (you need 300; the typical published limit is 50)
None for this scenarioNone for this scenario
1,000 short jobs at once
  • not confirmed: how many machines can run at once (you need 1,000; the typical published limit is 50)
  • 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 Northflank when

you need GPUs next to the agent, regions outside Europe, sandboxes in your own cloud account, or sessions that run longer than a day.

  • Sandboxes that run as long as you need. For work longer than a day: a Northflank sandbox has no documented time limit and runs until you pause it.
  • GPU sandboxes. For agents that train or run models: Northflank has GPU sandboxes from L4 to H100, H200 and B200. Modal's VM runtime has none.
  • Regions and your own cloud. For teams far from Europe or bound to their own AWS, GCP or Azure account, next to their apps and databases.

Use Modal VM Sandboxes when

you run large bursts of short jobs that finish within a day, need memory snapshots, a big disk or strict outbound rules, or already run your models on Modal.

  • Very large bursts. For large bursts of short jobs: Modal runs 5,000 containers at once on Team, more on Enterprise, with no per-start fee.
  • Outbound rules, memory snapshots and a big disk. For locked-down agents: block all outbound traffic or allow chosen domains, clone running memory (alpha), and 512 GiB of disk per VM.
  • One platform with inference and training. For teams that already serve or train models on Modal: sandboxes and models sit on one account and one bill. Starter costs $0 with $30 of credit a month.

Where boat fits

Northflank and Modal both give each sandbox its own kernel, and both keep files when your code takes filesystem snapshots. If your agents work for hours or days on one machine, boat saves the disk with no code, has no session cap once auto-stop is off, and ships the desktop and agents inside. boat has no GPU, no US or Asia region, and caps starts per plan.

The disk is saved with no code

On Northflank you snapshot the filesystem before a pause or use volumes. On Modal you snapshot before the 24-hour end and boot a new sandbox from it. boat saves the disk every minute and at each stop, and keeps it at least 14 days. A boat resume is like a reboot, and a machine failure loses writes after the last good snapshot.

A desktop and agents you drive from outside

On Modal you install Xvfb, VNC and the agent yourself from its examples, and Northflank Harnesses are reached by terminal or SSH. boat ships a 60 fps desktop, Chrome and seven agents with a prompt, steer and events API.

More CPU work per second in one run, and /dev/kvm

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 Modal gVisor, about 1.8x the VM runtime. Northflank is not in that run. Modal offers /dev/kvm on Enterprise only, Northflank does not document it, and boat has it on every plan.

Use boat when your agents work for hours or days on a machine they come back to, with installs, Docker, emulators, a desktop and a browser, on a VM that saves its disk with no code. boat runs only in Germany, Finland and France and has no GPU. Compare it one to one: boat vs Northflank 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 Northflank cheaper than Modal VM Sandboxes?

It depends on the scenario. For 50 agents in parallel, Northflank costs $1,290 a month against $1,480 on Modal. One agent that never stops costs $106 on Northflank and $109 on Modal, but a Modal VM stops at 24 hours. For one agent on workdays, Modal costs $0 inside Starter's $30 credit and Northflank $30. boat costs $26 for the always-on agent and $317 for the 50 agents. Modal's bills assume a minimal CPU request that bursts, which is not guaranteed.

Which is faster, Northflank or Modal VM Sandboxes?

Northflank is not in the public benchmarks we use, so we cannot compare it. In StarSling's run of 3 October 2026, Modal's VM runtime did 15.48 V8 Web Tooling runs/s, Modal gVisor 12.60 and boat 28.06, at 4 vCPU / 8 GB. The boat sandboxes in that run were on Ryzen 9 9950X hosts, and boat does not promise a CPU model.

How long can a sandbox run on each?

A Modal VM Sandbox defaults to 5 minutes and stops at 24 hours at most; you continue from a filesystem snapshot in a new sandbox. Northflank documents no maximum, so a sandbox runs until you pause or delete it. boat has no session cap once auto-stop is off on a paid plan (the default is 1 hour).

Can Northflank and Modal VM Sandboxes run Docker?

Yes, both give each sandbox its own kernel, so Docker runs inside; on Modal you start dockerd yourself. For Android emulators, Modal offers nested virtualization on Enterprise only, as an experimental option. Northflank does not document it. boat has /dev/kvm on every plan.

Do Northflank or Modal VM Sandboxes have GPUs?

Northflank has GPU sandboxes under gVisor, from L4 to H100, H200 and B200. Modal VM Sandboxes have none; Modal's gVisor sandboxes can use GPUs. boat has no GPU on any size.

Is boat SOC 2 compliant?

No SOC 2 report today: SOC 2 is in progress. Northflank lists SOC 2 Type 2, HIPAA and ISO 27001. Modal has SOC 2 on every plan and HIPAA on Enterprise. boat's live status is at status.ascii.dev and its data retention policy at docs.boat.dev/data-retention.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons