OpenAI Containers vs Agent 37

OpenAI Containers are short-lived boxes inside OpenAI's model API. The model runs code there, and by default the box expires after 20 minutes without use. Agent 37 gives each of your users a persistent agent sandbox that can sleep when idle and keep its disk and memory.

The companies and products

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.

Agent 37

Agent 37 hosts AI agents, one isolated, always-on sandbox per user, behind one API.

You create an instance from a template (Hermes, OpenClaw, Claude Code, Codex, OpenCode, Pi, Grok or your own Docker image) and talk to it through a chat API, files, exec, SSH and HTTPS URLs. The default instance is a container enforced by gVisor. A VM type gives a full Linux machine with its own kernel for Docker, Kubernetes and Android emulators. It is built for companies that give each of their customers an agent.

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. “357th cheapest of 365” means 356 of the other 364 providers run 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 workloadOpenAI Containers: price rankAgent 37: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
A coding agent needs root, Docker and a disk that lasts for days. Hosted OpenAI containers run without sudo, document no Docker and discard files when they expire. Agent 37 runs Docker on its VM type, at 2.5x its default compute rate. boat has all three on every sandbox.
357th of 365, with limits
$17,371 a month
4th cheapest of 365
$551 a month
5th cheapest of 365
$634 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
Agent 37 is built for one always-on assistant per user that sleeps and wakes with its memory. An OpenAI container expires after its idle time (20 minutes by default, settable with expires_after), and its files go.
344th of 361, with limits
$13,140 a month
Cheapest of 361
$279 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
Running model-written Python inside one API call is what OpenAI Containers are built for. Agent 37's small default sandboxes also suit short code runs and cost less in the table.
198th of 336, with limits
$6,000 a month
Cheapest of 336
$22 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
Agent 37 gives each user a sandbox with HTTPS URLs and runs up to 1,000 awake instances once you have topped up $1,000; sleeping ones do not count. OpenAI documents no inbound ports for hosted containers. boat plans go up to 2,000 sandboxes at once, with start limits per plan.
349th of 349, with limits
$3,780 a month
Cheapest of 349
$79 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
195th of 349, with limits
$30,000 a month
9th of 349, with limits
$363 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
355th of 359, with limits
$5,760 a month
Cheapest of 359
$58 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, root and open internet. OpenAI documents no Docker or root for hosted containers, and Code Interpreter starts with no internet until an admin allows domains. Agent 37 and boat both have open internet.
347th of 374, with limits
$1,728 a month
227th of 374, with limits
$96 a month
2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
Agent 37 and boat both keep a machine and its disk all month, with SSH. OpenAI documents no SSH for hosted containers, and their files go when they expire.
365th of 371, with limits
$1,051 a month
3rd cheapest of 371
$12 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
OpenAI's hosted browser runs inside the Agents API beta. On Agent 37 you build a template with a noVNC desktop, or use the Ubuntu VM template. boat streams a 60fps desktop in every sandbox.
353rd of 367, with limits
$5,280 a month
3rd cheapest of 367
$120 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
335th of 356, with limits
$1,440 a month
47th of 356, with limits
$29 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
334th of 343, with limits
$1,755 a month
Cheapest of 343
$32 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
307th of 327, with limits
$35,100 a month
39th of 327, with limits
$648 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
Agent 37 and boat can both fork a machine to try many paths at once; both forks copy the disk and boot fresh. OpenAI documents no fork; you create a new container and upload the same files.
310th of 351, with limits
$870 a month
Cheapest of 351
$43 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
Not ranked: misses a requirementNot 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
Not ranked: misses a requirementNot ranked: misses a requirementNot ranked: misses a requirement

Key features

