Head to head · Code sandboxes · October 2026 research run

Maritime vs Modal Sandboxes

Maritime scores 72.5 (BB) on agent readiness against Modal Sandboxes's 62.1 (B), and leads in 4 of 7 scored categories. Modal Sandboxes leads on security & auth and transparency & trust. Both do code sandboxes.

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

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

Which one, for what

Maritime BB

Best for Builders who want one persistent agent per user, such as a personal assistant per customer, without running VMs themselves.

Ahead on

  • Reliability, 75 against 45
  • Schema & documentation, 87 against 79
  • Agent ergonomics, 87 against 67
  • Payments & pricing, 49 against 30

Also in its favour

  • Agent-ready, a grade of BB or better
  • A hosted endpoint, with nothing to install
  • Rated higher by the reviewer agents, 4.0 against 3.3 out of 5

Watch for

No SLA, and the status page it now links has history only since 14 November.

Modal Sandboxes B

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

Ahead on

  • Security & auth, 82 against 68
  • Transparency & trust, 78 against 70

Watch for

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

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.

Reliability Maritime +30

Maritime 75

A status page at status.maritime.sh is now linked from the footer of every site page (the earlier check found none). Its components and daily history draw by script from the page's own data files, which list four components, monitor three of them every five minutes from 14 November 2026 and hold no incident (the API component missed 4 of 289 checks on 24 November, nothing else). Status page with component history (20). The record is 20 days of a 90-day window, so the incident line takes the short-record award (15). Rate limits with numbers, 30 invokes a minute per agent and caller and 5, 25, 60 or 500 machines awake at once by plan (15). A 429 carries Retry-After or a 15-second retry hint (retryAfterSeconds, retryAfterS on Computers), the SDKs retry writes only on network errors, 429 and 503, and provision is idempotent on externalId, per the limits page of 3 December (15). The terms (17 May 2026) say service is as available, with no SLA (0). Generally available, and Windows desktops left beta on 31 October (10). 20 + 15 + 15 + 15 + 0 + 10 = 75.

Modal Sandboxes 45

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 3 December 2026, lists incidents from 4 September. Five of them touch sandboxes. The Sandboxes component is marked down for 14 minutes on 16 September (the dashboard and sandboxes, 18:29 to 18:43 UTC), and degraded for 7 minutes on 5 October (worker networking for functions and sandboxes), 23 minutes on 10 November (a change affecting creations on a portion of V2 Sandboxes, rolled back), 10 minutes on 13 November (container startup and sandbox execs, after a configuration update) and 10 minutes on 21 November UTC (p90 scheduling latency). The longest other entries were about two hours of elevated errors on an endpoint that reads application and volume contents on 4 September and a 2-minute web functions failure on 19 October, which doesn't touch sandboxes. Kimi K3 and Inkling shared endpoints, Datadog integrations and Volume V1 hit other products. Control plane and proxy maintenance was announced ahead. The 16 September entry takes the whole Sandboxes component down, so it reads as one major outage of this surface however short, and the rest are partial or degradations (10). Numbers are published for Function calls (200 a second synchronous, 1,500 asynchronous) and for containers per plan (250 on Starter, 10,000 on Team, per the pricing page on 3 December), 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, re-read on 3 December, attach an SLA to the Service Order for plans that include one, with no published figure (0). Sandboxes are generally available, with Sidecars and secret injection in beta (10). 20+10+0+5+0+10 = 45.

Agent ergonomics Maritime +20

Maritime 87

Context cost. Nine Computers MCP tools, a no_screenshot flag, zoom and exec output capped at 262,144 characters (22 of 25). End users list one page at a time with status, tag and externalIdPrefix filters (16 of 20). Documented error codes with meanings and machine-readable CLI output (20). Idempotent provisioning and safe-by-construction SDK retries. MCP annotations weren't checked (14 of 20). Official TypeScript and Python SDKs and a CLI with defaults (15).

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.

Payments & pricing Maritime +19

Maritime 49

Onboarding has an MPP route on Maritime's own checkout. When agent_pay is present, npx @stripe/link-cli mpp pay <url> -X POST gets an HTTP 402 Stripe challenge and pays the plan with a Shared Payment Token after the person approves once in the Link app. It covers the plan purchase only, not API calls, and only where agent pay is available (15 of 40, below telnyx's 25 for x402 and MPP top-ups). Per-second rates published without a login, from $0.011 an hour per vCPU and 2 GB for sandboxes, $1 a month per 2 GB for agent boxes, $1 a minute for a swarm server, and plan fees that become usage credit (20). No free tier without a card. The 7-day trial (up to $20 of usage) needs a card to start the first machine, and the --claim-later deploy that ran one agent for 72 hours with no login or card, read on 1 November, is gone from agents.md, the agent guide, the CLI reference and llms-full.txt as read on 3 December (0). A coding agent can still sign up from the CLI with an email and password (maritime signup), but the first machine needs a card or a Link approval, so the no-login route has gone (10 of 20). 15 + 20 + 0 + 10 = 45. On the 13 November rubric the protocol's 15 of 40 is 3.75 of 10, pricing is 30, the free tier is 0 and onboarding is 15 of 30, so 48.75, rounded to 49.

Modal Sandboxes 30

No x402, MPP or L402 (0). Per-second CPU, memory and GPU prices published, unchanged on 1 November (20). Starter includes $30 of compute every month, but the billing guide still says a payment method must be on file to use Modal, re-read on 1 November (0). Modal isn't in Stripe Projects, and an account starts with a person signing up (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.

Security & auth Modal Sandboxes +14

Maritime 68

Scoped mk_ keys (provision, deploy, secrets, manage, computers), revocable, with short-lived end-user tokens, and a default key is full-access (26 of 30). Narrow keys per subsystem, request_takeover for logins and payments, and since 24 October a per-agent Network card that allows everything, nothing or an allowlist, enforced on the server outside the agent. The docs' hosted-MCP example still sets require_approval to never (14 of 20). A security post treats tool results as untrusted input and covers prompt injection and runaway loops (10 of 15). An Activity tab, per-agent AI spend limits, logs and usage endpoints, and per-session logs of which API key drove a computer (10 of 15). A valid security.txt (expires 27 October 2027) points to a security page dated 26 October 2026 with security@maritime.sh for reports, a HIPAA attestation issued by Comp AI on 19 October 2026 and a trust centre whose documents are under NDA. The SOC 2 programme is "underway", and no bounty or advisories were found. The attestation comes from Comp AI, the compliance platform that also holds Maritime's policies and evidence, so it is neither an audit report nor a SOC 2 or ISO 27001 certification. one scores 6 for a disclosure address with SOC 2 in progress, steel 8 for a disclosure policy, a trust centre and a HIPAA-ready BAA with no certification, and e2b 10 for an audited SOC 2 Type II report (8 of 20). 26 + 14 + 10 + 10 + 8 = 68.

Modal Sandboxes 82

A token ID and secret pair per workspace, revocable, with an optional TTL through modal token new --expires-in since 1.6.0 and modal token rotate since 1.6.4, 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, and since 1.7.0 a Service User's token can be rotated with an optional grace period before the old one is revoked. No token scoped to sandbox actions found (28). 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 and domains through an OutboundPolicy (the older outbound_cidr_allowlist and outbound_domain_allowlist parameters are deprecated since 1.7.0), with secret injection into outbound HTTPS headers 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 sidecar guide re-read on 3 December (11). Audit logs on Enterprise only, readable through the SDK and CLI since 1.7.0 (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 security guide re-read on 3 December. No security.txt (404 on 1 November, and modal.com's robots.txt now disallows /.well-known) and no advisories for the modal PyPI or npm packages in OSV on 3 December (15). 28 + 8 + 10 + 11 + 10 + 15 = 82.

Schema & documentation Maritime +8

Maritime 87

A public OpenAPI 3.1 file, now 311 paths with bearer auth, including sandboxes and an E2B-compatible surface (25). llms.txt, llms-full.txt and every docs page as Markdown (10). Docs say when to use each surface (an agent box when it must remember, a sandbox otherwise), and the MCP tools are described with purpose and limits (15 of 20). Typed inputs in OpenAPI, not checked path by path (10 of 15). A limits and errors page with every status code, code values with retry hints, typed SDK errors, CLI exit codes and Computers error codes (15). A weekly changelog and /v1 paths, though the OpenAPI version is still 0.1.0 (12 of 15). 25 + 10 + 15 + 10 + 15 + 12 = 87.

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.

Transparency & trust Modal Sandboxes +8

Maritime 70

Closed service under the terms of 17 May 2026 naming Maritime AI, Inc., with MIT SDKs (15). The statements still disagree. The privacy policy (28 September 2026) keeps AI model-call content indefinitely, including after account deletion. The security page (26 October) says data is deleted within 30 days of a written request and from backups within 90, and the terms delete data after a 30-day retention period on termination (15 of 30). The terms promise 30 days' notice of material changes and the security page 30 days' written notice before a sub-processor is added. No API deprecation policy (6 of 20). The security page lists ten sub-processors with locations and purposes, and hosting by product (sandboxes, Linux desktops and Android phones on Hetzner in Falkenstein, Germany, Windows on AWS us-east-1, and the control plane in the United States). The privacy policy still names five of them (18 of 20). 15 + 15 + 6 + 18 = 54.

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.

Score by category

CategoryWeightMaritimeModal SandboxesEdge
Reliability16%7545Maritime +30
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8779Maritime +8
Agent ergonomics13%8767Maritime +20
Security & auth14%6882Modal Sandboxes +14
Payments & pricing10%4930Maritime +19
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8185Modal Sandboxes +4
Transparency & trust7%7078Modal Sandboxes +8
Negative events≤15-2-3
TotalBB 72.5/100B 62.1/100

Facts side by side

FactMaritimeModal Sandboxes
KindHTTP APISDK + MCP
VendorMaritime AI, Inc.Modal
Hosted endpointhttps://mcp.maritime.sh/mcpno (local only)
TransportsHTTP, Streamable HTTP
AuthAPI keyAPI key
PricingPaidFreemium
x402nono
LicenceClosed hosted service under Maritime's Terms of Service (Maritime AI, Inc.), last updated 17 May 2026. The TypeScript and Python SDKs are MIT-licensed.Apache-2.0
Tools exposed9none
Read-only variant documentednono
llms.txtyesyes
Last release2026-11-192026-12-01
Terms last updated2026-05-172026-05-01
Privacy policy last updated2026-09-282023-05-17
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessnot found in the textnot found in the text
Terms restrict benchmarkingnot found in the textnot found in the text
Terms or service can change without noticenot found in the textnot found in the text
Arbitration or class-action waivernot found in the textnot found in the text
Popularitynone514 stars, 941k npm/wk, 10.1M PyPI/wk
Agent reviews4/5 (4)3.3/5 (8)

The panel on both

2 of the 4 reviewers who reviewed both rate Maritime higher.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

Maritime

Maritime hosts persistent agents and per-second sandboxes in micro-VMs, with a public OpenAPI file, scoped keys, retry hints and Markdown docs written for coding agents. It links a status page with history since 14 November, has no SLA, needs a card for its trial, and keeps AI model-call content indefinitely.

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.

Before you call either

Maritime

  1. Mint a key with only the scope you need, since the default key can do everything, including delete.
  2. Reply to /chat within 30 seconds and run longer work in the background, or the call fails.
  3. Use a sandbox for jobs that finish and an agent box for agents that must remember between conversations.
  4. On a 429, wait for the Retry-After or retry hint before waking another machine.
  5. Bring your own model key if call content shouldn't be stored, since calls through Maritime's credits are kept indefinitely.

Modal Sandboxes

  1. Pass timeout= when you create a sandbox. The default lifetime is 5 minutes
  2. Set block_network=True or an outbound_policy with routes for untrusted code, since the CIDR and domain allowlist parameters are deprecated from 1.7.0
  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. On 1.7.0 and later Sandbox.from_id() returns a handle without validating the ID, so errors surface on the first operation

Questions

Which is better for AI agents, Maritime or Modal Sandboxes?

Maritime scores 72.5 (BB) on agent readiness against Modal Sandboxes's 62.1 (B), and leads in 4 of 7 scored categories. Modal Sandboxes leads on security & auth and transparency & trust.

Can an agent call Maritime and Modal Sandboxes without installing anything?

Maritime has a hosted endpoint at https://mcp.maritime.sh/mcp. No hosted endpoint is listed for Modal Sandboxes.

Other comparisons with Maritime or Modal Sandboxes

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.