Compare
Jasmine vs E2B: which sandbox is faster for AI agents?
Jasmine is ready for a first command in 100 ms; E2B takes 793 ms. On the same benchmark harness, Jasmine is ahead on 22 of 25 shared measurements and E2B on 3. Here is every number, including the ones we lose.
The short answer
Pick Jasmine if your agents create many short-lived sandboxes and wait on each command: it restores Firecracker microVMs from memory snapshots, so start-up, command round-trips, pause/resume and forks are where it leads. It is open source and runs on your own machine too. Pick E2B if what matters most is where it measured ahead: 25 at once, all ready; disk write; disk read.
How do Jasmine and E2B compare on speed?
Medians on aisandboxbench's same-machine track (4 vCPU / 8 GB). Bold is the better number.
| Measurement | Jasmine | E2B | Jasmine is |
|---|---|---|---|
| Cold start | 100 ms | 793 ms | 8.0× faster |
| Agent tool replay | 4.30 s | 15.47 s | 3.6× faster |
| npm install | 1.38 s | 1.77 s | 1.3× faster |
| pip install | 4.36 s | 4.87 s | 1.1× faster |
| git clone | 419 ms | 1.18 s | 2.8× faster |
| Dev server ready | 513 ms | 2.19 s | 4.3× faster |
| Preview URL first byte | 141 ms | 273 ms | 1.9× faster |
| Edit, rebuild, reload | 182 ms | 333 ms | 1.8× faster |
| Run a command | 28 ms | 134 ms | 4.8× faster |
| Write + read 1 KB | 128 ms | 234 ms | 1.8× faster |
| Write + read 10 MB | 444 ms | 1.32 s | 3.0× faster |
| Reconnect | 153 ms | 460 ms | 3.0× faster |
| Destroy | 57 ms | 114 ms | 2.0× faster |
| Pause + resume | 420 ms | 1.81 s | 4.3× faster |
| Take snapshot | 193 ms | 1.83 s | 9.5× faster |
| Start from snapshot | 104 ms | 1.12 s | 11× faster |
| 10 at once, all ready | 556 ms | 1.16 s | 2.1× faster |
| 25 at once, all ready | 1.25 s | 1.11 s | 1.1× slower |
| CPU, one core | 19.2M ops/s | 10.3M ops/s | 1.9× higher |
| CPU, all cores | 30.6M ops/s | 26.5M ops/s | 1.2× higher |
| Memory bandwidth | 14,155 MB/s | 12,302 MB/s | 1.2× higher |
| Disk write | 241 MB/s | 867 MB/s | 3.6× lower |
| Disk read | 6,083 MB/s | 6,203 MB/s | about the same |
| 4K random write | 12.6k IOPS | 6.9k IOPS | 1.8× higher |
| 4K random read | 600k IOPS | 453k IOPS | 1.3× higher |
Where is E2B faster than Jasmine?
- 25 at once, all ready: 1.11 s vs Jasmine's 1.25 s.
- Disk write: 867 MB/s vs Jasmine's 241 MB/s.
- Disk read: 6,203 MB/s vs Jasmine's 6,083 MB/s.
Jasmine's numbers come from a GitHub runner with nested virtualization, which taxes disk and memory benchmarks the most. Bare metal may narrow those gaps, but we show what we measured.
Which features do Jasmine and E2B have?
| Feature | Jasmine | E2B |
|---|---|---|
| Memory snapshots (pause with processes intact) | ✓ Yes | ✓ Yes |
| Disk snapshot forks | ✓ Yes | ✓ Yes |
| S3 filesystem / bucket mounts | ✓ Yes | ✓ Yes |
| Browser support | ✓ Yes | ✓ Yes |
| Outbound IPv6 | ✓ Yes | ! Limited or unverified |
| Open source, self-hostable | ✓ Yes (Apache-2.0) | See E2B's docs |
E2B's column: General Intelligence Company's sandbox provider comparison, November 2026.
How much do Jasmine and E2B cost?
Self-hosting is free. Jasmine Cloud (early access) will be $0.030 an hour for 4 vCPU · 8 GiB, billed per second from prepaid credit: no minimum, no fee per start, and a paused sandbox only pays for storage. E2B lists $0.331 an hour for the same size (e2b.dev/docs/pricing, checked Nov 23, 2026).
Questions people ask
Is Jasmine faster than E2B?
On most of what an agent waits for, yes. From asking for a sandbox to running its first command, Jasmine's median is 100 ms and E2B's is 793 ms. Running a command takes 28 ms vs 134 ms. Across the 25 benchmarks both were measured on, Jasmine is ahead on 22. E2B is ahead on disk write, 25 at once, all ready, disk read.
Is Jasmine cheaper than E2B?
For a 4 vCPU · 8 GiB sandbox, Jasmine Cloud (early access) will be $0.030 an hour and E2B lists $0.331 (e2b.dev/docs/pricing, checked Nov 23, 2026), about 11× more. Jasmine bills per second from prepaid credit with no minimum, gives $2 free, and is free to self-host.
Is Jasmine an alternative to E2B?
Yes. Both give AI agents isolated sandboxes to run code in, over an SDK or HTTP API. Jasmine's engine is open source (Apache-2.0), so you can run it on your own Linux machine today, with the hosted Jasmine Cloud in early access. Each sandbox is a Firecracker microVM with its own kernel, restored from a memory snapshot instead of booted.
Does Jasmine support memory snapshots, a browser, S3 and IPv6 like E2B?
Jasmine supports all five features in that report: memory snapshots, disk snapshot forks, S3 bucket mounts, a headless browser and outbound IPv6. For E2B, the report lists memory snapshots: yes, disk forks: yes, S3: yes, browser: yes, IPv6: limited or unverified (General Intelligence Company's sandbox provider comparison, November 2026).
How were these numbers measured?
With aisandboxbench's own open-source harness (opencoredev/sandbox-sdk) and its published flags, on the same-machine track (4 vCPU / 8 GB), compared to its published results. Jasmine's numbers are self-run on a GitHub Actions runner with nested virtualization, not an aisandboxbench.com listing, and the client location differs. Raw data is in the repo.
Other comparisons
Try it in a minute
Self-host it with one command, free. Jasmine Cloud, the hosted version, is in early access.