Modal vs Claude Managed Agents

Modal gives you sandboxes you create and drive from your own code, next to GPUs, in regions around the world. Claude Managed Agents gives you a finished agent: you send Claude a task, and it works in a container that Anthropic runs for you, or on a worker that you host.

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.

Claude Managed Agents

Claude Managed Agents is Anthropic's ready-made agent harness: Claude runs as an autonomous agent, and you talk to it through an events API.

This is an agent platform, not a sandbox you rent. You define an agent (model, prompt, tools, MCP servers, skills) and an environment, then start sessions, send messages as events and stream back what Claude does. The harness handles tool calls, prompt caching and compaction. Each session gets its own Ubuntu container in Anthropic's cloud, or runs its tools on a worker that you host. It is built for teams that want Claude to do long tasks without building their own agent loop or sandbox.

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 rankClaude Managed Agents: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
A software factory needs Docker and a disk that lasts. Modal runs Docker with runtime="vm" and keeps work through filesystem snapshots your code takes. The Managed Agents cloud sandbox lists Docker as limited availability. boat has both in every sandbox and ranks #5 here at $634 a month.
106th of 365, with limits
$633 a month
139th of 365, with limits
$964 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 limit, so your code snapshots the filesystem and starts a new sandbox each day. Managed Agents sleeps idle sessions with no runtime charge, but keeps cloud sandbox files only 30 days after creation. boat ranks #6 here at $657, with no session cap once auto-stop is off on a paid plan.
61st of 361, with limits
$1,574 a month
259th of 361, with limits
$2,511 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 ranks #15 at $140 a month, with fast starts and high concurrency. Managed Agents bills runtime only while the agent works, but its sandbox size is not published, so it is a compromise here.
15th cheapest of 336
$140 a month
167th of 336, with limits
$756 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
Your users can open what runs in a Modal or boat sandbox through tunnels or HTTPS URLs. A Managed Agents cloud sandbox has no documented inbound ports; with a self-hosted worker, you open ports on your own host. boat ranks #3 here at $209 a month, and Modal #18 at $671.
18th cheapest of 349
$671 a month
227th of 349, with limits
$823 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 is what Modal is built for, with 5,000 containers on its Team plan. It ranks #6 here.
6th cheapest of 349
$11,982 a month
247th of 349, with limits
$3,978 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
247th of 359, with limits
$320 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
110th cheapest of 374
$1,112 a month
228th of 374, with limits
$96 a month
2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
A dev box needs SSH and a disk that lasts. The Managed Agents cloud sandbox has no documented SSH. On Modal your code restores the root disk from a filesystem snapshot at least once a day. boat has SSH and saves the disk every minute.
129th of 371, with limits
$9.07 a month
238th of 371, with limits
$48 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. Managed Agents ships headless Chromium with Playwright, and you add a desktop through custom tools, MCP or a self-hosted worker. boat ranks #7 at $200, with a 60 fps desktop built in.
45th cheapest of 367
$153 a month
166th of 367, with limits
$288 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
181st of 356, with limits
$288 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
194th of 343, with limits
$390 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
153rd of 327, with limits
$4,798 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
219th of 351, with limits
$160 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 rents GPUs from T4 to B300 next to its sandboxes; Managed Agents 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

