# Modal (`modal`)

gVisor sandboxes on Modal's serverless container cloud, with tunnels and filesystem snapshots.

Built from Modal's public docs and our own checks. Modal hasn't reviewed it.
Page: https://sandboxplease.com/sandboxes/modal

## At a glance

- Slug: `modal/standard`
- Price (standard, 2 vCPU, 4 GB): $0.238/hr
- Access: on SandboxPlease credits, or on your own provider key
- Cold start: p50 601 ms (Probes, last 24 hours); p95 857 ms (696 measurements, 9 real creates, last 30 days). Create to a sandbox ready to exec on the default image, from real creates on our account and our probe, which starts a small sandbox after 15 minutes without a real create and at least hourly. Shown once there are 5 samples in 30 days.
- Uptime, 30 days: 100.00%. Successful creates per day on our account, real ones and probes, leaving out failures our own account causes, such as its plan limits or funds.
- Max lifetime: 1 day
- Isolation: gVisor; regions: US, EU
- Daily end-to-end check last passed 2026-11-30: on our account, create a sandbox, run a command, write and read a file, and, where Modal offers them, open a port, pause and resume, snapshot and block the internet, then kill it.

## Sizes

| Size | Slug | vCPU | Memory | $/hr | Notes |
|---|---|---|---|---|---|
| small | `modal/small` | 1 | 2 GB | $0.119/hr |  |
| standard | `modal/standard` | 2 | 4 GB | $0.238/hr |  |
| large | `modal/large` | 8 | 16 GB | $0.952/hr |  |

Usage is billed per second at Modal's list price, with no markup. Each size's vCPU and memory are what a sandbox of that size really gets, measured in a live sandbox.

## Benchmarks (standard, From Europe, runner in Belgium (Google Cloud europe-west1))

- Cold start: p50 251 ms, p95 286 ms; 4 runs, last 2026-11-30, preliminary (under 5 runs)
- First exec: p50 796 ms, p95 835 ms, 83 ms network + 713 ms provider; 4 runs, last 2026-11-30, preliminary (under 5 runs)
- Exec round trip p50 — One command's round trip once the sandbox is up, p50: p50 703 ms, p95 739 ms, 83 ms network + 620 ms provider; 4 runs, last 2026-11-30, preliminary (under 5 runs)
- Exec round trip p95: p50 731 ms, p95 757 ms, 83 ms network + 649 ms provider; 4 runs, last 2026-11-30, preliminary (under 5 runs)
- File write (10 MB): p50 7.5 MB/s, p95 7.8 MB/s; 4 runs, last 2026-11-30, preliminary (under 5 runs)
- File read (10 MB): p50 6.5 MB/s, p95 6.6 MB/s; 4 runs, last 2026-11-30, preliminary (under 5 runs)
- CPU single-core (sha256) — sha256 throughput on one core: p50 1409 MB/s, p95 1496 MB/s; 4 runs, last 2026-11-30, preliminary (under 5 runs)
- CPU all cores (sha256) — sha256 throughput on every core: p50 2283 MB/s, p95 8404 MB/s; 4 runs, last 2026-11-30, preliminary (under 5 runs)
- Download (100 MB) — A 100 MB file from a public CDN: unavailable (failed or unsupported in every run of the window)
- Standard task time: p50 2.1 s, p95 2.4 s; 4 runs, last 2026-11-30, preliminary (under 5 runs)
- Standard task cost — What one standard task costs: install a Python package, then import it: p50 $0.000153, p95 $0.000178; 4 runs, last 2026-11-30, preliminary (under 5 runs)

## Uptime, last 30 days

100.00% overall. What we observe on our account, not Modal's overall availability.

- 2026-11-23: 100.00% of 73 creates
- 2026-11-24: 100.00% of 139 creates
- 2026-11-25: all 22 failures came from our own account, such as its plan or funds; left out
- 2026-11-26: 100.00% of 62 creates
- 2026-11-27: 100.00% of 97 creates
- 2026-11-28: 100.00% of 97 creates
- 2026-11-29: 100.00% of 96 creates
- 2026-11-30: 100.00% of 98 creates
- 2026-12-01: 100.00% of 2 creates

## Network

- Internet by default: Open (measured from inside a live sandbox, 2026-11-30T19:11:14.466Z)
- Lockdown: yes, `network: "deny-all"`
- Allowlist: Domains and IP ranges, `network: { allow: ["pypi.org"] }`

## Capabilities

Each fact with its source: a live check in a real sandbox, the provider's docs, or the provider itself. Route only to sandboxes that have what you need with `provider.require`.

### Lifecycle

- Pause and resume (`pause`): no. Source: Provider docs, https://modal.com, 2026-11-24. Use: `POST /v1/sandboxes/{id}/pause, then /resume`
- Pause keeps memory (`pause_keeps_memory`): no. No pause; memory snapshots restore into new sandbox. Source: Provider docs, https://modal.com, 2026-11-24. Use: `POST /v1/sandboxes/{id}/pause`
- Fork (`fork`): no. Memory snapshots (experimental), 7-day expiry, no delete API. The provider has it; SandboxPlease does not route to it yet. Source: Provider docs, https://modal.com/docs/guide/sandbox-snapshots#memory-snapshots, 2026-11-24. Use: `POST /v1/sandboxes/{id}/snapshot, then POST /v1/sandboxes with from_snapshot and count`
- Snapshots (`snapshot`): yes. Source: Provider docs, https://modal.com/docs/guide/sandbox-snapshots, 2026-11-24. Use: `POST /v1/sandboxes/{id}/snapshot, then POST /v1/sandboxes with from_snapshot and count`
- Max lifetime (`max_lifetime_s`): 1 day. Source: Live check, https://sandboxplease.com/sandboxes/modal, 2026-11-30T18:07:19.669Z. Use: `timeout`
- Idle auto-stop (`idle_auto_stop`): yes. idle_timeout terminates. Source: Provider docs, https://modal.com/docs/guide/sandboxes#idle-timeouts, 2026-11-24. Use: `idle_timeout`
- Checkpoint and restore (`checkpoint`): unknown
- Extend a running sandbox (`extend_timeout`): unknown. Timeout set at create; no extend method in SDK reference

### Compute

- Max vCPU (`vcpu`): 8 vCPU. Source: Live check, https://sandboxplease.com/sandboxes/modal, 2026-11-30T18:07:19.669Z. Use: `size`
- Max memory (`memory_gb`): 16 GB. Source: Live check, https://sandboxplease.com/sandboxes/modal, 2026-11-30T18:07:19.669Z. Use: `size`
- Disk (`disk_gb`): 512 GB. Fixed, cannot be increased. Source: Provider docs, https://modal.com/docs/guide/sandbox-resources#disk, 2026-11-24
- GPU (`gpu`): T4, L4, A10G, L40S, A100, RTX PRO 6000, H100, H200, B200, B300. Source: Provider docs, https://modal.com/pricing, 2026-11-24. Use: `gpu (on credits where the provider is wired; otherwise provider_options on your own key)`
- Max GPUs (`gpu_count`): 8. Source: Provider docs, https://modal.com/pricing, 2026-11-24. Use: `gpu.count`
- Max GPU memory (`gpu_vram_gb`): 288 GB. Source: Provider docs, https://modal.com/pricing, 2026-11-24. Use: `gpu.min_vram_gb`
- CPU architecture (`arch`): x86_64. Source: Live check, https://sandboxplease.com/sandboxes/modal, 2026-11-30T18:07:16.137Z
- Operating system (`os`): Linux. Source: Provider docs, https://modal.com/docs/guide/sandboxes#runtimes, 2026-11-24
- Root access (`root`): yes. Source: Live check, https://sandboxplease.com/sandboxes/modal, 2026-11-30T18:07:16.180Z
- Docker inside (`docker`): no. Not in the default image: needs Modal's VM runtime. Source: Live check, https://modal.com/docs/guide/sandboxes#running-docker-in-a-sandbox, 2026-11-24
- Nested virtualization (`nested_virtualization`): yes. Enterprise plan, VM runtime. Source: Provider docs, https://modal.com/docs/guide/sandboxes#runtimes, 2026-11-24

