E2B vs Koyeb

Both give each sandbox its own microVM and wake it on the next request. E2B is built for short agent jobs that pause with their memory and fork. Koyeb is a wider serverless cloud with GPUs, bigger machines, your own Docker image and no session cap.

The companies and products

E2B

E2B calls itself the AI agent cloud: an API that gives each agent session its own isolated Linux machine.

Every E2B sandbox is a Firecracker microVM that boots from a snapshot, so it starts fast and can be paused and resumed with its memory. You build custom sandboxes from templates based on a Docker image, and drive them from Python or JavaScript SDKs. It is built for teams that run many short code, data or agent jobs. Its runtime is open source, and E2B Embed runs it on your own infrastructure.

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. “20th cheapest of 365” means 19 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 workloadE2B: price rankKoyeb: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
E2B runs Docker inside and pauses past 24 hours on Pro. Koyeb does not document Docker inside a sandbox, and you keep files with SDK snapshots or a preview volume. boat runs Docker, saves its disk with no code and has no session cap once auto-stop is off.
20th cheapest of 365
$4,143 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
One E2B run stops at 24 hours on Pro; your code pauses and resumes it, and memory survives. On Koyeb you keep the sandbox awake, or take an SDK snapshot before Deep Sleep discards the VM. On boat, turn auto-stop off on a paid plan (default 1 hour).
82nd of 361, with limits
$5,348 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
Both suit short code runs that wake on a request. Koyeb's small instances and scale to zero make it a strong fit. On boat each start counts against the plan's start cap.
43rd cheapest of 336
$421 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 wake a sleeping sandbox on the next request, and Koyeb runs in more regions. boat gives each user a full VM with up to 50 HTTPS URLs, and each start counts against the plan's start cap.
33rd cheapest of 349
$2,354 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
E2B forks a running sandbox with its memory, up to 20 copies per call, and allows 5 creates a second on Pro. Koyeb can start new sandboxes from an SDK snapshot with running processes. A boat fork copies the disk only.
5th cheapest of 349
$9,384 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
87th cheapest of 359
$1,975 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
CI that builds Android apps or VM images needs /dev/kvm. boat exposes it. E2B's docs list nested virtualization as not supported, and Koyeb does not document it.
338th of 374, with limits
$1,429 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
208th of 371, with limits
$358 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
E2B has a Linux desktop for computer use. On Koyeb you add a desktop and VNC to your own Docker image. boat streams a built-in desktop and Chrome at 1920x1080 and 60 fps.
34th cheapest of 367
$1,342 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
126th of 356, with limits
$746 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
62nd cheapest of 343
$554 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
226th of 327, with limits
$9,223 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
17th cheapest of 351
$1,043 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 an RTX 4000 SFF Ada up to H100, H200 and B200. E2B and boat have no GPU.
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

