Skip to content
A new frontier for open-weight intelligence: Kimi K3.1 Pro is now available on Modal.
Learn more

Sandboxes

Trusted infrastructure for untrusted agents

Designed to give agents the computers they need at the scale, speed, and reliability 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 moving with startup that stays fast at scale.

  • On-demand access to GPUs

    Full support for GPU Sandboxes, including RDMA-enabled GPUs, with a few lines of code.

  • One provider, Sandboxes and training

    Built-in training solutions to support the full RL process beyond Sandboxes.

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 start large, custom images in under a second.

  • Secure networking

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

  • Integrated inference platform

    Power agents with open-weight models from Modal's shared, dedicated, or custom endpoints.

Engineered for the scale, flexibility, and speed agents require

1

Scale to a million in under a minute

Modal's infrastructure scales to the concurrency that production agent systems demand with no performance degradation under load.

Learn more
2

Elastic CPU and memory resourcing

Automatically “burst” CPU or memory, increasing resource efficiency, saving money, and reducing the risk of out-of-memory errors.

Learn more
3

Sub-second starts on custom images

Bring your dependencies, your base image, your setup scripts. Sub-second cold-starts even on custom and large images.

Learn more

Active-resource Sandbox pricing

Reserve for your baseline, burst up to your peak. Modal charges the max of what you reserve and what you use, so you can avoid over-provisioning CPU and memory.

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

Frequently asked questions

Ship your first app in minutes

$30 / month free compute