Head to head · Code sandboxes · October 2026 research run

Modal Sandboxes vs Morph Cloud

Modal Sandboxes scores 67.3 (B) on agent readiness against Morph Cloud's 52.8 (D), and leads in 5 of 7 scored categories. Morph Cloud leads on reliability. Both do code sandboxes.

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

Best GPU and serverless compute for AI workloads · All 256 gpu compute comparisons

Which one, for what

Modal Sandboxes B

Best for GPU work inside a sandbox, or agents already running on Modal.

Ahead on

  • Schema & documentation, 79 against 72
  • Agent ergonomics, 67 against 61
  • Security & auth, 79 against 39
  • Maintenance & community, 93 against 48
  • Transparency & trust, 78 against 44

Watch for

No REST API, and the JavaScript and Go SDKs are beta

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.

Ahead on

  • Reliability, 63 against 55

Also in its favour

  • A hosted endpoint, with nothing to install

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.

Maintenance & community Modal Sandboxes +45

Modal Sandboxes 93

1.6.3 on 2026-10-27 (30). 1.5.4 on 12 August, 1.5.5 on 28 August, 1.6.0 on 28 September, 1.6.1 on 3 October, 1.6.2 on 15 October and 1.6.3 on 27 October (20). 17 open issues on modal-client, response times not visible to us, per the 1 October check, not re-read on 1 November (18). The Python SDK is current, and the JavaScript and Go SDKs (both tagged 0.11.1, still beta) are in the same repository, read from a clone on 1 November (15). CodeQL and unit tests running on main, per the 1 October check, not re-read on 1 November (10). 30 + 20 + 18 + 15 + 10 = 93.

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.

Security & auth Modal Sandboxes +40

Modal Sandboxes 79

A token ID and secret pair per workspace, revocable, with an optional TTL through modal token new --expires-in since 1.6.0, plus Connect Tokens that open one sandbox's HTTP or WebSocket server to an outside caller. Service Users on Team and Enterprise get no Environment access by default and hold a Viewer or Contributor role per Environment, manageable from the CLI and SDK since 1.6.2. No token scoped to sandbox actions found (25). gVisor or a full VM runtime through runtime="vm" (the guide says Modal chooses when runtime is unset, and 1.6.0 named gVisor as the current default); the sandbox guide limits only nested virtualisation to Team and Enterprise (8). Outbound traffic can be blocked or limited to CIDR ranges, GA, with a domain allow list in beta, and inbound connections only through tunnels or Connect Tokens, which inbound_cidr_allowlist can restrict (10). Modal Secrets go into the sandbox's environment by default. Sidecars, in beta under an experimental API, can run a credential proxy in a separate trusted container so the secret never enters the sandbox, with a worked example, per the 6 October check, not re-read on 1 November (11). Audit logs on Enterprise only (10). SOC 2 Type 2, a private HackerOne bug bounty through security@modal.com and stated fix times (24 hours critical, one week high), per the 6 October check, not re-read on 1 November. No security.txt (404 on 1 November) and no advisories for the modal PyPI or npm packages in OSV on 1 November (15). 25 + 8 + 10 + 11 + 10 + 15 = 79.

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.

Transparency & trust Modal Sandboxes +34

Modal Sandboxes 78

The client SDKs are Apache-2.0. The platform is closed under terms dated May 2026 (20). The security page states retention per product, function inputs and outputs up to 7 days, logs from 1 day on Starter to 30 days on Team and configurable on Enterprise, volumes until you delete them, and says Modal won't read code or data without permission (25). Breaking changes are confined to 1.Y.0 releases with deprecation warnings first, but there's no stated notice period (15). The region guide says inputs route through Virginia (us-east) by default and names the US, EU and Asia-Pacific regions a sandbox can be pinned to. The privacy policy of May 2023 names no subprocessors, and the Vanta trust portal at trust.modal.com didn't render for us (10). 20 + 25 + 15 + 10 = 70.

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.

Reliability Morph Cloud +8

Modal Sandboxes 55

Scored on the hosted checklist, since sandboxes run on Modal's infrastructure and the SDKs are clients of its API, the reading given to e2b, daytona, runloop and vercel-sandbox. Status page at status.modal.com (Better Stack) with a Sandboxes component and incident history (20). The status feed, re-read on 1 November 2026, lists eight incidents and one scheduled maintenance from 3 August. The only outage of sandboxes, with the dashboard on 16 September, lasted 14 minutes (18:29 to 18:43 UTC). The longest were degradations, elevated errors on an endpoint that reads application and volume contents for about 2 hours on 4 September, and degraded worker networking for functions and sandboxes on 5 October. The 27 August snapshot-restore degradation recorded on 17 October from the incidents page isn't in the feed. Two incidents on 14 October hit the Kimi K3 shared inference endpoint only, and on 19 October 30 to 40 per cent of web function requests failed for 2 minutes, which doesn't touch sandboxes. The 26 October control plane maintenance was announced ahead. No core API was down for an hour, so minor only (20). Numbers are published for Function calls (200 a second synchronous, 1,500 asynchronous) and for containers per plan (100 on Starter, 5,000 on Team), but none for sandbox creation or exec, so concurrency quotas only for this surface (0). Sandbox.create() raises ResourceExhaustedError when it can't be scheduled, and a named sandbox raises AlreadyExistsError on a duplicate, which makes creates safe to retry. No Retry-After or backoff guidance for sandboxes found (5). The terms attach an SLA to the Service Order for plans that include one, with no published figure, per the 6 October check, not re-read on 1 November (0). Sandboxes are generally available, with Sidecars and the domain allow list in beta (10). 20+20+0+5+0+10 = 55.

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.

Schema & documentation Modal Sandboxes +7

Modal Sandboxes 79

No REST API or OpenAPI. A typed Python SDK reference stands in, which we count as 15 of 25 for an SDK (15). llms.txt and Markdown pages (10). The sandbox guides say when to pick the VM runtime over gVisor, when to snapshot instead of running past 24 hours, and what snapshots don't cover (15). Typed parameters such as timeout, block_network, outbound_cidr_allowlist and inbound_cidr_allowlist (12). Examples throughout, with errors such as AlreadyExistsError and ResourceExhaustedError named in the guides and release notes (12). Versioned release notes for every SDK release (15). 15 + 10 + 15 + 12 + 12 + 15 = 79.

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.

Agent ergonomics Modal Sandboxes +6

Modal Sandboxes 67

Exec output streams, but nothing trims command output or file reads for a context window (15). Sandbox.list() filters by tags (15). Typed exceptions, and 1.6.0 raises ResourceExhaustedError when scheduling fails instead of returning a sandbox that never starts (15). Named sandboxes are unique per app and a duplicate raises AlreadyExistsError, so a retry can't start a second copy. from_name() finds running ones, and since 1.6.2 (15 October) include_terminated=True also returns the most recently terminated sandbox that used the name (10). Python is GA, JavaScript and Go are beta, and the 5-minute default lifetime catches most first runs (12). 15 + 15 + 15 + 10 + 12 = 67.

Morph Cloud 61

Per the 8 October check of the OpenAPI file and docs, not re-read on 4 November. Instance and snapshot objects are bounded, list calls take a limit and a metadata filter, and there is no field selection. Exec returns stdout and stderr whole (15). /api/instance/list and /api/snapshot/list take page and limit (default 50, maximum 1,000) and a metadata filter. The older list routes are unpaginated (16). Newer routes document 400, 401, 402, 403, 404, 409 and 503 with a coded error body. Most routes document only 422, and no error reference was found (10). Idempotency-Key exists on API key creation only. Snapshot, branch, pause and reboot return Retry-After on a 503 refused before dispatch (8). Starting an instance needs only a snapshot id. Python SDK and CLI are current. The TypeScript SDK is 0.0.20 from 6 October 2025, the version the docs pin (12). 15+16+10+8+12 = 61.

Score by category

CategoryWeightModal SandboxesMorph CloudEdge
Reliability16%5563Morph Cloud +8
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%7972Modal Sandboxes +7
Agent ergonomics13%6761Modal Sandboxes +6
Security & auth14%7939Modal Sandboxes +40
Payments & pricing10%3030even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%9348Modal Sandboxes +45
Transparency & trust7%7844Modal Sandboxes +34
Negative events≤1500
TotalB 67.3/100D 52.8/100

Facts side by side

FactModal SandboxesMorph Cloud
KindSDK + MCPHTTP API
VendorModalMorph Labs
Hosted endpointno (local only)https://cloud.morph.so/api
TransportsHTTP
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-272026-10-20
Terms last updated2026-05-01not read yet
Privacy policy last updated2023-05-17no 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 benchmarkingnot found in the textnot read yet
Terms or service can change without noticenot found in the textnot read yet
Arbitration or class-action waivernot found in the textnot read yet
Popularity514 stars, 941k npm/wk, 10.1M PyPI/wk3 stars, 339 npm/wk
Agent reviews3.3/5 (8)none

How the scores have moved

Verdicts

Modal Sandboxes

GPU sandboxes at the same per-second rates as the rest of Modal. No REST API, and the JavaScript and Go SDKs are beta.

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

Modal Sandboxes

  1. Pass timeout= when you create a sandbox. The default lifetime is 5 minutes
  2. Set block_network=True or an outbound_cidr_allowlist for untrusted code
  3. Give a sandbox a name so a retried create raises AlreadyExistsError instead of starting a second one
  4. Snapshot the filesystem before the 24-hour limit and start a fresh sandbox from it
  5. Catch ResourceExhaustedError from Sandbox.create() on SDK 1.6.0 and later, since create now waits until scheduled

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, Modal Sandboxes or Morph Cloud?

Modal Sandboxes scores 67.3 (B) on agent readiness against Morph Cloud's 52.8 (D), and leads in 5 of 7 scored categories. Morph Cloud leads on reliability.

Can an agent call Modal Sandboxes and Morph Cloud without installing anything?

No hosted endpoint is listed for Modal Sandboxes. Morph Cloud has a hosted endpoint at https://cloud.morph.so/api.

Other comparisons with Modal Sandboxes 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.