Beam vs OpenAI Containers
Beam is a cloud where you start sandboxes, VMs and GPU jobs from your own code, and they run until you stop them. OpenAI Containers are boxes inside OpenAI's model API where the model runs Python or shell commands. By default a container expires after 20 minutes without use.
The companies and products
Beam
Beam is a serverless cloud for GPU inference, sandboxes, VMs and background jobs, built on its open-source runtime Beta9.
Beam runs functions, REST endpoints, task queues, pods, sandboxes and VMs on CPUs and GPUs, from a Python or TypeScript SDK. A sandbox is a container isolated with gVisor by default. It lives until you terminate it or its time to live runs out, and you can save it as a filesystem image or a memory snapshot. Beam VMs are a separate CPU product: a microVM with its own kernel, systemd, a root disk that stays when it stops, and a browser desktop. A VM can pause with its memory, fork and take disk snapshots. CPU work runs on Spot, Shared or Performance tiers at different prices.
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. “7th cheapest of 365” means 6 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 workload | Beam: price rank | OpenAI Containers: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month A software factory needs Docker, root and a disk that stays. Beam VMs have them, and Beam sandboxes run Docker. Hosted OpenAI containers run without sudo and document no Docker; you can connect the Agents API to a self-hosted sandbox instead. boat has all of it plus /dev/kvm. | 7th cheapest of 365 $1,200 a month | 357th 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 fits a Beam VM or a boat sandbox, which keep their disk while stopped. An OpenAI container expires after 20 idle minutes by default; expires_after can set a longer idle time, and its files go when it expires. | 12th cheapest of 361 $1,495 a month | 344th 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 Short code runs suit both. Beam ranks 17th here, with sandboxes that bill per millisecond. OpenAI runs the model's code inside the same API call and is listed as a compromise, since its vCPU per size is not published. | 21st cheapest of 336 $161 a month | 198th 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 Beam and boat both run sandboxes for your users with URLs you can open. OpenAI documents no inbound ports for hosted containers; you reach them through the API. | 14th cheapest of 349 $567 a month | 349th 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 | 332nd of 349, with limits $984 a month | 195th 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 | 16th cheapest of 359 $258 a month | 355th 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, root and open internet. Beam has all three. OpenAI documents no Docker or root for hosted containers, and Code Interpreter starts with no outbound access. boat adds /dev/kvm for Android and VM builds. | 29th cheapest of 374 $300 a month | 347th 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 | 44th cheapest of 371 $55 a month | 365th 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 OpenAI has a hosted browser for computer use in the Agents API beta. Beam VMs have a browser desktop with an SDK for clicks and screenshots. boat streams a 60 fps desktop with Chrome. | 12th cheapest of 367 $431 a month | 353rd 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 | 73rd of 356, with limits $272 a month | 335th 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 | 16th cheapest of 343 $196 a month | 334th 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 | 44th of 327, with limits $967 a month | 307th 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 | 6th cheapest of 351 $219 a month | 310th 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 Beam has GPUs, from RTX 4090 up to H100 and B200. OpenAI Containers and boat have no GPU. | Cheapest of 102 $547 a month | Not ranked: misses a requirement | Not 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 requirement | Not ranked: misses a requirement | Not ranked: misses a requirement |
Key features
| Feature | Beam | OpenAI Containers | boat |
|---|---|---|---|
| What it is | A serverless cloud for sandboxes, VMs, jobs and GPUs, driven from a Python or TypeScript SDK | A sandbox tool the model uses inside OpenAI's API | A cloud VM you create, keep, stop and reach from outside |
| Isolation | gVisor container by default for sandboxes, with an opt-in VM-backed mode; Beam VMs are CPU microVMs with their own kernel | Described as a fully sandboxed virtual machine; hypervisor not named | Full VM with its own kernel, on physical hosts dedicated to boat; vCPUs are shared |
| Root, Docker and nested virtualization | Beam VMs have root, Docker and systemd; sandboxes run Docker with docker_enabled; /dev/kvm not documented | Hosted commands do not run with sudo; Docker and /dev/kvm not documented; a self-hosted Agents API sandbox runs on a machine you control | Root, systemd, Docker and /dev/kvm on every sandbox |
| Lifetime | Sandbox default 10 minutes, or -1 to run until you terminate it; VMs run until you stop them | Expires after 20 minutes without use by default (expires_after can be set); Agents API sandboxes can be deleted after an hour without activity | Auto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no cap |
| Files after the session | A sandbox keeps files through a saved image, a memory snapshot or a volume; a Beam VM keeps its root disk while stopped | Data is discarded when the container expires; the Agents API keeps files in /workspace/outputs as artifacts | Disk saved every minute and at stop; kept at least 14 days with no compute charge |
| Snapshots and fork | Sandbox memory snapshots with running processes; VMs pause with RAM kept, fork and take disk snapshots | No fork call documented; you create a new container and upload the same files | Fork a running sandbox from its last 1-minute disk snapshot; saved snapshots as templates |
| GPUs | GPU sandboxes, serverless GPUs and GPU machines up to H100, H200 and B200 | No GPU | No GPU on any size |
| Machine size | You request CPU and RAM per sandbox; Beam VMs have a 50 GiB root disk by default, up to 100 GiB | 1, 4, 16 or 64 GB of memory; vCPU not published. Agents API sandboxes: up to 4 vCPU / 16 GB | 2 to 16 vCPU and 4 to 32 GB; 16 vCPU needs the $100 plan or higher |
| Inbound access | Sandboxes: a public HTTPS URL per port, no built-in auth. VMs: token-protected URLs and TCP ports on a persistent public IPv6 address | No inbound ports documented for hosted containers; reached through the API | Up to 50 HTTPS URLs per sandbox, token-gated by default; SSH; raw ports on public IPv6, and on IPv4 where the sandbox has its own address |
| Outbound internet | Open by default; block all, or allow up to 64 hosts, wildcard domains, IPs or CIDRs, changeable while running | Code Interpreter and Hosted Shell: off until an admin sets an org domain allowlist. Agents API sandboxes: on by default, can be limited to 1 to 100 hosts | Open internet on every plan; no provider-side allowlist |
| Keeping API keys out of the sandbox | Brokered secrets: the guest sees a placeholder, and Beam puts the real key into HTTPS headers to approved hosts | domain_secrets: a sidecar adds the real header for approved domains; the model sees a placeholder | Optional AI credentials proxy ($1 a day while on, plus $1 per 1,000 requests) for supported model providers; other secrets still enter the sandbox |
| Coding agents and desktop | No agents installed; Beam VMs have a browser desktop with an SDK for clicks and screenshots | Agents API (beta) drives a managed Codex harness, with a hosted browser for computer use | Seven agents installed with a prompt, steer and events API; 60 fps desktop with Chrome in every sandbox |
| Regions | US by default; another region if you choose one; your own cloud with BYOC | US or EU processing for Code Interpreter; Agents API data residency in the US only | Germany, Finland and France; you cannot pick a region; no US or Asia region |
| Self-hosting | Beta9 runtime is AGPL-3.0 and free to self-host; bring your own cloud for a fee | The Agents API can drive a sandbox you host yourself | No |
Every feature Battleships tracks (43)
| Feature | Beam | OpenAI Containers | boat |
|---|---|---|---|
| Full VM (own kernel) | No documented way | Yes | Yes |
| Docker inside | Yes | No documented way | Yes |
| Nested virtualization | No documented way | No documented way | Yes |
| Root | Yes | No documented way | Yes |
| Systemd | No documented way | Not published | Yes |
| Desktop GUI | No documented way | Yes | Yes |
| Browser | No documented way | Yes | Yes |
| Computer-use API | No documented way | Yes | Yes |
| SSH | Yes | No documented way | Yes |
| Persistent disk | With your own setup | No documented way | Yes |
| Pause/resume | No documented way | No documented way | Yes |
| Automatic snapshots | No documented way | No documented way | Yes |
| Fork/clone | Yes | No documented way | Yes |
| Live fork (no pause) | Yes | No documented way | Yes |
| Memory fork | Yes | No documented way | No documented way |
| Custom image (Docker or snapshot) | Yes | No documented way | Yes |
| ≥24 h sessions | Yes | Yes | Yes |
| Idle auto-stop | No documented way | Yes | No documented way |
| Wake on request | No documented way | No documented way | No documented way |
| HTTPS preview URLs | Yes | No documented way | Yes |
| Raw TCP inbound | No documented way | No documented way | Yes |
| Public IPv4 | No documented way | No documented way | No documented way |
| Egress allowlist | Yes | Yes | No documented way |
| Secret proxy | Yes | Yes | Yes |
| Secret proxy for any API | No documented way | Yes | Yes |
| Preinstalled agents | No documented way | No documented way | Yes |
| Agent harness API | No documented way | Yes | Yes |
| MCP server | Yes | No documented way | No documented way |
| GPU | Yes | No documented way | No documented way |
| Windows | No documented way | No documented way | No documented way |
| Arm64 | No documented way | No documented way | No documented way |
| Self-hosting | Yes | Yes | No documented way |
| BYOC | Yes | No documented way | No documented way |
| Open source | Yes | No documented way | No documented way |
| Scoped API keys | Not published | Not published | Yes |
| Spend limits | Not published | Not published | Yes |
| Usage per sandbox (API) | No documented way | No documented way | Yes |
| Audit logs | Not published | Not published | No documented way |
| SSO | No documented way | Yes | No documented way |
| SOC 2 | Yes | Yes | No documented way |
| HIPAA | Yes | Yes | No documented way |
| EU data residency | Not published | Yes | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
Neither Beam nor OpenAI Containers is in the public CPU benchmark we use, and OpenAI does not publish how many vCPU each container size gets, so we cannot say which is faster. For reference, boat did 28.06 runs/s on the V8 Web Tooling Benchmark 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. For start time, ComputeSDK measured Beam at 534 ms median with 100 at once (2026-11-06), at Beam's default size. OpenAI and boat are not in ComputeSDK.
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. Beam 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.
| Scenario | Beam, a month | OpenAI Containers, a month | boat, 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 | $20 · Developer | $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 | $58 · Developer | $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 | $836 · Team | $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 | $312 · Team | $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 | $527 · Team · with limits | $6,000 · API pay as you go · with limits | $8,800 · $2000/mo · with limits |
Beam: Beam bills sandboxes per millisecond while they run, for each vCPU and GiB, on Spot, Shared or Performance tiers; new accounts default to Performance. For 4 vCPU / 8 GiB that is $0.28 an hour on Performance, $0.088 on Shared and $0.036 on Spot. VMs bill per second while running, and nothing for compute while stopped. Developer is $20 a month with $20 of credit; Team is $89 a month plus usage. There are no egress fees, and storage is not billed yet.
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 on top. There is no plan fee. The scenarios use the 16 GB size ($1.44 an hour) for 8 GB needs and the 4 GB size for 4 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 4 vCPU / 8 GB sandbox costs $0.036 an hour, billed per second while it runs. A stopped sandbox has no compute charge and keeps its disk for at least 14 days, but saved snapshots above the included count and the AI credentials proxy still charge. The $20 plan includes 12 starts a minute and 200 a day; extra starts cost $0.03 to $0.07.
Limits in those scenarios
OpenAI Containers do not fit the five scenarios as written: hosted containers discard their files when they expire, document no Docker or root, and do not publish the vCPU behind each size or how many can run at once. Beam's Developer plan allows 30 vCPUs at once, so 50 parallel agents need Team, and Beam does not bill storage yet, so no disk cost is counted for it. For 1,000 short jobs at once, Beam Team allows 1,000 vCPUs where the burst needs 2,000, and boat's $2,000 plan charges for starts above 90 a minute and refuses them above 270. boat's auto-stop defaults to 1 hour, and boat has no GPU.
| Scenario | Beam | OpenAI Containers | boat |
|---|---|---|---|
| One coding agent, workdays |
|
| None for this scenario |
| One agent that never stops |
|
| None for this scenario |
| 50 agents in parallel |
|
| None for this scenario |
| Sandboxes for your users |
|
| None for this scenario |
| 1,000 short jobs at once |
|
|
|
Which one should you use?
Use Beam when
you start and stop sandboxes or VMs from your own code, when your workload needs GPUs, or when you must self-host.
- Sandboxes and VMs you control. For apps that start machines from their own code, Beam runs sandboxes until you terminate them, and VMs that keep their disk.
- GPUs in the same platform. For work that needs a GPU, Beam offers GPU sandboxes, serverless GPUs and GPU machines from RTX 4090 up to H100, H200 and B200.
- Open source and your own cloud. Teams that must self-host can run Beam's Beta9 runtime for free under AGPL-3.0, or run Beam in their own cloud for a fee.
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, with nothing to manage.
- Locked-down network by default. If code must reach only chosen domains, Code Interpreter and Hosted Shell start with no outbound access until an admin allows some.
- US or EU processing and a 64 GB size. Code Interpreter can process data in the US or Europe, and containers come with up to 64 GB of memory.
Where boat fits
If you run a coding agent that works for hours or days, look at boat. It gives each agent a full VM with root, Docker and /dev/kvm, a disk saved every minute, and ports you can open from outside, with coding agents and a desktop installed.
A whole machine with root
Beam VMs have root and systemd but no documented /dev/kvm. A hosted OpenAI container runs without sudo and documents no Docker. Every boat sandbox has root, systemd, Docker and /dev/kvm.
A disk saved with no code
A Beam sandbox keeps files through a saved image or a volume, and a Beam VM keeps its disk. A hosted OpenAI container discards its data when it expires. boat saves the disk every minute and at stop, and keeps it at least 14 days. A resume is like a reboot.
Reachable from outside, agents installed
OpenAI documents no inbound ports for hosted containers, and a Beam sandbox URL has no built-in auth. boat serves up to 50 token-gated HTTPS URLs and SSH, with seven agents and a 60 fps desktop installed.
Use boat when your agent needs a machine it keeps: root, Docker and /dev/kvm, a disk saved every minute, open internet and ports you can reach, with coding agents and a desktop installed. Compare it one to one: boat vs Beam 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 Beam cheaper than OpenAI Containers?
In every scenario on this page, at list prices, yes. One coding agent on workdays costs $20 a month on Beam and $228 on OpenAI, and one agent that never stops $58 against $1,051. OpenAI is priced at its 16 GB size because it does not publish vCPU, and it bills model tokens on top. For a few short code runs a month, OpenAI has no plan fee and can cost less. boat costs $20 and $26 in the same two scenarios.
Which is faster, Beam or OpenAI Containers?
There is no comparable measurement: neither is in the public CPU benchmark we use, and OpenAI does not publish the vCPU behind each container size. ComputeSDK measured Beam at 534 ms to start with 100 at once.
Can Beam or OpenAI Containers run Docker?
Beam can, in a sandbox with docker_enabled and in its VMs. OpenAI's docs say hosted shell commands do not run with sudo, and Docker is not documented; a self-hosted Agents API sandbox runs on a machine you control. boat runs Docker, systemd and /dev/kvm in every sandbox.
What happens to files when the session ends?
A Beam sandbox keeps files through a saved image, a snapshot or a volume, and a Beam VM keeps its root disk while stopped. An OpenAI container expires after 20 minutes without use by default, and its data is discarded. boat saves the disk every minute and at stop; if a machine fails, you lose what was written after the last good snapshot.
Do Beam or OpenAI Containers have GPUs?
Beam does, with GPU sandboxes, serverless GPUs and GPU machines from RTX 4090 up to H100, H200 and B200. OpenAI Containers and boat have no GPU.
Can I open a web app running inside either one?
On Beam, yes: each exposed port of a sandbox gets a public HTTPS URL with no built-in auth, and Beam VMs add token-protected URLs. OpenAI documents no ports, URLs or SSH for hosted containers. boat gives each sandbox SSH and up to 50 token-gated HTTPS URLs.
Try boat
Install the CLI, then run boat new.
7-day free trial