Compare · Sandboxes

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
The honest split

Two good answers. Here is which one is yours.

Pick Modal if
  • 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.
Pick Sandal if
  • 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.

Side by side

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.

Modal compared with Sandal, August 2026
AreaModalSandalWhy it matters
Runtime
GPUFirst-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 resumeSandboxes 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 machineNo public evidence.Disk snapshots and forks of a box; processes restart in the fork.Parallel attempts without rebuilding state.
Isolation
RuntimegVisor-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
BillingPer 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 LinuxGeneral-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
SDKsPython.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.
Sources · reviewed August 2026

Capabilities change and rates change. If something here is out of date, tell us and we will fix it the same week.

Price

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
How to compare

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 →
Migration

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.

agent.py−1 +1same shape, native SDK
-import modal
+from sandal import Sandal, SandboxTarget
+sandal = Sandal(SandboxTarget(base_url=url, api_token=api_key,
+ organization_id=org, project_id=project))
-app = modal.App("agent-runner")
-sb = modal.Sandbox.create(app=app, cpu=4, memory=8192)
-p = sb.exec("python", "-c", "print(1)")
-sb.terminate()
+admitted = await sandal.sandboxes.create(idempotency_key=new_key(),
+ kind="virtual-machine", template_id=template_id, template_digest=digest,
+ size=SandboxSize("s"), architecture=SandboxCpuArchitecture("amd64"),
+ lifecycle=SandboxLifecyclePolicyInput(expires_at=expires_at))
+await sandal.sandboxes.wait_for_operation(admitted.operation.id, timeout_seconds=300)
+sb = await sandal.sandboxes.get(admitted.sandbox.id)
+await sandal.processes.exec(sb.id, command=["python3", "-c", "print(1)"],
+ expected_sandbox_revision=sb.revision, idempotency_key=new_key())
+sb = await sandal.sandboxes.get(sb.id)
+await sandal.sandboxes.delete(sb.id, expected_revision=sb.revision, idempotency_key=new_key())
  1. 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.

  2. 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.

  3. 03≈ 1 afternoon

    Run both, side by side

    Keep GPU work on Modal, move the agent’s CPU sandboxes, and compare the two bills.

Where Modal is ahead

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.

Before you switch

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.

Get started

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