FeatureModalClaude Managed Agentsboat
What it isA serverless cloud: you create sandboxes from Python, TypeScript or Go code and run commands in themA hosted Claude agent: Anthropic's harness runs Claude, and tools run in a cloud sandbox or on a worker you hostA sandbox platform: each agent gets its own full Linux VM, with coding agents installed
IsolationgVisor by default; a VM runtime with its own kernel is availableCloud sandbox: isolated Linux container per session. Self-hosted worker: the isolation of the host you runFull VM with its own kernel in every sandbox
Machine sizeYou request CPU and memory per sandbox; the maximum is enforced but not publishedCloud sandbox: up to 8 GB memory and 10 GB disk; vCPU not published; not configurable. Self-hosted worker: your host2 to 16 vCPU; 16 vCPU / 32 GB needs the $100 plan or higher
Docker and /dev/kvmDocker with the VM runtime (runtime="vm"); nested virtualization on Enterprise only, as an experimental optionCloud sandbox: Docker listed as limited availability; /dev/kvm not documentedDocker, systemd and /dev/kvm in every sandbox
What persistsYour code takes a filesystem snapshot of the root disk (kept 30 days by default, or with no expiry) or writes to a VolumeCloud sandbox checkpointed when idle; its files are kept 30 days after creation; history and memory stores stay until you delete themThe disk, saved every minute and at each stop with no code; kept at least 14 days after a stop; saved snapshots have no scheduled expiry
Longest session24 hours (default 5 minutes); for longer work, a filesystem snapshot and a new sandboxNo session cap published; idle sessions sleep and wake on the next messageNo cap once auto-stop is off on a paid plan (default 1 hour, timer up to 30 days)
Fork and snapshotsOne filesystem snapshot boots many new sandboxes; memory snapshots in alphaNo documented fork or clone of a session or sandboxFork a running sandbox from its last 1-minute snapshot
Inbound accessEncrypted and raw TCP tunnels, connect tokens, inbound IP allowlistCloud sandbox: no documented inbound ports or SSH; reached through the sessions and events API. Self-hosted worker: ports you open on your hostHTTPS URLs on up to 50 ports, token-gated by default; SSH; raw ports over IPv6 on sandboxes with no IPv4 of their own
Browser and desktopYou set it up: Modal's official example installs Xvfb, Chromium, x11vnc and noVNC in a VM sandboxHeadless Chromium with Playwright; add a desktop through custom tools, MCP or a self-hosted workerBuilt-in 1920x1080, 60 fps Linux desktop with Chrome and computer tools
AgentsYou install and wire up your own agent (official OpenCode example)Anthropic's harness with Claude models, with steering, memory stores and webhooksSeven harnesses installed, including Claude Code and Codex, driven from outside through one API
Keeping API keys out of the sandboxSecrets are environment variables, or you run your own proxy in a sidecar (beta)Vault secrets sit in the sandbox as placeholders and are swapped in at egress, per hostOptional paid AI credentials proxy ($1 a day plus $1 per 1,000 requests); keys of supported providers stay out of the sandbox
GPUsT4 to B300; 10 at once on Starter, 50 on TeamNoneNone
Outbound rulesBlock all, IP-range allowlist, domain allowlist (beta)Unrestricted, or limited to listed hosts plus optional package registries and MCP serversOpen internet, no provider-side allowlist
Where it runsUS, EU and Asia-Pacific; pinning a region costs 1.15x to 1.75xUS workspace geo only; self-hosted workers can run tools on your own infrastructureGermany, Finland and France; no US or Asia region, and you cannot pick one
Every feature Battleships tracks (43)
FeatureModalClaude Managed Agentsboat
Full VM (own kernel)No documented wayNo documented wayYes
Docker insideNo documented wayNot publishedYes
Nested virtualizationNo documented wayNo documented wayYes
RootYesNot publishedYes
SystemdNo documented wayNot publishedYes
Desktop GUIWith your own setupNo documented wayYes
BrowserWith your own setupYesYes
Computer-use APIWith your own setupNo documented wayYes
SSHWith your own setupNo documented wayYes
Persistent diskWith your own setupYesYes
Pause/resumeNo documented wayYesYes
Automatic snapshotsNo documented wayYesYes
Fork/cloneYesNo documented wayYes
Live fork (no pause)Not publishedNo documented wayYes
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 URLsYesNo documented wayYes
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 wayNo documented wayNo documented way
Self-hostingNo documented wayYesNo documented way
BYOCNo documented wayYesNo documented way
Open sourceNo documented wayNo documented wayNo documented way
Scoped API keysNot publishedNot publishedYes
Spend limitsNot publishedYesYes
Usage per sandbox (API)Not publishedYesYes
Audit logsYesNot publishedNo documented way
SSOYesYesNo documented way
SOC 2YesYesNo documented way
HIPAAYesNo documented wayNo documented way
EU data residencyYesNo documented wayNo documented way
Zero data retentionNot publishedNo documented wayYes

Performance

Modal12.60 runs/s
Claude Managed AgentsNot measured
boat28.06 runs/s

In StarSling's run of 3 October 2026 (run 37073680030), the V8 Web Tooling Benchmark at 4 vCPU / 8 GB did 28.06 runs/s on boat, 15.48 on Modal's VM runtime and 12.60 on Modal gVisor. StarSling ran Modal with cpu=4, and the sandbox saw 4 CPUs (PR #121). Every boat sandbox in that run ran on an AMD Ryzen 9 9950X host; boat also places some sandboxes on other hosts, and does not promise a CPU model. Providers ran on different hardware in different regions. Claude Managed Agents is not in the public benchmarks we use, and Anthropic does not publish how many vCPUs its cloud sandbox gets, 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 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. Claude Managed Agents is not in the public benchmarks we use, so we cannot say which is faster.

Pricing in five scenarios

Each bill is priced from the providers' public price lists by the open Battleships engine, with the cheapest plan that runs the scenario. Start limits, per-start fees and plan minimums are in the price, boat's included.

ScenarioModal, a monthClaude Managed Agents, 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$13 · Claude API (pay-as-you-go, usage tiers) · with limits$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$109 · Starter · with limits$53 · Claude API (pay-as-you-go, usage tiers) · 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,480 · Starter · with limits$634 · Claude API (pay-as-you-go, usage tiers) · with limits$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$360 · Claude API (pay-as-you-go, usage tiers) · 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$796 · Claude API (pay-as-you-go, usage tiers) · with limits$8,800 · $2000/mo · with limits

Modal: Modal bills by the second for the higher of 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.

Claude Managed Agents: Managed Agents bills model tokens at API rates plus $0.08 per session-hour of runtime, measured only while a session is running, including time spent waiting on the model. The table shows runtime only, and the cloud sandbox size is not published, so it is not a like-for-like machine. Tokens come on top and usually cost more. A self-hosted worker adds the cost of your own host.

Claude Managed Agents: 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. Model tokens for the built-in agents are paid to your model provider.

Limits in those scenarios

On Modal, a sandbox lives at most 24 hours; to keep its files, your code takes a filesystem snapshot (30 days by default, configurable) or writes to a Volume. The 50-agent fleet needs Docker, which the default gVisor sandbox does not document; Modal VM Sandboxes run it. Managed Agents never counts as a clean fit here: its cloud sandbox size is not published, Docker is not confirmed, and it publishes no limit for 300 or 1,000 sandboxes at once. On boat, the $2,000 plan includes 90 starts a minute and 2,400 a day; extra starts cost $0.03 to $0.07, and starts above 270 a minute fail with 429. So 1,000 jobs at once do not fit on boat.

ScenarioModalClaude Managed Agentsboat
One coding agent, workdaysNone for this scenario
  • adjacent product, not a like-for-like sandbox
  • machine size not published
  • different kind of product: agent-platform
  • machine size per session not published
None for this scenario
One agent that never stops
  • Starter: sessions capped at 24 h
  • adjacent product, not a like-for-like sandbox
  • machine size not published
  • different kind of product: agent-platform
  • machine size per session not published
None for this scenario
50 agents in parallel
  • missing Docker inside
  • adjacent product, not a like-for-like sandbox
  • not confirmed: Docker inside
  • machine size not published
  • different kind of product: agent-platform
None for this scenario
Sandboxes for your usersNone for this scenario
  • adjacent product, not a like-for-like sandbox
  • machine size not published
  • different kind of product: agent-platform
  • not confirmed: how many machines can run at once (you need 300; the typical published limit is 50)
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
  • adjacent product, not a like-for-like sandbox
  • machine size not published
  • different kind of product: agent-platform
  • not confirmed: how many machines can run at once (you need 1,000; the typical published limit is 50)
  • 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

you write your own agent or job code and need GPUs, regions outside Europe, or huge bursts of short sandboxes.

  • GPUs next to your sandboxes. Useful if your agent trains or runs models: Modal rents GPUs from T4 to B300 on the same platform.
  • Huge bursts of short jobs. Useful for RL rollouts and code runs: Modal runs up to 5,000 containers on Team and starts them fast.
  • Any agent, any image, many regions. Modal runs whatever code and image you bring, in the US, EU or Asia-Pacific, not one vendor's agent.

Use Claude Managed Agents when

you want Claude itself doing long text and code tasks with no harness to build, and idle time with no runtime charge.

  • No agent loop to build. Teams that want Claude doing long tasks get the harness, caching, compaction, memory and webhooks ready to use.
  • Idle sessions sleep with no runtime charge. Agents that wait a long time between messages pay runtime only while working, and wake on the next message.
  • Your own workers if you need them. Teams with strict rules can run every tool call on their own infrastructure while Anthropic keeps the orchestration.

Where boat fits

If you run coding agents that work for hours or days, look at boat. Modal is a sandbox you build an agent around, and Managed Agents is Anthropic's agent in a cloud container or on your own worker. boat gives each agent a whole VM that saves its disk with no code, with Claude Code, Codex and others ready to drive from outside.

A full machine with Docker and /dev/kvm

On Modal, Docker needs the VM runtime, and nested virtualization the Enterprise plan. The Managed Agents cloud sandbox lists Docker as limited availability and stops at 8 GB of memory. boat has Docker, systemd and /dev/kvm in every VM.

A disk kept with no code

On Modal your code snapshots the filesystem or writes to a Volume before the 24-hour limit. Managed Agents keeps cloud sandbox files 30 days after creation. boat saves the disk every minute and at each stop, and keeps a stopped disk at least 14 days. Writes from the last minute can be missing after a machine failure.

Open what the agent built

The Managed Agents cloud sandbox has no documented inbound ports or SSH. Modal has tunnels, and its desktop is an example you set up. boat gives HTTPS URLs on up to 50 ports, SSH and a 60 fps desktop with computer use.

Use boat when your agents need a real machine for hours or days: Docker, emulators, a desktop, ports you can open, a disk saved every minute, and your choice of Claude Code, Codex or other agents. Compare it one to one: boat vs Modal and boat vs Claude Managed Agents.

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 Claude Managed Agents?

For sandbox runtime alone, Managed Agents costs less in four of the five scenarios on this page, for example $53 against $109 a month for one agent that never stops. For one agent on workdays, Modal costs $0 inside its $30 Starter credit, against $13. Managed Agents also bills model tokens on top, which usually cost more than the runtime. Modal's price includes no model at all.

Which is faster, Modal or Claude Managed Agents?

We cannot say: Managed Agents is not in the public benchmarks we use, and Anthropic does not publish the vCPU count of its cloud sandbox. In StarSling's run of 3 October 2026, Modal's VM runtime did 15.48 runs/s and its gVisor runtime 12.60 on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB. boat did 28.06 on an AMD Ryzen 9 9950X host.

Can Modal or Claude Managed Agents run Docker?

Modal runs Docker with its VM runtime, chosen with runtime="vm", at the same price. The Managed Agents cloud sandbox lists Docker as limited availability; a self-hosted worker can have Docker if your host does. Every boat sandbox runs Docker with no extra setting.

Can I run Claude Code on Modal or Claude Managed Agents?

Managed Agents runs Anthropic's own harness with Claude models; its docs do not describe the Claude Code CLI as a session harness. On Modal you can install any agent yourself in the image. boat comes with Claude Code, Codex and five other agents installed.

How long do the sandboxes keep their files?

A Modal sandbox lasts at most 24 hours. A filesystem snapshot keeps its root disk 30 days by default, or with no expiry, and a Volume keeps a folder. A Managed Agents cloud sandbox is checkpointed when idle, and its files are kept 30 days after it is created. boat keeps a stopped disk at least 14 days; a saved snapshot has no scheduled expiry.

Do Modal or Claude Managed Agents have GPUs?

Modal rents GPUs from T4 to B300, on its gVisor runtime. Claude Managed Agents has none, and neither does boat.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons