Skip to content

Sandboxes

Trusted infrastructure for untrusted agents

High performance sandboxes designed to give agents the computers they need at a scale they demand.

Computers for agents.

Reinforcement learning rollouts

Rollouts that scale fast without slowing down your workflow.

Get started
  • 1M+ sandboxes in under a minute

    Keep your GPUs saturated and rollouts fast with massively parallel sandboxes that spin up fast.

  • Any dependency, any image

    Programmatically define your exact rollout environment and dependencies.

  • Egress controls to prevent cheating

    Lock each rollout's egress, keeping rollout environments reproducible and contained.

Coding Agents

The fast, reliable computer your coding agent needs to do its best work.

Get started
  • Fast startup on any image

    Snapshot full or partial filesystems to save state and resume instantly later.

  • Secure networking

    Lock down domain egress while still giving agents access to the Secrets, data, and tools they need.

  • Build robust environments

    Start from any image, install what you need at runtime, and keep state across a long agent session.

Engineered for the speed and scale agents require

1

Scale to a million in under a minute

Modal's infrastructure scales to the parallelism that production agent systems and RL training actually demand.

Learn more
2

Fast on any image

Bring your dependencies, your base image, your setup scripts. Sub-second scheduling and strong cold-start performance on custom images

Learn more
3

Adaptive provisioning of resources

Elastically scale both CPU and Memory as needed so you never have to worry about under provisioning or over paying.

Learn more

Modal Sandbox Pricing

Only pay for what you use. Burst up to what you need without over-allocating CPU or memory in advance.

Compute costs

CPU

Physical core (2 vCPU equivalent)

$0.1419 / core / h

*minimum of 0.125 cores per container

Memory

$0.0240 / GiB / h

Reinforcement Learning
“Modal powers both our reinforcement learning infrastructure and production inference. Millions of sandboxes on one end, real-time serving on the other.”
Scott Wu CEO, Cognition
Coding Agents
“We use Sandboxes to power Coding Sessions, which allows users to delegate and iterate on issues with their coding agent by tagging @Linear.”
Ryan Delaney Software Engineer, Linear
Coding Agents
“It would have been really hard to build Inspect without Modal. A lot of the complexity is hidden behind just being able to spin up sandboxes very quickly with a lot of services and data, and effectively have infinite of them at any given time.”
Rahul Sengottuvelu Head of Applied AI, Ramp

Ship your first app in minutes

$30 / month free compute