FeatureE2BKoyebboat
IsolationFirecracker microVM with its own kernel; shared vCPUsCloud Hypervisor microVM per instanceFull VM with its own kernel, on boat's own AMD Ryzen 7 9700X and Ryzen 9 9950X hosts; shared vCPUs
CPU benchmark (V8 Web Tooling, 4 vCPU / 8 GB, StarSling run of 3 October 2026)11.08 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, rank 2 of 15 (shared), on a Ryzen 9 9950X host
Biggest machine8 vCPU / 8 GiB self-serve, more on requestInstance types up to 40 vCPU / 128 GB, and GPU types larger still16 vCPU / 32 GB / 251 GB disk on the $100 plan and above
Session lengthOne run: up to 1 hour on Hobby, 24 hours on Pro; pausing and resuming resets the clockNo forced cap; auto-delete timers are optionalNo cap once auto-stop is off on a paid plan; auto-stop defaults to 1 hour, up to 30 days
Disk that survivesA paused sandbox keeps memory and disk, kept indefinitely; 20 GiB on ProLocal disk is lost on redeploy and in Deep Sleep; you keep files with SDK snapshots, or a volume (preview, 1 to 10 GB, not on eco instances)Saved every minute and at each stop with no code; kept at least 14 days, longer with a saved snapshot; 51 GB at 4 vCPU
Pause and wakePauses with memory, resumes in about 1 second, can wake on the next requestScales to zero after 5 idle minutes and wakes on the next request; Light Sleep wakes in about 200 ms (preview); not on eco instancesNo; you start a stopped sandbox by API, CLI or dashboard; resume is like a reboot
ForkFork a running sandbox with its memory, up to 20 copies per callSDK snapshots of the filesystem, or with running processes, then new sandboxes from themFork a running sandbox from its last 1-minute disk snapshot; writes from the last minute or so can be missing
Docker and nested virtualizationDocker inside; docs list nested-virtualization runtimes as not supportedSandboxes start from Docker images; Docker inside a sandbox and /dev/kvm are not documentedDocker, root, systemd and /dev/kvm on every sandbox
Inbound accessHTTPS URL per port, public by default unless you turn on a token; no public IP per sandboxOne exposed HTTPS port at a time, plus an optional TCP proxy to one port (preview); no dedicated IPHTTPS URLs for up to 50 ports, token-protected by default; raw TCP or UDP on the sandbox IP, which changes at each resume
Outbound rulesAllow and deny lists by IP, CIDR or domainBlock all outbound traffic, or allow listed IPs and CIDRsOpen internet; no provider-side allowlist
Desktop and browserE2B Desktop sandbox with VNC streamingNo desktop or browser preinstalled; you can add them to your own Docker imageBuilt-in desktop and Chrome at 1920x1080 and 60 fps, with computer tools for agents
Coding agentsTemplates and guides; you run the agent CLI through the command APIDefault image installs Mistral Vibe, Codex, Gemini and OpenCode, run through the command APISeven harnesses installed, with a prompt, steer and events API
Keeping API keys out of the sandboxSecrets injected into outbound HTTPS headers, in private betaSecrets set as environment variables inside the serviceOptional proxy ($1 a day while on, plus $1 per 1,000 requests) for supported model providers and custom HTTPS APIs
GPUs and regionsNo GPU; US by default, EU and APAC enabled by supportRTX 4000 SFF Ada up to H100, H200 and B200; EU, US and AsiaNo GPU; Germany, Finland and France, no US or Asia region
Every feature Battleships tracks (43)
FeatureE2BKoyebboat
Full VM (own kernel)YesYesYes
Docker insideYesNot publishedYes
Nested virtualizationNo documented wayNo documented wayYes
RootYesNot publishedYes
SystemdYesNot publishedYes
Desktop GUIYesNo documented wayYes
BrowserYesNo documented wayYes
Computer-use APIYesNo documented wayYes
SSHYesNo documented wayYes
Persistent diskYesWith your own setupYes
Pause/resumeYesYesYes
Automatic snapshotsYesYesYes
Fork/cloneYesYesYes
Live fork (no pause)YesNot publishedYes
Memory forkYesYesNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsYesYesYes
Idle auto-stopYesYesNo documented way
Wake on requestYesYesNo 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-hostingYesYesNo documented way
BYOCYesYesNo documented way
Open sourceYesNo 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
SSONo documented wayYesNo documented way
SOC 2YesYesNo documented way
HIPAAYesNo documented wayNo documented way
EU data residencyYesYesNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

E2B11.08 runs/s
KoyebNot measured
boat28.06 runs/s

In StarSling's run of 3 October 2026 (run 37073680030), the V8 Web Tooling Benchmark at 4 vCPU / 8 GB did 28.06 runs/s on boat, second of 15, and 11.08 on E2B, rank 7 (shared). That is about 2.5x. 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.

ScenarioE2B, 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
$202 · Pro$29 · Pro$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$368 · 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,773 · 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
$1,395 · Pro+ (600 concurrent)$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
$2,797 · Pro++ (1,100 concurrent)$485 · Scale · with limits$8,800 · $2000/mo · with limits

E2B: E2B bills $0.000014 per vCPU-second and $0.0000045 per GiB-second while a sandbox runs, idle included: $0.33 an hour for 4 vCPU / 8 GiB. A paused sandbox costs nothing. Hobby costs $0 with a one-time $100 credit. Pro costs $150 a month for higher limits, with no usage credit. Pro+ ($650) and Pro++ ($1,150) raise concurrency to 600 and 1,100 sandboxes.

Koyeb: Koyeb bills each instance per second at a fixed price per instance type: eco-xlarge (4 vCPU / 8 GB, 20 GB disk) costs $0.0576 an hour and xlarge (8 vCPU / 8 GB, 80 GB disk) $0.1152. The idle period before sleep bills at the full rate, and Deep Sleep costs nothing. Pro costs $29 a month with $10 of usage included, and Scale $299 a month with $100 included. Bandwidth above 1 TB a month costs $0.02 per GB in the US and EU.

Koyeb: 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, busy or idle. A stopped sandbox has no compute charge, and boat 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, 60 an hour and 200 a day; create, fork and resume each count as one start, and an extra start costs $0.03 to $0.07. A card is required, also for the 7-day trial.

Limits in those scenarios

One E2B run stops at 24 hours on Pro, so E2B needs a daily pause for the always-on scenario and is marked as not fitting as-is. E2B Pro includes 20 GiB of disk. Koyeb's priced shape for 4 vCPU / 8 GB is eco-xlarge, with a 20 GB local disk and no volume, so it does not keep the 50 GB disk that the workday and always-on scenarios ask for. Koyeb volumes stop at 10 GB and are in preview. Koyeb does not document Docker inside a sandbox, so the 50-agent fleet does not fit. E2B Pro++ fits 1,000 short jobs at once and queues bursts above 300 starts a minute. boat's limits: auto-stop defaults to 1 hour, and each plan caps starts. For 1,000 short jobs at once, even the $2,000 plan needs paid extra starts and refuses starts above 270 a minute, so boat does not fit. boat has no US or Asia region and no GPU.

ScenarioE2BKoyebboat
One coding agent, workdays
  • disk beyond 20 GiB: price unknown
  • egress price not published
  • 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
  • egress price not published
  • disk beyond 20 GiB: price unknown
None for this scenario
50 agents in parallel
  • egress price not published
  • not confirmed: Docker inside
None for this scenario
Sandboxes for your users
  • egress price not published
None for this scenarioNone for this scenario
1,000 short jobs at once
  • egress price not published
  • bursts above 300 starts/min are queued (a burst of 333 takes ~2 min to start)
  • 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 E2B when

you run many short jobs that pause with their memory, fork from the same state, need Docker inside, or need domain-level outbound rules.

  • Memory pause and fork. For short jobs that sleep between requests, E2B resumes in about a second with processes running and forks with memory.
  • Domain-level outbound rules and Docker. E2B can allow or block outbound traffic by domain as well as IP, and runs Docker inside every sandbox.
  • Self-hosting. Teams that want to run the code themselves get an Apache-2.0 runtime and E2B Embed, plus their own cloud on Enterprise.

Use Koyeb when

your sandboxes need GPUs, big machines, your own Docker image or long sessions, or should sleep when idle next to apps you already host there.

  • GPUs on the same platform. When an agent or eval needs a GPU, Koyeb runs instances from RTX 4000 cards up to H100, H200 and B200.
  • Bigger machines, your own image, no session cap. Koyeb goes up to 40 vCPU / 128 GB, starts from any Docker image and does not force a session length.
  • Apps and sandboxes together. Teams already hosting apps on Koyeb can run sandboxes next to them, in regions across the EU, US and Asia.

Where boat fits

If your agents do hours of installs, builds, Docker, emulators and a browser, look at boat. It gives each agent a full VM that saves its disk with no code, with agents, a desktop and HTTPS URLs built in. It has no session cap once auto-stop is off on a paid plan (default 1 hour).

Disk saved with no code

On E2B your code pauses and resumes past 24 hours on Pro. On Koyeb you take SDK snapshots or attach a preview volume of up to 10 GB. boat saves the disk every minute and at each stop. A boat resume is like a reboot, and a machine failure loses writes after the last good snapshot.

Docker, /dev/kvm and more CPU work

E2B's docs list nested virtualization as not supported, and Koyeb documents neither Docker inside a sandbox nor /dev/kvm. boat has both. In StarSling's run of 3 October 2026, boat did 28.06 V8 Web Tooling runs/s and E2B 11.08; Koyeb is not in that run.

Agents, desktop and ports built in

On both you run agents through a command API. Koyeb exposes one HTTPS port at a time and has no desktop in its default image, and E2B's key injection is in private beta. boat has seven agents with a prompt API, an optional paid key proxy, a 60 fps desktop and up to 50 HTTPS URLs.

Use boat when your agents do hours of work on a full VM that saves its disk with no code: builds, Docker, emulators, a desktop with Chrome and preview servers, with agents installed. Turn auto-stop off on a paid plan for long work (default 1 hour). Compare it one to one: boat vs E2B 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 E2B cheaper than Koyeb?

For sandboxes for your users (2 vCPU / 4 GB, 30,000 ten-minute sessions), Koyeb costs $329 a month and E2B $1,395. For one 4 vCPU / 8 GB agent that never stops, Koyeb's eco-xlarge costs about $42 of compute plus the $29 Pro fee ($10 included), but its 20 GB disk takes no volume, so it does not keep the 50 GB disk that scenario asks for. E2B needs a daily pause there. boat costs $200 for the user sandboxes and $26 for the always-on agent.

Which is faster, E2B or Koyeb?

Koyeb is not in the public benchmarks we use, so we cannot say. In StarSling's run of 3 October 2026, E2B did 11.08 V8 Web Tooling runs/s at 4 vCPU / 8 GB, and boat did 28.06 on a Ryzen 9 9950X host. boat does not promise a CPU model.

Can an E2B or Koyeb sandbox run for days?

Yes on both. One E2B run stops after 24 hours on Pro and 1 hour on Hobby; pausing and resuming resets the clock and keeps memory. Koyeb has no forced cap; its auto-delete timers are optional. boat has no session cap once auto-stop is off on a paid plan.

Can E2B and Koyeb run Docker and Android emulators?

E2B runs Docker inside the sandbox. Koyeb sandboxes start from Docker images, but Koyeb does not document Docker inside them. E2B's docs list nested virtualization as not supported, and Koyeb does not document it. boat runs Docker and exposes /dev/kvm for emulators and VMs.

Does Koyeb or E2B have GPUs?

Koyeb does, from an RTX 4000 SFF Ada up to H100, H200 and B200, billed per second. E2B and boat have no GPU.

Do they keep files when a sandbox sleeps?

A paused E2B sandbox keeps its memory and disk. On Koyeb, Deep Sleep discards the VM, so you keep files with an SDK snapshot or a preview volume. boat saves its disk every minute and at each stop, and keeps a stopped disk at least 14 days; it does not save memory.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons