1. Archil
Best for: agent sandboxes and tool calls whose workspace must outlive the sandbox, be shared across sandboxes, or fork per attempt
Archil covers the two things teams use Modal sandboxes for in agent products. Serverless tool calls run each command in a fresh Firecracker microVM with the agent's disk mounted: the median queue time is 37 ms from a pool of ready microVMs, 82 ms end to end from a laptop, and 331 ms for the first call on a new disk. Writes are committed before the call returns, and a default-size call (2 vCPU, 4 GiB) costs $0.00005. Persistent sandboxes are Firecracker microVMs whose root filesystem is a durable Archil disk, so installed packages and files survive stop, pause and restarts, which Modal sandboxes only get through snapshots. At the 24-hour session limit an Archil sandbox pauses with its processes intact instead of terminating.
Strengths
- Pause keeps memory and running processes, and stop keeps the root filesystem; neither accrues compute charges
- Tool calls cost $0.05 per 1,000 with execution included, sized from 1 to 32 vCPU and 256 MiB to 64 GiB
- Checkpoint a disk in 13 ms and branch it in 33 ms (p50) at any size; sandboxes fork, memory included when no disks are mounted
- One disk mounts read-write on up to 5,000 clients, which see each other's writes as caches refresh, without a reload; it also mounts in Modal VM sandboxes
- Sandboxes cost $0.055 per vCPU-hour and $0.020 per GiB-hour while running, below Modal's sandbox rates
- Exposed ports, port tokens and supervised services for hosting an agent's own servers; egress firewall and credential brokering on Developer and up
Tradeoffs
- No GPUs, x86-64 only; keep GPU work on Modal or another GPU provider
- Not a serverless function platform like Modal: you run commands and sandboxes, not deployed Python functions
- A tool call stops after 5 minutes and keeps only what it wrote to the disk
- Public compute runs in three AWS regions (us-east-1, us-west-2, eu-west-1); other clouds only through BYOC on Enterprise
- 250 concurrent sandboxes on Team (plus 500 for $500 a month), far below Modal's 10,000 containers on Team
- Checkpoints and branches can't be deleted yet or merged back; data transfer out of Archil is $0.07 per GB on Developer and Team