Skip to content
sandboxrouting

Modal

modal, free every month, gVisor isolation.

$30 every month

About 126 h of a 2 vCPU, 4 GiB sandbox a month, at $0.238/h with every vCPU busy. The router reserves that much for each live box, so it never runs past the tier.

Terms

Free usage
$30 / month
Free limits
100 concurrent, 24 h
Paid after
~$0.19/h (2 vCPU, 2 GiB)
Free concurrency
100 at once
Free lifetime cap
1 d a sandbox
Adapter's note
Starter: $30 of compute every month; unused credit does not roll over.
Checked
Nov 11, 2026 against modal.com/pricing

The adapter

Modal Sandboxes: gVisor containers. Free: $30/month recurring credit (Starter), 24 h max. SDK: npm `modal` (gRPC; no public REST). CLI: `modal`.

Keys
MODAL_TOKEN_ID , MODAL_TOKEN_SECRET
Connects through
SDK modal (gRPC)
Capabilities
Any OCI image, Public ports, Native file listing, GPUs, Snapshots
Isolation
gVisor
Operating system
Linux
Longest sandbox
1 d
Longest command
no cap declared
Timeout
The provider stops it at the deadline
Billing
Wall clock, every second it runs
Source
src/providers/modal.ts, and the provider’s site
Route only here
const sbx = await router.create({ providers: ["modal"] });
Override its terms in sandboxrouting.json
{
  "providers": {
    "modal": {
      "freeTier": {
        "kind": "monthly-credit",
        "usd": 30
      },
      "priority": 10
    }
  }
}