Head to head · Code sandboxes · October 2026 research run

Deno Sandbox vs Freestyle

Freestyle scores 62.4 (B) on agent readiness against Deno Sandbox's 50.8 (D), and leads in 5 of 7 scored categories. Deno Sandbox leads on security & auth and transparency & trust. Both do code sandboxes.

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

Which one, for what

Deno Sandbox D

Best for Short runs of untrusted or generated code that need outside API keys kept out of reach, for teams already on Deno Deploy, until Deploy closes six months after 9 October 2026.

Ahead on

  • Security & auth, 58 against 53
  • Transparency & trust, 67 against 44

Watch for

Deno Deploy, which runs Sandbox, shuts down six months after the 9 October 2026 announcement, and Deno is moving its development to Cloudflare

Freestyle B

Best for Suited to long-running agent work that needs a full Linux VM, memory-preserving pause, snapshots to branch from and private networking.

Ahead on

  • Schema & documentation, 86 against 66
  • Agent ergonomics, 69 against 60
  • Payments & pricing, 68 against 30
  • Maintenance & community, 71 against 45

Also in its favour

  • A hosted endpoint, with nothing to install
  • Free to start without a card

Watch for

No terms of service or service agreement found on the site, and the privacy policy covers the website only

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 Freestyle +38

Deno Sandbox 30

