All comparisons

Best E2B alternatives with persistent storage (2026)

If you're leaving E2B because files disappear when a sandbox times out, pick a platform whose stop keeps the disk, or keep the files on storage that outlives the sandbox. Archil does both: its sandboxes boot from a durable disk that survives stop, pause and deletion, and the same disk mounts in E2B, Daytona, Modal or Vercel Sandbox if you'd rather not switch. Daytona and Vercel Sandbox keep files on stop by default, Blaxel resumes idle sandboxes in place, and Modal or Northflank are the picks when you need GPUs. If E2B's pause and resume already works for you, adding a disk may be all you need.

Updated . Competitor facts are from each vendor's own docs and pricing pages.

The short list

  1. Archil: Best for agents whose files must survive timeouts, crashes and deleted sandboxes, and be shared or forked across many sandboxes
  2. Daytona: Best for long-lived development environments that stop when idle and come back with their files
  3. Vercel Sandbox: Best for agents in Vercel apps that need files and packages back after a stop
  4. Blaxel: Best for agents that sit idle most of the time and must resume in place quickly
  5. Fly.io Sprites: Best for one long-lived machine per agent or developer, with a large disk
  6. Modal: Best for agents that need GPUs, and can keep state in Volumes and snapshots
  7. Northflank: Best for sandboxes that run with no time limit next to your services, in Northflank's cloud or your own
  8. Cloudflare Sandbox: Best for short-lived sandboxes driven from Workers, with files kept in R2 or another bucket

Side by side

PlatformAfter a stop or timeoutPause with memoryDisk or volume sizeShared read-write storageSession limitGPUs
ArchilRoot filesystem and mounted disks kept; the session limit pausesYesDisks have no size cap on paid plans (10 GB on Free)Yes, up to 5,000 clients per disk, on any provider24 hours, then it pauses (30 minutes on Free)No
DaytonaStopped sandboxes kept until deleted; container sandboxes archive after 7 daysVM sandboxes only3 GiB default, 10 GB max; volumes separateVolumes, free, last write winsAuto-stop after 15 idle minutes by defaultYes
Vercel SandboxFilesystem saved on stop; snapshots expire 30 days after last use by defaultNot documented64 GB per sandboxDrives: one writer, read-only snapshots for others45 minutes on Hobby, 24 hours on ProNot documented
BlaxelStandby after about 15 s idle, with files and processes; 7 or 30 days on lower tiersYes, standbyIn-memory filesystem, about half the sandbox's RAMAgent Drive, in private previewNot documentedNot documented
Fly.io Sprites100 GB disk kept across idle periodsWhile warm100 GB per SpriteNo; each Sprite has its own diskNone documentedNot documented
ModalLost unless snapshotted or on a Volume; snapshots last 30 daysMemory snapshots, in alpha512 GiB on the VM runtime; Volumes separateVolumes; readers reload, last write wins5 minutes by default, 24 hours maxYes
NorthflankPause wipes ephemeral storage; attached volumes keptNoVolumes up to 64 TBMulti read/write volumesNoneYes
Cloudflare SandboxDisk is ephemeral; snapshots (beta) last 30 daysNo2 to 20 GB by instance typeNo volume product; bucket mounts through s3fsNot guaranteedNot documented

What to look for

  • What happens at the timeout

    On E2B, a sandbox times out after 5 minutes by default and is killed with its files, unless you pause it or set it to pause on timeout. Check what each alternative does at its own limit: pause, stop with files kept, or delete.

  • Stop keeps files, pause keeps memory

    A stop that keeps the disk brings back files and installed packages. A pause also keeps memory and running processes, so the agent resumes mid-task. E2B's strength is pause; most alternatives offer stop, and a few offer both.

  • Files that outlive the sandbox

    Even a kept disk is deleted with its sandbox. A volume or a mounted disk survives deletion, can be shared by several sandboxes, and can be read by your backend without starting one.

  • Disk size and session length

    E2B's sandbox disk is 10 GiB on Hobby and 20 GiB or more on Pro, and sessions last 1 hour on Hobby and 24 hours on Pro. Alternatives range from a 10 GB maximum (Daytona) to 100 GB per Sprite and 512 GiB on Modal's VM runtime.

  • Isolation

    E2B runs every sandbox in a Firecracker microVM. Archil, Vercel Sandbox and Cloudflare Sandbox do too. If you run untrusted code, check how each other platform isolates it before you move.

  • Moving later

    A provider's volume mounts only in that provider's sandboxes. Storage that mounts anywhere lets you change sandbox providers again without moving data.

