Vercel Sandbox vs Koyeb

Both run each sandbox in its own microVM. Vercel Sandbox is built for runs of untrusted code in 19 regions, with 24-hour sessions that resume from a snapshot. Koyeb runs sandboxes as services that start from any Docker image, can sleep when idle, wake on the next request, and run on GPUs.

The companies and products

Vercel Sandbox

Vercel is a cloud platform for web apps and agents, and Vercel Sandbox is its product for running untrusted or agent-written code in isolated Linux microVMs.

Each sandbox is a Firecracker microVM with its own kernel, started from a Vercel image, your own OCI image, or a saved snapshot. You drive it with the JavaScript or Python SDK or the sandbox CLI: run commands, move files, open ports, fork sandboxes, mount Drives and set network rules. Sandboxes are persistent by default: each stop saves the filesystem, and the next session resumes from it. Vercel aims it at code interpreters, app builders, test runs, developer environments and agent workspaces. Its docs suggest a VM for 24/7 hosting.

Koyeb

Koyeb is a serverless cloud for apps, inference and sandboxes. In February 2026 it agreed to join Mistral AI.

A Koyeb sandbox is a Koyeb service: a microVM that starts from any Docker image. You drive it from Python or JavaScript SDKs or the Koyeb CLI: run commands, read files, expose a port and take snapshots. The default image comes with four coding agents. A sandbox can scale to zero when idle and wake on the next request, on CPU or GPU instance types. It suits teams that run AI agents or untrusted code next to apps they already host on Koyeb.

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. “27th cheapest of 336” means 26 of the other 335 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 workloadVercel Sandbox: price rankKoyeb: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
Both are a compromise for a software factory. Vercel ends each session at 24 hours and has no nested virtualization. Koyeb's local disk is lost on redeploy unless you snapshot it or attach a volume, and it documents no Docker inside a sandbox. boat fits with Docker, /dev/kvm and a built-in desktop.
259th of 365, with limits
$3,351 a month
92nd of 365, with limits
$366 a month
5th cheapest of 365
$634 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
Both are a compromise for an assistant that lives on its machine all month. Vercel resumes across 24-hour sessions, but processes start again. On Koyeb you keep the sandbox awake, or take an SDK snapshot before Deep Sleep discards the VM.
75th of 361, with limits
$3,657 a month
194th of 361, with limits
$923 a month
6th cheapest of 361
$657 a month
Code interpreter bursts
100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month
Short code bursts fit both. Koyeb has small instances that scale to zero ($66 a month here), and Vercel bills CPU only while code uses it ($216).
27th cheapest of 336
$216 a month
6th cheapest of 336
$66 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
Both fit sandboxes for your own users: Koyeb at $495 a month in this preset, Vercel at $1,267. boat fits at $209.
25th cheapest of 349
$1,267 a month
8th cheapest of 349
$495 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
Vercel fits many short parallel rollouts, with high concurrency and fast starts. Koyeb is a compromise here.
7th cheapest of 349
$15,761 a month
233rd of 349, with limits
$1,631 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
81st cheapest of 359
$1,508 a month
27th cheapest of 359
$429 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
112th cheapest of 374
$1,144 a month
143rd of 374, with limits
$88 a month
2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
Both are a compromise for a dev box that stays up all day. Vercel's session stops every 24 hours; Koyeb needs a volume or snapshots to keep files. On boat, turn auto-stop off (default 1 hour) and the disk is saved every minute.
283rd of 371, with limits
$145 a month
232nd of 371, with limits
$37 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
Neither has a built-in desktop. On Vercel you install a browser or desktop with root; on Koyeb you add a desktop and VNC to your own Docker image. boat streams a 60 fps desktop with computer tools.
263rd of 367, with limits
$952 a month
128th of 367, with limits
$123 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
100th of 356, with limits
$486 a month
237th of 356, with limits
$123 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
109th cheapest of 343
$468 a month
242nd of 343, with limits
$89 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
234th of 327, with limits
$9,960 a month
67th of 327, with limits
$1,683 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
31st cheapest of 351
$554 a month
261st of 351, with limits
$299 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
Koyeb runs GPU instances from RTX 4000 cards up to H100, H200 and B200. Vercel Sandbox and boat have no GPUs.
Not ranked: misses a requirement3rd cheapest of 102
$628 a month
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 requirementNot ranked: misses a requirementNot ranked: misses a requirement

Key features

FeatureVercel SandboxKoyebboat
IsolationFirecracker microVM with its own kernelCloud Hypervisor microVM per instanceFull VM with its own kernel, on physical hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared
Longest session24 hours per session on Pro and Enterprise, 45 minutes on Hobby; a persistent sandbox then resumes from its snapshot, with no cap on total lifetimeNo forced cap; auto-delete timers are optionalNo session cap once you turn auto-stop off on a paid plan; auto-stop defaults to 1 hour and goes up to 30 days
Saving filesFilesystem snapshot at every stop, on by default, $0.08/GB-month; expires 30 days after last use, or never if you set it. Plus Drives: mounted storage kept until you delete itLocal disk is lost on redeploy and in Deep Sleep; SDK snapshots save the filesystem, or also running processes; volumes (preview, 1 to 10 GB, two regions, not on eco instances) persistDisk saved every minute and at each stop, with no code and at no charge; a stopped disk is kept at least 14 days; saved snapshots never expire
Sleep and wakeNo idle auto-stop; runs until its timeout or stop()Scales to zero after an idle period (5 minutes minimum) and wakes on the next request; Light Sleep wakes in about 200 ms (preview); not on eco instancesStop and start by API; auto-stop is a timer (default 1 hour), not an idle check
CPU speed (V8 Web Tooling, 4 vCPU / 8 GB, StarSling run of 3 October 2026)12.66 runs/s, rank 7 of 15 (shared)Not in the public benchmarks we use; at least 0.25 dedicated vCPU per GB of memory, bursting to all cores28.06 runs/s, 2nd of 15 (shared), on a Ryzen 9 9950X host
Biggest machine8 vCPU / 16 GB on Pro, 32 vCPU / 64 GB on EnterpriseInstance types up to 40 vCPU / 128 GB, and GPU types larger still16 vCPU / 32 GB on the $100 plan and above
GPUsNoRTX 4000 SFF Ada up to H100, H200, B200 and multi-GPU; some types need access on requestNo
Docker and nested virtualizationDocker with sudo; no /dev/kvmStarts from any Docker image; Docker inside a sandbox and /dev/kvm are not documentedDocker with root and systemd, and /dev/kvm for Android emulators and VMs
Desktop, browser, computer useNo built-in desktop, browser or computer-use API; you install Chromium and agent-browser yourself (root access, Vercel guide) or connect an external cloud browserNo desktop or browser preinstalled; you can add them to your own Docker imageBuilt in: 1920x1080, 60 fps desktop and Chrome, computer tools and a browser-control API, embeddable stream
Coding agentsClaude Code, Codex, OpenCode and pi preinstalled; you start them as commandsDefault image preinstalls Mistral Vibe, Codex, Gemini and OpenCode, run through the command APISeven agents preinstalled, with an API to prompt, steer and stream events
Inbound accessPublic URLs for up to 15 ports, no built-in auth; no SSH server, raw TCP or public IPOne exposed HTTPS port at a time, plus an optional TCP proxy to one port (preview); no dedicated IPUp to 50 HTTPS URLs, token-gated by default; SSH; raw ports over IPv6 (some sandboxes have no IPv4 of their own); no static IP
Egress rulesAllow-all, deny-all or a domain and CIDR allowlist, changeable while running; static IPs on EnterpriseBlock all outbound traffic, or allow only listed IPs and CIDRs, from the SDKNo provider-side allowlist; firewall inside the VM
Keeping API keys out of the sandboxCredentials brokering injects headers for any HTTPS domain you allowSecrets are set as environment variables inside the serviceOptional AI credentials proxy ($1 per day while on, plus $1 per 1,000 requests) for model providers and any HTTPS API you add
Regions19 regions across the US, Europe, Asia, South America, Africa and AustraliaFrankfurt, Paris, Washington D.C., AWS US East, Singapore, Tokyo, plus San Francisco in previewGermany, Finland and France; you cannot pick a region; no US or Asia region
Every feature Battleships tracks (43)
FeatureVercel SandboxKoyebboat
Full VM (own kernel)YesYesYes
Docker insideYesNot publishedYes
Nested virtualizationNo documented wayNo documented wayYes
RootYesNot publishedYes
SystemdNot publishedNot publishedYes
Desktop GUINo documented wayNo documented wayYes
BrowserWith your own setupNo documented wayYes
Computer-use APINo documented wayNo documented wayYes
SSHNo documented wayNo documented wayYes
Persistent diskYesWith your own setupYes
Pause/resumeYesYesYes
Automatic snapshotsYesYesYes
Fork/cloneYesYesYes
Live fork (no pause)YesNot publishedYes
Memory forkNo documented wayYesNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsYesYesYes
Idle auto-stopNo documented wayYesNo documented way
Wake on requestNo documented wayYesNo documented way
HTTPS preview URLsYesYesYes
Raw TCP inboundNo documented wayYesYes
Public IPv4No documented wayNo documented wayNo documented way
Egress allowlistYesYesNo documented way
Secret proxyYesNo documented wayYes
Secret proxy for any APIYesNo documented wayYes
Preinstalled agentsYesYesYes
Agent harness APINo documented wayNo documented wayYes
MCP serverYesYesNo documented way
GPUNo documented wayYesNo documented way
WindowsNo documented wayNo documented wayNo documented way
Arm64No documented wayNo documented wayNo documented way
Self-hostingNo documented wayYesNo documented way
BYOCNo documented wayYesNo documented way
Open sourceNo documented wayNo documented wayNo documented way
Scoped API keysNot publishedNot publishedYes
Spend limitsYesNo documented wayYes
Usage per sandbox (API)No documented wayNo documented wayYes
Audit logsNot publishedYesNo documented way
SSOYesYesNo documented way
SOC 2YesYesNo documented way
HIPAAYesNo documented wayNo documented way
EU data residencyYesYesNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

Vercel Sandbox12.66 runs/s
KoyebNot measured
boat28.06 runs/s

On the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, boat did 28.06 runs per second and Vercel Sandbox did 12.66 (about 2.2x), in StarSling's run of 3 October 2026 (run 37073680030). Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host. boat also places some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure. Providers ran on different hardware in different regions. Koyeb is not in the public benchmarks we use, so we cannot say how it compares. Koyeb publishes a CPU share of at least 0.25 dedicated vCPU per GB of memory, bursting to all cores.

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. Koyeb is 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.

ScenarioVercel Sandbox, a monthKoyeb, 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
$57 · Pro$29 · Pro$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$236 · Pro · with limits$57 · 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
$2,884 · Pro$475 · Pro · 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
$828 · Pro$329 · Scale$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
$3,152 · Pro$485 · Scale · with limits$8,800 · $2000/mo · with limits

Vercel Sandbox: Vercel charges for CPU only while your code uses it ($0.128 per vCPU-hour in iad1), and for memory for the whole time the sandbox runs, idle time included ($0.0212 per GB-hour). It adds $0.60 per million sandboxes created, $0.08 per GB-month of snapshots, and $0.05 per GB-month for Drives plus reads and writes. The $20 Pro fee is usage credit shared with your other Vercel usage.

Koyeb: Koyeb bills each instance per second from the moment it starts, at a fixed price per instance type: eco-xlarge (4 vCPU / 8 GB, 20 GB disk) costs $0.0576 an hour. The idle period before sleep bills at the full rate; Deep Sleep costs nothing. Pro costs $29 a month with $10 of usage included, and Scale $299 a month with $100 included; the rest of the fee is not credit.

Koyeb: boat charges a flat price per size, per second, while the sandbox runs, busy or idle: $0.036 an hour for 4 vCPU / 8 GB. Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. A stopped sandbox has no compute charge, but saved snapshots above the plan's count and the optional AI credentials proxy still charge. Starts above the plan's included number cost $0.03 to $0.07 each.

Limits in those scenarios

For one agent that never stops, Vercel ends each session at 24 hours; the sandbox resumes from its snapshot, but running processes start again. Koyeb's priced shape, eco-xlarge, has a 20 GB disk with no published price for more, takes no volume and does not scale to zero. For 50 agents with Docker inside, Koyeb documents no Docker in a sandbox. For 1,000 short jobs at once Vercel fits, though its vCPU allocation starts at 150 a minute and climbs with steady use; Koyeb's eco CPU is guaranteed only at 0.25 vCPU per GB of memory. boat does not fit that burst either: its $2,000 plan includes 90 starts a minute, 600 an hour and 2,400 a day, starts above that are paid, and starts above 270 a minute fail with 429. Other boat limits: a stopped disk is kept at least 14 days unless you save a snapshot, no GPU, and no US or Asia region.

ScenarioVercel SandboxKoyebboat
One coding agent, workdaysNone for this scenario
  • disk beyond 20 GiB: price unknown
None for this scenario
One agent that never stops
  • Pro: sessions capped at 24 h
  • disk beyond 20 GiB: price unknown
None for this scenario
50 agents in parallelNone for this scenario
  • not confirmed: Docker inside
None for this scenario
Sandboxes for your usersNone for this scenarioNone for this scenarioNone for this scenario
1,000 short jobs at onceNone for this scenario
  • burstable CPU: 50% of each vCPU guaranteed, throttled above that
  • 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 Vercel Sandbox when

you run many short bursts of untrusted code, already build on Vercel, or need to run close to users in many regions.

  • Regions all over the world. Useful if your users are spread out: Vercel Sandbox runs in 19 regions, from Virginia to Tokyo, Sydney and Cape Town.
  • A firewall you control from outside. A running sandbox can switch to deny-all, or to a list of allowed domains, without a restart.
  • Snapshots on by default. Every stop saves the filesystem with no code, and the next session resumes from it by name.

Use Koyeb when

your sandboxes need GPUs, sleep most of the time and must wake on a request, start from your own Docker image, or run for longer than a day.

  • GPUs in the same platform. Useful when an agent or eval needs a GPU: Koyeb runs instances from RTX 4000 cards up to H100, H200 and B200.
  • Sleep when idle, wake on request. Good for sandboxes that sit idle between requests: Koyeb scales them to zero and wakes them on the next one.
  • Lower bills in our scenarios. Koyeb costs less than Vercel in all five of our scenarios, from $29 a month for one workday agent.

Where boat fits

If your agents work for hours on one machine, both leave gaps: Vercel ends each session at 24 hours, and on Koyeb you set up persistence yourself. boat gives each agent a full VM that saves its disk every minute, with a built-in desktop, Docker, /dev/kvm and an API to drive the agents inside. boat runs only in Europe, has no GPU and caps starts per plan.

A disk that stays, saved every minute

Vercel snapshots at each stop, and processes start again after 24 hours. Koyeb loses the local disk on redeploy and in Deep Sleep, so you add a preview volume of 1 to 10 GB or call SDK snapshots. boat needs no code. It does not save memory, and a machine failure loses writes after the last good snapshot.

A desktop, a browser and /dev/kvm

Neither has a built-in desktop or browser. You install one with root on Vercel, or add one to your Docker image on Koyeb. Vercel has no nested virtualization and Koyeb does not document it, so Android emulators have no documented path.

Agents, keys and ports handled for you

On both, coding agents run as plain commands, and you write the code to prompt and steer them. Vercel exposes 15 ports with no built-in auth, and Koyeb one port at a time with keys as environment variables. boat gives 50 token-gated HTTPS URLs and an optional credentials proxy.

Use boat when your agents work for hours on a machine that saves its disk for you: builds, Docker, emulators, a built-in desktop with a browser and preview servers, with an API to drive the agents inside. Check the start limits of your plan first. Compare it one to one: boat vs Vercel Sandbox and boat vs Koyeb.

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 Vercel Sandbox cheaper than Koyeb?

No, Koyeb costs less in all five of our scenarios. One workday agent costs $29 a month on Koyeb and $57 on Vercel, and 300 user sandboxes cost $329 and $828. For 50 parallel agents Koyeb is $475, but it does not confirm Docker inside. For 1,000 short jobs at once Koyeb is $485, but its eco CPU throttles; Vercel fits at $3,152. boat is $20, $200 and $317 for the first three; it does not fit the 1,000-job burst.

Which is faster, Vercel Sandbox or Koyeb?

We cannot say, because Koyeb is not in the public benchmarks we use. Vercel Sandbox did 12.66 V8 Web Tooling runs per second at 4 vCPU / 8 GB, and boat did 28.06 on a Ryzen 9 9950X host, in StarSling's run of 3 October 2026.

Can Vercel Sandbox or Koyeb run 24/7?

Koyeb can: a sandbox keeps running until you delete it, though its local disk is lost on redeploy unless you snapshot it or attach a volume. Vercel Sandbox sessions stop after 24 hours on Pro and Enterprise and resume from a snapshot with processes started again. boat runs with no session cap once auto-stop is off on a paid plan.

Can they run Docker and Android emulators?

Vercel Sandbox runs Docker inside with sudo. Koyeb sandboxes start from any Docker image, but Koyeb does not document Docker inside a sandbox. Vercel has no nested virtualization and Koyeb does not document it, so Android emulators have no documented path on either. boat runs Docker with root and systemd and exposes /dev/kvm.

Which one has GPUs?

Koyeb does, from an RTX 4000 SFF Ada up to H100, H200 and B200, billed per second. Vercel Sandbox and boat are CPU only.

Is boat SOC 2 compliant?

No SOC 2 report today: SOC 2 is in progress. Vercel has SOC 2 Type 2 and ISO 27001, and Koyeb lists ISO 27001 and SOC 2 on its Enterprise plan. Live status is at status.ascii.dev and our data retention policy at docs.boat.dev/data-retention.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons