Sandal vs Modal
Modal is a broad serverless platform, functions, scheduling, GPUs, and container sandboxes, and it snapshots GPU memory, which nothing here matches. Sandal is the narrower tool: hardware-isolated machines for agents, priced per second with pause-to-$0, spanning Linux VMs and desktops, CI runners and, in preview, Windows and Android, from one SDK.
- Isolation
- gVisorModalOwn kernelSandal
- GPU memory snapshot
- YesModal, Sandal
- Paused sandbox
- BilledModal$0Sandal
- Surfaces on one SDK
- ServerlessModalLinux · CI · desktopsSandal
Two good answers. Here is which one is yours.
- Your workload is GPU-heavy inference and model weights or CUDA context are what you wait on.
- You already run functions, jobs and sandboxes through Modal Apps and want one serverless control plane.
- You want Modal-specific images, scheduling and platform primitives, not just a machine.
- You need the same API to also give the agent a CI runner, a desktop, or an Android device (preview).
- Agents idle between turns and you refuse to pay wall-clock for a machine that is thinking.
- Untrusted code needs its own kernel and an egress policy you can tighten on a running machine.
Many teams run both. runs-on is per job and a sandbox is per task; nothing here is all or nothing.
What each one actually ships.
Documented capability as of August 2026. Where the honest answer is a qualifier rather than yes or no, the qualifier is printed. Scroll sideways on a small screen.
| Area | Modal | Sandal | Why it matters |
|---|---|---|---|
| Runtime | |||
| GPU | First-class GPUs, with GPU memory snapshots that take a vLLM cold start from about 45 s to about 5 s. | No GPU sandboxes. | If the model runs inside the sandbox, this row ends the comparison. |
| Pause and resume | Sandboxes run until they finish or time out. | Pause to $0 with memory intact; resume in about 1–2.5 s. | Agent loops are mostly idle. |
| Fork a machine | No public evidence. | Disk snapshots and forks of a box; processes restart in the fork. | Parallel attempts without rebuilding state. |
| Isolation | |||
| Runtime | gVisor-isolated containers and VM sandboxes inside a Modal App. | Firecracker microVM with its own kernel; containers on the same fleet for one-shot code. | gVisor intercepts syscalls; a microVM gives the guest its own kernel. Different boundaries for untrusted code. |
| Pricing | |||
| Billing | Per second on CPU, memory and GPU while the container runs. | Per second while the machine runs; paused costs nothing. | Same granularity; only one of them has a free idle state. |
| Surfaces | |||
| Beyond Linux | General-purpose serverless compute; mobile and desktop are assembled separately. | Linux VMs, desktops, browsers and CI runners today; Windows and Android in preview; macOS VMs and iOS simulators on request; Xcode builds coming. | One integration instead of three. |
| Developer experience | |||
| SDKs | Python. | TypeScript, Python and Go SDKs (private beta), plus a CLI, REST API and a local MCP server. | TypeScript agent stacks have no native Modal client. |
Capabilities change and rates change. If something here is out of date, tell us and we will fix it the same week.
Same shape. Two meters.
Modal prices CPU, memory and GPU separately per second; there is no single published rate for this shape, so we do not print one. Sandal publishes $0.036 per hour for 4 vCPU / 8 GiB, August 2026.
- Modal4 vCPU / 8 GiB
- Per-second CPU, memory and GPU rates, see Modal’s pricing page
- Sandal4 vCPU / 8 GiB · paused = $0
- 0.036$ / hour
Normalise both vendors on the same unit before you compare: one sandbox, one hour, the same size. Sandal meters per second and a paused machine costs nothing, so a bill for bursty work is the sum of the seconds it actually ran.
Open the rate card →Same shape, native SDK.
The lifecycle maps one to one, create, exec, files, stop, so the port is a small rewrite, not a re-architecture. Keep the vendor-specific glue on your side of the boundary.
- 01≈ on request
Get the SDK
The TypeScript, Python and Go SDKs are in private beta and not yet on npm, PyPI or the Go proxy. Request access at hello@sandal.dev and we send you the packages and an API key.
- 02≈ 30 min
Port the lifecycle
Sandbox create, exec and terminate map to the native SDK. Functions, schedules, images and GPU calls have no equivalent here, and there is no Modal compatibility shim.
- 03≈ 1 afternoon
Run both, side by side
Keep GPU work on Modal, move the agent’s CPU sandboxes, and compare the two bills.
What we would rather you read here than find later.
A comparison page where the vendor wins every row is a brochure. These are real, and we would rather you land on the right tool than land on us and leave in a month.
- 01
GPU memory snapshots.
Modal snapshots GPU memory, not just CPU state, which takes a vLLM cold start from around 45 seconds to around 5. That work is deeper than ours and it is not close.
- 02
The serverless platform.
Functions, schedules, images and Apps are one control plane on Modal. Sandal is a machine provider; the orchestration stays in your code.
Questions teams ask before moving off Modal.
No. There is no Modal compatibility shim. The Sandbox lifecycle ports to the native Sandal SDK with a small rewrite; Modal Functions, schedules, images and GPU features have no equivalent on Sandal.
The rest of the field in sandboxes.
- Sandal vsE2BFirecracker sandboxes, open infrastructure, the biggest template catalogCompare
- Sandal vsDaytonaComposable sandboxes, five SDKs, volumes and signed previewsCompare
- Sandal vsVercel SandboxFirecracker sandboxes wired into Vercel projects and OIDCCompare
- Sandal vsCloudflare SandboxesContainer sandboxes driven from Workers and Durable ObjectsCompare
- Sandal vsascii.dev BoxPersistent KVM VMs at one fixed, very cheap shapeCompare
- Sandal vsrun.cloudFirecracker sandboxes plus mobile simulators, with compatibility adaptersCompare
Run the same job twice.
Point one workload at Sandal and one at Modal. The numbers on this page are ours; the ones that matter are yours.
Private beta · request access