No x402, MPP or L402 (0). Unit prices are public without a login, $0.10 a CPU-hour, $0.025 a GiB-hour and $0.20 a GiB-month (20). The Free plan does not include sandboxes, and no trial was found (0). A person signs up at console.deno.com in a browser and creates the token (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.

Freestyle 68

No x402, MPP or L402 found in the docs, the OpenAPI file or the pricing page (0). Per-unit prices are public, $0.04032 a vCPU-hour, $0.0129 a GiB-hour of memory, $0.000086 a GiB-hour of storage and $0.02 a GB of data transfer (20). The Free plan costs $0 with 200 vCPU-hours and 400 GiB-hours of memory a month and needs no card (20). A person has to sign in through a browser first. After that an agent can mint its own key with freestyle tokens create --output json, so 5 of 20 (5). Pricing re-read on 4 November, unchanged. 0 + 20 + 20 + 5 = 45. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 45 is 68.

Maintenance & community Freestyle +26

Deno Sandbox 45

Deno 2.9.7 (16 September 2026, 49 days ago) includes a fix to how the deno sandbox command passes its arguments, the newest release touching the product. deno-sandbox 0.16.0 shipped on 22 July 2026, and @deno/sandbox 0.13.2 on 16 March per the 8 October check (20). One release in the 90 days from 6 August (0). The Deploy changelog stops at 12 March 2026. Support is by Discord, and by email on paid plans. The Python repository showed one open issue or pull request on 8 October (7). Official JavaScript and Python SDKs, the JavaScript one unchanged since March (12). The Python repository runs formatting, lint, type checks and offline tests in CI. The JavaScript SDK's source repository is not public (6). 20+0+7+12+6 = 45.

Freestyle 71

The newest dated change is the 14 October 2026 changelog entry (browser terminals, expiring identity tokens, 24-hour commands, scoped S3 access), 21 days before this check. freestyle 0.2.16 was published to npm on 27 September 2026, per the 8 October check (30). 25 npm versions between 13 August and 27 September 2026 per the 8 October check, and changelog entries on 9 September and 14 October, all inside the 90 days from 6 August. npm couldn't be re-read on 4 November (20). Closed service with a public changelog of four entries in 2026 and a Discord server, whose response times we did not check (8 of 15). One current official SDK, TypeScript, with the CLI in the same package (10 of 15). The package has three dependencies and no repository field, and no public CI was found, per the 8 October check (3 of 10). 30 + 20 + 8 + 10 + 3 = 71.

Transparency & trust Deno Sandbox +23

Deno Sandbox 67

The SDKs are MIT and the platform is closed under terms last modified 30 September 2026 (18). The privacy policy states no retention periods. The docs state that a deleted volume's storage is removed after 24 hours and the pricing table gives log retention of 1 day to 1 week. The terms grant Deno a licence over user data for internal business purposes including benchmarking. No public DPA was found (10). Deno's post of 9 October 2026 gives dated notice that Deno Deploy, which runs Sandbox, will keep operating for six months before shutting down. There is no general deprecation policy, and the terms allow changes or discontinuation without notice (15). Two regions are named. No sub-processor list found (7). 18+10+15+7 = 50.

Freestyle 44

The platform is closed. The SDK and CLI are MIT on npm, and no terms of service or service agreement was found on www.freestyle.sh (/terms, /tos and /legal still answer 404 on 4 November), so the terms of use are unclear (8 of 30). The privacy policy, last updated 15 June 2025, covers the website only, and no DPA, retention period or statement on customer VM data was found (3 of 30). The 9 September 2026 changelog deprecates the Git, code execution, web deployment and scheduled trigger APIs, and the OpenAPI file marks every unversioned route deprecated, in both cases without a removal date (6 of 20). The privacy policy names Google Analytics and PostHog for the website. No sub-processor list or data location for VMs was found (3 of 20). 8 + 3 + 6 + 3 = 20.

Schema & documentation Freestyle +20

Deno Sandbox 66

The published OpenAPI document has no sandbox operations, so the typed TypeScript SDK reference on JSR and the typed Python SDK count as 15 of 25 (15). llms.txt and every docs page as Markdown (10). The docs state use cases, when to choose a duration timeout and when to move work to a Deploy app (13). Typed options with stated ranges for memory, capacity and timeout (12). Examples in JavaScript, sync and async Python and the CLI. No error reference was found, and two pages disagree on the default network policy (8). SDKs are versioned at 0.x, and the Deploy changelog's newest entry is 12 March 2026 (8). 15+10+13+12+8+8 = 66.

Freestyle 86

A public OpenAPI 3.1 file at www.freestyle.sh/openapi.json with 88 operations under /v5 and 128 schemas (25). llms.txt, llms-full.txt, a Markdown twin of every docs page and a read-only shell over the docs at /docs/bash (10). Every /v5 operation has a description, and the about page states when to use the product and when not to (18 of 20). Request bodies are typed with enums, required fields and additionalProperties: false, with free-form objects only for metadata and environment variables (13 of 15). Each operation lists its error statuses with a named code and cause, on one PublicErrorBody shape, and the docs carry TypeScript and CLI examples but few raw HTTP examples (12 of 15). Paths are versioned at /v5, but the changelog has four entries in 2026 (11 April, 17 April, 9 September, 14 October) and the npm package ships no changelog across 25 releases since 10 July (8 of 15). The OpenAPI counts are per the 8 October check, not re-read on 4 November. 25 + 10 + 18 + 13 + 12 + 8 = 86.

Agent ergonomics Freestyle +9

Deno Sandbox 60

Sandbox and volume objects are small, and command output streams (15). Lists use cursor pagination with search, label and status filters (15). The Python SDK raises errors with a status, code, message and trace id, and validation errors with a field path, but the codes are not documented (10). No idempotency keys. A duration sandbox can be rejoined by id, and volume slugs are unique per organisation (5). Sandbox.create() needs no parameters, with JavaScript and Python SDKs and a CLI (15). 15+15+10+5+15 = 60.

Freestyle 69

List calls take limit and offset, file reads take byte ranges, and paused VMs can be read without starting compute. exec-await returns whole stdout and stderr with no documented size control (15 of 25). VM lists filter by state, slug, search, snapshot, VPC and metadata, and snapshot lists by source VM and search (18 of 20). Every error has a stable code in SCREAMING_SNAKE_CASE and a message, and limit errors name the limit reached (18 of 20). No idempotency keys. A slug is unique per account and a repeated create answers 409, and the spec says which failures are safe to retry and warns against retrying an exec that returned VM_NON_RESPONSIVE (10 of 20). A create call needs only firewall, with defaults of 4 vCPU, 8 GiB and 32 GB. The only SDK is TypeScript, shipped with the CLI in one npm package (8 of 15). Per the 8 October check for the OpenAPI lines. The 14 October changelog adds vm.exec() timeouts up to 24 hours on VMs with an updated guest agent and recovery of a running command after a service interruption. 15 + 18 + 18 + 10 + 8 = 69.

Security & auth Deno Sandbox +5

Deno Sandbox 58

One organisation token with no scopes or expiry found, rotatable from the dashboard, which also manages the organisation's Deploy apps. All members hold owner permissions (15). An outbound allowlist and read-only volume mounts exist, but outbound access is open unless allowNet is set, per the Security page (13). Secret substitution outside the VM is documented as a defence against prompt injection followed by exfiltration (13). Commands, HTTP requests and SSH sessions are traced in the dashboard with an event log (10). A disclosure policy with safe harbour and a reporting route at security@deno.com, with no acknowledgement time, and a security.txt without an Expires field (7). The SOC2 and ISO27001 claims read on 8 October are no longer on the product or pricing pages, and no bug bounty was found. exposeHttp URLs are public without authentication, which the docs state in capitals. 15+13+13+10+7 = 58.

Freestyle 53

Account API keys are named, shown once, listed and revoked from the CLI, with no scopes or expiry found. Identity access tokens are separate, limited to granted VMs and named Linux users and to the exec and terminal routes, and revocable one by one, and since the 14 October changelog they take an expiration time (22 of 30). No documented option carries a secret in a URL query string. A new VM has no inbound or outbound network until firewall rules allow it, and identity tokens cannot create team resources. Deleting a VM takes one call with no confirmation step (14 of 20). Credential injection at the edge puts API keys, Postgres passwords and Git tokens on outbound requests without storing them in the VM, and forward auth keeps session cookies out of the guest (12 of 15). Audit logs are listed for Enterprise only, and the April 2026 changelog describes a logs dashboard (5 of 15). /.well-known/security.txt answers 404, and no disclosure policy, bug bounty, SOC 2 or ISO 27001 statement was found, re-read on 4 November (0 of 20). 22 + 14 + 12 + 5 + 0 = 53.

Score by category

CategoryWeightDeno SandboxFreestyleEdge
Reliability16%4347Freestyle +4
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%6686Freestyle +20
Agent ergonomics13%6069Freestyle +9
Security & auth14%5853Deno Sandbox +5
Payments & pricing10%3068Freestyle +38
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%4571Freestyle +26
Transparency & trust7%6744Deno Sandbox +23
Negative events≤15-20
TotalD 50.8/100B 62.4/100

Facts side by side

FactDeno SandboxFreestyle
KindHTTP APIHTTP API
VendorDeno Land Inc.Freestyle Cloud Inc.
Hosted endpointno (local only)https://api.freestyle.sh/v5
TransportsHTTPHTTP
AuthAPI keyAPI key
PricingPaidFreemium
x402nono
LicenceProprietary service under the Deno Deploy terms and conditions. The @deno/sandbox and deno-sandbox SDKs are MITProprietary service with no published terms of service found. The freestyle SDK and CLI package on npm is MIT
Read-only variant documentedyesno
llms.txtyesyes
Last release2026-07-222026-09-27
Terms last updated2026-09-30no document linked
Privacy policy last updated2026-09-30no 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
Popularity6 stars, 2k npm/wk72k npm/wk

How the scores have moved

Verdicts

Deno Sandbox

Secrets stay outside the microVM and are substituted only on outbound requests to approved hosts, and an allowlist limits egress. Deno Deploy, which runs it, is due to shut down six months after 9 October 2026, when Deno announced it is joining Cloudflare. The service is still in beta, needs the $20 Pro plan and caps lifetime at 30 minutes.

Freestyle

A public OpenAPI 3.1 file describes 88 operations with a stable error code on every failure, and per-VM identity tokens keep the team API key away from end users. No terms of service, product privacy policy, request rate limit or incident history was found, and the only SDK is TypeScript.

Before you call either

Deno Sandbox

  1. Set DENO_DEPLOY_TOKEN to an organisation token (prefix ddo_) from Settings in console.deno.com. The organisation must be on Pro or above
  2. Pass allowNet on every Sandbox.create(). The Security page says outbound access is unrestricted when it is omitted
  3. Pass credentials through secrets with a hosts list, not env, so code in the VM sees only a placeholder
  4. The default timeout ends the VM when the client disconnects. Pass a duration such as "10m" and reconnect with Sandbox.connect({ id }), up to 30 minutes
  5. Create volumes in ord and start the sandbox in ord. A volume mounts only in its own region
  6. exposeHttp URLs are public with no authentication. Treat the random subdomain as a secret
  7. Plan a move before Deno Deploy closes, six months after 9 October 2026. Deno gives migration support to Cloudflare Workers for paying customers only

Freestyle

  1. Send a firewall object on every POST /v5/vms. It is required, and a VM with no rules has no outbound internet
  2. Ask the owner to run freestyle login in a browser once, then mint a key with freestyle tokens create --output json
  3. Do not retry an exec that answers 409 VM_NON_RESPONSIVE. The command may already have run
  4. Keep exec-await under 300 seconds on older guest agents. The 14 October changelog lets vm.exec() run up to 24 hours on VMs with an updated guest agent
  5. Call the /v5 paths. The unversioned duplicates in the OpenAPI file are marked deprecated

Questions

Which is better for AI agents, Deno Sandbox or Freestyle?

Freestyle scores 62.4 (B) on agent readiness against Deno Sandbox's 50.8 (D), and leads in 5 of 7 scored categories. Deno Sandbox leads on security & auth and transparency & trust.

Do Deno Sandbox and Freestyle need an API key?

Both need an API key.

Can an agent call Deno Sandbox and Freestyle without installing anything?

No hosted endpoint is listed for Deno Sandbox. Freestyle has a hosted endpoint at https://api.freestyle.sh/v5.

Other comparisons with Deno Sandbox or Freestyle

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.