Head to head · Code sandboxes · October 2026 research run
Morph Cloud vs Together Code Sandbox
Together Code Sandbox scores 56 (C) 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
Which one, for what
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 32
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
Best for Teams already buying from Together, and former CodeSandbox SDK users, who want Docker-defined sandboxes with disk and memory snapshots from Python or TypeScript.
Ahead on
- Schema & documentation, 86 against 72
- Agent ergonomics, 70 against 61
- Security & auth, 46 against 39
- Maintenance & community, 83 against 48
- Transparency & trust, 59 against 44
Watch for
The SDK and CLI work only for organisations Together has enabled, and the docs say to contact Together for access
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 Together Code Sandbox +35
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.
Together Code Sandbox 83
Last release together-sandbox 4.1.1 on 7 October 2026, 28 days before 4 November (30). Four tagged releases from 6 August, 4.0.3 (10 August), 4.0.4 (30 September), 4.1.0 (1 October) and 4.1.1 (7 October), each changing SDK or API code (20). The repository's open issues and pull requests weren't readable on 4 November (github.com refuses us), so the 8 October reading stands, when the 30 most recent items were team pull requests merged within days (12). Current official Python and TypeScript SDKs and a CLI, versioned together (15). Pull requests run the TypeScript unit tests, end-to-end tests run on pushes to main, and packages publish by OIDC trusted publishing. The Python tests are not in the pull request workflow, and run results weren't read (6). 30 + 20 + 12 + 15 + 6 = 83.
Reliability Morph Cloud +31
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.
Together Code Sandbox 32
Read with the hosted lines. status.together.ai lists the website, the playground and inference models with no component for the sandbox service, and a vendor status page with no component for the product takes 15. Incident line kept at 5. The Together page posts no incident since 6 January 2025, while status.codesandbox.io, which lists the CodeSandbox API and two clusters, wasn't re-read on 4 November (codesandbox.io answers a bot check, so its terms are unread), per the 8 October check (5). No rate or concurrency limits found, and the migration guide says the concurrency count and limit are not exposed (0). Both SDKs retry 408, 429, 500, 502, 503 and 504 three times with exponential backoff from 0.5 seconds plus jitter, and the SDK references say snapshots.create is not idempotent and should be excluded from retries. That is safe-retry guidance with no idempotency keys (12). No SLA found, and the terms make no uptime guarantee outside an order form (0). The docs still say the SDK must be enabled for an organisation, on request to sales, which is not general availability (0). 15 + 5 + 0 + 12 + 0 + 0 = 32.
Transparency & trust Together Code Sandbox +15
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.
Together Code Sandbox 59
A closed service under Together's terms of service (19 May 2026). The SDKs, CLI and OpenAPI documents are MIT, which doesn't raise the line for a closed API, as for the Together inference and fine-tuning listings (15). The privacy policy (17 December 2025) says data is not used for training without opt-in. Its table of data types covers inference, fine-tuning and GPU clusters with no sandbox row, and no retention period for sandbox filesystems or snapshots was found beyond an optional snapshot ttl (12). The legacy @codesandbox/sdk page is still marked deprecated with no end date, the deprecations page covers models only, and breaking SDK changes are marked in the changelog. Kept as a partial (8). No sub-processor list or data locations for sandboxes found. A docs example names a cluster na-us-ce-01, and the trust centre was unread (3). 15 + 12 + 8 + 3 = 38.
Schema & documentation Together Code Sandbox +14
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.
Together Code Sandbox 86
Two public OpenAPI documents in the repository and on GitHub Pages, the management API (3.1.0, 17 operations) and the in-VM API (3.0.3, 25 operations) (25). docs.together.ai has llms.txt and a Markdown twin of the page, and each package ships an LLMS.md with the references (10). The concept docs say when to snapshot memory rather than disk only and what ephemeral means, while 36 of 114 typed nodes in the management document carry a description (14). Enums for status, bounds on cpu, memory_bytes, ttl and limit, with experimental left loose (12). Examples in Python, TypeScript and the CLI, and an error object with code, message and errors. No list of error codes found, and 429 is not in the document (10). /v1 paths, semver packages and a generated CHANGELOG.md (15).
Agent ergonomics Together Code Sandbox +9
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.
Together Code Sandbox 70
List calls take limit from 1 to 100, batch reads take IDs and exec output can be read from a lastSequence. No field selection (15). Cursor pagination on sandboxes and snapshots, with filters for status, source snapshot, tags and retired snapshots (20). Errors return code, message and per-parameter entries, the SDKs raise one HttpError with the status, and status_reason names causes such as out_of_capacity and oom_killed. No catalogue of codes found (14). Built-in retries, but no idempotency keys, sandbox IDs can't be chosen and snapshots.create can register duplicates (8). Python and TypeScript SDKs and a CLI, with defaults of 1 vCPU and 2 GiB. A snapshot must be built first because no default image exists (13).
Security & auth Together Code Sandbox +7
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.
Together Code Sandbox 46
Project-scoped API keys, revocable within about five minutes, with optional expiry and rotation guidance, read as the Together inference and fine-tuning listings read the same key model (30). The in-VM OpenAPI document still lists ?token= as a documented way to authenticate the WebSocket exec path, so the checklist's fixed 10 comes off (20). Each sandbox is a virtual machine. Every port is open to everyone unless the experimental inbound policy is set, no outbound rules exist, and project roles are admin and editor with no read-only role (8). The sandbox returns the output of code the agent ran, with no guidance on untrusted output found (8). Sandboxes can be listed with tags and status_reason. No audit log found (3). A PGP-signed security.txt (Expires 2028-09-30) points Contact and Policy at HackerOne with no acknowledgement time, the value this run gives a disclosure route with no stated time (7). 20 + 8 + 8 + 3 + 7 = 46.
Score by category
| Category | Weight | Morph Cloud | Together Code Sandbox | Edge |
|---|---|---|---|---|
| Reliability | 16% | 63 | 32 | Morph Cloud +31 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 72 | 86 | Together Code Sandbox +14 |
| Agent ergonomics | 13% | 61 | 70 | Together Code Sandbox +9 |
| Security & auth | 14% | 39 | 46 | Together Code Sandbox +7 |
| Payments & pricing | 10% | 30 | 30 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 48 | 83 | Together Code Sandbox +35 |
| Transparency & trust | 7% | 44 | 59 | Together Code Sandbox +15 |
| Negative events | ≤15 | 0 | 0 | |
| Total | D 52.8/100 | C 56/100 |
Facts side by side
| Fact | Morph Cloud | Together Code Sandbox |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Morph Labs | Together AI |
| Hosted endpoint | https://cloud.morph.so/api | https://api.bartender.codesandbox.io |
| Transports | HTTP | HTTP |
| Auth | API key | API key |
| Pricing | Pay per use | Pay per use |
| x402 | no | no |
| Licence | Proprietary hosted service under Morph Labs, Inc.'s Terms of Service (last revised 23 October 2025). The Python and TypeScript SDKs are Apache-2.0 | Proprietary service under Together's terms of service. The SDKs, CLI and OpenAPI documents on GitHub are MIT |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-10-20 | 2026-10-07 |
| Terms last updated | not read yet | no date given |
| Privacy policy last updated | no document linked | no date given |
| Customer content may train models | not read yet | not found in the text |
| Terms restrict automated access | not read yet | not found in the text |
| Terms restrict benchmarking | not read yet | yes |
| Terms or service can change without notice | not read yet | not found in the text |
| Arbitration or class-action waiver | not read yet | not found in the text |
| Popularity | 3 stars, 339 npm/wk | 3 stars, 1.3k npm/wk |
How the scores have moved
Verdicts
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.
Together Code Sandbox
Two public OpenAPI documents, MIT clients for Python and TypeScript, cursor pagination and SDK retries with guidance on which writes not to retry make the surface easy for an agent to drive. Access is the limit. Together enables the SDK per organisation on request, publishes no rate limits or SLA, and its status page has no sandbox component.
Before you call either
Morph Cloud
- Set
ttl_secondsandttl_actionwhen starting an instance. Nothing in the docs stops an instance with no TTL from billing MCUs - Pass
auth_mode: api_keywhen exposing an HTTP service. The default isnone, which makes the URL public - Enable
wake_on_sshbefore calling exec on an instance that may be paused. There is no separate exec wake setting - Use
/api/instance/listand/api/snapshot/listwithpageandlimit(default 50, maximum 1,000). The plain list routes return everything - On a 503 from snapshot, branch, pause or reboot, wait for the
Retry-Aftervalue before repeating the call
Together Code Sandbox
- Confirm the organisation is on Together's allowlist before installing. A valid
TOGETHER_API_KEYalone is not enough - Build a snapshot first with
snapshots.create. No default image exists, and every sandbox needssnapshot_idorsnapshot_alias - Set
ttlat creation or callterminate(). Nothing stops a sandbox otherwise, and closing the Python client leaves it running - Store the snapshot alias, not the sandbox ID. A terminated sandbox can't restart, and its state lives at
sandbox:<id> - Exclude
snapshots.createfrom retries withshould_retry, and setexperimental.network_policybefore serving anything private on a port
Questions
Which is better for AI agents, Morph Cloud or Together Code Sandbox?
Together Code Sandbox scores 56 (C) on agent readiness against Morph Cloud's 52.8 (D), and leads in 5 of 7 scored categories. Morph Cloud leads on reliability.
Do Morph Cloud and Together Code Sandbox need an API key?
Both need an API key.
Can an agent call Morph Cloud and Together Code Sandbox without installing anything?
Yes. Morph Cloud has a hosted endpoint at https://cloud.morph.so/api and Together Code Sandbox at https://api.bartender.codesandbox.io.
Other comparisons with Morph Cloud or Together Code Sandbox
- Amazon Bedrock AgentCore Code Interpreter vs Morph Cloud
- Amazon Bedrock AgentCore Code Interpreter vs Together Code Sandbox
- Blaxel Sandboxes vs Morph Cloud
- Blaxel Sandboxes vs Together Code Sandbox
- boat vs Morph Cloud
- boat vs Together Code Sandbox
- Celesto (formerly SmolVM) vs Morph Cloud
- Celesto (formerly SmolVM) vs Together Code Sandbox
- Cloudflare Sandbox SDK vs Morph Cloud
- Cloudflare Sandbox SDK vs Together Code Sandbox
- Daytona vs Morph Cloud
- Daytona vs Together Code Sandbox
- Deno Sandbox vs Morph Cloud
- Deno Sandbox vs Together Code Sandbox
- DigitalOcean Managed Agents vs Morph Cloud
- DigitalOcean Managed Agents vs Together Code Sandbox
- Docker Sandboxes vs Morph Cloud
- Docker Sandboxes vs Together Code Sandbox
- E2B vs Morph Cloud
- E2B vs Together Code Sandbox
- Freestyle vs Morph Cloud
- Freestyle vs Together Code Sandbox
- InstaVM vs Morph Cloud
- InstaVM vs Together Code Sandbox
- Maritime vs Morph Cloud
- Maritime vs Together Code Sandbox
- Microsoft Execution Containers vs Morph Cloud
- Microsoft Execution Containers vs Together Code Sandbox
- Modal Sandboxes vs Morph Cloud
- Modal Sandboxes vs Together Code Sandbox
- Morph Cloud vs Offscreen
- Morph Cloud vs SPACE
- Morph Cloud vs Render Sandboxes
- Morph Cloud vs Runloop Devboxes
- Morph Cloud vs Sandbox0
- Morph Cloud vs Sprites
- Morph Cloud vs Vercel Sandbox
- Offscreen vs Together Code Sandbox
- SPACE vs Together Code Sandbox
- Render Sandboxes vs Together Code Sandbox
- Runloop Devboxes vs Together Code Sandbox
- Sandbox0 vs Together Code Sandbox
- Sprites vs Together Code Sandbox
- Together Code Sandbox vs Vercel Sandbox
- Agent 37 Cloud vs Morph Cloud
- Agent 37 Cloud vs Together Code Sandbox
- DeltaBox Lite vs Morph Cloud
- DeltaBox Lite vs Together Code Sandbox
Machine-readable
- This page as Markdown
/compare/morph-cloud-vs-together-code-sandbox.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/morph-cloud.json·/api/v1/tools/together-code-sandbox.json - From a terminal
anchor compare morph-cloud together-code-sandbox(the CLI) - Over MCP
compare_tools {"a": "morph-cloud", "b": "together-code-sandbox"}at/mcp, no key