Home / AI agent sandboxes / Modal Sandboxes / Pricing
Modal Sandboxes pricing
In short (2026-11-14): $0.07096 per vCPU-hour, $0.02401 per GiB-hour of memory, plans from $250.00 a month. Free tier: Starter plan: $0/month with $30 of compute credit every month (CPU, memory, GPU for Functions and Sandboxes). Source: official pricing page. Prices checked 2026-11-15.
Usage rates
- vCPU
- $0.07096 per vCPU-hour
- Memory
- $0.02401 per GiB-hour
- Storage
- $0.09 per GiB-month
- Billing
- per second. While the sandbox runs, charged on max(requested, actually used) CPU and memory; default request is 0.125 physical cores and 128 MiB.
Plans
| Plan | Per month | Included credit | Limits |
|---|---|---|---|
| Starter | $0.00 | $30.00 | $30/month compute credit, up to 3 seats, 100 containers and 10 GPU concurrency, 1 TiB/month free egress, 1-day log retention. |
| Team | $250.00 | $100.00 | $100/month compute credit, unlimited seats, 5,000 containers and 50 GPU concurrency, 10 TiB/month free egress, custom domains for sandbox tunnels, static IP proxy. |
GPU prices
- Nvidia B300: $7.10 per hour
- Nvidia B200: $6.25 per hour
- Nvidia H200 SXM: $4.54 per hour
- Nvidia H100 SXM5: $3.95 per hour
- Nvidia RTX PRO 6000: $3.03 per hour
- Nvidia A100 80 GB: $2.50 per hour
- Nvidia A100 40 GB: $2.10 per hour
- Nvidia L40S: $1.95 per hour
- Nvidia A10: $1.10 per hour
- Nvidia L4: $0.7992 per hour
- Nvidia T4: $0.5904 per hour
What it costs in practice
| Workload | Usage | Cheapest plan | Total per month |
|---|---|---|---|
| Hobby agent: 1 vCPU, 1 GiB, 20 hours a month | $1.90 | Starter | $0.00 |
| One dev agent: 2 vCPU, 4 GiB, 8 h a day for 22 days | $41.88 | Starter | $11.88 |
| Team: 10 sandboxes of 2 vCPU, 4 GiB, 8 h a day for 22 days | $418.81 | Starter | $388.81 |
| Always on: 4 vCPU, 8 GiB, 730 hours a month | $347.42 | Starter | $317.42 |
CPU busy 30% (50% always on), which matters only where CPU is billed by active time. Storage, network and GPU are not included. Try your own numbers in the cost calculator.
Billing details that change the bill
- Sandbox rates differ from Function rates: sandboxes are billed at non-preemptible rates of 3x list price. Sandbox CPU is $0.00003942 per physical core per second ($0.141912/core-hour) and memory $0.00000667 per GiB-second ($0.024012/GiB-hour). Function list rates are $0.0000131/core/s ($0.04716/core-hour) and $0.00000222/GiB/s ($0.007992/GiB-hour).
- Modal prices CPU per physical core, and one core equals 2 vCPU. Our vCPU-hour figure is the core rate divided by 2 ($0.141912 / 2 = $0.070956).
- Billing is max(request, actual) for CPU and memory, with a minimum of 0.125 cores and 128 MiB per container. With no request set, a sandbox pays roughly for its average usage; a request is billed for the sandbox's whole lifetime even if idle. Disk requests add to the memory request at a 20:1 ratio.
- GPU sandboxes are billed at the standard GPU rates listed above (per-second rates x3600), only run on the gVisor runtime, and are subject to preemption.
- Pinning a region multiplies the price by 1.15x (broad region such as us) or 1.75x (narrow region such as us-west).
- Volumes cost $0.09/GiB-month with up to 1 TiB free; egress costs $0.04/GiB after the plan's included egress (1, 10 or 100 TiB/month).
- Sandbox timeout defaults to 5 minutes and can be set up to 24 hours; there is no pause/resume, but filesystem snapshots (30-day default TTL) and memory snapshots (alpha, 7-day expiry, terminates the sandbox) can carry state to a new sandbox.
- No maximum CPU or memory per sandbox is published on the pages checked; Modal only says requests above a maximum are rejected.
Price history
List price per month over timeNo change since 2026-11-13
No price change found since we started tracking on 2026-11-13. We check every pricing page daily.
Cheaper or better-fit Modal Sandboxes alternatives →
Sources
- https://modal.com/pricing, checked 2026-11-14:
Sandboxes are billed at non-preemptible rates of 3x list price.
- https://modal.com/pricing, checked 2026-11-14:
Physical core (2 vCPU equivalent) $0.00003942
- https://modal.com/pricing, checked 2026-11-14:
Memory (non-preemptible) $0.00000667
- https://modal.com/pricing, checked 2026-11-14:
Nvidia H100 SXM5 $0.001097
- https://modal.com/pricing, checked 2026-11-14:
$250 + compute / month
- https://modal.com/pricing, checked 2026-11-14:
$30 / month free credits
- https://modal.com/pricing, checked 2026-11-14:
$100 / month free credits
- https://modal.com/pricing, checked 2026-11-14:
Volumes $0.09
- https://modal.com/docs/guide/resources, checked 2026-11-14:
For CPU and memory, you'll be charged based on whichever is higher: your request or actual usage.
- https://modal.com/docs/guide/resources, checked 2026-11-14:
Disk requests are billed by increasing the memory request at a 20:1 ratio.
- https://modal.com/docs/guide/sandboxes, checked 2026-11-14:
You can change this by passing a timeout of up to 24 hours to the Sandbox.create(...) function.
- https://modal.com/docs/guide/sandbox-resources, checked 2026-11-14:
By default, each Sandbox requests 0.125 CPU cores and 128 MiB of memory
- https://modal.com/docs/guide/sandbox-resources, checked 2026-11-14:
Unlike CPU Sandboxes, GPU Sandboxes are subject to preemption.
- https://modal.com/docs/guide/region-selection, checked 2026-11-14:
A multiplier on top of our base usage pricing will be applied to any Function or Sandbox that has a container region defined.
- https://modal.com/docs/guide/sandbox-networking, checked 2026-11-14:
Modal provides three levels of outbound network restriction
- https://modal.com/docs/guide/sandbox-snapshots, checked 2026-11-14:
Memory Snapshots expire 7 days after creation and cannot currently be extended.