Modal vs Blaxel
Modal runs short-lived sandboxes inside a big AI compute platform, with GPUs and regions around the world; filesystem snapshots carry work to a new sandbox. Blaxel gives each sandbox a Firecracker microVM with its own kernel that sleeps seconds after you disconnect and wakes in under 25 ms with its memory.
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.
Blaxel
Blaxel is a San Francisco company that runs cloud infrastructure for AI agents. Since September 2026 it is part of Baseten.
You get sandboxes, batch jobs, MCP server hosting and a model gateway. Each sandbox is a Firecracker microVM with its own kernel. It goes to standby when nothing is connected and resumes in under 25 ms with its memory and running processes. It is built for agent products that start many sandboxes and keep them asleep most of the time.
- Headquarters
- San Francisco, founded 2024
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 | Blaxel: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month | 106th of 365, with limits $633 a month | 15th cheapest of 365 $2,373 a month | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB An always-on assistant hits Modal's 24-hour limit, so your code snapshots the filesystem and starts a new sandbox each day. Blaxel ranks #17 here at $2,832 a month and sleeps between requests. 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 | 17th cheapest of 361 $2,832 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 short code runs well. Modal ranks #15 here at $140 a month with fast starts and big concurrency, and Blaxel #18 at $144 by sleeping right after each run. boat is a compromise because of its start limits. | 15th cheapest of 336 $140 a month | 18th cheapest of 336 $144 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's Team plan fits 300 users at once, at $671 a month. Blaxel's self-serve tiers stop at 200 at once, standby ones included. 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 | 105th of 349, with limits $926 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 for RL rollouts because it is built for huge bursts of short sandboxes. Blaxel's self-serve tiers stop at 200 sandboxes at once, so it is a compromise here. | 6th cheapest of 349 $11,982 a month | 82nd of 349, with limits $4,378 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 | 140th of 359, with limits $704 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 Blaxel with its Docker image, at $431 a month, and on Modal with runtime="vm", at $1,112. boat ranks #2 at $86 and runs Docker in every sandbox. | 110th cheapest of 374 $1,112 a month | 55th cheapest of 374 $431 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB On Modal your code restores the root disk from a filesystem snapshot at least once a day. On Blaxel you set up SSH yourself with Tailscale, as its tutorial shows. boat has built-in SSH and a disk saved every minute. | 129th of 371, with limits $9.07 a month | 125th cheapest of 371 $114 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 Modal ranks #45 here at $153 a month: its official example installs Xvfb, Chromium and noVNC in a VM sandbox. Blaxel offers a desktop image with VNC, at $634. boat ranks #7 at $200, with a built-in 60 fps desktop and computer tools. | 45th cheapest of 367 $153 a month | 17th cheapest of 367 $634 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 | 16th cheapest of 356 $317 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 | 19th cheapest of 343 $215 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 | 143rd of 327, with limits $4,292 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 | 5th cheapest of 351 $217 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, so it is the one of the three that runs GPU eval 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 | Blaxel | boat |
|---|---|---|---|
| Isolation | gVisor by default; VM runtime with its own kernel available (Modal VM Sandboxes) | Firecracker microVM with its own kernel | Full VM with its own kernel, on AMD Ryzen 7 9700X and Ryzen 9 9950X hosts; vCPUs are shared |
| Docker inside | Yes with the VM runtime (runtime="vm"), at the same price; not documented on gVisor | Yes, with a Docker-in-sandbox image | Yes, in every sandbox |
| Nested virtualization | VM runtime only, Enterprise plan, as an experimental option | Not documented by Blaxel; upstream Firecracker does not give guests /dev/kvm | Yes: /dev/kvm, so Android emulators and VMs run inside |
| Longest session | 24 hours (default 5 minutes); for longer work, a filesystem snapshot and a new sandbox | No session cap; Tier 0 and Tier 1 delete sandboxes after up to 7 or 30 days | No cap once auto-stop is off on a paid plan (default 1 hour, timer up to 30 days) |
| Stop and resume | No paused state; your code saves the root disk with a filesystem snapshot (kept 30 days by default, or indefinitely) or a Volume, then starts a new sandbox | Standby a few seconds after the last connection, wakes in under 25 ms with memory and processes | Stop keeps the disk with no compute charge; resume boots the VM again, like a reboot |
| Disk | 512 GiB root disk by default; kept after the sandbox ends only through a filesystem snapshot or a Volume | Writable files live in RAM (about half of it) and are kept in standby; one block volume at creation | 51 GB disk at 4 vCPU, saved every minute and at each stop, kept at least 14 days |
| Fork and snapshots | One filesystem snapshot boots many new sandboxes; memory snapshots in alpha end the sandbox and expire after 7 days | Fork with memory and running processes (private preview) | Fork a running sandbox from its last 1-minute snapshot (disk, not memory) |
| GPUs | T4 to B300; 10 at once on Starter, 50 on Team | None | None |
| Desktop, browser, computer use | You set it up: Modal's official example installs Xvfb, Chromium, x11vnc and noVNC in a VM sandbox | Desktop image with VNC and a browser | Built-in 1920x1080, 60 fps desktop with Chrome and computer tools, embeddable stream |
| SSH and inbound traffic | Encrypted and raw TCP tunnels, connect tokens, inbound IP allowlist | Preview URL per port, public or token-protected; SSH through Tailscale you set up; no public inbound IP | Built-in SSH; HTTPS URLs for up to 50 ports, token-gated by default; raw ports over IPv6 on sandboxes with no IPv4 of their own |
| Outbound rules | Block all, IP-range allowlist, domain allowlist (beta) | Domain allow and deny lists with method and path rules (public preview), dedicated egress IPs | Open internet; filter inside the VM with nftables |
| Secrets and API keys | Secrets are environment variables, or you run your own proxy in a sidecar (beta) | Proxy fills secrets into outbound HTTPS requests to any host; the sandbox never sees them (public preview) | Optional paid AI credentials proxy ($1 a day plus $1 per 1,000 requests); keys of supported model providers stay out of the sandbox |
| Coding agents | You install the harness in the image (official OpenCode example) | Claude Code and Codex images you drive from their terminal or your own harness | Seven harnesses installed, driven from outside by a prompt, steer and events API |
| Regions | US, EU and Asia-Pacific; pinning a region costs 1.15x to 1.75x | Oregon, North Virginia, London, Frankfurt | Germany, Finland and France; no US or Asia region, and you cannot pick one |
Every feature Battleships tracks (43)
| Feature | Modal | Blaxel | boat |
|---|---|---|---|
| Full VM (own kernel) | No documented way | Yes | Yes |
| Docker inside | No documented way | Yes | Yes |
| Nested virtualization | No documented way | No documented way | Yes |
| Root | Yes | Yes | Yes |
| Systemd | No documented way | No documented way | 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 | With your own setup | Yes |
| Persistent disk | With your own setup | Yes | Yes |
| Pause/resume | No documented way | Yes | Yes |
| Automatic snapshots | No documented way | Yes | Yes |
| Fork/clone | Yes | Yes | Yes |
| Live fork (no pause) | Not published | Yes | Yes |
| Memory fork | Yes | Yes | 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 | No documented way | Yes |
| Public IPv4 | No documented way | No documented way | No documented way |
| Egress allowlist | Yes | Yes | 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 | No documented way | Yes |
| MCP server | No documented way | Yes | No documented way |
| GPU | Yes | No documented way | No documented way |
| Windows | No documented way | No documented way | No documented way |
| Arm64 | No documented way | No documented way | No documented way |
| Self-hosting | No documented way | No documented way | 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 | No documented way | Yes |
| Usage per sandbox (API) | Not published | Yes | Yes |
| Audit logs | Yes | Not published | No documented way |
| SSO | Yes | Yes | No documented way |
| SOC 2 | Yes | Yes | No documented way |
| HIPAA | Yes | Yes | No documented way |
| EU data residency | Yes | Yes | No documented way |
| Zero data retention | Not published | Yes | Yes |
Performance
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), 18.03 on Blaxel, 15.48 on Modal's VM runtime and 12.60 on Modal gVisor. Blaxel and both Modal runtimes share rank 7, so the run cannot separate them. 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. For start time, ComputeSDK measured 100 sandboxes started at once on 6 November 2026, at each provider's default size: Blaxel 364 ms median and Modal 796 ms. 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. Blaxel measured on: Sandbox (active time, RAM-only pricing, CPU bundled). 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.
| Scenario | Modal, a month | Blaxel, 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 | $33 · Pay-as-you-go Tier 1 | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $109 · Starter · with limits | $120 · Pay-as-you-go Tier 1 | $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 | $1,489 · Pay-as-you-go Tier 1 | $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 | $396 · Pay-as-you-go Tier 2 · with limits | $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 | $876 · Pay-as-you-go Tier 2 · 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 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 multiplies the price by 1.15x to 1.75x.
Blaxel: Blaxel charges for allocated RAM per second while a sandbox is active, meaning a connection is open, with CPU included: 8 GB comes with 4 cores, about $0.33 an hour. In standby you pay only snapshot storage ($0.20 per GB-month), and volumes are billed on their full size.
Blaxel: 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. The workday, always-on and 50-agent scenarios restore work from a filesystem snapshot or a Volume, which your code sets up. The 50-agent fleet needs Docker, which the default gVisor sandbox does not document; Modal VM Sandboxes run it. Blaxel fits those three, but its self-serve tiers stop at 200 sandboxes at once, standby ones included, so 300 users at once and 1,000 jobs at once need a sales tier. Modal's Team plan fits the 300 users. None of the three fits 1,000 short jobs at once on a public plan: boat's $2,000 plan includes 90 starts a minute, and starts above 270 a minute fail with 429.
| Scenario | Modal | Blaxel | 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 |
| 1,000 short jobs at once |
|
|
|
Which one should you use?
Use Modal when
your sandboxes need GPUs, must run in Asia-Pacific, or come in huge bursts of short jobs that finish well within a day.
- GPUs on the same platform. Useful if your agent trains or runs models: Modal rents GPUs from T4 to B300 next to its sandboxes.
- Very large bursts. Useful for RL rollouts and huge batches: Modal's Team plan runs up to 5,000 containers at once.
- Regions around the world. Modal runs in the US, the EU and Asia-Pacific, and you can pin a sandbox to a region.
Use Blaxel when
your sandboxes sit idle most of the time and must wake in milliseconds with their memory, or need fine-grained outbound rules.
- Sleeps and wakes with its memory. Useful if sandboxes sit idle most of the time: one sleeps seconds after disconnecting and wakes in under 25 ms.
- A real kernel with Docker. Each sandbox is a Firecracker microVM, so Docker runs with its Docker image and no separate runtime.
- Fine outbound rules. Blaxel can limit a sandbox to chosen domains, down to methods and paths, and give it dedicated egress IPs.
Where boat fits
If your agents work for hours or days on installs, builds, tests and Docker, look at boat. On Modal your code carries work across the 24-hour limit with filesystem snapshots. On Blaxel writable files live in RAM unless you attach a volume, and /dev/kvm is not documented. boat gives each agent a whole Linux machine with a disk saved every minute.
A disk kept with no code
On Modal your code snapshots the filesystem or writes to a Volume before the sandbox ends. On Blaxel files sit in RAM, about half of it, unless you attach a volume at creation. boat saves a 51 GB disk every minute and at each stop. Writes from the last minute can be missing after a machine failure.
A whole Linux machine
boat has /dev/kvm, systemd, built-in SSH and Docker in every sandbox. Docker on Modal needs the VM runtime, and nested virtualization the Enterprise plan. Blaxel does not document /dev/kvm, so Android emulators and VMs have no documented way to run there.
More CPU work in one public run, and agents built in
In StarSling's run of 3 October 2026, boat did 28.06 runs/s, Blaxel 18.03, Modal VM 15.48 and Modal gVisor 12.60. Providers ran on different hardware in different regions. Seven agent harnesses come installed in boat, with an API to drive them from outside.
Use boat when your agents work for hours or days: builds, tests, Docker and emulators on a whole Linux machine with a disk saved every minute and agents built in. Compare it one to one: boat vs Modal and boat vs Blaxel.
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 Blaxel?
It depends on the shape. For one coding agent on workdays, Modal costs $0 inside its $30 Starter credit, against $33 on Blaxel. For one agent that never stops, Modal costs $109 a month against $120 on Blaxel, but Modal needs a new sandbox each day. For 50 agents in parallel, Modal costs $1,480 against $1,489. boat costs $20, $26 and $317 for those three.
Which is faster, Modal or Blaxel?
The run cannot separate them on CPU. In StarSling's run of 3 October 2026, Blaxel did 18.03 runs/s, Modal's VM runtime 15.48 and Modal gVisor 12.60, all at shared rank 7. boat did 28.06 on an AMD Ryzen 9 9950X host. For 100 sandboxes started at once, ComputeSDK measured Blaxel at 364 ms median and Modal at 796 ms on 6 November 2026.
Can Modal or Blaxel run Docker?
Blaxel runs Docker with its Docker-in-sandbox image. Modal runs Docker with its VM runtime (runtime="vm"), at the same price; Battleships tracks it as a separate card. Every boat sandbox runs Docker with no extra setting.
How long can a sandbox run on Modal and on Blaxel?
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. Blaxel has no session cap, but its lower tiers delete sandboxes after up to 7 or 30 days. On boat, auto-stop defaults to 1 hour; turn it off on a paid plan for no session cap.
Does Modal or Blaxel have GPUs?
Modal has GPUs from T4 to B300, with 10 at once on Starter and 50 on Team. Blaxel and boat have none.
Where do Modal and Blaxel run?
Modal runs in the US, the EU and Asia-Pacific. Blaxel runs in Oregon, North Virginia, London and Frankfurt. boat runs on machines in Germany, Finland and France, and you cannot pick a region. boat can store snapshot copies outside the EU.
Try boat
Install the CLI, then run boat new.
7-day free trial