FeatureOpenAI ContainersAgent 37boat
What it isA sandbox tool the model uses inside OpenAI's APIOne persistent agent sandbox per user, behind one APIA cloud VM you create, keep, stop and reach from outside
IsolationA fully sandboxed virtual machine; hypervisor not namedgVisor by default; full VM as an opt-in instance typeEvery sandbox is a full VM with its own kernel, on AMD Ryzen hosts dedicated to boat; vCPUs are shared
Root and DockerHosted commands do not run with sudo; no Docker documented; the Agents API can drive a sandbox you hostDocker on the VM type, at 2.5x the default compute rate; no init system, your entrypoint is PID 1Root, systemd and Docker in every sandbox
Nested virtualizationNo /dev/kvm documented/dev/kvm on the VM type, with an Android template/dev/kvm in every sandbox, Android emulator works
Machine sizePicked by memory: 1, 4, 16 or 64 GB; vCPU not publishedUp to 4 vCPU on every type; Performance type on dedicated cores at 4x the compute rate4 vCPU / 8 GB by default, up to 16 vCPU / 32 GB on the $100 plan and above
Files after the sessionData is discarded when the container expires; the Agents API keeps files in /workspace/outputs as downloadable artifactsDisk kept, billed while stopped or asleep; nightly backups in 7 slots plus one on-demand, restored in placeDisk saved every minute and at stop; no compute charge while stopped; disk kept at least 14 days, longer with a saved snapshot
Lifetime and idleExpires after 20 minutes without use by default; expires_after can set a longer idle timeRuns until stopped; opt-in sleep on idle that checkpoints memory and wakes on the next requestAuto-stop defaults to 1 hour, up to 30 days or off on a paid plan; the timer does not watch for idle; a resume is like a reboot
ForkNo fork call documented; you create a new container and upload the same filesFork a running, stopped or sleeping instance; disk copy, the fork boots freshFork a running sandbox from its last 1-minute snapshot; the fork boots fresh
Custom imageFixed Debian 12 image; you upload files or skillsYour own linux/amd64 Docker image as a templateboat's image or a saved snapshot; you cannot boot your own Docker image
Inbound accessNo inbound ports documented for hosted containers; you reach them through the APIHTTPS URL per port, custom domains, SSH through a WebSocket tunnel; no public IPSSH, up to 50 HTTPS URLs token-gated by default, raw ports over public IPv6
Outbound internetCode Interpreter and Hosted Shell: off until an admin sets a domain allowlist; Agents API sandboxes open by defaultOpen internetOpen internet; no provider-side allowlist
Keys kept out of the sandboxdomain_secrets: a sidecar adds the real header for approved domains, the model sees a placeholderManaged models, search and Composio through a per-instance token; your own keys go in as env varsOptional AI credentials proxy ($1 a day plus $1 per 1,000 requests) for model providers and any HTTPS API you register; other secrets still enter
Coding agents and desktopAgents API (beta) drives a managed Codex harness and a hosted browserHermes, OpenClaw, Claude Code, Codex and more with a chat API; noVNC desktop through a templateSeven harnesses with a prompt, steer and events API; 60fps desktop in every sandbox
RegionsUS or EU processing for Code Interpreter; Agents API in the USDedicated servers in the United StatesGermany, Finland and France; you cannot pick a region; snapshot copies can be stored outside the EU
Every feature Battleships tracks (43)
FeatureOpenAI ContainersAgent 37boat
Full VM (own kernel)YesNo documented wayYes
Docker insideNo documented wayNo documented wayYes
Nested virtualizationNo documented wayNo documented wayYes
RootNo documented wayYesYes
SystemdNot publishedNot publishedYes
Desktop GUIYesWith your own setupYes
BrowserYesYesYes
Computer-use APIYesNo documented wayYes
SSHNo documented wayYesYes
Persistent diskNo documented wayYesYes
Pause/resumeNo documented wayYesYes
Automatic snapshotsNo documented wayYesYes
Fork/cloneNo documented wayYesYes
Live fork (no pause)No documented wayYesYes
Memory forkNo documented wayNo documented wayNo documented way
Custom image (Docker or snapshot)No documented wayYesYes
≥24 h sessionsYesYesYes
Idle auto-stopYesYesNo documented way
Wake on requestNo documented wayYesNo documented way
HTTPS preview URLsNo documented wayYesYes
Raw TCP inboundNo documented wayNot publishedYes
Public IPv4No documented wayNo documented wayNo documented way
Egress allowlistYesNo documented wayNo documented way
Secret proxyYesYesYes
Secret proxy for any APIYesNo documented wayYes
Preinstalled agentsNo documented wayYesYes
Agent harness APIYesYesYes
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-hostingYesNo documented wayNo documented way
BYOCNo documented wayNo documented wayNo documented way
Open sourceNo documented wayNo documented wayNo documented way
Scoped API keysNot publishedNot publishedYes
Spend limitsNot publishedYesYes
Usage per sandbox (API)No documented wayYesYes
Audit logsNot publishedNot publishedNo documented way
SSOYesNo documented wayNo documented way
SOC 2YesYesNo documented way
HIPAAYesNo documented wayNo documented way
EU data residencyYesNo documented wayNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

