OpenAI Containers vs smol machines

OpenAI Containers are short-lived containers inside OpenAI's model API, where the model runs code and, by default, the container expires after 20 minutes without use. smol machines gives you Linux microVMs that you create, keep, stop and branch, in its cloud or on your own machines.

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.

smol machines

smol machines makes isolated Linux microVMs that run the same way on your laptop, in their hosted cloud, or on your own servers.

The core is smolvm, an open-source microVM engine built on libkrun. Each machine has its own guest kernel. smol cloud is the paid hosted service. It runs machines behind a REST API, Node, Python and Rust SDKs, and a managed agents API. It is for developers who want one VM model from local development to production, with live branching of running machines.

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 ranksmol machines: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
Hosted OpenAI containers run without sudo, document no Docker and discard files when they expire. smol machines runs Docker and keeps its files in /workspace. boat adds /dev/kvm on every plan, SSH and a built-in desktop.
357th of 365, with limits
$17,371 a month
105th of 365, with limits
$604 a month
5th cheapest of 365
$634 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
By default an OpenAI container expires after 20 idle minutes. A smol machine stays and can be checkpointed with its memory. boat adds a built-in desktop and browser, and runs with no session cap once auto-stop (default 1 hour) is off on a paid plan.
344th of 361, with limits
$13,140 a month
41st cheapest of 361
$1,038 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
This is what OpenAI Containers are built for, inside the same API call as the model. smol machines also fits well, with a one-minute minimum and billing on active CPU and memory. On boat each run counts against the plan's start limits.
198th of 336, with limits
$6,000 a month
16th cheapest of 336
$140 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
smol machines fits, and starts a stopped machine on the next command. OpenAI documents no inbound ports for hosted containers. boat gives each user token-gated URLs on up to 50 ports and SSH, and keeps a stopped sandbox's disk for at least 14 days.
349th of 349, with limits
$3,780 a month
12th cheapest of 349
$531 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
smol machines can branch a running machine with its memory and processes, so many rollouts start from one prepared state. OpenAI documents no fork. boat forks from a disk snapshot, without memory, and caps starts per plan.
195th of 349, with limits
$30,000 a month
119th of 349, with limits
$6,978 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
49th cheapest of 359
$670 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
Hosted OpenAI containers document no Docker or root, and Code Interpreter containers start with no internet. smol machines runs Docker, with nested virtualization on Startup ($150 a month plus usage). boat has /dev/kvm on every plan; each CI job counts as a start.
347th of 374, with limits
$1,728 a month
69th cheapest of 374
$514 a month
2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
Hosted OpenAI containers document no SSH and no disk that lasts. smol machines keeps the disk and gives a command API and a terminal capped at one hour per connection; no SSH route is documented. boat takes SSH.
365th of 371, with limits
$1,051 a month
230th of 371, with limits
$29 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 inside the Agents API beta. On smol machines you set it up: run Chromium from an OCI image, following the official guide. boat streams a built-in 1920x1080, 60 fps desktop with computer tools.
353rd of 367, with limits
$5,280 a month
135th of 367, with limits
$156 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
58th of 356, with limits
$136 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
97th cheapest of 343
$242 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
145th of 327, with limits
$4,344 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
310th of 351, with limits
$870 a month
59th of 351, with limits
$377 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 Containerssmol machinesboat
What it isA sandbox tool the model uses inside OpenAI's APILinux microVMs you run through a REST API and SDKs, in smol cloud or locallyA cloud VM you create, keep, stop and reach from outside
IsolationA fully sandboxed virtual machine; hypervisor not namedlibkrun microVM with its own guest kernelFull VM with its own kernel, on physical hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared
Root, Docker and nested virtualizationCommands do not run with sudo; Docker and /dev/kvm are not documented. You set it up: connect the Agents API to a self-hosted sandboxDocker runs inside the VM; nested virtualization on Startup ($150 a month plus usage) and Enterprise, refused on Standard and ProRoot, systemd, Docker and /dev/kvm on every sandbox
Machine size1, 4, 16 or 64 GB of memory; vCPU not publishedUp to 8 vCPU / 16 GB on Standard, 16 vCPU / 24 GB on Pro, 32 vCPU / 32 GB on Startup4 vCPU / 8 GB by default, up to 16 vCPU / 32 GB (xlarge needs the $100 plan)
Files after the sessionData is discarded when the container expires. Agents API publishes files in /workspace/outputs as downloadable artifacts/workspace and the image survive a stop; /tmp is emptied; stopped disk bills at $0.0001/GB-hour; checkpoints save a running machine with its RAMDisk saved every minute and at each stop. A stopped sandbox has no compute charge and keeps its disk for at least 14 days
ForkNo fork call documented. You set it up: create a new container and upload the same filesBranch a running machine with its memory and processesFork a running sandbox from its last 1-minute disk snapshot (no memory)
Wake on requestNo; a new container is made for new workA command or terminal starts a stopped machine; idle apps wake on the next requestNo; a stopped sandbox is resumed by API, and a resume is like a reboot
Inbound accessNo inbound ports documented for hosted containers; you reach them through the APIUp to 16 published ports via token URLs or an authenticated connect route, a TCP tunnel route, and a WebSocket terminal capped at one hour per connection; no SSH route documentedSSH, token-gated HTTPS URLs for up to 50 ports, raw TCP (IPv6 only on sandboxes without their own IPv4)
Outbound internetCode Interpreter and Hosted Shell: off until an admin sets a domain allowlist. Agents API sandboxes: on by default, can be limited to 1 to 100 hostsBlocked, open, or an allowlist of hosts and CIDR rangesOpen internet on every plan; no provider-side allowlist
Desktop and computer useHosted browser for the Agents API computer_use toolYou set it up: run Chromium from an OCI image (official guide); no hosted desktop or computer-use route in the cloud APIBuilt-in 1920x1080, 60 fps desktop and Chrome, computer tools for agents, embeddable stream
Coding agentsAgents API (beta) drives a managed Codex harness from outside, with steering, events and webhooksManaged agents API: Claude Code, Codex, OpenCode or any command as the harness, with turns, cancel, event stream, rewind to a turn and branchSeven harnesses installed, including Claude Code, Codex and OpenCode, with a prompt, steer and events API
Keeping API keys out of the sandboxdomain_secrets: a sidecar adds the real header for approved domains, the model sees a placeholderStored credentials bound to a machine: the guest sees a placeholder, and the real value is swapped in on HTTPS to allowed hosts; plain env secrets are readableOptional AI credentials proxy ($1 per day on, plus $1 per 1,000 requests) for model providers and custom HTTPS APIs
RegionsUS or EU processing for Code InterpreterNo region choice in the cloud APIGermany, Finland and France; you cannot pick a region, and there is no US or Asia region
Your own machinesAgents API can drive a sandbox you hostOpen-source smolvm runs on your laptop or servers with the same .smolmachine artifactNo; hosted only
Every feature Battleships tracks (43)
FeatureOpenAI Containerssmol machinesboat
Full VM (own kernel)YesYesYes
Docker insideNo documented wayYesYes
Nested virtualizationNo documented wayYesYes
RootNo documented wayNot publishedYes
SystemdNot publishedNot publishedYes
Desktop GUIYesNo documented wayYes
BrowserYesWith your own setupYes
Computer-use APIYesNo documented wayYes
SSHNo documented wayNo documented wayYes
Persistent diskNo documented wayYesYes
Pause/resumeNo documented wayYesYes
Automatic snapshotsNo documented wayNo documented wayYes
Fork/cloneNo documented wayYesYes
Live fork (no pause)No documented wayYesYes
Memory forkNo documented wayYesNo 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 allowlistYesYesNo documented way
Secret proxyYesYesYes
Secret proxy for any APIYesYesYes
Preinstalled agentsNo documented wayYesYes
Agent harness APIYesYesYes
MCP serverNo documented wayYesNo documented way
GPUNo documented wayNo documented wayNo documented way
WindowsNo documented wayNo documented wayNo documented way
Arm64No documented wayYesNo documented way
Self-hostingYesYesNo documented way
BYOCNo documented wayYesNo documented way
Open sourceNo documented wayYesNo documented way
Scoped API keysNot publishedNot publishedYes
Spend limitsNot publishedYesYes
Usage per sandbox (API)No documented wayYesYes
Audit logsNot publishedNot publishedNo documented way
SSOYesYesNo documented way
SOC 2YesNo documented wayNo documented way
HIPAAYesNo documented wayNo documented way
EU data residencyYesNo documented wayNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

OpenAI ContainersNot measured
smol machinesNot measured
boat28.06 runs/s

Neither OpenAI Containers nor smol cloud is in the public benchmarks we use, so we cannot say which is faster. OpenAI does not publish the vCPU behind each container size. 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). That boat sandbox ran on an AMD Ryzen 9 9950X host; boat also places sandboxes on Ryzen 7 9700X hosts, which this run did not measure. smol machines publishes a boot time under 200 ms for smolvm; that is a start time, not CPU speed.

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 smol machines 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 monthsmol machines, 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$25 · Standard$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$93 · Standard$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$1,139 · Pro$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$465 · Startup$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$1,389 · Startup$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 for 8 GB needs, because OpenAI does not publish the vCPU per size.

smol machines: smol cloud charges $0.04 for every hour a machine runs, plus $0.05 per active vCPU-hour and $0.0162 per active GB-hour of memory, with a one-minute minimum. Disk bills at $0.0001 per GB-hour, also while stopped, and egress at $0.05 per GB. Standard is $0. Pro ($20 a month) and Startup ($150 a month) are fees added on top of usage, not credit.

smol machines: 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 4 vCPU / 8 GB sandbox costs $0.036 an hour, billed per second while it runs, busy or idle. The $20 plan includes 200 starts a day; extra starts cost $0.03 to $0.07 each. A stopped sandbox has no compute charge. Saved snapshots above the included count and the AI credentials proxy still charge while sandboxes are stopped.

Limits in those scenarios

OpenAI Containers do not fit any of the five scenarios as written: hosted containers discard files when they expire, document no Docker or root, start Code Interpreter and Hosted Shell with no internet, and publish no vCPU or concurrency limit. smol machines fits all five, but caps machines by plan: 20 on Standard, 100 on Pro and 1,000 on Startup, and a stopped machine still holds a slot. So 50 agents need Pro, and 1,000 short jobs need Startup. boat does not fit the 1,000-job burst: the $2,000 plan charges for starts above 90 a minute and refuses them above 270. boat's always-on agent needs auto-stop turned off (default 1 hour), and a boat resume does not keep memory.

ScenarioOpenAI Containerssmol machinesboat
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
None for this scenarioNone 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
None for this scenarioNone 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
None for this scenarioNone 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)
None for this scenarioNone 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)
None for this scenario
  • 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. Useful if your app already calls OpenAI models: one tool line in a request gives the model a place to run code.
  • Locked-down network by default. Code Interpreter and Hosted Shell reach nothing until an admin allows domains, and secrets reach the model only as placeholders.
  • US or EU processing. Teams that need data processed in the US or Europe can pick it, since Code Interpreter offers both.

Use smol machines when

you want VMs you keep and branch with their memory, one open-source engine from your laptop to your own servers, big bursts, or tight outbound rules.

  • Open source, laptop to your servers. Teams that want the same VM locally, in a hosted cloud and on their own servers get it from one open-source engine.
  • Live branches with memory. Useful for RL and test fan-out: branch a running machine with its memory, and wake stopped machines on the next command.
  • Bigger machines and outbound rules. Startup goes up to 32 vCPU per machine, and each machine can block outbound traffic or allow listed hosts only.

Where boat fits

If you run coding or computer-use agents that need a whole machine, boat fits. OpenAI Containers are a short-lived tool for the model, and smol machines gives you a lean VM you can branch with its memory. boat gives each agent root, /dev/kvm on every plan, a built-in desktop, SSH and coding agents you drive from outside.

Root, Docker and /dev/kvm on every plan

Hosted OpenAI containers run commands without sudo and document no Docker. smol machines runs Docker, and nested virtualization needs its Startup plan ($150 a month plus usage). boat has /dev/kvm in every sandbox from the $20 plan.

Reachable from outside

OpenAI documents no inbound ports for hosted containers. smol machines gives token URLs, a TCP tunnel and a terminal capped at one hour per connection, with no SSH route documented. boat has SSH, token-gated HTTPS on 50 ports and raw TCP.

A desktop built in

On smol machines you run your own Chromium from an OCI image, and OpenAI's browser is part of the Agents API beta. boat streams a 60 fps desktop and Chrome with computer tools in every sandbox.

Use boat when your agents need a whole machine: root, Docker and /dev/kvm on every plan, SSH and ports you can reach, a built-in desktop and browser, and coding agents you drive from outside. Compare it one to one: boat vs OpenAI Containers and boat vs smol machines.

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 smol machines?

Not in the scenarios on this page: one coding agent on workdays comes to $228 a month on OpenAI and $25 on smol machines, and one agent running all month comes to $1,051 against $93. OpenAI also bills model tokens on top, and its containers do not fully fit these scenarios. boat comes to $20 and $26.

Which is faster, OpenAI Containers or smol machines?

Neither is in the public benchmarks we use, and OpenAI does not publish how many vCPU each container size gets, so we cannot say. smol machines publishes a boot time under 200 ms for smolvm, which is about start time, not CPU speed.

Can OpenAI Containers or smol machines run Docker?

OpenAI's docs say hosted shell commands do not run with sudo, and no Docker support is documented; for full control, the Agents API can drive a sandbox you host. smol machines runs Docker inside the VM. boat gives root, systemd, Docker and /dev/kvm on every sandbox.

Do files survive between sessions?

Not on hosted OpenAI containers: data is discarded when the container expires. On smol machines /workspace survives a stop, and the stopped disk keeps billing at a small rate. On boat the disk is saved every minute and at each stop, and kept for at least 14 days after a stop.

Can I run either one on my own machines?

smol machines' engine, smolvm, is open source and runs on your laptop or your own servers. OpenAI's Agents API can drive a sandbox you host, but Code Interpreter containers run only on OpenAI. boat is a hosted service only.

Can I open a web app running inside the sandbox?

OpenAI documents no inbound ports for hosted containers. smol machines publishes up to 16 ports through token URLs. boat gives each sandbox token-gated HTTPS URLs for up to 50 ports, raw TCP and SSH.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons