Skip to main content
Watch: Stop Building Apps. Build Tools for AI Agents

Hosted platform - verified

Modal Sandboxes

Modal Sandboxes is a hosted sandbox platform from Modal Labs, read from its own pages on October 18, 2026. Isolation: gVisor runtime. Status: GA (inferred). 4 price rows, each in Modal Sandboxes's own unit.

Vendor: Modal Labs. Docs: modal.com. Pricing: modal.com. Compare every agent sandbox

Price rows
4
Vendor claims
1
Not stated
3
Verified quotes
18

Pricing

In the provider's own unit, verbatim. Nothing is converted; the directory compares a price only with others in the same unit.

Modal Sandboxes prices, each in the provider's own unit
PriceUnit, as statedQuote and sourceNotes
$0.00003942per physical core per second (Sandbox rate; 1 physical core = 2 vCPU equivalent)Directory block: Per physical core-second
“0.00003942/ core / sec”
modal.com

Minimum 0.125 cores per container.

$0.00000667per GiB memory per second (Sandbox rate)Directory block: Per GiB-second
“0.00000667/ GiB / sec”
modal.com
-
Standard GPU ratesGPU on Sandboxes billed at standard resource ratesDirectory block: No rate of its own
“GPU See standard pricing”
modal.com
-
$0.04per GiB network egressDirectory block: Per GiB
“Network Egress$0.040.04/ GiB”
modal.com

Starter includes 1 TiB/month free egress.

Platform-wide Listed on Modal's general pricing page; unlike its CPU and memory rows it is not labelled a Sandbox rate, so it is the platform-wide egress price.

Free tier or credits

Starter plan: $30/month free credits, applies to Sandboxes

“$30 / month free credits”
modal.com

Limits, lifecycle and isolation

Max session duration

Default 5 minutes, configurable up to 24 hours

“Sandboxes have a default maximum lifetime of 5 minutes. You can change this by passing a timeout of up to 24 hours”
modal.com
Idle timeout and auto-pause

Optional idle_timeout parameter

“Sandboxes can also be automatically terminated after a period of inactivity - you can do this by setting the idle_timeout parameter.”
modal.com
Persistence and snapshots

Filesystem snapshots to carry state beyond 24 hours

“If you need a Sandbox to run for more than 24 hours, we recommend using Filesystem Snapshots to preserve its state”
modal.com
Isolation

gVisor runtime

“gVisor, a container runtime developed by Google, provides strong isolation and is suitable for most workloads.”
modal.com

VM runtime with own Linux kernel

“VMs run the Sandbox in a virtual machine with its own Linux kernel.”
modal.com
CPU and memory limits
Not stated

Note: Minimum request stated (0.125 cores, 128 MiB); no Sandbox maximum stated in checked pages.

GPU

GPU Sandboxes supported on the gVisor runtime only

“GPU Sandboxes are only supported with runtime”
modal.com
Egress controls

Outbound open by default

“By default, Sandboxes can make outbound connections to any public IP address.”
modal.com

Full block, CIDR allowlist, domain allowlist (beta)

“Modal provides three levels of outbound network restriction:”
modal.com
SDKs and languages

Python, JavaScript, Go (code-sample tabs on the Sandboxes guide)

“PythonPython (async)JavaScriptGo”
modal.com
Regions

Region selection available at 1.15-1.75x base prices

“Region selection · 1.15 - 1.75x base prices”
modal.com
Open source
Not stated

Note: Not stated in checked pages.

Self-host or BYOC
Not stated

Note: Not stated in checked pages.

Status

GA (inferred from published Sandbox pricing)inferred

“Modal Sandbox + Notebooks pricing”
Status inferred from - modal.com

Vendor-stated, not measured

Startup and resume claims

  • Containers spin up and down in 1-2 seconds (platform-wide claim, not Sandbox-specific)Vendor-stated

    “Modal spins containers up and down in 1-2 seconds.”
    modal.com

Other facts

  • Minimum request per container

    “Each container has a minimum request of 128 MiB of memory and 0.125 CPU cores”
    modal.com

FAQ

How much does Modal Sandboxes cost?

$0.00003942 per physical core per second (Sandbox rate; 1 physical core = 2 vCPU equivalent); $0.00000667 per GiB memory per second (Sandbox rate); Standard GPU rates GPU on Sandboxes billed at standard resource rates; $0.04 per GiB network egress. Prices are in the provider's own units as of October 18, 2026. Free tier: Starter plan: $30/month free credits, applies to Sandboxes.

What isolation does Modal Sandboxes use?

gVisor runtime; VM runtime with own Linux kernel.

How long can a session run on Modal Sandboxes?

Default 5 minutes, configurable up to 24 hours. Idle behavior: Optional idle_timeout parameter.

Does Modal Sandboxes restrict outbound network access?

Outbound open by default; Full block, CIDR allowlist, domain allowlist (beta).

Sources

Last verified from each provider's own docs, pricing pages and repositories; every quote was string-matched against the page that day. Not a benchmark: prices are in the provider's own unit and change without notice, so check the linked source before you commit.

Newsletter

Know when agent infrastructure changes

One email per week. New model releases, agent tooling and what they mean for what you build.