Deno Sandbox vs OpenAI Containers

Deno Sandbox is a small microVM you create from an SDK, with SSH and public URLs, that lives up to 30 minutes; it is closed to new customers since November 2026. OpenAI Containers are a tool inside OpenAI's model API: the model runs code in a box you reach through the API, which by default expires after 20 minutes without use.

The companies and products

Deno Sandbox

Deno Sandbox comes from the company behind the Deno runtime and runs untrusted or AI-generated code in Linux microVMs. Since November 2026 it is not part of Deno Deploy plans and is not available to new customers.

Each sandbox is a Firecracker microVM with 2 vCPU, 768 MB to 4 GB of memory and a 10 GB disk that is wiped when it ends, created from a TypeScript or Python SDK. A bootable volume (Chicago only) can be the root disk and keep its files. Deno Deploy can limit outbound traffic to a host allowlist and swap placeholder secrets for real ones. A sandbox can be promoted to a Deno Deploy app.

OpenAI Containers

OpenAI Containers are the sandboxes OpenAI runs for its own model tools: Code Interpreter, Hosted Shell and the Agents API's hosted sandbox.

This is a different kind of product from boat: a tool inside OpenAI's model API, not a machine you rent. You create a container through the API, or a Responses call makes one. The model runs Python or shell commands in it on a fixed Debian 12 image without sudo. By default the container expires after 20 minutes without use; the create call can set a different idle time. It is built for apps that already call OpenAI models and want them to run code, read files and make charts without running any servers.

Which use cases each one fits

For each use case, Battleships prices every sandbox provider on the same workload and sorts them from the cheapest monthly bill up. “2nd cheapest of 365” means 1 of the other 364 providers runs that workload, with every feature it needs, for less. “With limits” means the provider runs it but misses something, so it is listed after every full match. Open a use case for its whole ranking and what each provider misses.

Use case and its workloadDeno Sandbox: price rankOpenAI Containers: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
Installs, builds and Docker for hours outlast Deno's 30-minute lifetime and OpenAI's no-sudo image. On OpenAI you can connect the Agents API to a self-hosted sandbox. boat gives a full VM with Docker and no cap once auto-stop is off.
No published price357th of 365, with limits
$17,371 a month
5th cheapest of 365
$634 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
An assistant that lives on its machine all month needs a disk that survives. Deno keeps files only on a volume in Chicago. An OpenAI container discards its files when it expires. boat saves its disk every minute.
No published price344th of 361, with limits
$13,140 a month
6th cheapest of 361
$657 a month
Code interpreter bursts
100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month
OpenAI Containers are built for this: the model writes code and runs it in the same API call. Deno also suits short runs, but it is closed to new customers since November 2026.
No published price198th of 336, with limits
$6,000 a month
189th of 336, with limits
$2,000 a month
Sandboxes for your users
300 at once · 2 vCPU / 4 GB · 30,000 sessions of 23 min a month
Deno Sandbox is closed to new customers; existing organizations get 5 at once by default. OpenAI documents no inbound ports for hosted containers. boat gives each sandbox HTTPS URLs on up to 50 ports, token-gated by default.
No published price349th of 349, with limits
$3,780 a month
3rd cheapest of 349
$209 a month
RL rollouts
1,000 at once · 2 vCPU / 4 GB · 1,000,000 sessions of 3 min a month
No published price195th of 349, with limits
$30,000 a month
39th of 349, with limits
$2,000 a month
Agent evals
250 at once · 4 vCPU / 8 GB · 15,000 sessions of 20 min a month
No published price355th of 359, with limits
$5,760 a month
10th cheapest of 359
$200 a month
CI runners
40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month
CI jobs need Docker and root. Deno does not document Docker, and OpenAI documents neither for hosted containers. boat has Docker and /dev/kvm on every sandbox.
No published price347th of 374, with limits
$1,728 a month
2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
Deno offers SSH but a 30-minute lifetime. Hosted OpenAI containers document no SSH, and their files go when they expire. boat has SSH and keeps a stopped disk at least 14 days.
No published price365th of 371, with limits
$1,051 a month
19th cheapest of 371
$26 a month
Computer-use agents
50 at once · 4 vCPU / 8 GB · 20,000 sessions of 15 min a month
Deno documents no desktop. OpenAI has a hosted browser inside the Agents API beta. boat streams a 1920x1080, 60 fps Linux desktop with Chrome.
No published price353rd of 367, with limits
$5,280 a month
7th cheapest of 367
$200 a month
Browser-use agents
50 at once · 2 vCPU / 4 GB · 30,000 sessions of 10 min a month
On Deno you install a browser yourself with apt-get, within 4 GB of memory. OpenAI's hosted browser is driven by its own Codex harness. boat ships Chrome on a desktop.
No published price335th of 356, with limits
$1,440 a month
7th cheapest of 356
$200 a month
Scraping & bots (startup scale)
50 at once · 1 vCPU / 2 GB · 100,000 sessions of 3 min a month
No published price334th of 343, with limits
$1,755 a month
6th cheapest of 343
$90 a month
Mass scraping & bots (undetectable)
1,000 at once · 1 vCPU / 2 GB · 3,000,000 sessions of 2 min a month
No published price307th of 327, with limits
$35,100 a month
73rd of 327, with limits
$1,800 a month
Parallel red teaming
200 at once · 2 vCPU / 4 GB · 5,000 sessions of 30 min a month
No published price310th of 351, with limits
$870 a month
3rd cheapest of 351
$200 a month
GPU eval jobs
10 at once · 8 vCPU / 32 GB · 500 sessions of 30 min a month
No published priceNot ranked: misses a requirementNot ranked: misses a requirement
macOS agents
5 at once · 4 vCPU / 8 GB · 1,000 sessions of 20 min a month
No published priceNot ranked: misses a requirementNot ranked: misses a requirement

Key features

FeatureDeno SandboxOpenAI Containersboat
What it isA microVM you create from a TypeScript or Python SDK; not available to new customers since November 2026A sandbox tool the model uses inside OpenAI's APIA cloud VM you create, keep, stop and reach from outside
IsolationFirecracker microVM with its own kernelA fully sandboxed virtual machine; hypervisor not namedFull VM with its own kernel, on hosts dedicated to boat (AMD Ryzen 7 9700X or Ryzen 9 9950X); vCPUs are shared
Machine size2 vCPU (no CPU option documented), 768 MB to 4 GB memory, 10 GB disk1, 4, 16 or 64 GB of memory, vCPU not published; Agents API sandboxes up to 4 vCPU / 16 GB2 to 16 vCPU and 4 to 32 GB, 51 to 251 GB disk; 16 vCPU needs the $100 plan or higher
LifetimeUp to 30 minutes; longer work can be promoted to a Deno Deploy appBy default expires after 20 minutes without use; expires_after can be set, no maximum publishedAuto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no cap
Files after the sessionDefault root disk is wiped at the end; a bootable volume (300 MB to 20 GB, Chicago only) can be the root filesystem and keeps its filesData is discarded when the container expires; Agents API publishes files in /workspace/outputs as artifactsDisk saved every minute and at each stop, kept at least 14 days after a stop
Root, Docker and nested virtualizationDocker and nested virtualization not documentedCommands do not run with sudo; Docker and /dev/kvm not documented; a self-hosted Agents API sandbox is your own machineRoot, systemd, Docker and /dev/kvm on every sandbox
Snapshots and forkOn-demand read-only volume snapshots that many new sandboxes can boot from (Chicago only)No fork call documented; you create a new container and upload the same filesAutomatic disk snapshots; fork a running sandbox from its last 1-minute snapshot
Inbound accessSSH and a public HTTPS URL per exposed port, without authenticationNo inbound ports documented for hosted containers; you reach them through the APISSH and HTTPS URLs on up to 50 ports, token-gated by default
Outbound networkOpen by default; a host allowlist per sandbox (allowNet), enforced by Deno Deploy outside your codeCode Interpreter and Hosted Shell: off until an admin sets an org domain allowlist; Agents API sandboxes open, can be limited to 1 to 100 hostsOpen internet on every plan; no provider-side allowlist
Keeping API keys out of the sandboxAny secret swapped in on outbound HTTPS requests to approved hosts; the sandbox sees a placeholderdomain_secrets: a sidecar adds the real header for approved domainsOptional paid proxy ($1 a day while on, plus $1 per 1,000 requests) for supported model providers; other secrets enter the sandbox
Coding agentsA root image with Claude Code, run through the shell command APIAgents API (beta) drives a managed Codex harness, with steering, events and webhooksSeven agents installed, including Claude Code and Codex, with a prompt, steer and events API
Desktop and computer useNo desktop documented; a VS Code editor in the browserHosted browser for the Agents API computer_use toolLinux desktop and Chrome streamed at 1920x1080, 60 fps, with computer-use tools
Availability and scaleNot available to new customers since November 2026; existing organizations get 5 at once by defaultNo plan fee; no container limit publishedSelf-serve from $20 a month; 100 to 2,000 at once by plan, with start limits per plan
RegionsAmsterdam and ChicagoUS or EU processing for Code Interpreter; Agents API data residency in the US onlyGermany, Finland and France; no US or Asia region
Every feature Battleships tracks (43)
FeatureDeno SandboxOpenAI Containersboat
Full VM (own kernel)YesYesYes
Docker insideNot publishedNo documented wayYes
Nested virtualizationNo documented wayNo documented wayYes
RootYesNo documented wayYes
SystemdNot publishedNot publishedYes
Desktop GUINo documented wayYesYes
BrowserNo documented wayYesYes
Computer-use APINo documented wayYesYes
SSHYesNo documented wayYes
Persistent diskYesNo documented wayYes
Pause/resumeNo documented wayNo documented wayYes
Automatic snapshotsNo documented wayNo documented wayYes
Fork/cloneNo documented wayNo documented wayYes
Live fork (no pause)No documented wayNo documented wayYes
Memory forkNo documented wayNo documented wayNo documented way
Custom image (Docker or snapshot)YesNo documented wayYes
≥24 h sessionsNo documented wayYesYes
Idle auto-stopNo documented wayYesNo documented way
Wake on requestNo documented wayNo documented wayNo documented way
HTTPS preview URLsYesNo documented wayYes
Raw TCP inboundNo documented wayNo documented wayYes
Public IPv4No documented wayNo documented wayNo documented way
Egress allowlistYesYesNo documented way
Secret proxyYesYesYes
Secret proxy for any APIYesYesYes
Preinstalled agentsYesNo documented wayYes
Agent harness APINo documented wayYesYes
MCP serverNo documented wayNo documented wayNo documented way
GPUNo documented wayNo documented wayNo documented way
WindowsNo documented wayNo documented wayNo documented way
Arm64No documented wayNo documented wayNo documented way
Self-hostingNo documented wayYesNo documented way
BYOCNo documented wayNo documented wayNo documented way
Open sourceNo documented wayNo documented wayNo documented way
Scoped API keysNot publishedNot publishedYes
Spend limitsYesNot publishedYes
Usage per sandbox (API)No documented wayNo documented wayYes
Audit logsNot publishedNot publishedNo documented way
SSONo documented wayYesNo documented way
SOC 2Not publishedYesNo documented way
HIPAANot publishedYesNo documented way
EU data residencyYesYesNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

