Compare · TaskCloud vs E2B · checked 2026-11-24

E2B runs a session. TaskCloud keeps the machine.

Both TaskCloud and E2B run AI agents inside Firecracker microVMs with memory pause and fork. E2B is an established, open-source platform with SOC 2 and multi-region deployments. TaskCloud focuses on long-lived VMs that auto-pause to $0 compute, EU-hosted dedicated hardware and a much lower per-hour compute bill ($0.030/active h vs $0.331/h). Both are good tools. This page shows where each one fits.

The short version

Pick TaskCloud if

  • your monthly sandbox compute bill is a constraint ($0.030/active h, or $0.015/h for batch evals and RL);
  • you want persistent computers with no session lifetime cap and automatic pause after 5 idle minutes;
  • you need built-in SSH alongside HTTP and API wake-on-request;
  • you run Harbor (Terminal-Bench), SWE-ReX or OpenHands rollouts and want 50-way memory fork out of the box;
  • you want dedicated EU servers with no region surcharge.

Pick E2B if

  • you need a SOC 2 report or a generally available service today (we are in private beta);
  • you want an Apache-2.0 open-source core you can self-host today;
  • you need regions outside Europe (US or Singapore);
  • you need egress domain allowlists right now (ours are planned);
  • you already rely on E2B's mature SDK ecosystem and multi-year production track record.

Feature by feature

E2B facts come from battleships.dev (snapshot 2026-10-14) and e2b.dev/pricing, verified 2026-11-24. TaskCloud values describe our private beta; latency figures are targets.

TaskCloud compared with E2B
Feature TaskCloud (beta) E2B
Price, 4 vCPU / 8 GB per hour $0.030 per active hour; $0.015 as batch $0.331 (pricing, battleships.dev)
Billing unit Per second while running, fixed sizes (small, default, large) Per second, per vCPU ($0.0504/vCPU-h) and GiB ($0.0162/GiB-h) (pricing)
Isolation Firecracker microVM (own kernel), jailer, cgroups, netns per VM Firecracker microVM (docs)
How long a machine lives Until you delete it. No max session cap; pauses when idle Session timeout (up to 24 h continuous on Pro; longer via pause/resume) (pricing)
Idle behaviour Auto-pause after 5 idle minutes (configurable): RAM + disk saved, $0 compute Auto-pause supported; timeout kills or pauses depending on configuration
Memory survives a pause Yes. Resume target < 1 s (p95 < 800 ms) Yes (docs)
Wake on request Yes: HTTP, SSH or an API call wakes a paused VM Yes (HTTP) (battleships.dev)
Fork / many copies Fork a running VM with memory, up to 50 copies per call on Team (target < 2 s), all or nothing Yes, with memory (up to 100 copies) (battleships.dev)
Root, systemd, Docker inside Yes, Ubuntu 24.04 with systemd and Docker Yes (battleships.dev)
Persistent disk 50 GB on default, kept across pauses Template rootfs + paused sandbox state
Public ports HTTPS URL per port: <id>-<port>.taskhost.cloud HTTPS host per port via getHost(port) (docs)
SSH Built-in gateway (ssh.taskhost.cloud) Not listed as a built-in gateway
Egress control Allowlist planned Yes (battleships.dev)
Browser desktop & computer use KasmVNC desktop, GET /screenshot, POST /input Yes (E2B Desktop SDK) (docs)
Custom OCI / Docker images Yes (POST /templates with any OCI image) Yes (Dockerfile-based template builds)
MCP server & webhooks MCP server + HMAC-signed webhooks MCP server + webhooks (battleships.dev)
Open source & self-host / BYOC BYOC on Enterprise; open-source core & self-host on roadmap Apache-2.0 open source; self-host and BYOC supported (pricing)
SOC 2 Not yet (planned year 2) Yes (pricing)
Regions EU only, dedicated servers DE, SG, US (battleships.dev)
Maturity Private beta Generally available

What the bill looks like

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

Monthly cost of three workloads on TaskCloud and E2B, 4 vCPU / 8 GB
Workload (4 vCPU / 8 GB) Active hours TaskCloud E2B (list rate)
Eval run: 2,000 rollouts × 6 min 200 $6.00 ($3.00 as batch) $66.20
Agent product: 100 users, 2 active h/day, 30 days 6,000 $180.00 $1,986.00
One dev box that never stops (730 h) 730 $19.90 (always-on plan) $241.63*

How we calculated E2B. E2B's published list rate for 4 vCPU / 8 GB is $0.331/h (4 × $0.0504/vCPU-h + 8 × $0.0162/GiB-h; e2b.dev/pricing and battleships.dev snapshot 2026-10-14). *E2B sessions have a maximum continuous runtime (up to 24 h on Pro), so a month-long dev box requires pausing and resuming or renewing the session. E2B includes free starter credits and offers volume pricing on Enterprise; check E2B's current pricing page before deciding.

Try your own CSV export in the bill calculator.

The difference that matters for agents

Both use Firecracker and keep RAM on pause. The difference is lifecycle defaults and unit economics at scale.

  1. 01 · WORK

    The agent runs

    Both execute commands inside a Firecracker microVM and meter running seconds. TaskCloud bills $0.030/h for 4 vCPU / 8 GB; E2B lists $0.331/h.

    running
  2. 02 · IDLE

    The user steps away

    TaskCloud auto-pauses after 5 idle minutes by default and drops compute billing to $0. No maximum session timeout to renew.

    paused · $0
  3. 03 · RETURN

    Next morning

    An HTTP request, SSH login or API call wakes the same machine with processes and files intact (target p95 < 800 ms).

    running
  4. 04 · EVALS

    Nightly benchmark sweep

    Fork one prepared VM up to 50 times per call and schedule the sweep as priority: "batch" for $0.015/h.

Questions

Why is TaskCloud's hourly price lower than E2B's?

We run Firecracker directly on dedicated AMD Ryzen bare-metal servers in the EU instead of reselling hyperscaler VMs, and we pack paused workloads with memory offloading. We publish our unit rates openly so you can check the math.

Does E2B also pause with RAM intact?

Yes. E2B supports memory snapshots, pause/resume and memory fork. The main differences are hourly cost, TaskCloud's persistent-by-default lifecycle (no 24 h session cap), built-in SSH wake and batch pricing.

Is TaskCloud open source like E2B?

Not yet. E2B's Apache-2.0 codebase is a real advantage if you want to self-host today. We plan to open-source our core runtime on the roadmap, and offer BYOC on Enterprise.

Does TaskCloud have SOC 2 or US regions?

No. SOC 2 is planned for year 2, and all servers are currently in the EU. If you need SOC 2 or US/Singapore regions today, pick E2B.

How hard is it to move code from E2B?

Most calls map one to one: templates, exec, files, ports, pause/resume and desktop. See our full E2B migration guide with side-by-side TypeScript and Python examples.

Is TaskCloud available now?

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

Moving a workload from E2B

Most E2B calls map directly. Read the full Migrate from E2B guide for TypeScript, Python and checklist details.

E2B concepts and their TaskCloud equivalents
E2BTaskCloud
Sandbox.create(template)POST /v1/sandboxes or client.sandboxes.create({ template })
sandbox.commands.run(cmd)sandbox.exec({ command }) (sync, background, SSE stream or PTY)
files.read / write / watchDirsandbox.files.read / write / watch
getHost(port)sandbox.ports.expose({ port, visibility }) → https://<id>-<port>.taskhost.cloud
setTimeout / session capauto_pause.idle_timeout_seconds (default 300) or ttl_seconds
Dockerfile template buildPOST /v1/templates from any OCI image (or snapshot)

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