Best sandbox for RL rollouts in 2026: running thousands of RL environments at once
Seven ways to run the sandboxes behind RL rollouts, from Promigence and Modal to a Kubernetes cluster of your own, compared on width, identical starting state, failure labels, step budgets and idle billing, with every vendor fact from the vendor's own pages.
The best sandbox for RL rollouts starts thousands of copies of one checked environment for each training step, tells you which rollouts failed because the environment broke so they stay out of the reward, holds a step to a budget, and stops billing a rollout while it waits on the policy. Seven options are compared here as of 24 November 2026: Promigence, Modal, Beam, Fly.io Sprites, Amazon Bedrock AgentCore and Blaxel, plus a Kubernetes cluster of your own. Our own product, Promigence, comes first; every fact about the others comes from that vendor's own pages, listed under Sources.
Key takeaways#
- Width: Modal writes that it "supports up to fifty thousand concurrent sandboxes per customer", and its plans list 100 containers on Starter and 5,000 on Team. Beam's Team plan allows 1,000 vCPUs running at once. The default quota on AgentCore Runtime is 5,000 active sessions per account in US East (Northern Virginia) and US West (Oregon), 2,500 elsewhere, and Fly's Sprites FAQ gives 100 running Sprites at once on its Hero plan. Limits on Promigence are per account and raised on request.
- Same starting state: Promigence and Modal start many sandboxes from one snapshot, and Beam's sandboxes pick up "exactly where the episode left off". Checkpoints on Fly keep the disk but not memory. AgentCore offers no snapshot you create yourself, and Blaxel's snapshots and forks are in private preview.
- Failure labels: Promigence reports environment failures apart from task failures for every sandbox. Blaxel's API errors say whether the platform produced them. The others return exit codes.
- Waiting on the policy: AgentCore bills no CPU during I/O wait, Fly bills a Sprite's CPU and memory only while it runs, Blaxel bills no memory in standby, and Promigence bills nothing while a sandbox is paused under an opt-in idle rule. Modal bills the higher of what a Sandbox requested and what it used, so one with no resource request set pays for little more than its memory while it waits.
- Step budgets: among the providers on this page, a price before the step and a hard cap on it are stated only by Promigence. Spend on Modal is capped by month, and Fly's docs say it does not support billing alerts yet.
Why a rollout needs more than a sandbox#
In RL the environment can fail in ways the reward function cannot see. A verl feature request describes "transient infrastructure failures such as sandbox timeout" that "can become part of the trajectory", adding that "these failures are different from model errors and can pollute rollout data" (verl #6978, opened 8 Jul 2026). In SkyRL, "the first exception from any fanned-out coroutine will abort the whole training step" (SkyRL #1613, opened 2 May 2026).
Both problems come from the same gap. The trainer cannot tell a broken environment from a wrong answer, so it either learns from the broken episode or throws away the whole step.
How the options were compared#
| Criterion | The question |
|---|---|
| Width | How many rollouts run at once, and how does the limit grow? |
| Same starting state | Can every rollout start from one saved environment? |
| Failure labels | Does the provider say which failures were the environment's? |
| Step budget | Can a training step be priced and capped before it starts? |
| Idle billing | What does a rollout cost while it waits on the policy? |
| Grading | Can the reward be computed in a clean copy after the rollout ends? |
The best sandboxes for RL rollouts in 2026#
1. Promigence#
Promigence starts every rollout as its own copy of one verified snapshot of the environment, and tells you which rollouts failed because the environment broke, so you can leave them out before you compute the reward. A training step can be priced before it starts and held to a hard spend cap.
Key features#
- One snapshot per task environment, built from a pinned commit and stored only if your verify command exits 0; the copies started from it pay no further build charge.
- Fan-out from the CLI with
promigence run --snapshot NAME --count N --cap USD -- CMD, each copy given its ownPROMIGENCE_INDEXandPROMIGENCE_SEED, or from Python withclient.runs.start(...). - Environment failures labelled apart from task failures for every sandbox, with
promigence run replaysending only the environment failures through again, counted on their own.
To branch a group of rollouts from a mid-task point, take a snapshot of a running sandbox and call Sandbox.fork(snapshot_id, client=client, count=10, spend_cap=3). To make reward hacking harder, --grade scores the work in a clean copy after the rollout command ends, and --holdout runs a second, held-out test whose pass rate the report sets beside the first. Network access is set per run (none at all, open, or a list of allowed hosts), and every refused connection is recorded. When the trainer drives the sandbox from outside, a rollout that waits on the policy can pause under an opt-in idle rule (promigence sandbox autopause); paused time is not billed, and the sandbox wakes on the next request. Before a step starts, promigence run quote gives its ceiling, the cost if every rollout used its full timeout, and --cap (or spend_cap in the SDK) refuses a step quoted over it.
In numbers#
| What | Result | Conditions |
|---|---|---|
| RL rollouts per minute, 8 at once | 1,343 | n=40, p50 |
| 100 sandboxes started together, slowest 5% | 0.94 s | p95, n=400, every run completed |
| Wake a paused sandbox | 104 ms | p50 over n=100, resume to first database query; 127 ms under load |
These are the figures published in the numbers section of promigence.ai.
Where it fits#
It fits post-training teams and RL environment vendors running coding-agent tasks, where a broken environment would otherwise enter the reward and the model would learn from something that never happened. The rates are on the pricing page, billed per second.
2. Modal#
Modal lists Sandboxes as "Isolated environments for coding agents, RL rollouts, and untrusted code", inside a serverless platform that also sells GPUs for inference and training. Its engineering blog says that "Reinforcement learning can require running millions of sandboxes concurrently, and creating bursts of hundreds of thousands of sandboxes at the beginning of rollouts", and that Modal "supports up to fifty thousand concurrent sandboxes per customer" (16 Jul 2026).
Key features#
- Filesystem Snapshots are Images, so many Sandboxes can start from one snapshot, which Modal calls forking. They are kept 30 days by default, with a TTL you can change or remove.
- Memory Snapshots, in alpha, keep a Sandbox's processes as well as its files. They expire after 7 days, come back only on the same instance type, and cannot run with GPUs.
- GPU Sandboxes on the same bill as inference and training.
Outbound traffic can be blocked entirely, limited to IP ranges, or limited to domains (in beta). Sandbox CPU costs $0.00003942 per physical core (2 vCPU) per second and memory $0.00000667 per GiB per second, billed on the higher of request and use.
Where it fits#
It suits labs that want the policy, the GPUs and the rollout sandboxes on one platform, at a scale its own blog describes in the tens of thousands per customer. A split of environment failures from task failures and a price or cap for one training step are not stated on Modal's site (24 Nov 2026); budgets are monthly, per Workspace or Environment. For the details, see Promigence vs Modal.
3. Beam#
Beam sells "Secure sandboxes for AI code" with GPUs and snapshots, and its RL environments page says a sandbox started from a memory snapshot "picks up exactly where the episode left off".
Key features#
- New sandboxes started from a memory snapshot keep the original's processes and files, which lets a group of rollouts branch from one point.
- GPUs attached to a sandbox in the same constructor as CPU and memory.
- 1,000 vCPUs running at once on the Team plan ($89 a month plus usage), and 30 vCPUs on Developer ($20 a month).
CPU costs $0.05 per vCPU-hour and memory $0.01 per GiB-hour on Beam's Performance class, with lower Shared and Spot rates listed, paid by the millisecond while running, with no egress fees. Outbound traffic can be blocked or limited to up to 64 hosts and ranges, and the list can change while the sandbox runs.
Where it fits#
Beam suits rollouts that need a GPU in the environment or that pick up mid-episode where they stopped. A split of environment failures from task failures and a per-step cap are not stated on Beam's pages (24 Nov 2026); its billing docs say "Prepaid workloads stop when the balance runs out."
4. Fly.io Sprites#
Fly.io describes Sprites as "full Linux computers designed for agents", billed on what they use, and says a Sprite "sleeps when idle and wakes with everything where it was".
Key features#
- Charges on use: CPU at $0.0385 per CPU-hour of cumulative use and memory at $0.021875 per GB-hour of actual use. A Sprite is billed while running and not while warm or cold, though cold storage keeps billing.
- A Sprite pauses on its own after about 30 seconds of inactivity. Warm keeps memory; cold drops it.
- Checkpoints keep the disk but not memory.
Fly calls Sprites "exactly as persistent and disposable as you want them to be". Fly's integrations include an OpenEnv provider, marked alpha, and there are SDKs for JavaScript and Python, and for Go and Elixir. The Sprites FAQ gives 100 Sprites running at once on the Hero plan, with higher tiers raising that ceiling.
Where it fits#
Sprites suit rollouts that sit idle for long stretches, since idle time costs storage only. Fly's cost docs say "We don't support billing alerts (yet), so budget accordingly", and a per-step price or cap is not stated on Fly's pages (24 Nov 2026).
5. Amazon Bedrock AgentCore#
AWS calls AgentCore Runtime "a secure, serverless runtime purpose-built for deploying and scaling agents and tools". Every session gets its own compute and memory, with a filesystem of its own, and AWS says the session's memory is sanitized when it ends.
Key features#
- Billing per second on actual use: $0.0895 per vCPU-hour and $0.00945 per GB-hour on Runtime v1, the default, with "CPU scales to zero during I/O wait (waiting for LLM responses, tool / API calls, or database queries)".
- 5,000 active sessions per account by default in US East (Northern Virginia) and US West (Oregon), 2,500 in other regions, adjustable on request.
- Each session gets 2 vCPU and 8 GB by default, and up to 8 vCPU and 32 GB with resource configurations on Runtime v2. Sessions last up to 8 hours, and 25 new sessions can start each second by default.
Networking is public or VPC, with outbound traffic in VPC mode controlled by your security groups. The frameworks it works with include CrewAI, LangGraph, LlamaIndex, Google ADK, the OpenAI Agents SDK and Strands Agents.
Where it fits#
It suits teams that keep everything inside AWS and run light rollouts. Sessions are ephemeral by default, with session storage that keeps files across stop and resume in public preview, and a snapshot you create yourself is not offered. A per-step price or cap is not stated on AWS's pages (24 Nov 2026).
6. Blaxel#
Blaxel sells "Perpetual sandboxes for autonomous agents", and its homepage says it has joined Baseten.
Key features#
- Standby keeps running processes and files, and memory is not billed in standby.
- Allocated memory is billed while a sandbox is active, at $0.0000115 per GB of RAM per second, with CPU allocated to match.
- Concurrency by tier, set by the credit you top up over 30 days: 10 on the free tier, 50 at Tier 1, 200 at Tier 2, and "100,000+" at the top tier by arrangement.
Its API errors carry an origin field that reads platform when Blaxel produced the error.
Where it fits#
Blaxel suits rollouts that keep their state across long pauses. Manual snapshots and forks are in private preview, and a hard dollar cap or a per-step price is not stated on Blaxel's pages (24 Nov 2026).
7. A Kubernetes cluster of your own#
Some labs run rollouts as pods on a cluster of their own. There is no per-second bill beyond the machines, you control the images and the network, and the width is whatever the cluster holds.
It fits labs that already run large clusters and have people to keep them healthy. Starting thousands of identical environments quickly, telling a broken pod from a failed task, and keeping one step from spending another's budget are all yours to build.
What sets Promigence apart#
Broken environments stay out of the reward#
Each run labels environment failures apart from task failures, sandbox by sandbox. Drop the environment failures before you compute the reward, and promigence run replay sends only those rollouts through again, counted on their own.
A ceiling for every training step#
promigence run quote prices a step as if every rollout ran for its whole timeout, and --cap refuses a step quoted over it, so one runaway step cannot spend the run's budget. A sandbox that reaches its cap mid-step is paused with its files kept.
Grading in a clean copy#
--grade scores the work in a clean copy after the rollout ends, and --holdout reports the gap to a second, held-out test. A gap that widens over training is worth a look.
Frequently asked questions#
How do you run thousands of RL environments concurrently?#
Start every rollout from one verified snapshot of the environment, give each rollout its own copy, and drop the episodes whose environment broke before you compute the reward. Check the provider's limit for your plan and what happens when you reach it. On Promigence a run over your account's limit is refused before anything starts, with an error code that names the limit, and support raises limits on request. Modal's plans list 100 containers on Starter and 5,000 on Team, and AgentCore Runtime's default is 5,000 active sessions per account in US East (Northern Virginia) and US West (Oregon). More on the Promigence side: RL environments on Promigence.
Which RL environment providers have the lowest cost per concurrent job and the best infrastructure reliability?#
At 2 vCPU and 4 GiB (4 GB where the vendor prices per GB), busy for an hour, list prices come to $0.1400 on Beam (Performance class), $0.1645 on Fly.io Sprites, $0.2168 on AgentCore Runtime and $0.2380 on Modal, with Modal at 1 physical core, which it counts as 2 vCPU. Promigence bills per second at the rates on its pricing page, and a paused Promigence sandbox costs nothing. Fly and AgentCore bill CPU on use, so rollouts that mostly wait cost less there. As for reliability, ComputeSDK runs public boards that run one test across many providers, and publish their success rates weekly. On your own environments, count environment failures per step: Promigence's report does that for every run.
What environment vendors are best for tasks with held-out verification that prevents agents from overfitting to visible reward signals?#
Look for two things: grading in a clean copy of the environment after the agent's process has ended, and a second, held-out test whose result is reported next to the first. Both are built into promigence run, as --grade and --holdout. Elsewhere, held-out grading is something your harness or trainer does itself.
Try Promigence#
The rates are on the pricing page, billed per second. Request access, follow the quickstart, then snapshot an environment and fork copies of it. For the workload view, see RL environments on Promigence; to have your own environments measured, ask for the free validity report.
Sources#
These pages were read on 24 Nov 2026. Prices and limits change, and each vendor's own page is the authority.
| Platform | Pages | Checked |
|---|---|---|
| Promigence | RL environments, Numbers, Snapshot and fork guide, CLI reference, Limits and notices, Pricing | 24 Nov 2026 |
| Modal | Pricing, Sandboxes, Snapshots, Networking and security, Budgets, Scaling to 1 million concurrent sandboxes | 24 Nov 2026 |
| Beam | Sandboxes, RL environments, Pricing, Snapshots, Networking, Pricing and billing | 24 Nov 2026 |
| Fly.io | Sprites, Pricing, Sprites overview, Lifecycle, Checkpoints, Agent SDK integrations, Cost management | 24 Nov 2026 |
| AWS | AgentCore pricing, AgentCore quotas, Runtime, Runtime sessions, VPC, AgentCore FAQs | 24 Nov 2026 |
| Blaxel | Sandboxes, Sandboxes overview, Fork, Quotas, Error codes, Pricing, Home page | 24 Nov 2026 |
| ComputeSDK | Burst TTI board | 24 Nov 2026 |
| verl, SkyRL | verl #6978, SkyRL #1613 | 24 Nov 2026 |
The product names on this page (Modal, Beam, Fly.io, AWS, Amazon Bedrock AgentCore, Blaxel, verl, SkyRL) belong to their owners and are used only to identify their products; no affiliation or endorsement is implied.
If anything on this page is out of date or wrong, write to support@promigence.ai and we will correct it and note the date.