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.
| Measurement | Jasmine | Modal | Jasmine is |
|---|---|---|---|
| Cold start | 100 ms | 376 ms | 3.8× faster |
| Agent tool replay | 4.30 s | 12.11 s | 2.8× faster |
| npm install | 1.38 s | 1.18 s | 1.2× slower |
| pip install | 4.36 s | 4.06 s | 1.1× slower |
| git clone | 419 ms | 594 ms | 1.4× faster |
| Dev server ready | 513 ms | 895 ms | 1.7× faster |
| Preview URL first byte | 141 ms | 161 ms | 1.1× faster |
| Edit, rebuild, reload | 182 ms | 223 ms | 1.2× faster |
| Run a command | 28 ms | 77 ms | 2.7× faster |
| Write + read 1 KB | 128 ms | 189 ms | 1.5× faster |
| Write + read 10 MB | 444 ms | 921 ms | 2.1× faster |
| Reconnect | 153 ms | 189 ms | 1.2× faster |
| Destroy | 57 ms | 44 ms | 1.3× slower |
| Take snapshot | 193 ms | 944 ms | 4.9× faster |
| Start from snapshot | 104 ms | 980 ms | 9.4× faster |
| 10 at once, all ready | 556 ms | 420 ms | 1.3× slower |
| 25 at once, all ready | 1.25 s | 622 ms | 2.0× slower |
| CPU, one core | 19.2M ops/s | 13.4M ops/s | 1.4× higher |
| CPU, all cores | 30.6M ops/s | 36.6M ops/s | 1.2× lower |
| Memory bandwidth | 14,155 MB/s | 31,988 MB/s | 2.3× lower |
| Disk write | 241 MB/s | 8,275 MB/s | 34× lower |
| Disk read | 6,083 MB/s | 1,566 MB/s | 3.9× higher |
| 4K random write | 12.6k IOPS | 121k IOPS | 9.7× lower |
| 4K random read | 600k IOPS | 316k IOPS | 1.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?
| Feature | Jasmine | Modal |
|---|---|---|
| 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.