Jasmine

Compare

Jasmine vs Modal: which sandbox is faster for AI agents?

Jasmine is ready for a first command in 100 ms; Modal takes 376 ms. On the same benchmark harness, Jasmine is ahead on 15 of 24 shared measurements and Modal on 9. 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 Modal if what matters most is where it measured ahead: npm install; pip install; destroy; 10 at once, all ready; 25 at once, all ready; cpu, all cores; memory bandwidth; disk write; 4k random write.

How do Jasmine and Modal compare on speed?

Medians on aisandboxbench's same-machine track (4 vCPU / 8 GB). Bold is the better number.

MeasurementJasmineModalJasmine is
Cold start100 ms376 ms3.8× faster
Agent tool replay4.30 s12.11 s2.8× faster
npm install1.38 s1.18 s1.2× slower
pip install4.36 s4.06 s1.1× slower
git clone419 ms594 ms1.4× faster
Dev server ready513 ms895 ms1.7× faster
Preview URL first byte141 ms161 ms1.1× faster
Edit, rebuild, reload182 ms223 ms1.2× faster
Run a command28 ms77 ms2.7× faster
Write + read 1 KB128 ms189 ms1.5× faster
Write + read 10 MB444 ms921 ms2.1× faster
Reconnect153 ms189 ms1.2× faster
Destroy57 ms44 ms1.3× slower
Take snapshot193 ms944 ms4.9× faster
Start from snapshot104 ms980 ms9.4× faster
10 at once, all ready556 ms420 ms1.3× slower
25 at once, all ready1.25 s622 ms2.0× slower
CPU, one core19.2M ops/s13.4M ops/s1.4× higher
CPU, all cores30.6M ops/s36.6M ops/s1.2× lower
Memory bandwidth14,155 MB/s31,988 MB/s2.3× lower
Disk write241 MB/s8,275 MB/s34× lower
Disk read6,083 MB/s1,566 MB/s3.9× higher
4K random write12.6k IOPS121k IOPS9.7× lower
4K random read600k IOPS316k IOPS1.9× higher

Where is Modal faster than Jasmine?

  • npm install: 1.18 s vs Jasmine's 1.38 s.
  • pip install: 4.06 s vs Jasmine's 4.36 s.
  • Destroy: 44 ms vs Jasmine's 57 ms.
  • 10 at once, all ready: 420 ms vs Jasmine's 556 ms.
  • 25 at once, all ready: 622 ms vs Jasmine's 1.25 s.
  • CPU, all cores: 36.6M ops/s vs Jasmine's 30.6M ops/s.
  • Memory bandwidth: 31,988 MB/s vs Jasmine's 14,155 MB/s.
  • Disk write: 8,275 MB/s vs Jasmine's 241 MB/s.
  • 4K random write: 121k IOPS vs Jasmine's 12.6k IOPS.

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 Modal have?

FeatureJasmineModal
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✗ No
Open source, self-hostable✓ Yes (Apache-2.0)See Modal's docs

Modal's column: General Intelligence Company's sandbox provider comparison, November 2026.

How much do Jasmine and Modal 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. For Modal's current prices, see its pricing page.

Questions people ask

Is Jasmine faster than Modal?

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 Modal's is 376 ms. Running a command takes 28 ms vs 77 ms. Across the 24 benchmarks both were measured on, Jasmine is ahead on 15. Modal is ahead on disk write, 4k random write, memory bandwidth, 25 at once, all ready, 10 at once, all ready, destroy, cpu, all cores, npm install, pip install.

Is Jasmine an alternative to Modal?

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 Modal?

Jasmine supports all five features in that report: memory snapshots, disk snapshot forks, S3 bucket mounts, a headless browser and outbound IPv6. For Modal, the report lists memory snapshots: yes, disk forks: yes, S3: yes, browser: yes, IPv6: no (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.