OpenAI Containers vs Instabox
OpenAI Containers are a tool inside OpenAI's model API: the model runs code in a short-lived container without sudo, and by default the container expires after 20 idle minutes. Instabox gives each agent its own Firecracker VM with root and Docker that it keeps, paused or running, with a free plan for one machine and paid plans from $20 a month.
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.
Instabox
Instabox gives each AI agent its own Linux machine in the cloud. It has a free plan with one machine and paid plans from $20 a month plus usage.
Each Instabox machine is a Firecracker microVM with its own kernel, root and Docker. It starts from a template (agent-browser by default, universal, t3, herdr, orca, android, omarchy or ci), from your own snapshot, or from a Docker image that you import as a snapshot. The default size is 4 vCPU / 8 GiB, and paid plans go up to 32 vCPU / 64 GiB. You drive it from a CLI, a TypeScript SDK, an HTTP API or an MCP server, with SSH, mosh, HTTPS port URLs and a desktop for computer use.
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 workload | OpenAI Containers: price rank | Instabox: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month A coding agent that installs packages and runs Docker for days needs root and a disk that stays. Instabox has both, and goes up to 32 vCPU / 64 GiB on its $500 plan. Hosted OpenAI containers run without sudo and discard files when they expire. boat adds /dev/kvm and an API to prompt and steer the agents. | 357th of 365, with limits $17,371 a month | Cheapest of 365 $410 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, and its files go with it. An Instabox machine runs with no session cap on a paid plan once you turn off its 30-minute idle pause. boat 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 | 4th cheapest of 361 $534 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: the model writes Python and runs it in the same API call, with no machine to manage. Instabox and boat both start a full VM for each run, and boat counts each one against the plan's start limits. | 198th of 336, with limits $6,000 a month | 4th cheapest of 336 $56 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 Instabox Pro allows 100 machines running, Builder 200 and Team 500. OpenAI documents no inbound ports for hosted containers and publishes no concurrency limit. For 300 user sandboxes at once, this page estimates $500 a month on Instabox Team and $200 on boat. | 349th of 349, with limits $3,780 a month | 10th cheapest of 349 $500 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 | 16th of 349, with limits $845 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 Instabox runs 100 to 500 machines at once by plan, with 30 to 100 starts a minute. OpenAI does not publish how many containers can run at the same time. boat runs 100 to 2,000 at once by plan and limits starts per minute, hour and day. | 355th of 359, with limits $5,760 a month | 34th cheapest of 359 $500 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 open internet. Instabox runs Docker and has a ci template for GitHub Actions. Hosted OpenAI containers document no Docker, and Code Interpreter starts with no internet. boat documents /dev/kvm for Android emulators and VM builds; Instabox's android template runs Android natively instead. | 347th of 374, with limits $1,728 a month | 3rd cheapest of 374 $89 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB Instabox works as a dev box with SSH, mosh and pause with memory. Hosted OpenAI containers document no SSH, and their files go when they expire. boat works as a dev box with SSH and a 60 fps desktop. | 365th of 371, with limits $1,051 a month | 14th cheapest of 371 $24 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 the Agents API computer_use tool. Instabox has a VNC desktop with a browser and a screenshot and click API; you bring the model. boat streams a 1920x1080, 60 fps desktop you can embed, with computer tools for its built-in agents. | 353rd of 367, with limits $5,280 a month | 4th cheapest of 367 $122 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 | 49th of 356, with limits $61 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 | 5th cheapest of 343 $83 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 | 31st of 327, with limits $1,658 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 | 2nd cheapest of 351 $100 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 requirement | 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 | OpenAI Containers | Instabox | boat |
|---|---|---|---|
| Isolation | A fully sandboxed virtual machine; the hypervisor is not named | Firecracker microVM with its own kernel and root | Full VM with its own kernel, on physical hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared |
| Root and Docker | Commands do not run with sudo; Docker is not documented. You set it up: connect the Agents API to a self-hosted sandbox | Root, systemd, Docker and Docker Compose inside | Root, systemd, Docker and Compose in every sandbox |
| Nested virtualization | /dev/kvm not documented | /dev/kvm not documented; an android template runs Android 14 natively, with no emulator | /dev/kvm on every sandbox for Android emulators and VMs |
| Machine size | 1, 4, 16 or 64 GB of memory; vCPU not published | 4 vCPU / 8 GiB on Free; up to 8 / 16 on $20, 16 / 32 on $100, 32 / 64 on $500; resizing needs a stop | 4 vCPU / 8 GB by default, up to 16 vCPU / 32 GB (xlarge needs the $100 plan) |
| Price at 4 vCPU / 8 GB | Billed by the minute for the memory size, 5-minute minimum, plus model tokens; vCPU not published | $0.034 an hour, per second while running; Free plan for one machine | $0.036 an hour, per second while running, from a $20 monthly plan |
| Files after the session | Data is discarded when the container expires. Agents API publishes files in /workspace/outputs as downloadable artifacts | The machine keeps its files; snapshots saved by hand (5 on Free, unlimited on paid plans, no charge); no automatic save | Disk saved every minute and at each stop. A stopped sandbox has no compute charge and keeps its disk for at least 14 days |
| Lifetime | By default expires after 20 minutes without use; expires_after can set a longer idle time | No session cap on paid plans; pauses after 30 idle minutes unless you change it; the Free machine pauses after 8 hours of running | Auto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no session cap |
| Pause and resume | No pause; an idle container expires | Pause keeps memory and running programs; resume usually takes about a second; a port visit wakes an idle-paused machine | Stop keeps the disk; a resume is like a reboot |
| Fork | No fork call documented. You set it up: create a new container and upload the same files | Fork a running or stopped machine, disk only, up to 5 copies per call | Fork a running sandbox from its last 1-minute disk snapshot |
| Custom image | Fixed Debian 12 image; you upload files or skills into each container | Import a Docker or OCI image as a snapshot, then start machines from it | Saved snapshots of a set-up sandbox, reused as templates; you cannot boot your own Docker image |
| Inbound access | No inbound ports documented for hosted containers; you reach them through the API | SSH gateway with mosh; HTTPS on up to 16 ports, public by default, token-protected with --private; raw TCP through the port gateway | SSH, token-gated HTTPS URLs for up to 50 ports, raw TCP (IPv6 only on sandboxes without their own IPv4) |
| Keeping API keys out of the sandbox | domain_secrets: a sidecar adds the real header for approved domains, the model sees a placeholder | Secrets proxy swaps a placeholder for the real key in outbound HTTPS headers to allowed hosts | Optional AI credentials proxy ($1 per day on, plus $1 per 1,000 requests) for model providers and custom HTTPS APIs |
| Coding agents | Agents API (beta) drives a managed Codex harness from outside, with steering, events and webhooks | Claude Code, Codex and OpenCode preinstalled on some templates; CLI, skills and MCP; you run the agent yourself | Seven harnesses installed, including Claude Code, Codex and OpenCode, with a prompt, steer and events API |
| Desktop and computer use | Hosted browser for the Agents API computer_use tool | VNC desktop with a browser on most templates, screenshot and click API, shareable view or control links | Built-in 1920x1080, 60 fps desktop and Chrome, computer tools for agents, embeddable stream |
| Regions | US or EU processing for Code Interpreter | Not published | Germany, Finland and France; you cannot pick a region, and there is no US or Asia region |
Every feature Battleships tracks (43)
| Feature | OpenAI Containers | Instabox | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | No documented way | Yes | Yes |
| Nested virtualization | No documented way | Not published | Yes |
| Root | No documented way | Yes | Yes |
| Systemd | Not published | Yes | Yes |
| Desktop GUI | Yes | Yes | Yes |
| Browser | Yes | Yes | Yes |
| Computer-use API | Yes | Yes | Yes |
| SSH | No documented way | Yes | Yes |
| Persistent disk | No documented way | Yes | Yes |
| Pause/resume | No documented way | Yes | Yes |
| Automatic snapshots | No documented way | No documented way | Yes |
| Fork/clone | No documented way | Yes | Yes |
| Live fork (no pause) | No documented way | Yes | Yes |
| Memory fork | No documented way | No documented way | No documented way |
| Custom image (Docker or snapshot) | No documented way | Yes | Yes |
| ≥24 h sessions | Yes | Yes | Yes |
| Idle auto-stop | Yes | Yes | No documented way |
| Wake on request | No documented way | Yes | No documented way |
| HTTPS preview URLs | No documented way | Yes | Yes |
| Raw TCP inbound | No documented way | Yes | Yes |
| Public IPv4 | No documented way | No documented way | No documented way |
| Egress allowlist | Yes | Not published | No documented way |
| Secret proxy | Yes | Yes | Yes |
| Secret proxy for any API | Yes | Yes | Yes |
| Preinstalled agents | No documented way | Yes | Yes |
| Agent harness API | Yes | Not published | Yes |
| MCP server | No documented way | Yes | No documented way |
| GPU | No documented way | Not published | No documented way |
| Windows | No documented way | No documented way | No documented way |
| Arm64 | No documented way | Not published | No documented way |
| Self-hosting | Yes | Not published | No documented way |
| BYOC | No documented way | Yes | No documented way |
| Open source | No documented way | No documented way | No documented way |
| Scoped API keys | Not published | Yes | Yes |
| Spend limits | Not published | Yes | Yes |
| Usage per sandbox (API) | No documented way | Yes | Yes |
| Audit logs | Not published | Yes | No documented way |
| SSO | Yes | Yes | No documented way |
| SOC 2 | Yes | Not published | No documented way |
| HIPAA | Yes | Yes | No documented way |
| EU data residency | Yes | Not published | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
Neither OpenAI Containers nor Instabox 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 and does not promise a CPU model. Instabox says a new machine's shell is ready in under a second; we have not measured it.
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 Instabox 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 | OpenAI Containers, a month | Instabox, 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 | $228 · API pay as you go · with limits | $0 · Free | $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 | $25 · Pro | $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 | $269 · 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 | $500 · Team | $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 | $500 · Team · 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 for 8 GB needs, because OpenAI does not publish the vCPU per size.
Instabox: Free costs $0 for one 4 vCPU / 8 GiB machine. Pro ($20), Builder ($100) and Team ($500) a month each include usage credit equal to the fee. Usage costs $0.004 per vCPU-hour and $0.00225 per GiB-hour, per second while a machine runs: $0.034 an hour at 4 vCPU / 8 GiB. Disk above the included pool costs $0.08 per GiB-month, also while stopped, and egress above the allowance costs $0.02 per GiB.
Instabox: 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. 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. A card is required, also for the 7-day trial.
Limits in those scenarios
OpenAI Containers fit none 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. Instabox fits four of them. Free allows 1 machine and 3 starts a minute; Pro runs 100 machines, Builder 200 and Team 500, at 30, 50 and 100 starts a minute. An API exec call runs at most 10 minutes (longer with --background). boat allows 100 sandboxes at once on the $20 plan and 2,000 on the $2,000 plan, with 12 starts a minute, 60 an hour and 200 a day included on the $20 plan. Neither Instabox nor boat fits 1,000 short jobs at once: Instabox Team runs at most 500 machines, and boat's $2,000 plan charges for starts above 90 a minute and refuses them above 270.
| Scenario | OpenAI Containers | Instabox | boat |
|---|---|---|---|
| One coding agent, workdays |
| None for this scenario | None for this scenario |
| One agent that never stops |
| None for this scenario | None for this scenario |
| 50 agents in parallel |
| None for this scenario | None for this scenario |
| Sandboxes for your users |
| None for this scenario | None for this scenario |
| 1,000 short jobs at once |
|
|
|
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. Useful if code must only reach chosen hosts: Code Interpreter and Hosted Shell have no outbound access until an admin allows domains.
- US or EU processing. Code Interpreter can process data in the United States or Europe, and you pay only for the minutes a container runs.
Use Instabox when
you want agent machines with root and Docker at a slightly lower hourly rate, a free machine to start with, pause with memory, machines above 16 vCPU or your own Docker image.
- A real machine the agent keeps. Useful if your agent needs root, Docker and files that stay: each Instabox machine is a Firecracker VM it keeps.
- Pause with memory. A paused machine keeps its memory and running programs and usually resumes in about a second.
- A free plan and a lower hourly rate. One 4 vCPU / 8 GiB machine is free, and paid use costs $0.034 an hour at that size against boat's $0.036.
Where boat fits
Instabox and boat both give each agent a full VM it keeps; OpenAI Containers are a code tool inside the model call. boat adds /dev/kvm, a disk saved every minute and an API that prompts and steers seven installed coding agents. Instabox costs a little less per hour, has a free plan, pauses with memory and goes to bigger sizes.
/dev/kvm and agents you drive from outside
OpenAI's shell runs without sudo and documents no Docker. Instabox has root and Docker, but documents no /dev/kvm, and you run the agent yourself. boat has /dev/kvm on every sandbox and a prompt, steer and events API for its installed agents.
Disk saved every minute
An OpenAI container discards its files when it expires. Instabox keeps a machine's files and saves snapshots when you ask. boat saves the disk every minute and at each stop. If a boat machine fails, you lose what was written after the last good snapshot.
Token-gated URLs by default
OpenAI documents no inbound ports for hosted containers. Instabox port URLs are public unless you add --private. boat URLs carry a token by default, on up to 50 ports per sandbox.
Use boat when your agents need a real machine with root, Docker and /dev/kvm, a disk saved every minute, token-gated URLs, and coding agents you prompt and steer through one API. Compare it one to one: boat vs OpenAI Containers and boat vs Instabox.
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 Instabox?
No, in our scenarios Instabox costs less. One coding agent on workdays costs $228 a month on OpenAI and $0 on Instabox's Free plan, and 50 agents in parallel cost $11,405 against $269. OpenAI also bills model tokens on top. On boat the same scenarios cost $20 and $317.
Which is faster, OpenAI Containers or Instabox?
Neither is in the public benchmarks we use, and OpenAI does not publish vCPU per container size, so we cannot say. boat did 28.06 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB in StarSling's run of 3 October 2026, on a Ryzen 9 9950X host.
Can I run Docker in OpenAI Containers or Instabox?
Instabox runs Docker and Docker Compose inside each machine, with root. OpenAI's hosted shell runs without sudo and documents no Docker; for full control, the Agents API can drive a sandbox you host. boat gives root, systemd, Docker and /dev/kvm on every sandbox.
Do files survive between sessions?
On Instabox, yes: the machine keeps its files when paused or stopped. An OpenAI container discards its data when it expires. boat saves the disk every minute and at each stop, and keeps a stopped sandbox's disk for at least 14 days.
Can I open a web app running inside them?
OpenAI documents no inbound ports for hosted containers. Instabox publishes HTTPS URLs for up to 16 ports, public unless you add --private. boat gives up to 50 ports with a token by default, plus raw TCP and SSH.
Try boat
Install the CLI, then run boat new.
7-day free trial
More comparisons
- boat vs OpenAI Containers
- boat vs Instabox
- E2B vs OpenAI Containers
- Daytona vs OpenAI Containers
- Modal vs OpenAI Containers
- Vercel Sandbox vs OpenAI Containers
- Cloudflare Sandbox vs OpenAI Containers
- Blaxel vs OpenAI Containers
- Runloop vs OpenAI Containers
- Tensorlake vs OpenAI Containers
- Morph Cloud vs OpenAI Containers
- CodeSandbox SDK vs OpenAI Containers