Deno SandboxNot measured
OpenAI ContainersNot measured
boat28.06 runs/s

Neither Deno Sandbox nor OpenAI Containers is in the public benchmarks we use, so we cannot say which is faster. OpenAI does not publish the vCPU behind each container size. In StarSling's run of 3 October 2026 (run 37073680030), boat did 28.06 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, second of 15. Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host. boat also places some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure.

V8 Web Tooling Benchmark at a 4 vCPU / 8 GB target, runs per second, higher is better. Source: StarSling's run of 3 October 2026 (run 37073680030), median of 5 sandboxes. Providers ran on different hardware in different regions. StarSling gives a shared rank when the run cannot separate two providers. Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host. boat also places some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure. Deno Sandbox and OpenAI Containers are not in the public benchmarks we use, so we cannot say which is faster.

Pricing in five scenarios

Each bill is priced from the providers' public price lists by the open Battleships engine, with the cheapest plan that runs the scenario. Start limits, per-start fees and plan minimums are in the price, boat's included.

ScenarioDeno Sandbox, a monthOpenAI Containers, a monthboat, a month
One coding agent, workdays
4 vCPU / 8 GB, 50 GB disk, 8 hours a day, 22 days a month, files kept between days
No published price$228 · API pay as you go · with limits$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
No published price$1,051 · API pay as you go · with limits$26 · $20/mo
50 agents in parallel
50 machines of 4 vCPU / 8 GB at once, 8-hour sessions, 1,100 sessions a month, Docker inside
No published price$11,405 · API pay as you go · with limits$317 · $20/mo × 3 seats
Sandboxes for your users
2 vCPU / 4 GB, 30,000 sessions of 10 minutes a month, up to 300 at once
No published price$1,620 · API pay as you go · with limits$200 · $100/mo × 2 seats
1,000 short jobs at once
2 vCPU / 4 GB, 1,000 at once, 3 minutes each, 200,000 jobs a month
No published price$6,000 · API pay as you go · with limits$8,800 · $2000/mo · with limits

Deno Sandbox: Deno Sandbox is no longer included in Deno Deploy plans and is not available to new customers (November 2026). Deno publishes no current sandbox rates, so it has no price in our scenarios. The launch post listed $0.05 per hour of CPU time, $0.016 per GB-hour of memory and $0.20 per GiB-month of volume storage.

OpenAI Containers: OpenAI bills each container session by the minute for the memory size you pick, with a 5-minute minimum, and model tokens are billed separately on top. There is no plan fee. The scenarios use the 16 GB size ($1.44 an hour) for 8 GB needs, because OpenAI does not publish the vCPU per size.

OpenAI Containers: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. A default sandbox (4 vCPU / 8 GB) costs $0.036 an hour, billed per second while it runs, busy or idle. A stopped sandbox has no compute charge and keeps its disk for at least 14 days; saved snapshots above the included count and the AI proxy, if on, still charge. The $20 plan includes 200 starts a day; extra starts cost $0.03 to $0.07.

Limits in those scenarios

Deno Sandbox is closed to new customers, so it has no price in our scenarios; existing organizations get 5 sandboxes at once by default, each living up to 30 minutes on 2 vCPU and up to 4 GB. OpenAI Containers fit none of the five scenarios as written: hosted containers discard their files when they expire, document no Docker or root, and do not publish vCPU or how many can run at once. boat has limits too: auto-stop defaults to 1 hour, and the $2,000 plan includes 90 starts a minute; extra starts cost $0.03 to $0.07, and starts above 270 a minute fail with 429, so boat does not fit 1,000 jobs at once.

ScenarioDeno SandboxOpenAI Containersboat
One coding agent, workdays
  • discontinued / closed to new customers
  • no open internet: sandboxes reach only an allowlist (domains your org admin adds to the allow list)
  • missing persistent disk
  • machine size not published
  • different kind of product: code interpreter
None for this scenario
One agent that never stops
  • discontinued / closed to new customers
  • no open internet: sandboxes reach only an allowlist (domains your org admin adds to the allow list)
  • missing persistent disk
  • machine size not published
  • different kind of product: code interpreter
None for this scenario
50 agents in parallel
  • discontinued / closed to new customers
  • no open internet: sandboxes reach only an allowlist (domains your org admin adds to the allow list)
  • missing persistent disk, Docker inside
  • machine size not published
  • different kind of product: code interpreter
None for this scenario
Sandboxes for your users
  • discontinued / closed to new customers
  • no open internet: sandboxes reach only an allowlist (domains your org admin adds to the allow list)
  • machine size not published
  • different kind of product: code interpreter
  • not confirmed: how many machines can run at once (you need 300; the typical published limit is 50)
None for this scenario
1,000 short jobs at once
  • discontinued / closed to new customers
  • no open internet: sandboxes reach only an allowlist (domains your org admin adds to the allow list)
  • machine size not published
  • different kind of product: code interpreter
  • not confirmed: how many machines can run at once (you need 1,000; the typical published limit is 50)
  • 2,400 starts/day included, paid above that (needs ~6,667)
  • 600 starts/hour included, paid above that (needs ~1,000)
  • starts above 90/min are paid, and starts above 270/min fail with 429

Which one should you use?

Use Deno Sandbox when

Use Deno Sandbox if your organization already has it and you run short pieces of untrusted code from your own app that must start in milliseconds, reach only the hosts you allow, or serve a URL. New customers cannot sign up since November 2026.

  • Reachable and in your control. Good if you or your users must open what the code built: Deno gives SSH and an HTTPS URL per port.
  • Fast starts for short code. Deno says a sandbox starts in under 200 ms. Only existing organizations can use it since November 2026.
  • Open by default, lockable per sandbox. Fits untrusted code that still needs the internet: each sandbox can get its own host allowlist, enforced outside your code.

Use OpenAI Containers when

your app already calls OpenAI models and the model only needs to run short pieces of Python or shell on files you give it, with no machine to manage.

  • Built into the model call. Useful if your app already calls OpenAI models: one tool line in a request gives the model a place to run code.
  • Bigger memory sizes. Fits data work that needs memory: containers come in 16 GB and 64 GB sizes, while Deno stops at 4 GB.
  • No plan fee. Fits light or occasional use: you pay per minute for each container session, with no monthly plan to buy first.

Where boat fits

Deno Sandbox and OpenAI Containers are both made for short runs of code. If you run agents that install, build and test for hours or days, boat gives each one a full VM that saves its disk every minute, with Docker, a desktop and coding agents installed.

A disk that stays

A Deno sandbox ends after 30 minutes, and only a volume in Chicago keeps files. An OpenAI container discards its data when it expires. boat saves the disk every minute and at each stop, and keeps a stopped disk at least 14 days.

Root, Docker and a bigger machine

Deno documents 2 vCPU, 4 GB and no Docker, and hosted OpenAI containers run commands without sudo. boat has root, Docker, systemd and /dev/kvm on up to 16 vCPU.

Agents and a desktop driven from outside

On Deno you run Claude Code through shell commands, and OpenAI's harness runs Codex. boat installs seven agents you prompt and steer through one API, plus a 60 fps desktop with Chrome.

Use boat when your agents do real work for more than a few minutes: installs, builds, Docker, emulators and a browser, on a bigger VM whose disk is saved every minute. Compare it one to one: boat vs Deno Sandbox and boat vs OpenAI Containers.

boat's own limits
  • Plans start at $20 a month. The plan price comes back as VM time for that month. Unused time does not carry over. Source
  • Starts (create, fork, resume): the $20 plan includes 12 a minute, 60 an hour and 200 a day. The $2,000 plan includes 90 a minute, 600 an hour and 2,400 a day. Extra starts cost $0.03 to $0.07. A start fails with 429 above 3 times the included starts per minute, or 6 times per hour or per day. Source
  • A stopped sandbox has no compute charge. boat keeps its disk for at least 14 days. A saved snapshot keeps it longer; extra saved snapshots and the AI credentials proxy are paid. Source
  • Auto-stop defaults to 1 hour. You can turn it off on a paid plan. The trial allows 2 hours at most. Source
  • boat saves the disk every minute and at each stop. Memory, running programs and /tmp are not saved: a resume is like a reboot. A machine failure loses writes after the last good snapshot. Source
  • Machines run in Germany, Finland and France only. Snapshot copies can be stored outside the EU. Source
  • Public IPv6 and outbound IPv4. No dedicated IPv4. The IP changes at each resume. Source
  • Hosts are AMD Ryzen 7 9700X and Ryzen 9 9950X. vCPUs are shared. No GPU. You cannot boot your own Docker image. Source

Questions people ask

Is Deno Sandbox cheaper than OpenAI Containers?

We cannot compare today. Deno Sandbox is closed to new customers since November 2026 and publishes no current rates. In our scenarios OpenAI costs $228 a month for one coding agent on workdays at its 16 GB size, plus model tokens, and boat $20. For a few short code runs a month, OpenAI has no plan fee and can cost less.

Which is faster, Deno Sandbox or OpenAI Containers?

We cannot say: neither is in the public benchmarks we use. Deno states starts under 200 ms; that is its own figure. OpenAI does not publish the vCPU behind its container sizes.

Can Deno Sandbox or OpenAI Containers run Docker?

Deno's docs do not mention Docker. OpenAI runs hosted shell commands without sudo and documents no Docker; you can connect the Agents API to a self-hosted sandbox you control. boat runs Docker and systemd and exposes /dev/kvm on every sandbox.

Do they keep files after a session?

Deno wipes the default root disk when a sandbox ends; a volume of 300 MB to 20 GB in Chicago keeps files, and a bootable volume can be the root disk. OpenAI discards a container's data when it expires. boat saves the disk every minute and at each stop; a machine failure loses writes after the last good snapshot.

Can I open a web app running inside either one?

On Deno, yes: each exposed port gets a public HTTPS URL, and you can SSH in. OpenAI documents no ports, URLs or SSH for hosted containers. boat gives each sandbox HTTPS URLs on up to 50 ports, token-gated by default, and SSH.

Is boat SOC 2 compliant?

No SOC 2 report today; SOC 2 is in progress. No HIPAA BAA is documented. Live status is at status.ascii.dev and our data retention policy is at docs.boat.dev/data-retention.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons