Northflank vs OpenAI Containers
Northflank gives you sandboxes you deploy from your own image and run as long as you want, on a platform that also runs apps, databases and GPUs. OpenAI Containers are a tool inside OpenAI's model API: the model runs Python or shell commands in a fixed Debian box that, by default, expires after 20 minutes without use.
The companies and products
Northflank
Northflank is a London developer platform for running services, jobs and databases on Kubernetes, and Sandboxes is its product for running untrusted code.
A Northflank sandbox is a container image deployed as a service. CPU sandboxes run in Kata microVMs with their own kernel, and GPU sandboxes run under gVisor. You create and drive them from the JavaScript or Python SDK, the CLI or the dashboard, on Northflank's cloud or inside your own. It suits teams that want one platform for apps, databases, GPUs and sandboxes.
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. “44th cheapest of 361” means 43 of the other 360 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 | Northflank: 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 coding agent needs root, Docker and files that stay. On Northflank you snapshot the filesystem before a pause or use volumes. A hosted OpenAI container runs without sudo, documents no Docker and discards files when it expires; you can connect the Agents API to a sandbox you host instead. | 186th of 365, with limits $1,413 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 can run on Northflank (20th here, with your own setup) until you pause it. An OpenAI container expires after an idle time you set (default 20 minutes), and its files go with it. boat ranks 6th; turn off auto-stop (default 1 hour). | 44th cheapest of 361 $2,551 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 This is what OpenAI Containers are built for, with no machine to manage. Northflank's small per-second plans from 0.1 vCPU also fit short code runs well. | 91st of 336, with limits $114 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 Northflank can give each user a sandbox with HTTPS ports. OpenAI documents no inbound ports for hosted containers. boat ranks 3rd here, with up to 50 HTTPS URLs per sandbox. | 94th of 349, with limits $810 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 | 333rd of 349, with limits $1,742 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 | 139th of 359, with limits $685 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 needs Docker and open internet, which Northflank has (35th here). OpenAI documents no Docker or root, and Code Interpreter containers have no internet until an admin allows domains. boat ranks 2nd, and each CI job counts as a start. | 36th cheapest of 374 $347 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 A dev box you SSH into and keep is possible on Northflank; you snapshot the filesystem before a pause or use volumes. Hosted OpenAI containers document no SSH, and their files go when they expire. | 124th cheapest of 371 $106 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. On Northflank you install a desktop and a stream in your own image. boat streams a 60 fps desktop you can embed. | 189th of 367, with limits $367 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 | 83rd of 356, with limits $359 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 | 94th cheapest of 343 $200 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 | 83rd of 327, with limits $2,031 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 | 43rd of 351, with limits $180 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 Northflank ranks 5th here, with GPU sandboxes from L4 to H100, H200 and B200. OpenAI Containers and boat have no GPUs. | 5th cheapest of 102 $692 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 | Northflank | OpenAI Containers | boat |
|---|---|---|---|
| What it is | A sandbox you deploy from a container image, on a platform that also runs apps, jobs and databases | A sandbox tool the model uses inside OpenAI's API | A cloud VM you create, keep, stop and reach from outside |
| Isolation | Kata microVM with its own kernel for CPU; gVisor for GPU | A fully sandboxed virtual machine; hypervisor not named | Full VM with its own kernel, on AMD Ryzen 7 9700X and Ryzen 9 9950X hosts dedicated to boat; vCPUs are shared |
| Root and Docker | Docker can run inside, since each sandbox has its own kernel | Commands do not run with sudo; no Docker documented; a self-hosted Agents API sandbox gives you your own machine | Root, systemd, Docker and /dev/kvm on every sandbox |
| Custom image | Any container image you build | Fixed Debian 12 image; you upload files or skills into each container | boat's image or a saved snapshot as a template; you cannot boot your own Docker image |
| What survives a stop | Attached volumes survive (billed while paused); the rest of the disk resets unless you snapshot the filesystem before the pause and restore it (microVM only) | Data is discarded when the container expires; Agents API files in /workspace/outputs stay downloadable as artifacts | The disk, saved every minute and at each stop with no code; kept at least 14 days; memory is not saved |
| Lifetime | Runs until you pause or delete it; no idle auto-pause | Expires after 20 minutes without use by default (expires_after can be set; no maximum published); Agents API sandboxes can be deleted after an hour without activity | Auto-stop defaults to 1 hour; up to 30 days, or off on a paid plan for no session cap |
| Snapshots and fork | Filesystem snapshots of a running or terminating sandbox, opt-in; restore into a new one | No snapshot or fork call documented; you create a new container and upload the same files | Automatic disk snapshots; fork a running sandbox from its last 1-minute snapshot |
| Machine size | Plans from 0.1 vCPU up to 20 vCPU / 40 GB, custom sizes on request | 1, 4, 16 or 64 GB of memory; vCPU not published. Agents API sandboxes: up to 4 vCPU / 16 GB | 2 vCPU / 4 GB to 16 vCPU / 32 GB (16 vCPU needs the $100 plan) |
| Inbound access | HTTP ports on a code.run domain or your own domain, private by default; SSH; public TCP and UDP through a separate load balancer | No inbound ports documented for hosted containers; you reach them through the API | SSH; up to 50 HTTPS URLs, token-gated by default; raw ports over IPv6 on sandboxes with no IPv4 of their own |
| Outbound internet | Open by default; network policies with allow lists by IP, CIDR or domain, documented for your own cluster | Code Interpreter and Hosted Shell: off until an admin sets an org domain allowlist; Agents API sandboxes: on, can be limited to 1 to 100 hosts | Open internet on every plan; no provider-side allowlist |
| Keeping API keys out of the sandbox | Header injection for listed hosts in the network policy API (documented for your own cluster) | domain_secrets: a sidecar adds the real header for approved domains, the model sees a placeholder | Optional paid proxy ($1 a day plus $1 per 1,000 requests) for supported model providers and HTTPS APIs you register |
| Coding agents | Harnesses with Claude Code, Codex, Cursor, OpenCode, Pi, OMP or Devin CLI; you reach them by terminal or SSH | Agents API (beta) drives a managed Codex harness from outside, with steering, events and webhooks | Seven agents installed, with a prompt, steer and events API |
| Desktop and browser | No built-in desktop; you install one in your own image; a Playwright guide covers browser agents | Hosted browser for the Agents API computer_use tool | 1920x1080, 60 fps Linux desktop, Chrome and computer tools for agents, embeddable stream |
| GPUs, regions and your own cloud | GPUs from L4 to H100, H200 and B200; 17 regions; run in your own cloud account | No GPUs; US or EU processing for Code Interpreter; Agents API can drive a sandbox you host | No GPU; Germany, Finland and France, no region choice, no US or Asia region |
Every feature Battleships tracks (43)
| Feature | Northflank | OpenAI Containers | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Yes | No documented way | Yes |
| Nested virtualization | No documented way | No documented way | Yes |
| Root | Not published | No documented way | Yes |
| Systemd | Not published | Not published | Yes |
| Desktop GUI | No documented way | Yes | Yes |
| Browser | With your own setup | 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 | Yes | No documented way | Yes |
| Automatic snapshots | Yes | No documented way | Yes |
| Fork/clone | Yes | No documented way | Yes |
| Live fork (no pause) | Yes | No documented way | Yes |
| Memory fork | No documented way | 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 | Yes | 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 | Yes | Yes | Yes |
| Preinstalled agents | Yes | No documented way | Yes |
| Agent harness API | No documented way | Yes | Yes |
| MCP server | No documented way | 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 | Yes | No documented way | No documented way |
| Self-hosting | Yes | Yes | No documented way |
| BYOC | Yes | No documented way | No documented way |
| Open source | No documented way | 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) | Yes | No documented way | Yes |
| Audit logs | Yes | Not published | No documented way |
| SSO | Yes | Yes | No documented way |
| SOC 2 | Yes | Yes | No documented way |
| HIPAA | Yes | Yes | No documented way |
| EU data residency | Yes | Yes | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
Northflank Sandboxes and OpenAI Containers are not in the public benchmarks we use, so we cannot say which is faster, and OpenAI does not publish the vCPU behind each container size. In StarSling's run of 3 October 2026 (run 37073680030), boat did 28.06 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, second of 15. 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.
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. Northflank 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 | Northflank, 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 | $30 · Developer Sandbox (free tier) | $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 | $106 · Developer Sandbox (free tier) | $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 | $1,290 · Developer Sandbox (free tier) | $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 | $359 · Developer Sandbox (free tier) · with limits | $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 | $684 · Developer Sandbox (free tier) · with limits | $6,000 · API pay as you go · with limits | $8,800 · $2000/mo · with limits |
Northflank: Northflank bills per second for the plan size you pick, with no monthly fee and no start fee; 4 vCPU / 8 GB is $0.1333 an hour. There is no idle auto-pause, so a sandbox bills until you pause it. Volumes cost $0.11657 per GiB a month, also while paused, and outbound traffic costs $0.06 per GB.
OpenAI Containers: OpenAI bills each container session by the minute for the memory size you pick, with a 5-minute minimum, and model tokens are billed separately on top. There is no plan fee. The scenarios use the 16 GB size ($1.44 an hour) for 8 GB needs and the 4 GB size for 4 GB needs, because vCPU is not published.
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; unused time does not carry over. 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. Saved snapshots above the included count and the optional AI credentials proxy still charge while sandboxes are stopped. The $20 plan includes 12 starts a minute and 200 a day; each extra start costs $0.03 to $0.07. A card is required, also for the 7-day trial.
Limits in those scenarios
On Northflank, files outside attached volumes survive a pause only if you snapshot the filesystem first. OpenAI Containers fit none of the five scenarios as written: hosted containers discard files when they expire, document no Docker or root, have no internet in Code Interpreter until an admin allows domains, and publish no vCPU. Neither Northflank nor OpenAI publishes how many sandboxes can run at once, so 300 or 1,000 at a time is not confirmed. boat's limits: a stopped disk is kept at least 14 days, and boat never queues a start. Even the $2,000 plan includes only 90 starts a minute and refuses starts above 270 a minute, so boat does not fit 1,000 short jobs at once.
| Scenario | Northflank | OpenAI Containers | 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 |
| Sandboxes for your users |
|
| None for this scenario |
| 1,000 short jobs at once |
|
|
|
Which one should you use?
Use Northflank when
you want sandboxes from your own image that run until you pause them, with GPUs, regions outside Europe, or your own cloud account.
- A sandbox you own and keep running. For agents that run for hours: a Northflank sandbox runs your own image until you pause it, with Docker and SSH.
- GPUs and regions around the world. For agents that need a GPU or users far from Europe: Northflank has L4 to H100, H200 and B200 cards and 17 regions.
- Your own cloud, and one platform. For teams that must run in their own AWS, GCP or Azure account, or want apps and sandboxes on one platform.
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.
- Nothing to manage or clean up. For short code runs: OpenAI creates the container, bills it by the minute, and 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.
Where boat fits
If your agents work on one machine for hours or days, Northflank needs snapshot or volume setup to keep files across a pause, and a hosted OpenAI container discards its files when it expires. boat gives each agent a full VM with root and Docker that saves its disk with no code, with the agent, a desktop and a browser inside. boat has no GPU, no US or Asia region, and caps starts per plan.
The disk is saved with no code
On Northflank, files outside volumes survive a pause only through a filesystem snapshot. An OpenAI container discards its data when it expires. boat saves the disk every minute and at each stop, and keeps it at least 14 days. A boat resume is like a reboot, and a machine failure loses writes after the last good snapshot.
Root, Docker and /dev/kvm
OpenAI's hosted shell runs without sudo and documents no Docker; for that you connect the Agents API to a machine you host. Northflank runs Docker but documents no /dev/kvm. boat has root, systemd, Docker and /dev/kvm for Android emulators.
Agents, a desktop and ports you can reach
Northflank Harnesses are reached by terminal or SSH, and its desktop is one you build. OpenAI documents no inbound ports for hosted containers. boat installs seven agents with a prompt and steer API, a 60 fps desktop, and up to 50 HTTPS URLs.
Use boat when your agents work on one machine for hours or days and should find their files as they left them: root, Docker, emulators, a desktop and a browser, with the agent driven from your code. boat runs only in Germany, Finland and France. Compare it one to one: boat vs Northflank 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 Northflank cheaper than OpenAI Containers?
In all five scenarios on this page, yes. One coding agent on workdays costs $30 a month on Northflank against $228 on OpenAI, and one agent that never stops is $106 against $1,051. boat costs $20 and $26. 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 and Northflank, with no plan fee, can cost less than boat's $20 plan.
Which is faster?
Neither is in the public benchmarks we use, and OpenAI does not publish the vCPU behind each container size, so we cannot say. boat did 28.06 V8 Web Tooling runs/s at 4 vCPU / 8 GB, second of 15 in StarSling's run of 3 October 2026, on a Ryzen 9 9950X host.
Can Northflank or OpenAI Containers run Docker?
A Northflank sandbox has its own kernel, so Docker can run inside. OpenAI's hosted shell runs without sudo and documents no Docker; a self-hosted Agents API sandbox runs on a machine you control. boat gives root, systemd, Docker and /dev/kvm on every sandbox.
Do they keep files between sessions?
Northflank keeps files on attached volumes when you pause, and a filesystem snapshot taken before the pause restores the rest. An OpenAI container discards its data when it expires, by default after 20 minutes without use. boat saves the disk at every stop with no code and keeps it at least 14 days.
Can I open a web app running inside the sandbox?
On Northflank, yes, through HTTP ports on a code.run domain or your own domain. OpenAI documents no ports, URLs or SSH for hosted containers. boat gives each sandbox up to 50 HTTPS URLs and SSH.
Does either one have GPUs?
Northflank has GPU sandboxes under gVisor with cards from L4 to H100, H200 and B200. OpenAI Containers and boat run on CPUs only.
Try boat
Install the CLI, then run boat new.
7-day free trial