Compare · TaskCloud vs Modal Sandboxes · checked 2026-11-14

Modal runs your code. TaskCloud keeps your agent's computer.

Modal Sandboxes are short-lived containers or VMs inside a broad serverless platform with GPUs. TaskCloud is a persistent Firecracker VM that pauses to $0 compute when idle and resumes with its memory intact. Both are good tools. This page shows where each one fits, using Modal's public pricing and docs as of 2026-11-14.

The short version

Pick TaskCloud if

  • your agent needs the same machine tomorrow: files, processes and tmux sessions included;
  • you run evals or RL and want hundreds of copies of one prepared environment;
  • VMs sit idle most of the day and you want idle time to cost $0 compute;
  • you need SSH, a browser desktop or a computer-use API out of the box;
  • your data should stay on servers in the EU without paying a region surcharge.

Pick Modal if

  • you need GPUs in the sandbox;
  • you need a SOC 2 report or a generally available service today (we are in private beta);
  • you also want serverless functions, web endpoints, queues and volumes on one platform;
  • you need regions outside Europe;
  • you want fine-grained sizing (from 0.125 CPU core) instead of fixed VM sizes.

Feature by feature

Modal facts are quoted from the linked Modal docs, read on 2026-11-14. TaskCloud values describe the beta we are building; targets are marked as targets.

TaskCloud compared with Modal Sandboxes
Feature TaskCloud (beta) Modal Sandboxes
Price, 4 vCPU / 8 GB per hour $0.030 per active hour; $0.015 as batch ~$0.476 (any region); ~$0.547 pinned to the EU (our calculation, see below)
Billing unit Per second of running time, fixed sizes (small, default, large) Per second, per CPU core and GiB of memory; minimum 0.125 core (pricing)
Isolation Firecracker microVM with its own kernel, jailer, cgroups, netns per VM gVisor by default, or a VM with its own kernel (runtime="vm"); GPU sandboxes use gVisor only (docs)
How long a machine lives Until you delete it. Pauses when idle, resumes on demand Default 5 minutes, timeout up to 24 hours; longer work via filesystem snapshots (docs)
Idle behaviour Auto-pause after 5 idle minutes (configurable): RAM and disk saved, $0 compute idle_timeout terminates the sandbox
Memory survives a pause Yes. Resume target < 1 s (p95 < 800 ms) Memory snapshots are alpha: taking one terminates the sandbox, closes open TCP connections, is not possible while an exec runs, expires after 7 days and restores only on the same instance type (docs)
Wake on request Yes: HTTP, SSH or an API call wakes a paused VM Not documented
Fork / many copies Fork a running VM with its memory, up to 50 copies per call on Team (target < 2 s), all or nothing Multiple sandboxes from one filesystem snapshot; memory-snapshot cloning not documented for many copies
Root, systemd, Docker inside Yes, Ubuntu 24.04 with systemd and Docker Docker in the VM runtime (start dockerd yourself); not in gVisor
Persistent disk 50 GB on default, kept across pauses Ephemeral; keep state with filesystem or directory snapshots (30-day default TTL) or Modal Volumes
Public ports HTTPS URL per port: <id>-<port>.taskhost.cloud Tunnels with TLS, HTTP/2 or raw TCP; custom domains on Team and Enterprise (docs)
SSH Built-in gateway Not a built-in feature
Egress control Allowlist planned Block all, CIDR allowlist, domain allowlist (beta), runtime updates (alpha)
Browser desktop & computer use KasmVNC desktop, GET /screenshot, POST /input Not listed
GPU No Yes
Nested virtualization No (roadmap) VM runtime, Enterprise plan only
Regions EU only, dedicated servers, no surcharge Global; pinning a region costs 1.15× (broad, e.g. eu) or 1.75× (narrow, e.g. eu-west) (docs)
Harness integrations Backends for Harbor (Terminal-Bench), SWE-ReX, OpenHands; MCP server Python, JS and Go SDKs
Plans Free: 20 h once. Starter $19/mo incl. $19 credit. Team $199/mo incl. $199 credit. Unused credit expires. Starter $0 incl. $30/mo credit, 100 containers. Team $250/mo incl. $100 credit, 5,000 containers
Maturity Private beta, no SOC 2 yet (planned year 2) Generally available