OpenAI ContainersNot measured
Agent 37Not measured
boat28.06 runs/s

Neither OpenAI Containers nor Agent 37 is in the public benchmarks we use, so we cannot say which is faster, and OpenAI does not publish the vCPU behind each container size. boat did 28.06 V8 Web Tooling Benchmark runs/s at 4 vCPU / 8 GB, second of 15 in StarSling's run of 3 October 2026 (run 37073680030). 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. Agent 37 says its default instances share host resources and sells dedicated cores on its Performance type.

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. OpenAI Containers and Agent 37 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.

ScenarioOpenAI Containers, a monthAgent 37, 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
$228 · API pay as you go · with limits$6 · Wallet (any top-up)$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$1,051 · API pay as you go · with limits$12 · Wallet (any top-up)$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
$11,405 · API pay as you go · with limits$329 · Wallet ($50 lifetime top-ups)$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
$1,620 · API pay as you go · with limits$33 · Wallet ($1,000 lifetime top-ups)$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
$6,000 · API pay as you go · with limits$73 · Wallet ($1,000 lifetime top-ups) · with limits$8,800 · $2000/mo · with limits

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.

Agent 37: A prepaid wallet with no plan fee, metered per minute: $0.80 per vCPU and $0.70 per GB of RAM per month while running, plus $0.09 per GB of disk per month even while stopped or asleep. Performance compute costs 4x and VM compute 2.5x the default rate.

Agent 37: Plans cost $20, $100, $500 or $2,000 a month. The whole plan price comes back as VM time for that month, and unused time does not carry over. A 4 vCPU / 8 GB sandbox costs $0.036 an hour, billed per second while it runs, busy or idle. A stopped sandbox has no compute charge, but saved snapshots above the included count and the AI credentials proxy still charge. The $20 plan includes 200 starts a day; extra starts cost $0.03 to $0.07.

Limits in those scenarios

OpenAI Containers fit none of the five scenarios as written: hosted containers discard files when they expire, document no Docker, start Code Interpreter and Hosted Shell with no internet until an admin allows domains, and publish no vCPU or concurrency limit. Agent 37 fits four of the five. It caps awake instances by total top-ups (200 at $250, 1,000 at $1,000); sleeping and stopped instances do not count. The 50-agent fleet is priced on its VM type because it needs Docker. Every Agent 37 type stops at 4 vCPU, and in the 1,000-job burst its default type runs on shared vCPUs. boat fits four of the five. For the burst, the $2,000 plan bills starts above the 2,400 included a day ($8,800 a month), and starts above 270 a minute fail with 429.

ScenarioOpenAI ContainersAgent 37boat
One coding agent, workdays
  • 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
  • egress price not published
None for this scenario
One agent that never stops
  • 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
  • egress price not published
None for this scenario
50 agents in parallel
  • 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
  • egress price not published
None for this scenario
Sandboxes for your users
  • 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)
  • egress price not published
None for this scenario
1,000 short jobs at once
  • 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)
  • shared vCPUs on this tier: heavy, sustained CPU use can be slowed by other tenants
  • egress price not published
  • 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 OpenAI Containers when

your app already calls OpenAI models and the model only needs to run short pieces of code or shell commands on files you give it.

  • Built into the model call. If your app already calls OpenAI models, one tool line in a request gives the model a place to run code.
  • Nothing to run or clean up. OpenAI creates the container, bills it by the minute with your tokens, and it expires on its own when idle.
  • Locked-down network and a 64 GB size. Code Interpreter and Hosted Shell reach no hosts until an admin allows domains, and a 64 GB memory size is offered.

Use Agent 37 when

you host one mostly idle assistant per customer in the US that should sleep with its memory kept and wake on the next message.

  • A persistent machine per user, at a low price. Each of your customers gets an always-on sandbox with its own disk, SSH and HTTPS URLs; its default type costs less per hour than boat.
  • Sleeps and keeps its memory. For assistants idle most of the day, an instance sleeps, checkpoints its memory and wakes on the next message.
  • Bring your own Docker image. Templates build from your own Docker image, and a Performance type runs on dedicated cores for steady speed.

Where boat fits

OpenAI Containers suit short code runs inside a model call, and Agent 37 suits mostly idle assistants that sleep. If your agents do real work for hours, with installs, Docker, builds and apps people need to open, boat gives every one a full VM by default. boat runs only in the EU, has no GPU and limits starts per plan.

A full VM with Docker and systemd by default

A hosted OpenAI container runs without sudo and documents no Docker. On Agent 37 the default gVisor type cannot run a Docker daemon. Its VM type can, at 2.5x the compute rate, with no init system, so you start services from your entrypoint. Every boat sandbox has root, systemd, Docker and /dev/kvm.

Disk saved every minute

An OpenAI container's data is gone when it expires. Agent 37 keeps the disk and backs it up nightly. boat saves the disk every minute while the sandbox runs and at each stop, so you go back to about a minute ago. Writes from the last minute or so can be missing.

Desktop and keys

boat streams a 60fps desktop in every sandbox; on Agent 37 you add a noVNC desktop through a template. On Agent 37 your own API keys sit as env vars inside the machine. boat's optional paid proxy keeps the real keys of supported providers and registered HTTPS APIs outside.

Use boat when your agents do real work for hours: installs, builds, Docker and emulators on a full VM by default, with a disk saved every minute, public URLs and an optional proxy for keys. Compare it one to one: boat vs OpenAI Containers and boat vs Agent 37.

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 OpenAI Containers cheaper than Agent 37?

No, not in the scenarios on this page. One coding agent on workdays comes to $228 a month on OpenAI and $6 on Agent 37, and one agent running all month to $1,051 against $12. OpenAI also bills model tokens on top, and its containers do not fit these scenarios as written. boat costs $20 and $26 for the same two.

Which is faster, OpenAI Containers or Agent 37?

Neither is in the public benchmarks we use, so we cannot say. OpenAI does not publish the vCPU per container size, and Agent 37 sells dedicated cores on its Performance type. boat did 28.06 V8 Web Tooling runs/s at 4 vCPU / 8 GB in StarSling's run of 3 October 2026, on a Ryzen 9 9950X host.

Can OpenAI Containers or Agent 37 run Docker?

OpenAI documents no Docker for hosted containers, and hosted shell commands do not run with sudo; the Agents API can drive a sandbox you host. Agent 37 runs Docker on its VM type, at 2.5x the default compute rate. boat runs Docker in every sandbox.

Do they keep files between sessions?

An OpenAI container expires after its idle time (20 minutes by default) and its data is discarded. Agent 37 keeps the disk and can sleep with its memory checkpointed. boat saves the disk every minute and at stop, and keeps a stopped sandbox's disk for at least 14 days; memory is not saved.

Can I open a web app running inside them?

Not on a hosted OpenAI container: OpenAI documents no ports, URLs or SSH for them. Agent 37 gives an HTTPS URL per port and SSH through a WebSocket tunnel. boat gives up to 50 HTTPS URLs, raw ports over IPv6 and SSH.

Where do they run?

OpenAI processes Code Interpreter data in the US or Europe, and the Agents API in the US. Agent 37 runs on dedicated servers in the United States. boat runs sandboxes in Germany, Finland and France, and you cannot pick a region.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons