OpenAI Containers vs Unikraft Cloud

OpenAI Containers are a tool inside OpenAI's model API: the model runs code in a short-lived container that, by default, expires after 20 idle minutes. Unikraft Cloud is a microVM cloud that turns your Dockerfile into a small VM that boots in milliseconds, goes into standby when idle and runs as long as you want.

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.

Unikraft Cloud

Unikraft Cloud is a microVM cloud from Unikraft Inc. It runs any Dockerfile-based workload as a minimal Linux microVM, with cold starts it states as under 10 ms and scale-to-zero.

Your Dockerfile becomes the VM image at build time. Each instance runs on a customized Firecracker VMM and can go into standby when no traffic arrives. It is a general compute platform for dense, bursty work such as HTTP services, browsers and agent fleets. It sells flat self-serve plans, plus Enterprise dedicated hosts, on-prem and bring your own cloud. You reach instances through services, the CLI and a sandbox plugin for commands and files. For SSH or a desktop, you add them to your image with its official guides.

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 rankUnikraft Cloud: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
A software factory needs Docker and a disk that stays. Hosted OpenAI containers document neither. Unikraft keeps volumes, but its docs describe no container runtime inside a running instance. boat has Docker and keeps its disk across stops.
357th of 365, with limits
$17,371 a month
Not ranked: misses a requirement5th 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 cannot use an OpenAI container that expires. Unikraft's Team pool is 8 vCPU / 8 GiB shared by every running instance, so one 4 vCPU / 8 GB agent fills it. 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
Not ranked: misses a requirement6th cheapest of 361
$657 a month
Code interpreter bursts
100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month
OpenAI Containers are built for this: the model writes code and runs it in the same API call. On Unikraft you build the runner into your own image. On boat each run counts against the plan's start limits.
198th of 336, with limits
$6,000 a month
Not ranked: misses a requirement189th 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
OpenAI does not publish how many containers can run at once. Unikraft's largest self-serve pool is 24 vCPU / 32 GiB shared by all running instances; standby instances do not count, so hundreds of mostly idle users can fit, but hundreds of active ones need Enterprise.
349th of 349, with limits
$3,780 a month
Not ranked: misses a requirement3rd 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
Not ranked: misses a requirement39th 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
Not ranked: misses a requirement10th 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. Hosted OpenAI containers document no Docker or root. Unikraft runs as root, documents no Docker inside, and keeps nested virtualization for Enterprise. boat has Docker and /dev/kvm in every sandbox.
347th of 374, with limits
$1,728 a month
Not ranked: misses a requirement2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
Unikraft can keep an instance all month on its $39 Team pool. By default an OpenAI container expires after 20 idle minutes. On Unikraft you set up SSH yourself: run sshd in your image and reach it through a TLS service port and a local tunnel. boat has SSH built in.
365th of 371, with limits
$1,051 a month
121st cheapest of 371
$39 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. On Unikraft you set it up: its official VNC/noVNC desktop recipe builds into your image. boat streams a built-in 60 fps desktop.
353rd of 367, with limits
$5,280 a month
Not ranked: misses a requirement7th cheapest of 367
$200 a month
Browser-use agents
50 at once · 2 vCPU / 4 GB · 30,000 sessions of 10 min a month
OpenAI's hosted browser is driven by its own Codex harness. On Unikraft you run your own Chrome from a Dockerfile, and it wakes on the next request. On boat Chrome is already in the sandbox.
335th of 356, with limits
$1,440 a month
Not ranked: misses a requirement7th 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
Not ranked: misses a requirement6th 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
Not ranked: misses a requirement73rd 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
Not ranked: misses a requirement3rd 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 ContainersUnikraft Cloudboat
What it isA sandbox tool the model uses inside OpenAI's APIA general microVM cloud that runs your DockerfileA cloud VM you create, keep, stop and reach from outside
IsolationA fully sandboxed virtual machine; hypervisor not namedMinimal Linux microVM on a customized Firecracker VMM; full VMs on EnterpriseFull VM with its own kernel, on physical hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared
Machine size1, 4, 16 or 64 GB of memory; vCPU not publishedPlan pool shared by all running instances: 2 vCPU / 4 GiB, 8 vCPU / 8 GiB or 24 vCPU / 32 GiB; per-instance maximum not published4 vCPU / 8 GB by default, up to 16 vCPU / 32 GB (xlarge needs the $100 plan)
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 sandboxRuns as root; the docs describe no container runtime inside a running instance; nested virtualization on Enterprise onlyRoot, systemd, Docker and /dev/kvm on every sandbox
Files after the sessionData is discarded when the container expires. Agents API publishes files in /workspace/outputs as downloadable artifactsVolumes, and standby snapshots that keep memory and filesDisk saved every minute and at each stop. A stopped sandbox has no compute charge and keeps its disk for at least 14 days
LifetimeBy default expires after 20 minutes without use; expires_after can set a longer idle timeRuns until stopped; goes into standby after a 1-second idle cooldown by defaultAuto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no session cap
Starts and wake on requestCreated by the API or a model call; no wake on requestCold boots in milliseconds (Unikraft's own figure) and wakes on the next requestA stopped sandbox is resumed by API; a resume is like a reboot
Fork and checkpointsNo fork call documented. You set it up: create a new container and upload the same filesCheckpoint memory and volumes of a running microVM with a pause of a few milliseconds, then start new instances from itFork a running sandbox from its last 1-minute disk snapshot (no memory)
Custom imageFixed Debian 12 image; you upload files into each containerYour Dockerfile becomes the VM imageSaved snapshots of a set-up sandbox, reused as templates; you cannot boot your own Docker image
Inbound accessNo inbound ports documented for hosted containers; you reach them through the APIServices on its load balancer: HTTP, HTTPS and TLS-wrapped TCP, custom domains. SSH with setup: run sshd in your image and reach it through a TLS service port and a local tunnelSSH built in, 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 hostsOpen; network shield filtering on Enterprise only, limited accessOpen internet on every plan; no provider-side allowlist
Keeping API keys out of the sandboxdomain_secrets: a sidecar adds the real header for approved domainsNetwork shield injects secrets into HTTP traffic, Enterprise only, limited accessOptional AI credentials proxy ($1 per day on, plus $1 per 1,000 requests) for model providers and custom HTTPS APIs, on every plan
Coding agents and computer useAgents API (beta) drives a managed Codex harness, with a hosted browser for computer useNone installed; you add the agent to your own image. An official VNC/noVNC desktop recipe you build into your imageSeven harnesses installed, with a prompt, steer and events API; built-in 60 fps desktop and computer tools
RegionsUS or EU processing for Code InterpreterUS, EU and Singapore by default, more metros on requestGermany, Finland and France; you cannot pick a region, and there is no US or Asia region
Every feature Battleships tracks (43)
FeatureOpenAI ContainersUnikraft Cloudboat
Full VM (own kernel)YesYesYes
Docker insideNo documented wayNo documented wayYes
Nested virtualizationNo documented wayYesYes
RootNo documented wayYesYes
SystemdNot publishedNot publishedYes
Desktop GUIYesWith your own setupYes
BrowserYesWith your own setupYes
Computer-use APIYesNo documented wayYes
SSHNo documented wayWith your own setupYes
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 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 wayNo documented wayYes
Agent harness APIYesNo documented wayYes
MCP serverNo documented wayNo documented wayNo documented way
GPUNo documented wayYesNo 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 wayNo documented wayNo documented way
Scoped API keysNot publishedNot publishedYes
Spend limitsNot publishedNot publishedYes
Usage per sandbox (API)No documented wayNo documented wayYes
Audit logsNot publishedYesNo documented way
SSOYesNo documented wayNo documented way
SOC 2YesYesNo documented way
HIPAAYesYesNo documented way
EU data residencyYesYesNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

OpenAI ContainersNot measured
Unikraft CloudNot measured
boat28.06 runs/s

Neither OpenAI Containers nor Unikraft 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, and boat also places sandboxes on other hosts. Unikraft states cold starts under 10 ms; that is its own figure and measures 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 Unikraft Cloud 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 monthUnikraft Cloud, 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$39 · Hobby$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$39 · Hobby$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 limitsNot ranked: misses a requirement$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 limitsNot ranked: misses a requirement$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 limitsNot ranked: misses a requirement$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.

Unikraft Cloud: Unikraft charges a flat monthly fee for a pool of running capacity: free for 2 vCPU / 4 GiB, $39 for 8 vCPU / 8 GiB, $199 for 24 vCPU / 32 GiB. Standby instances do not count against the pool. It publishes no per-hour, disk or egress price, so anything bigger is an Enterprise quote.

Unikraft Cloud: 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.

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 per size. Unikraft fits one agent on workdays or all month on its $39 Team pool, which that one agent fills. No self-serve pool holds 50 agents, 300 user sandboxes or 1,000 jobs at once, so those need Enterprise. boat fits all but the 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).

ScenarioOpenAI ContainersUnikraft Cloudboat
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
  • flat pool: the tier is billed whether used or not
  • disk beyond 0 GiB: price unknown
  • 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
  • flat pool: the tier is billed whether used or not
  • disk beyond 0 GiB: price unknown
  • 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
  • no pool tier with 200 vCPU / 400 GiB for 50 VMs
  • no published per-resource rate
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)
  • no pool tier with 600 vCPU / 1,200 GiB for 300 VMs
  • no published per-resource rate
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)
  • no pool tier with 2,000 vCPU / 4,000 GiB for 1,000 VMs
  • no published per-resource rate
  • 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. Best 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, and by default it expires on its own when idle.
  • 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.

Use Unikraft Cloud when

you run many small services or browsers from your own Dockerfile that sleep most of the time and must wake at once, need US or Asia regions, or need SOC 2 Type II today.

  • Millisecond starts and scale-to-zero. Best for many small services that sleep most of the time and must answer the next request at once.
  • Your own image that keeps running. Your Dockerfile becomes the VM, it runs as root until you stop it, and checkpoints let you start copies of it with memory.
  • Regions, SOC 2 and your own hardware. Runs in the US, the EU and Singapore, has a compliance report today, and Enterprise adds GPUs, arm64, on-prem or your own cloud.

Where boat fits

If you run coding agents, boat gives each one a whole Linux VM with the tools already in place. Hosted OpenAI containers expire when idle and run without sudo. Unikraft runs your image as root and sleeps it in milliseconds, but SSH, a desktop and the agent are things you build into the image. boat has SSH, a desktop and seven coding agents installed, within its plan's start limits.

Root, Docker and /dev/kvm

Agents install packages and start databases in Docker. OpenAI runs commands without sudo. Unikraft documents no container runtime inside a running instance, and nested virtualization needs Enterprise. boat has Docker and /dev/kvm in every sandbox.

A disk that stays and SSH built in

An OpenAI container loses its files when it expires. Unikraft keeps volumes, and you set up SSH with sshd in your image and a tunnel. boat saves the disk every minute and gives SSH and token-gated HTTPS on 50 ports with no setup.

Agents and keys at fleet size

boat installs Claude Code, Codex and more, drives them from outside, and has an optional key proxy on every plan. Unikraft's secret injection is Enterprise only, and 50 agents at 4 vCPU / 8 GB exceed every self-serve pool.

Use boat when your agents need a real machine they keep: root, Docker, a disk kept across stops, SSH and open ports, a built-in desktop, and coding agents you drive from outside. Compare it one to one: boat vs OpenAI Containers and boat vs Unikraft Cloud.

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 Unikraft Cloud?

For one agent, no: one coding agent on workdays comes to $228 a month on OpenAI and $39 on Unikraft's Team pool, and one that never stops comes to $1,051 against $39. OpenAI also bills model tokens on top. On boat the same two come to $20 and $26.

Which one is faster?

Neither is in the public benchmarks we use, so we cannot say. Unikraft is built to start fast: it states cold boots in milliseconds and wakes on the next request. 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 OpenAI Containers or Unikraft Cloud run Docker?

OpenAI's hosted shell runs without sudo and documents no Docker; for full control, the Agents API can drive a sandbox you host. Unikraft uses your Dockerfile to build the VM, but its docs do not describe a container runtime inside a running instance. A boat sandbox has Docker, systemd and /dev/kvm ready to use.

Do files survive when the session ends?

Not on hosted OpenAI containers: data is discarded when the container expires. Unikraft keeps volumes and can snapshot memory when an instance goes into standby. boat saves the disk every minute and at each stop, and keeps it for at least 14 days after a stop.

Can I SSH into either one?

OpenAI documents no SSH or inbound ports for hosted containers. On Unikraft you set it up: run sshd in your image and connect through a TLS service port with socat or 'unikraft instances tunnel'. Every boat sandbox has SSH with no setup.

Is boat SOC 2 compliant?

No SOC 2 report today; SOC 2 is in progress. Unikraft states SOC 2 Type II today. Live boat status is at status.ascii.dev and our data retention policy is at docs.boat.dev/data-retention.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons