Skip to content
All notes

Benchmark · November 26, 2026 · 9 min read

What happens when you launch 4,000 sandboxes at once?

Concurrency, cold starts, failure rates and the actual cost of one large eval run, measured end to end.

By Kalworks engineering

Most sandbox benchmarks time one machine. Nobody runs one machine. An RL rollout or an eval suite asks for thousands at the same moment, and that's where the queue, the image cache and the scheduler fall over. So we timed the case people actually have: one fleet, 4,000 tasks, all requested at once.

The setup

  • Workload: a SWE-style eval. Each task clones a pinned repo, applies the agent's patch and runs the test suite.
  • Machine: Standard 2 (2 vCPU, 8 GiB memory, 40 GiB disk), us-east.
  • Image: one pinned image, swe-env@sha256:9f2c…41ad, 3.1 GiB compressed.
  • Request: one fleets.create() call with slots=4000 and the default wait-for-capacity policy.
  • Runs: 12 runs over seven days, at different times of day. The numbers below are medians across runs unless we say otherwise.

The clock starts when our API accepts the create request. A sandbox counts as ready when its in-guest agent passes the health check and the task's first command can run. That's the moment billing starts, so it's the moment that matters to you.

Time to first ready machine

0.9 s p50, 1.6 s p95.

The first machines in a fleet come from a warm pool of snapshots that already have your image's root filesystem paged in. Restoring a microVM snapshot is mostly copying page tables, not booting a kernel. If you turn the warm pool off, the same number is 41 s p50, which is the figure on our benchmarks page: that path pulls the image, builds the root filesystem and boots from scratch.

Time to 1,000 ready machines

2 min 40 s p50.

This is the number that decides whether an overnight eval finishes overnight. The curve isn't linear. The first 200 come from the warm pool in a few seconds, then there's a shoulder while new hosts pull the image layers they don't have yet, then it climbs steadily as each host restores snapshots locally.

What made the biggest difference:

  1. Lazy image loading. Hosts start a machine before the whole image is local and fetch blocks on first read. Most eval tasks touch under 20% of their image.
  2. Per-host snapshot fan-out. Once one machine on a host is ready, we snapshot it and restore the rest of that host's slots from the snapshot.
  3. Admission in batches of 64. Asking the scheduler for 4,000 placements in one call made it slower, not faster.

Time to all 4,000 ready

9 min 50 s p50, capped by the capacity we hold in us-east, not by boot speed. If you need a whole fleet live before any task starts (for example, a synchronous RL step), use the wait-for-all policy and we'll show an honest estimate before you pay anything.

Interrupted tasks

0.6% of tasks across 41,800 measured tasks.

We count a failure as ours when the machine didn't do its job: it never became ready, the host died, the disk filled with something that wasn't yours, or the network dropped inside our boundary. Each one is marked interrupted, isn't billed, and can be retried on its own. Failures in your harness, such as a failing test or a timeout you set, are yours and aren't in this number.

The biggest single cause was image pulls timing out on brand-new hosts (0.31%). We now pre-pull the top 50 images by usage onto every host we add.

Successful runs per dollar

198 completed tasks per $1 for 6-minute tasks on Standard 2.

At $0.05 per machine-hour, a 6-minute task costs half a cent, so the ceiling is 200 per dollar. We lose a little to the seconds between ready and your first command, and to retries. We don't lose anything to booting, queueing or our own failures, because you don't pay for those.

What we'd tell you to do

  • Pin your image by digest. Moving tags break the warm pool and cost you the 41-second path.
  • Keep images small. Every gigabyte you cut saves about 6 s on cold hosts.
  • Set a task timeout. Hung tasks are the single largest cost line we see in customer runs.
  • Retry only interrupted. Re-running a whole suite to fix a 0.6% problem is the most expensive habit in evals.

The raw data and the scripts we used are published as bench_2026_11_v3. Run it against us, and against anyone else.

Run it on your own workload.

Your first fleet shows its own time to ready and its own failures. No card needed.

Start free