### Images

- Custom image (`custom_image`): yes. Source: Provider docs, https://modal.com/docs/guide/sandboxes#custom-images, 2026-11-24. Use: `template`
- Saved templates (`templates`): yes. Source: Provider docs, https://modal.com/docs/guide/named-images, 2026-11-24. Use: `template`
- sandboxplease/base (`base_image`): yes. Source: Live check, https://sandboxplease.com/docs/base-image, 2026-11-30T19:11:14.914Z. Use: `template: "sandboxplease/base" (the default)`
- Prebuilt languages (`languages`): python, node, bun. Source: Live check, https://sandboxplease.com/sandboxes/modal, 2026-11-30T18:07:16.223Z

### Data & secrets

- Persistent volumes (`persistent_volumes`): yes. Source: Provider docs, https://modal.com/docs/guide/volumes, 2026-11-24. Use: `provider_options (on your own provider key)`
- Secret store (`secret_store`): yes. Modal Secrets attach to sandboxes (e.g. Secret.from_dict, OIDC token injection). Source: Provider docs, https://modal.com/docs/guide/sandboxes, 2026-11-24. Use: `provider_options (on your own provider key)`
- Max volume size (`volume_max_gb`): unknown
- Max file upload (`max_upload_mb`): unknown
- Git helpers (`git_helpers`): unknown

### Network

- Internet by default (`internet`): Open. Source: Live check, https://sandboxplease.com/docs/network, 2026-11-30T19:11:14.466Z
- Block all egress (`egress_deny_all`): yes. Source: Provider docs, https://modal.com, 2026-11-24. Use: `network: "deny-all"`
- Egress allowlist (`egress_allowlist`): yes. Source: Provider docs, https://modal.com, 2026-11-24. Use: `network: { allow: ["pypi.org"] }`
- Public ports (`ports`): no. The provider has it; SandboxPlease does not route to it yet. Source: Provider docs, https://modal.com/docs/guide/tunnels, 2026-11-24. Use: `GET /v1/sandboxes/{id}/ports/{port}`
- Private preview URLs (`inbound_auth`): yes. Sandbox Connect Tokens. Source: Provider docs, https://modal.com/docs/guide/sandbox-networking#connecting-to-sandboxes-with-http-and-websockets, 2026-11-24
- Static egress IP (`static_ip`): yes. Modal Proxy, Team plan+. Source: Provider docs, https://modal.com/docs/guide/proxy-ips, 2026-11-24
- Private networking (`private_networking`): unknown. i6pn documented for Functions, not Sandboxes
- IPv6 (`ipv6`): unknown
- Custom domains (`custom_domains`): unknown

### Interaction

- Streaming output (`streaming_exec`): yes. Source: Provider docs, https://modal.com/docs/guide/sandbox-spawn#output, 2026-11-24. Use: `POST /v1/sandboxes/{id}/exec with stream: true`
- Terminal (PTY) (`pty`): yes. pty param on Sandbox.create. Source: Provider docs, https://modal.com/docs/sdk/py/latest/Sandbox, 2026-11-24
- Background processes (`background_processes`): yes. Background processes from exec referenced. Source: Live check, https://sandboxplease.com/sandboxes/modal, 2026-11-30T18:07:16.266Z
- Mobile devices (`mobile_devices`): no. Source: Provider docs, https://sandboxplease.com/docs/mobile-devices, 2026-11-24. Use: `devices`
- File watching (`file_watch`): unknown
- SSH (`ssh`): unknown
- Desktop (computer use) (`desktop`): unknown
- Browser (`browser`): unknown
- Code interpreter (`code_interpreter`): unknown

### Isolation & trust

- Isolation (`isolation`): gVisor. Source: Provider docs, https://modal.com, 2026-11-24
- Regions (`regions`): US, EU. Source: Provider docs, https://modal.com, 2026-11-24. Use: `provider.region`
- EU data residency (`eu_data_residency`): no. Compute can be pinned to eu-west (1.15-1.75x price) but logs, volumes, images, secrets and snapshots are stored in the US. Source: Provider docs, https://modal.com/docs/guide/data-residency, 2026-11-24
- SOC 2 (`soc2`): yes. Source: Provider docs, https://modal.com/docs/guide/security, 2026-11-24
- HIPAA (`hipaa`): yes. Enterprise plan. Source: Provider docs, https://modal.com/docs/guide/security, 2026-11-24
- DPA (`dpa`): yes. Source: Provider docs, https://modal.com/docs/guide/security, 2026-11-24
- Data retention (`data_retention_days`): 1 day. Container logs: 1 day Starter, 30 days Team, configurable Enterprise. Source: Provider docs, https://modal.com/docs/guide/security, 2026-11-24
- Data centers (`locations`): unknown. Container regions are broad areas (us, eu, ap, uk...), no cities
- ISO 27001 (`iso27001`): unknown
- Self-hosted (`self_hosted`): unknown

### Limits

- Concurrent sandboxes (`concurrency`): 10,000 sandboxes. Team plan containers; Starter: 250. Source: Provider docs, https://modal.com/pricing, 2026-11-24
- Create rate (`create_rate`): unknown
- Max command time (`max_exec_timeout_s`): unknown

### Ops

- Resource metrics (`metrics`): yes. Source: Provider docs, https://modal.com/docs/guide/sandbox-resources, 2026-11-24
- Logs (`logs`): yes. Retention: Starter 1 day, Team 30 days. Source: Provider docs, https://modal.com/pricing, 2026-11-24
- Live logs (`log_streaming`): yes. Iterate sb.stdout or exec stdout live. Source: Provider docs, https://modal.com/docs/guide/sandboxes, 2026-11-24
- Support (`support`): Community, Shared chat. Community Slack on Starter/Team; private Slack channel on Enterprise. Source: Provider docs, https://modal.com/pricing, 2026-11-24
- Lifecycle events (`webhooks`): unknown
- Uptime SLA (`uptime_sla`): unknown

### Pricing

- Billing granularity (`billing_granularity`): Per second. Per second, max(requested, actual) CPU and memory. Source: Provider docs, https://modal.com/pricing, 2026-11-24
- Minimum billed time (`billing_minimum_s`): None. "No minimum usage time per instance"; containers stay alive 60 s after last input by default and that is billed. Source: Provider docs, https://modal.com/pricing, 2026-11-24
- Storage price (`storage_price`): $0.09 / GB-month. Volumes, 1 TiB/month free. Source: Provider docs, https://modal.com/pricing, 2026-11-24
- Egress price (`egress_price`): $0.04 / GB. $0.04/GiB; 1 TiB/mo included on Starter, 10 TiB Team, 100 TiB Enterprise. Source: Provider docs, https://modal.com/pricing, 2026-11-24
- Spot capacity (`spot`): no. Sandboxes are billed at non-preemptible rates (3x base); no spot sandbox option. Source: Provider docs, https://modal.com/pricing, 2026-11-24
- Free tier (`free_tier`): yes. Starter $30/month free compute credits; Team $100/month. Source: Provider docs, https://modal.com/pricing, 2026-11-24

## API

Start a sandbox; the key is read from `$SANDBOXPLEASE_API_KEY`:

```bash
curl https://api.sandboxplease.com/v1/sandboxes \
  -H "Authorization: Bearer $SANDBOXPLEASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sandbox": "modal/standard"}'
```
