Jasmine

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.

MeasurementJasmineE2BJasmine is
Cold start100 ms793 ms8.0× faster
Agent tool replay4.30 s15.47 s3.6× faster
npm install1.38 s1.77 s1.3× faster
pip install4.36 s4.87 s1.1× faster
git clone419 ms1.18 s2.8× faster
Dev server ready513 ms2.19 s4.3× faster
Preview URL first byte141 ms273 ms1.9× faster
Edit, rebuild, reload182 ms333 ms1.8× faster
Run a command28 ms134 ms4.8× faster
Write + read 1 KB128 ms234 ms1.8× faster
Write + read 10 MB444 ms1.32 s3.0× faster
Reconnect153 ms460 ms3.0× faster
Destroy57 ms114 ms2.0× faster
Pause + resume420 ms1.81 s4.3× faster
Take snapshot193 ms1.83 s9.5× faster
Start from snapshot104 ms1.12 s11× faster
10 at once, all ready556 ms1.16 s2.1× faster
25 at once, all ready1.25 s1.11 s1.1× slower
CPU, one core19.2M ops/s10.3M ops/s1.9× higher
CPU, all cores30.6M ops/s26.5M ops/s1.2× higher
Memory bandwidth14,155 MB/s12,302 MB/s1.2× higher
Disk write241 MB/s867 MB/s3.6× lower
Disk read6,083 MB/s6,203 MB/sabout the same
4K random write12.6k IOPS6.9k IOPS1.8× higher
4K random read600k IOPS453k IOPS1.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?

FeatureJasmineE2B
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.