Each option in detail

Best for: agents whose files must survive timeouts, crashes and deleted sandboxes, and be shared or forked across many sandboxes

Each Archil sandbox is a Firecracker microVM, like E2B's, but its root filesystem is a durable Archil disk. Stop keeps the root filesystem and mounted disks; pause also keeps memory and running processes; reaching the 24-hour session limit or the 30-minute idle timeout pauses rather than kills. Deleting a sandbox removes its root filesystem but keeps every mounted disk. To keep E2B, mount the same disk inside your E2B sandboxes instead.

Strengths

  • Pause with memory, like E2B, and stop that keeps files; neither accrues compute charges
  • Mounted disks survive deletion and mount read-write on up to 5,000 clients, including E2B, Daytona, Modal and Vercel sandboxes
  • A fork branches the root disk in about 35 ms at any size
  • A write to a mounted disk is durable when fsync returns
  • $0.055 per vCPU-hour and $0.020 per GiB-hour while running; storage $0.20 per GiB-month of active data

Tradeoffs

  • No GPUs, and x86-64 only
  • Public sandboxes run in three AWS regions (us-east-1, us-west-2, eu-west-1), or in your own cloud with BYOC on Enterprise
  • A session pauses after 24 hours (30 minutes on Free); resuming starts a new session
  • A sandbox with mounted disks must be stopped before it can be forked
  • Not open source; E2B's runtime is Apache 2.0 and can be self-hosted

Best for: long-lived development environments that stop when idle and come back with their files

Stopping a Daytona container sandbox keeps the filesystem but not memory; VM sandboxes can also pause with memory and fork. Sandboxes auto-stop after 15 idle minutes by default, and stopped ones are kept until deleted, though container sandboxes archive after 7 days stopped. Volumes are free, S3-backed FUSE mounts that many sandboxes share.

Strengths

  • Files kept on stop, with no expiry unless you set one
  • Free volumes, mountable read-write in many sandboxes
  • GPU sandboxes, and VM sandboxes with memory snapshots and forks

Tradeoffs

  • Sandbox disk is 3 GiB by default and 10 GB at most
  • Volumes are last-write-wins and not for databases; up to 100 per organization
  • Container sandboxes can't pause, and GPU sandboxes are ephemeral

Best for: agents in Vercel apps that need files and packages back after a stop

Persistent Vercel sandboxes save their filesystem and installed packages when stopped and restore them on resume; the docs describe filesystem state only. Snapshots expire 30 days after last use by default. Drives add persistent storage that one sandbox mounts read-write at a time.

Strengths

  • Persistence on by default, with 64 GB of NVMe per sandbox
  • Snapshots, Sandbox.fork and Drive forks
  • Active CPU pricing

Tradeoffs

  • No documented way to keep memory or running processes
  • A Drive takes one writer; other sandboxes get read-only snapshots
  • Sessions last 45 minutes on Hobby and 24 hours on Pro

Best for: agents that sit idle most of the time and must resume in place quickly

A Blaxel sandbox goes to standby about 15 seconds after it's last used, keeping files and running processes, and can stay there indefinitely on higher tiers. The filesystem lives in memory. Volumes attach to one sandbox; Agent Drive, in private preview, mounts read-write in many.

Strengths

  • Standby keeps memory and files, with no memory charge while in standby
  • An Archil disk mounts inside Blaxel sandboxes over FUSE

Tradeoffs

  • The in-memory filesystem gets about half the sandbox's RAM
  • Lower tiers cap persistence at 7 or 30 days
  • Snapshots, forks and Agent Drive are in private preview

5. Fly.io Sprites

docs.fly.io

Best for: one long-lived machine per agent or developer, with a large disk

Each Sprite has its own 100 GB disk that persists across idle periods. A warm Sprite is suspended with memory in place; a cold one keeps the disk and drops memory. Checkpoints capture the filesystem, copy-on-write, and restore in place.

Strengths

  • 100 GB disk per Sprite, billed for bytes written
  • Memory kept while warm
  • Filesystem checkpoints

Tradeoffs

  • Writes land on local NVMe first, and Fly.io's docs disagree on when they reach object storage
  • No shared volume: each Sprite has its own disk
  • Destroying a Sprite deletes its checkpoints

7. Northflank

northflank.com

Best for: sandboxes that run with no time limit next to your services, in Northflank's cloud or your own

Northflank sandboxes have no time limit. Pausing ends running processes and wipes ephemeral storage; files on an attached volume come back as they were. Multi-read-write volumes attach to several sandboxes at once.

Strengths

  • No session limit, billed per second
  • Volumes up to 64 TB, multi read/write
  • Bring-your-own-cloud and GPUs

Tradeoffs

  • Without a volume, nothing survives a pause
  • Volumes bill while the sandbox is paused

8. Cloudflare Sandbox

developers.cloudflare.com

Best for: short-lived sandboxes driven from Workers, with files kept in R2 or another bucket

A Cloudflare Sandbox's disk is ephemeral: when the container ends, its files go with it. Container snapshots, in public beta, save the filesystem (not memory or processes) for 30 days. For durable files, S3Mount mounts a bucket through s3fs.

Strengths

  • Started from Workers
  • Bucket mounts readable by other sandboxes, as ordinary objects

Tradeoffs

  • No persistent disk or volume product
  • Cloudflare doesn't guarantee how long an instance runs
  • s3fs semantics on mounts: cached metadata, copy-on-rename, no real locks

Or keep E2B and add a disk

E2B's pause is hard to beat: a paused sandbox keeps its memory and files with no time limit, and only running sandboxes bill for compute (E2B's Hobby plan has no monthly fee; Pro is $150 a month plus usage). If your problem is only that files vanish when a sandbox is killed, you don't have to move. Set the sandbox to pause on timeout, or mount storage that lives outside it.

An Archil disk mounts inside an E2B sandbox over FUSE, from a template with the client installed. Anything written under the mount survives the sandbox, the next sandbox mounts the same files, and your backend reads them with the SDK. Packages installed on the E2B sandbox's own root filesystem still go away with it. See the E2B guide.

Which one should you use?

If you needPick
Files that survive timeouts, crashes and deleted sandboxes, shared or forked across manyArchil
Stay on E2B, but stop losing filesE2B with pause on timeout, or an Archil disk mounted in it
A dev environment that stops when idle and keeps its filesDaytona or Vercel Sandbox
Resume idle agents in place, memory includedBlaxel, Archil or E2B
One long-lived machine per agent with a 100 GB diskFly.io Sprites
GPUs in the sandboxModal, Daytona or Northflank
No session limit, next to your other servicesNorthflank

Questions people ask

Does E2B have persistent storage?

Pausing an E2B sandbox keeps its filesystem and memory with no time limit. Without a pause, the timeout kills the sandbox and its files. E2B Volumes, which outlive a sandbox, are in private beta.

Which E2B alternative keeps files after a sandbox stops?

Archil, Daytona and Vercel Sandbox keep the filesystem on stop. Fly.io Sprites keep their 100 GB disk. On Modal, Northflank and Cloudflare Sandbox, files survive only on a volume or in a snapshot.

Which alternatives pause with memory, like E2B?

Archil and Blaxel, and Daytona's VM sandboxes. Fly.io Sprites keep memory while warm. Modal has memory snapshots in alpha, and taking one ends the sandbox.

Can I keep E2B and still get persistent storage?

Yes. Mount an Archil disk in your E2B sandboxes; files under the mount survive the sandbox and can be shared with other sandboxes. See the E2B guide.

What's the cheapest E2B alternative for idle agents?

Most don't bill compute while a sandbox is paused or stopped: Archil, E2B, Daytona, Blaxel and Northflank. Storage usually still bills: Archil the disk, Daytona reserved disk, Blaxel the standby snapshot, Northflank attached volumes.

How we chose

We covered the platforms teams move to from E2B, and ranked them on how well they keep an agent's files across stops, timeouts and crashes, then on sharing, disk size and session limits. Competitor facts come from each vendor's own docs and pricing pages as of the date above; where a vendor doesn't say, the table says so. Archil makes Archil, and ranks it first for files that must outlive the sandbox. E2B itself remains a strong choice for exact pause and resume, and Modal, Daytona or Northflank are better when you need GPUs.