What the bill looks like

Same active hours on both sides; both bill per second only while a machine runs. Plan fees and included credits are left out.

Monthly cost of three workloads on TaskCloud and Modal Sandboxes, 4 vCPU / 8 GB
Workload (4 vCPU / 8 GB) Active hours TaskCloud Modal, any region Modal, EU pinned
Eval run: 2,000 rollouts × 6 min 200 $6.00 ($3.00 as batch) $95.18 $109.46
Agent product: 100 users, 2 active h/day, 30 days 6,000 $180.00 $2,855.52 $3,283.85
One dev box that never stops (730 h) 730 $19.90 (always-on plan) $347.42* $399.53*

How we calculated Modal. Modal lists sandbox rates of $0.00003942 per physical core per second and $0.00000667 per GiB per second (modal.com/pricing, read 2026-11-14), where one physical core equals 2 vCPU. 4 vCPU / 8 GB = 2 cores × $0.1419/h + 8 GiB × $0.0240/h = $0.4759/h; with the 1.15× broad-region multiplier (region="eu") = $0.5473/h. Some datasets, including battleships.dev, count 4 Modal cores for 4 vCPU, which gives about $0.76/h. *A Modal sandbox lives at most 24 hours, so a 730-hour box means restarting it from a snapshot every day. Your numbers will differ; check Modal's current pricing page before deciding.

Try your own workload in the bill calculator.

The difference that matters for agents

Price is one line. The bigger difference is what happens between two tasks.

  1. 01 · WORK

    The agent works

    Both platforms run your code in an isolated machine and bill per second.

    running
  2. 02 · IDLE

    Nobody needs it

    TaskCloud pauses the VM after 5 idle minutes and saves RAM and disk. A Modal sandbox hits idle_timeout or timeout and ends.

    paused · $0
  3. 03 · COME BACK

    The next request arrives

    TaskCloud wakes on HTTP, SSH or an API call with processes still running (target p95 < 800 ms). On Modal you create a new sandbox and restore files from a snapshot.

    running
  4. 04 · SCALE

    You need 500 of them

    On TaskCloud, prepare one VM and fork it with its memory. On Modal, start many sandboxes from one filesystem snapshot.

Questions

Is TaskCloud cheaper than Modal?

For a 4 vCPU / 8 GB machine, yes: $0.030 per active hour against about $0.476 on Modal (our calculation from Modal's published rates, 2026-11-14). Modal includes $30 of usage credit every month on its free Starter plan, so very small workloads can cost nothing there.

Can a Modal sandbox keep its memory when it is idle?

Modal has memory snapshots in alpha. Taking one ends the sandbox and the snapshot expires after 7 days. On TaskCloud, pausing with RAM is the default idle behaviour and the paused VM is kept until you delete it.

Can I run an agent for several days?

On TaskCloud, yes: a VM has no maximum lifetime. A Modal sandbox runs for at most 24 hours; Modal recommends filesystem snapshots for longer work.

Does TaskCloud have GPUs or SOC 2?

No. We have no GPUs and no SOC 2 report yet (planned for year 2). If you need either today, Modal is the better choice.

Where does my data live?

On dedicated servers in the EU. Snapshots go to object storage encrypted with your organisation's key. Modal can pin sandboxes to eu for a 1.15× surcharge.

Is TaskCloud available now?

It is in private beta. We invite people from the waitlist in batches. Latency figures on this page are targets until we publish measurements.

Moving a sandbox workload from Modal

There is no automatic import. The concepts map one to one.

Modal Sandbox concepts and their TaskCloud equivalents
ModalTaskCloud
modal.ImageOfficial template (python, node, browser, …) or your own OCI image
Sandbox.create(...)POST /v1/sandboxes or taskcloud.sandboxes.create()
sb.exec(...)exec: sync, background, SSE stream or PTY
idle_timeoutAuto-pause after N idle minutes (the VM is kept, not deleted)
Filesystem / memory snapshotPause (automatic) or named snapshot; fork for copies
encrypted_ports + sb.tunnels()Public HTTPS URL per port

Modal is a trademark of its owner. TaskCloud is not affiliated with Modal. Found something out of date? Email hello@task.cloud and we will fix it.