BlogHudson Griffith
What survives an hour-long pause on E2B, Modal and Prized
We ran a process in a sandbox, put the sandbox away for an hour, and brought it back. Prized and E2B returned the same running process, memory included, in 504 ms and 261 ms. Modal, which has no pause, returned the files in a new sandbox in 685 ms.
Daytona’s stop and start brought back the files, and not the process, in 1,054 ms after a minute; its longer waits did not finish for us. An agent’s sandbox spends most of its life like this: waiting on a model, a review, or a person who went to lunch. What it gets back afterwards decides whether the wait cost a round trip or a rebuild. We measured on November 25, 2026 with each vendor’s own SDK and one script, which you can run yourself.
The test
In a fresh 2 vCPU, 4 GB sandbox, the script:
- writes a marker to
/dev/shm, which lives in memory, and another to the disk; - starts a background process that counts once a second;
- pauses the sandbox on Prized and E2B, stops it on Daytona, and takes a filesystem snapshot on Modal, which has no pause;
- waits ten minutes or an hour;
- brings it back, times the first command, and looks for the process and both markers.
We used three sandboxes per vendor for each wait. Daytona documents a pause for its VM sandboxes; ours were containers, and the call answered “Pausing is not supported for this sandbox”, so the script stopped them instead. We ran the script in the same region as Prized’s API. The times below include the round trip to each API: 12 ms on Prized, 35 ms on E2B, 89 ms on Daytona and 230 ms on Modal.
Daytona’s row is a one-minute wait. The sandboxes we stopped were gone when the ten-minute and hour waits ended, in an account that other tools of ours share, and we could not tell why. So we left those waits out instead of guessing.
What came back
A pause that keeps memory hands back the machine as it was: the dev server with its warm cache, the REPL with its data loaded, the build half done. A stop or a snapshot hands back a disk. Every process starts again, and whatever lived in memory is rebuilt.
How long the return takes
| Prized | E2B | Daytona | Modal | |
|---|---|---|---|---|
| After 10 minutes, ms, lower is better | 270 | 299 | not finished | 659 |
| After 60 minutes, ms, lower is better | 504 | 261 | not finished | 685 |
The time from asking for a sandbox back until its first command answered, after it had been held for 10 minutes and for 60 minutes, as the median of three sandboxes a vendor. Prized and E2B resume a paused sandbox with its processes and memory. Modal starts a new sandbox from a filesystem snapshot, so processes start again. Daytona’s stopped sandboxes were gone when these waits ended.
After ten minutes Prized and E2B were within noise of each other: 270 ms and 299 ms. E2B was faster after an hour (261 ms versus our 504 ms). Prized keeps a paused sandbox in memory at first, then writes it to disk. After a long pause, we read it back on resume. Modal’s new sandbox took 685 ms, and Daytona’s start after one minute 1,054 ms. Then you have to start everything again. A resume straight after a pause is faster: 124 ms on Prized and 174 ms on E2B, over 40 cycles each.
The rest of a session
That day we timed the other calls an agent makes around a wait, using the same machine and sandbox shape.
| Prized | E2B | Daytona | Modal | |
|---|---|---|---|---|
| Create, to the first command, ms, lower is better | 157 | 512 | 886 | 618 |
| Pause, ms, lower is better | 138 | 298 | pause refused | no pause |
| Resume, two seconds later, ms, lower is better | 124 | 174 | pause refused | no pause |
| Fork with memory, to a command, ms, lower is better | 1,335 | 1,102 | fork refused | no fork |
Medians over ten runs a vendor on November 25, 2026, at 2 vCPU and 4 GB: 100 creates timed until the first command answered, 40 pauses, 40 resumes two seconds after a pause timed until a command answered, and 10 forks with memory timed until a command answered in the copy. Daytona refused the pause and the fork for our sandboxes, and Modal has neither.
E2B’s fork with memory was faster than ours: 1,102 ms against 1,335 ms, over 10 forks each, with the process alive in every copy on both. Daytona said it doesn’t support forking our sandboxes. Modal can’t fork a live sandbox. Its alpha memory snapshots took 2,783 ms to create and 567 ms to restore into a new sandbox, and kept the process 10 of 10 times.
How long a sandbox may wait
- Prized: we keep a paused sandbox until you delete it. On the free tier it expires 30 days after its last use. The run limit is 60 minutes on the free tier and, once you’ve paid in, 24 hours by default and up to 7 days. A pause stops that clock (Run time).
- E2B: a sandbox can run 1 hour straight on Hobby or 24 on Pro, and a pause resets the clock (billing, persistence).
- Daytona: its docs say a stopped sandbox keeps its disk until its auto-delete interval runs out, if you set one (sandboxes).
- Modal: a sandbox lives 5 minutes by default and 24 hours at most (sandboxes). The filesystem snapshot we took started a new one an hour later.
Vendors that offer a pause don’t charge for compute while the sandbox is paused, and storage costs vary (see Sandbox pricing compared).
What to doubt
- One shape: 2 vCPU and 4 GB, which on E2B and Daytona meant an image built at that shape.
- SDKs as published, untuned: @prized/sdk 0.1.2, e2b 2.63.0, @daytonaio/sdk 0.230.0 and modal 0.11.1.
- One day, November 25, 2026. All four change often.
Run it yourself
The script is one file. It needs Node 22 and the four SDKs:
npm install @prized/sdk e2b @daytonaio/sdk modal
curl -fsSLO https://prized.dev/sandbox-pause-test.mjsRun the script once per vendor with your own keys. Each run prints what came back as JSON and deletes the sandboxes it made:
PRIZED_API_KEY=dcp_… node sandbox-pause-test.mjs --provider prized --minutes 60
E2B_API_KEY=… node sandbox-pause-test.mjs --provider e2b --minutes 60
DAYTONA_API_KEY=… node sandbox-pause-test.mjs --provider daytona --minutes 60
node sandbox-pause-test.mjs --provider modal --minutes 60E2B and Daytona fix a sandbox’s shape when its image is built; the script’s header says how to name a 2 vCPU, 4 GB one. You can get a Prized key with $30 of credit at Sandboxes without a card.