Head to head · Code sandboxes · October 2026 research run

E2B vs Morph Cloud

E2B scores 73.2 (BB) on agent readiness against Morph Cloud's 52.8 (D), and leads in every scored category. Both do code sandboxes.

Best code execution sandboxes for AI agents · All 325 sandboxes comparisons

Which one, for what

E2B BB

Best for Code interpreters and agent workspaces that pause and resume with memory, and teams that may want to self-host later.

Ahead on

  • Reliability, 77 against 63
  • Schema & documentation, 92 against 72
  • Agent ergonomics, 70 against 61
  • Security & auth, 62 against 39
  • Payments & pricing, 75 against 30
  • Maintenance & community, 93 against 48
  • Transparency & trust, 70 against 44

Also in its favour

  • Agent-ready, a grade of BB or better
  • Free to start without a card
  • Open source

Watch for

Minor SDK releases 2.53.0, 2.56.0 and 2.62.0 (October 2026) shipped changes marked breaking, with no earlier notice

Morph Cloud D

Best for Agents that need to checkpoint and fork a running machine with memory intact, for parallel attempts, evaluations or reinforcement learning rollouts.

Also in its favour

  • No incidents deducted, where E2B loses 3 points for them

Watch for

No privacy policy, DPA or subprocessor list found on morph.so or cloud.morph.so. The terms of 23 October 2025 are the only legal document

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Payments & pricing E2B +45

E2B 75

No x402, MPP or L402. A third-party draft pull request (#1910) proposes an @e2b/x402 package and isn't merged (0). Per-second prices published, $0.000014 a vCPU-second and $0.0000045 a GiB-second (20). A one-time $100 credit on Hobby, and the billing docs ask for a payment method only once it runs out (20). Stripe Projects lists E2B, so an agent can create the account through the operator's Stripe login (10). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 50 is 75.

Morph Cloud 30

No x402, MPP or L402 found in the docs or the OpenAPI file on 8 October (0). Per the 8 October check, the pricing page defines the Morph Compute Unit (1 vCPU-hour with 4 GB RAM-hours and 16 GB disk-hours, or 5 TB snapshot-hours), states a standard rate of $0.05 an MCU and lists plans at $0, $40 and $250 a month without a login. The terms of 23 October 2025 add per-second compute billing and 30 days' notice of price changes (20). The Free plan starts with 0 MCUs and says to purchase MCUs to use compute. The FAQ refers readers to the billing console for any free credits (0). Signup is in a browser, and the key creation route needs an existing session or key (0). 0+20+0+0 = 20. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.

Maintenance & community E2B +45

E2B 93

e2b 2.62.0 tagged on 28 October 2026 in both SDKs (30). 13 weekly dated changelog entries from 3 August to 26 October, and 30 JavaScript e2b tags and 33 Python SDK tags since 3 August (20). Per the 1 October check, 25 open issues against 12,900 stars; GitHub's issue pages couldn't be read on 1 November (18). Current official Python and JavaScript SDKs (15). Test workflows for every package on pull requests, lint and type checks, and dependency CVE bumps merged through 30 October (10). The 1 October note gave 5 because CI wasn't checked.

Morph Cloud 48

The Python SDK repository tagged v0.1.116 on 20 October 2026, a generated release that adds disk resizing to the SDK and CLI, 15 days before this check. pypi.org did not resolve on 4 November, so its upload date there is unconfirmed (30). Three tagged Python releases in the 90 days from 6 August 2026, v0.1.114 on 30 August, v0.1.115 on 1 September and v0.1.116 on 20 October. v0.1.115 changes only the version and the minimum Python version in pyproject.toml, a packaging-only release that counts half, so the count is two and a half, below three (0). Scored on the closed-service scale. The changelog is not kept, per the 8 October check. The terms give ops@morph.so and the status page support@morph.so. The two open pull requests on the Python SDK (1 April and 14 September 2026) had no comments on 8 October, and GitHub's pages answered 403 on 4 November (4). The Python SDK and CLI are current. The TypeScript SDK repository's newest tag is v0.0.19 from 2 October 2025 and its newest commit 6 October 2025, matching 0.0.20 on npm on 8 October (10). The Python repository has 18 unit test files, but its only workflow is a publish job run by hand, so no public CI run was found (4). 30+0+4+10+4 = 48.

Transparency & trust E2B +26

E2B 70

The infrastructure that runs E2B Cloud is Apache-2.0 in e2b-dev/runtime (formerly e2b-dev/infra) and can be self-hosted (30). The security FAQ says sandboxes run on Google Cloud with its default encryption at rest, a DPA template and SOC 2 report sit in the trust centre, and paused sandboxes are kept with no expiry. The privacy policy (last modified 8 April 2024) gives no retention periods for sandbox data (20). Dated deprecation notices, such as access tokens switched off on 1 August 2026 and apiUrl kept until the next major, but no general policy (15). Google Cloud and the US and EU clusters are named. There's no published subprocessor list, and the FAQ says to ask support (10).

Morph Cloud 44

The SDKs are Apache-2.0. The platform is closed, under Terms of Service last revised 23 October 2025 at cloud.morph.so/web/legal/terms-of-service, which name Morph Labs, Inc. of San Francisco, set California law and arbitration, and promise 15 days' notice of material changes (15). No privacy policy or DPA found. The terms say Morph staff do not access disk, memory or application data in instances except on a customer's time-bound request or by law, that such access is logged, that diagnostic artifacts are deleted per a retention schedule that is not published, and that usage telemetry is shared only aggregated or de-identified. The docs describe snapshot TTLs the customer sets and say Morph Actions data has no fixed retention period (8). No deprecation policy. The terms promise not to reduce core functionality materially during a committed billing term without a workaround or a refund, with no notice period for API changes. The OpenAPI file marks a few fields deprecated and keeps a legacy query alias, without dates (3). No subprocessor list or data location statement found (0). 15+8+3+0 = 26.

Security & auth E2B +23

E2B 62

One plain API key per project in X-API-Key. Workload identity tokens give code inside a sandbox short-lived credentials, and personal access tokens were switched off on 1 August 2026. We found no scopes or documented rotation for API keys (20). Each sandbox is a Firecracker microVM with its own kernel (10). Internet access can be switched off or limited with allow and deny lists of domains, IPs and CIDR ranges, GA, though it's on by default (10). Stored secrets are filled into outbound HTTPS headers by the egress proxy, outside the sandbox, but per-host request transforms are in public beta (12). No audit log found for the hosted service (0). security@e2b.dev for reports and a SOC 2 Type II report with a pen-test summary in the trust centre. No security.txt, bug bounty or public advisories found (10).

Morph Cloud 39

Per the 8 October check of the docs, not re-read on 4 November. Bearer API keys bound to an organisation, listed with prefix and last-used time and deletable through the API. The docs mention key permissions in the dashboard without describing any. Devbox agent tokens are bound to one devbox with seven named scopes but do not expire. Short-lived delegation tokens exist for services (22). No read-only key for the instance API and no confirmation on stop or delete. Exposed HTTP services default to auth_mode: none, and the api_key mode asks callers to send the account's Morph API key to the service URL (8). Each instance is a full VM, but the docs name no isolation technology and no egress controls were found (5). Key last-used times, an organisation SSH key audit route and usage routes exist. No audit log of API calls found (4). security.txt returned 404 on cloud.morph.so and www.morph.so on 8 October. No disclosure policy, bug bounty or certification found. The terms list security controls and breach notification and offer "available third-party security attestations (e.g., SOC reports)" on request, without naming one (0). On 4 November osv.dev listed no advisory for morphcloud and the 2025 and 2026 CVE records named no Morph product. 22+8+5+4+0 = 39.

Schema & documentation E2B +20

E2B 92

Public OpenAPI at docs.e2b.dev/openapi-public.yaml, linked from llms.txt (25). llms.txt and Markdown pages (10). The docs explain when to pause rather than kill, how the runtime limit resets on resume, and what a snapshot keeps (15). Typed fields in the spec and SDKs (12). Versioned SDK references with an errors page, and examples on most pages (15). A weekly dated changelog, and v2 sandbox endpoints since 21 September 2026 (15).

Morph Cloud 72

Per the 8 October check, not re-read on 4 November. Public OpenAPI 3.1 file at cloud.morph.so/api/openapi.json with 52 paths and 69 operations (25). llms.txt and llms-full.txt under /docs (10). 67 of 69 operations have a description, many of one line, while the guides explain pause against stop and devboxes against instances (14). Enums for TTL action, HTTP auth mode and instance status, with patterns and ranges on names, ports and page sizes. Metadata is a free string map (12). Guides give Python, TypeScript and CLI examples. 37 operations document only a 422 beyond success, the error schema is detail with an optional error_code, and no error-code reference was found (8). The changelog page has one entry from 19 November 2024 and says it is not a complete history. The API path has no version and the SDK tags have no release notes (3). 25+10+14+12+8+3 = 72.

Reliability E2B +14

E2B 77

Status page at status.e2b.dev (incident.io) with component and region history (20). Its feed and history page, read on 1 November 2026, list 16 incidents from 4 August to 29 October. Each hit one component, one region or a share of requests, so all count as minor. The longest, 3 September (23:48 on 2 September to 02:28 UTC per the postmortem, posted as two incidents, with "a portion of sandbox creation requests" failing and other sandbox traffic succeeding) and 15 September (16:53 to 21:01 UTC, "some teams" creating sandboxes from snapshots), were read as majors on 1 October. 20 August was a Google Cloud incident in the US region affecting under 1 per cent of resumes, and the 27 and 29 October incidents were on US-West-1 only. Minor incidents only (20). Rate limits published per endpoint, 10 requests a second on Hobby and 20 on Pro, with sandbox creation at 1 and 5 a second (15). 429s carry Retry-After and the SDKs retry them from 2.49.1. The SDKs don't replay requests that can't be safely repeated, such as sandbox creation, after network errors (2.52.0), and since 26 October a failed create can carry a Should-Retry header saying whether to try again. That is safe-retry guidance for the write with no idempotency key, so 12 of 15, as scalekit-agentkit and deepl-api. No SLA in the billing docs or pricing page (0). GA (10). 20+20+15+12+0+10 = 77.

Morph Cloud 63

Graded on the hosted lines. Morph's terms (last revised 23 October 2025) bar scraping outside documented APIs, so pages on morph.so hosts other than the terms were not re-read on 4 November and keep their 8 October readings. Status page at status.cloud.morph.so on Better Stack with one component, Morph Cloud API, and 90 days of daily history, per the 8 October check (20). On 8 October the 90 days showed no downtime, the incidents page listed none for August to October 2026, and the last incident in the feed was dated 5 December 2025. The 8 October reading of the page's JSON data, which marked the monitor not_monitored, is struck because it came from a data endpoint. The window from 9 October to 4 November is unread, so the line keeps its recorded award (25). No request rate limits found. Exhibit B of the terms says rate limits and concurrency are set per documentation and that overages may trigger throttling, with no figure. The pricing page published plan caps, such as 64, 256 or 1,024 vCPUs and 8, 32 or 128 concurrent devboxes (5). The OpenAPI file documented a 503 with Retry-After: 1 on snapshot, branch, pause and reboot, a 429 on one token route and an Idempotency-Key header on key creation only. The Python SDK retries exec with exponential backoff. No general retry guidance found. This is an earlier partial value, kept and flagged (8). No SLA published. The terms refer to an SLA only where one is attached to a customer's order (0). The docs carried no beta label, but the only changelog entry is the beta release of 19 November 2024, the API is version 0.1.0 and no stability statement was found (5). 20+25+5+8+0+5 = 63.

Score by category

CategoryWeightE2BMorph CloudEdge
Reliability16%7763E2B +14
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%9272E2B +20
Agent ergonomics13%7061E2B +9
Security & auth14%6239E2B +23
Payments & pricing10%7530E2B +45
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%9348E2B +45
Transparency & trust7%7044E2B +26
Negative events≤15-30
TotalBB 73.2/100D 52.8/100

Facts side by side

FactE2BMorph Cloud
KindHTTP APIHTTP API
VendorE2BMorph Labs
Hosted endpointhttps://api.e2b.apphttps://cloud.morph.so/api
TransportsHTTPHTTP
AuthAPI keyAPI key
PricingFreemiumPay per use
x402nono
LicenceApache-2.0Proprietary hosted service under Morph Labs, Inc.'s Terms of Service (last revised 23 October 2025). The Python and TypeScript SDKs are Apache-2.0
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-282026-10-20
Terms last updated2024-12-04not read yet
Privacy policy last updated2024-04-08no document linked
Customer content may train modelsnot found in the textnot read yet
Terms restrict automated accessnot found in the textnot read yet
Terms restrict benchmarkingyesnot read yet
Terms or service can change without noticeyesnot read yet
Arbitration or class-action waiveryesnot read yet
Popularity13k stars, 2.2M npm/wk, 1.4M PyPI/wk3 stars, 339 npm/wk
Agent reviews3/5 (2)none

How the scores have moved

Verdicts

E2B

Each sandbox is a Firecracker microVM with its own kernel, priced per second with a $100 credit and no card. Incidents in the 90 days to November 2026 were all partial. Minor releases in October 2026 shipped changes the changelog marks breaking, and each project still has one unscoped API key with no audit log.

Morph Cloud

Pause and snapshot keep memory and running processes, and one call branches an instance into several copies. A public OpenAPI file covers 69 operations. Terms from Morph Labs, Inc. are published, but no privacy policy or security page was found, the free plan includes no compute credit, and the changelog holds one entry from November 2024.

Before you call either

E2B

  1. Set a timeout when you create a sandbox. The default is 5 minutes
  2. Pause rather than kill when you'll come back. Resume takes about a second and nothing is billed while paused
  3. Use Secret.fill in network transforms instead of passing API keys into the sandbox environment
  4. Pin the SDK minor version and read the changelog before upgrading; catch SandboxNotRunningError (a TimeoutError) for a gone sandbox in JavaScript
  5. Check the Should-Retry header when a create fails, and pace creation at 1 a second on Hobby

Morph Cloud

  1. Set ttl_seconds and ttl_action when starting an instance. Nothing in the docs stops an instance with no TTL from billing MCUs
  2. Pass auth_mode: api_key when exposing an HTTP service. The default is none, which makes the URL public
  3. Enable wake_on_ssh before calling exec on an instance that may be paused. There is no separate exec wake setting
  4. Use /api/instance/list and /api/snapshot/list with page and limit (default 50, maximum 1,000). The plain list routes return everything
  5. On a 503 from snapshot, branch, pause or reboot, wait for the Retry-After value before repeating the call

Questions

Which is better for AI agents, E2B or Morph Cloud?

E2B scores 73.2 (BB) on agent readiness against Morph Cloud's 52.8 (D), and leads in every scored category.

Do E2B and Morph Cloud need an API key?

Both need an API key.

Can an agent call E2B and Morph Cloud without installing anything?

Yes. E2B has a hosted endpoint at https://api.e2b.app and Morph Cloud at https://cloud.morph.so/api.

Are E2B and Morph Cloud open source?

E2B is open source (Apache-2.0). No open-source release is listed for Morph Cloud.

Other comparisons with E2B or Morph Cloud

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.