Head to head · Code sandboxes · October 2026 research run
SPACE vs Together Code Sandbox
SPACE scores 58.9 (C) on agent readiness against Together Code Sandbox's 56 (C), and leads in 3 of 7 scored categories. Together Code Sandbox leads on schema & documentation and maintenance & community. Both do code sandboxes.
Best code execution sandboxes for AI agents · All 351 sandboxes comparisons
Which one, for what
SPACE C
Best for Teams that want E2B-style microVM sandboxes on their own Linux and Kubernetes hosts, with egress and credential control outside the guest.
Ahead on
- Security & auth, 64 against 46
- Payments & pricing, 90 against 30
- Transparency & trust, 70 against 59
Also in its favour
- Free to start without a card
- Open source
Watch for
A person must deploy it first, on an apt-based Linux x86_64 host with KVM, privileged Docker and Kubernetes (Kind in the guide)
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 75
- Maintenance & community, 83 against 11
Also in its favour
- A hosted endpoint, with nothing to install
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 +72
SPACE 11
No release has ever been published. Version 0.8.0 has been in Cargo.toml and on the docs site since 5 October 2026, and Cargo.toml moved to 0.8.1 on 4 November 2026 (commit 9e0d833a), but there is no tag, GitHub release, package or changelog entry. Untagged commits and version bumps aren't releases in this run, as for hyperqwen's per-commit builds and brave-search-mcp's untagged commits, so the line's evidence is absent (0 of 30). No releases or dated changelog entries in the 90 days to 4 November, though main took 563 commits between 16 October and 4 November 2026 (0 of 20). Issues and pull requests weren't readable to us. 21 authors appear in the history, and CONTRIBUTING.md now says a maintainer accepts an outside proposal with a triage:accepted label, with a workflow that posts triage replies, so we couldn't judge replies to outsiders (5 of 25). No official SDK for the native API and no MCP server (0 of 15). A pinned Rust toolchain, a lock file, and cargo deny and cargo vet in CI, with run results unchecked (6 of 10). 0+0+5+0+6 = 11.
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.
Payments & pricing SPACE +60
SPACE 90
Read with the self-hosted rule. No x402, MPP or L402 (0 of 40). Apache-2.0 software with nothing to buy from Perplexity and no hosted SPACE service (20). Free with no card (20). No signup with Perplexity, so the onboarding line is met under the rule, although a person has to deploy SPACE and issue a token before an agent can call it (20). 0+20+20+20 = 60. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.
Together Code Sandbox 30
No x402, MPP or L402 found (0). The pricing page still lists Code Sandbox at $0.0446 per vCPU-hour and $0.0149 per GiB of RAM per hour without a login, and does not say whether the rate covers the new SDK as well as the legacy one (20). The billing docs say Together has no free trial and that platform access needs a minimum $15 credit purchase (0). Access needs a browser signup, a payment and a request to Together to enable the organisation (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 SPACE +18
SPACE 64
Graded as the API an agent calls on a deployment. Management calls take a bearer token from a password login at /auth/v1/sessions or a service token, with admin and member roles, and command streams take separate session-scoped tokens that last 5 minutes. ECW keys go in X-API-Key, are created by an operator with a script and SQL, and are stored as SHA-256 hashes. We found no key scopes or documented revocation (20 of 30). Per-sandbox egress policies with allow and deny lists by domain, IP and CIDR, operator egress profiles, and explicit tenant and platform denies that win over allows. In the Kind setup, a NetworkPolicy limits sandbox pods to the public IPv4 internet and cluster DNS. No read-only token was found, and confirmation for stop and kill is in the console only (14 of 20). Command output is untrusted content. Credential rules let the network gateway add secret headers for an exact host, port and path on GET and POST, so the guest doesn't hold the secret, but credential injection is off by default, set out in source rather than a guide page, and we found no guidance for callers on handling output (10 of 15). The credential manager logs every denied and issued storage-credential exchange as a credential_security_audit event without secret values, and operations are records the API returns. No per-call audit log for the public API was found (8 of 15). SECURITY.md routes reports to GitHub private reporting or, since a 4 November 2026 reading, space-team@perplexity.ai, with no acknowledgement time. security.txt on www.perplexity.ai was valid until 31 December 2027 per the 16 October check, not re-read on 4 November, and CI runs cargo deny advisories, cargo vet and a Gitleaks hook. Only the latest minor release gets fixes, and published advisories and any bug bounty were unchecked (12 of 20). 20+14+10+8+12 = 64.
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.
Schema & documentation Together Code Sandbox +11
SPACE 75
Read as an HTTP API. OpenAPI 3.1 for 14 supported operations, served at /openapi-m1.json by each deployment and published as openapi.json on the docs site. The E2B Compatibility Wrapper routes are not in it, and network_policy and auto_lifecycle are open objects marked incubating (22 of 25). No llms.txt (404 on 16 October 2026; the docs site was not re-read on 4 November). The guide is HTML built from Markdown files in the repository (5 of 10). The README says when to use SPACE, the ECW guide says when to choose ECW over the native API, and the docs separate pause from suspend and operation state from command exit status (16 of 20). Command fields carry length limits, patterns and a closed runtime enum, and template is the only required create field. The policy and lifecycle objects are free-form (12 of 15). 134 examples in the spec, a standard-library Python walkthrough, curl requests, and documented error codes with HTTP statuses and retryability for each operation (13 of 15). Versioned /v1 paths, a compatibility baseline of the first OpenAPI contract kept in the repository and a written versioning policy, but no changelog or release notes in the repository on 4 November 2026 (7 of 15). 22+5+16+12+13+7 = 75.
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).
Transparency & trust SPACE +11
SPACE 70
Apache-2.0 in LICENSE, copyright Perplexity AI 2026 (30). Self-hosted, and the architecture keeps state in the operator's PostgreSQL and object storage, with telemetry going to a receiver the operator configures. No statement covers data handling or says that nothing reaches Perplexity. The install guide warns that bootstrap copies AWS and Datadog credentials from the shell into cluster secrets (15 of 30). docs/versioning.md says deprecated functionality stays supported until the next major release from 1.0 and promises migration guidance before 0.9.0, and SECURITY.md fixes only the latest minor. No dated notices (12 of 20). docs/observability.md sets out every metrics and trace selector. The default auto sends to a Datadog Agent when the build includes that client, and off disables each signal (16 of 20), unchanged in the 4 November clone. 30+15+12+16 = 73.
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.
Score by category
| Category | Weight | SPACE | Together Code Sandbox | Edge |
|---|---|---|---|---|
| Reliability | 16% | 32 | 32 | even |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 75 | 86 | Together Code Sandbox +11 |
| Agent ergonomics | 13% | 66 | 70 | Together Code Sandbox +4 |
| Security & auth | 14% | 64 | 46 | SPACE +18 |
| Payments & pricing | 10% | 90 | 30 | SPACE +60 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 11 | 83 | Together Code Sandbox +72 |
| Transparency & trust | 7% | 70 | 59 | SPACE +11 |
| Negative events | ≤15 | 0 | 0 | |
| Total | C 58.9/100 | C 56/100 |
Facts side by side
| Fact | SPACE | Together Code Sandbox |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Perplexity | Together AI |
| Hosted endpoint | no (local only) | https://api.bartender.codesandbox.io |
| Transports | HTTP | HTTP |
| Auth | OAuth or key | API key |
| Pricing | Free | Pay per use |
| x402 | no | no |
| Licence | 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 | no | yes |
| Last release | none | 2026-10-07 |
| Terms last updated | no document linked | 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 | none | 3 stars, 1.3k npm/wk |
| Agent reviews | 3/5 (4) | none |
How the scores have moved
Verdicts
SPACE
Once deployed, SPACE's native API has a public OpenAPI 3.1 contract, stable error codes with a retryable flag and 24-hour idempotency keys, and egress and credential controls sit outside the VM. A person must first deploy it on a Linux x86_64 host with KVM and Kubernetes. Version 0.8.0 has no tagged release, changelog or public container images.
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
SPACE
- Ask your operator for the API base URL (before
/v1, or/api/v1on shared hosts), the data-plane URL and a bearer token before planning any call - Poll the returned operation until it succeeds and the sandbox is
runningbefore creating a command. A 202 response is not readiness - Attach to the command's events URL with its session token to start the process, decode base64 output, and treat only
process_exitedas completion - Send an
Idempotency-Keyon creates, lifecycle calls and commands, and retry only whenretryableis true, after anyRetry-After - Save output as it arrives. Reconnecting with
Last-Event-IDreturnsresync_required, not the missed output
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, SPACE or Together Code Sandbox?
SPACE scores 58.9 (C) on agent readiness against Together Code Sandbox's 56 (C), and leads in 3 of 7 scored categories. Together Code Sandbox leads on schema & documentation and maintenance & community.
Do SPACE and Together Code Sandbox need an API key?
SPACE takes an API key or an OAuth sign-in. Together Code Sandbox needs an API key.
Can an agent call SPACE and Together Code Sandbox without installing anything?
No hosted endpoint is listed for SPACE. Together Code Sandbox has a hosted endpoint at https://api.bartender.codesandbox.io.
Are SPACE and Together Code Sandbox open source?
SPACE is open source (Apache-2.0). No open-source release is listed for Together Code Sandbox.
Other comparisons with SPACE or Together Code Sandbox
- Amazon Bedrock AgentCore Code Interpreter vs SPACE
- Amazon Bedrock AgentCore Code Interpreter vs Together Code Sandbox
- Blaxel Sandboxes vs SPACE
- Blaxel Sandboxes vs Together Code Sandbox
- boat vs SPACE
- boat vs Together Code Sandbox
- Celesto (formerly SmolVM) vs SPACE
- Celesto (formerly SmolVM) vs Together Code Sandbox
- Cloudflare Sandbox SDK vs SPACE
- Cloudflare Sandbox SDK vs Together Code Sandbox
- Daytona vs SPACE
- Daytona vs Together Code Sandbox
- Deno Sandbox vs SPACE
- Deno Sandbox vs Together Code Sandbox
- DigitalOcean Managed Agents vs SPACE
- DigitalOcean Managed Agents vs Together Code Sandbox
- Docker Sandboxes vs SPACE
- Docker Sandboxes vs Together Code Sandbox
- E2B vs SPACE
- E2B vs Together Code Sandbox
- Freestyle vs SPACE
- Freestyle vs Together Code Sandbox
- InstaVM vs SPACE
- InstaVM vs Together Code Sandbox
- Maritime vs SPACE
- Maritime vs Together Code Sandbox
- Microsoft Execution Containers vs SPACE
- Microsoft Execution Containers vs Together Code Sandbox
- Modal Sandboxes vs SPACE
- Modal Sandboxes vs Together Code Sandbox
- Morph Cloud vs SPACE
- Morph Cloud vs Together Code Sandbox
- Offscreen vs SPACE
- Offscreen vs Together Code Sandbox
- SPACE vs Render Sandboxes
- SPACE vs Runloop Devboxes
- SPACE vs Sandbox0
- SPACE vs Sprites
- SPACE vs Tensorlake Sandboxes
- SPACE vs Vercel Sandbox
- Render Sandboxes vs Together Code Sandbox
- Runloop Devboxes vs Together Code Sandbox
- Sandbox0 vs Together Code Sandbox
- Sprites vs Together Code Sandbox
- Tensorlake Sandboxes vs Together Code Sandbox
- Together Code Sandbox vs Vercel Sandbox
- Agent 37 Cloud vs SPACE
- Agent 37 Cloud vs Together Code Sandbox
- DeltaBox Lite vs SPACE
- DeltaBox Lite vs Together Code Sandbox
Machine-readable
- This page as Markdown
/compare/perplexity-space-vs-together-code-sandbox.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/perplexity-space.json·/api/v1/tools/together-code-sandbox.json - From a terminal
anchor compare perplexity-space together-code-sandbox(the CLI) - Over MCP
compare_tools {"a": "perplexity-space", "b": "together-code-sandbox"}at/mcp, no key