Best sandbox for evals in 2026: where to run agent evaluations
Five ways to run the sandbox under an agent eval, from Promigence and Modal to your own Docker or Kubernetes machines, compared on six criteria from environment checks to cost control, with every vendor fact from the vendor's own pages.
The best sandbox for evals checks each environment before the agent starts, keeps a broken environment from being scored as a failed sample, runs the same environment again months later, and tells you the cost before the suite starts. Five options cover most teams in 2026: four hosted ones (Promigence, Modal, Vercel Sandbox, Blaxel) and your own machines running Docker or Kubernetes. Each can run Inspect or Harbor tasks. Our own product, Promigence, comes first; every fact about the others comes from that vendor's own pages, read on 24 November 2026 and listed under Sources.
Key takeaways#
- Checks before the episode: a Promigence snapshot is stored only if its verify command exits 0. Modal runs readiness probes, a port check or a command that must exit 0, before
wait_until_ready()returns. - Failure attribution: Promigence reports environment failures apart from task failures for every sandbox. Blaxel's API errors say whether the platform or the workload produced them, and Modal returns exit codes and the reason a Sandbox finished.
- Reproducibility: a Promigence snapshot is named by a hash of its contents and kept until you delete it. Modal's Filesystem Snapshots are kept 30 days by default, and you can change or remove that limit.
- Width: Vercel runs 10,000 sandboxes at once on Pro, Modal 100 containers on Starter and 5,000 on Team, and Blaxel's limit grows with the credit you top up, from 10 sandboxes on its free tier.
- Cost: Promigence prices a run before it starts and refuses one quoted over your cap. Monthly budgets on Modal cover a Workspace or an Environment, and Blaxel emails administrators at 90% of a tier's quota.
Why the sandbox shows up in the score#
An eval harness measures a model, and a sandbox that dies mid-sample still produces a row in the results. Unless something labels the cause, a timed-out environment and a wrong answer look the same. An open issue on the Inspect evals register puts it plainly: "Across the register, scorers disagree about what to do when the thing doing the measuring is what failed", and that "moves published numbers" (inspect_evals #2091, opened 5 Aug 2026). Another, filed against one of the coding evals, reports that "a dropped sandbox connection or an OOM-killed executor is charged to the model rather than routed to --retry-on-error" (inspect_evals #2323, opened 30 Aug 2026).
Infrastructure noise almost always subtracts. It turns solved samples into unsolved ones, so a flaky fleet makes every model look worse, and two runs on different days stop being comparable.
How the options were compared#
| Criterion | The question |
|---|---|
| Checks before the episode | Is each environment proven to work before the agent starts? |
| Failure attribution | Are environment failures kept apart from task failures after the run? |
| Reproducibility | Can the exact environment be named and kept, then run again later? |
| Width | How many samples run at once, and how does the limit grow? |
| Cost known in advance | Is there a price and a hard cap for a run before it starts? |
| Harness fit | How much work does it take to plug into Inspect or Harbor? |
The best sandboxes for evals in 2026#
1. Promigence#
Every eval sample gets its own Promigence sandbox, started as a fresh copy of a snapshot that passed your verify command when it was built. Inspect selects it with sandbox="promigence" once the inspect-promigence package is installed, and Harbor runs its trials there with -e promigence_harbor:PromigenceEnvironment from the promigence-harbor package, without a patch to Harbor. Any other harness can call the CLI, the Python or TypeScript SDK, or the REST API.
Key features#
- A snapshot is stored only if its verify command exits 0, so an environment that cannot set up fails at build time instead of inside your suite.
- Every run reports environment failures apart from task failures, sandbox by sandbox. The CLI exits 3 when the environment failed and 4 when the task did.
--grade CMDruns your grader in a fresh copy of the snapshot with the agent's file changes applied, after the agent's process has ended, and--holdout CMDreports the gap to a second, held-out test.
promigence run replay sends only the environment failures through again, in new sandboxes, counted apart from the run's own figures. A snapshot is named by a hash of its contents and kept until you delete it, and promigence snapshot export writes a .promigence file naming that exact snapshot, which --snapshot accepts in place of an ID, so a result can cite the exact environment it ran in. Pricing a suite before it starts takes promigence run quote, which assumes every sandbox runs for its whole timeout, and --cap refuses a run quoted over your limit. Inside Inspect's .eval log, each sample carries the sandbox id, the snapshot id, the image digest and any failure classed as env, env_definition, config or task. A sandbox that fails on Promigence's side before it reaches you is not billed; after hand-over, when Promigence shows a failure was its own, the work since the last snapshot (or since the start), up to 24 hours, is credited back.
Where it fits#
It fits teams whose eval numbers get published, compared across models or tracked for months, where one broken environment counted as a failed sample moves the result. The validity report gives you a count of the environments that were fine. The snapshot hash pins down what "the same environment" means when the suite runs again next quarter.
Billing is per second, at the rates on the pricing page. To see it on your own suite first, send the repo or harness you run today and get back 1,000 verified episodes, the validity report and a per-episode price at no charge, as a one-time offer. Image-based Inspect tasks need no Docker daemon on your machine.
2. Modal#
Modal describes 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 documentation carries a worked example that runs Harbor evals with harbor run --env modal, each trial in its own Sandbox, and Inspect's documentation lists a modal sandbox provider from the inspect-sandboxes package.
Key features#
- Readiness probes: a TCP check on a port, or a command that must exit 0, with
wait_until_ready()blocking until one passes, for up to 5 minutes. - 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.
- Exit codes for each command and for the Sandbox; a Sandbox that stopped on a timeout, an idle timeout or an out-of-memory condition shows why in the dashboard or through
sandbox.poll().
GPUs run inside Sandboxes, and a Sandbox can run Docker. Budgets are monthly, for a Workspace, and for each Environment on the Team and Enterprise plans. Sandbox CPU costs $0.00003942 per physical core (2 vCPU) per second and memory $0.00000667 per GiB per second, with 100 containers at once on Starter and 5,000 on Team.
Where it fits#
It suits eval teams that want the model, a GPU and the sandboxes on one platform and one bill, and Python teams that already run other work there. A split of environment failures from task failures, a quote or a cap for a single run, and a portable export of a snapshot are not stated on Modal's site (24 Nov 2026). For a row-by-row comparison, see Promigence vs Modal.
3. Vercel Sandbox#
Vercel's ecosystem page lists Harbor and Scale AI's AgentEnv among the eval tools that run on Vercel Sandbox, and its Harbor page says any of the 300 or more datasets on the Harbor Hub runs each trial in its own isolated sandbox, naming Terminal-Bench and SWE-bench among them.
Key features#
- 10,000 sandboxes at once on the Pro plan, and sessions of up to 24 hours.
- Active CPU billing at $0.128 an hour in iad1, which does not count time spent waiting on I/O, so a sample waiting on the model pays mostly for memory, at $0.0212 per GB-hour.
Sandbox.fork()starts a new sandbox from the latest saved state of another, and snapshots are kept 30 days after last use by default.
Commands return exit codes, and a session can end with a failed status. "GPU tasks are not supported," according to its Harbor page.
Where it fits#
Vercel Sandbox suits teams that run Harbor datasets at high width, and teams already deploying on Vercel. A split of environment failures from task failures and a cap for one run are not stated on Vercel's pages (24 Nov 2026), and its spend settings send alerts and can pause production deployments, but its pages do not say that this stops a running sandbox.
4. Blaxel#
Blaxel sells "Perpetual sandboxes for autonomous agents". Harbor's README lists Blaxel among the cloud providers it runs trials on, and Blaxel's homepage says it has joined Baseten.
Key features#
- A sandbox moves to standby when it goes idle, keeping its running processes and its files, and memory is not billed in standby.
- API errors carry an
originfield that readsplatformwhen Blaxel produced the error, and adispatch_statethat says whether the request ever reached the workload. - Concurrency by tier, set by the credit you top up over 30 days: 10 sandboxes on the free tier, 50 at Tier 1 ($20 a month) and 200 at Tier 2 ($50 a month).
Billing runs on allocated memory while a sandbox is active, at $0.0000115 per GB of RAM per second, with CPU allocated to match and not charged separately. SDKs cover Python and TypeScript, plus Go.
Where it fits#
It suits long-lived agent sandboxes that sit idle between steps. Manual snapshots and forking are in private preview, a per-run price or hard cap is not stated on Blaxel's pages (an email goes out at 90% of a tier's quota), and its pages name no eval harness integration of their own (24 Nov 2026).
5. Your own machines with Docker or Kubernetes#
Inspect runs Docker sandboxes out of the box, and its documentation lists a k8s provider for running samples on a Kubernetes cluster. Harbor runs trials in local Docker by default.
Key features#
- No vendor and no per-second bill: you pay for the machines.
- Full control of the machines, the images and the network.
- Inspect's
dockersandbox and thek8sprovider, and Harbor's local Docker environment, work with no account anywhere.
Where it fits#
This fits teams that already run a cluster and have someone to own it. The machines are yours, and so are the separation between samples, the retries, the count of broken environments and the record of exactly what ran. Width is whatever your cluster holds.
What sets Promigence apart#
A count of broken environments, every run#
Each run ends with a validity report: how many environments were verified, how many failed on the environment's side and how many on the task's. A sample that failed because the sandbox broke is never counted as the model failing it, and promigence run replay puts only those samples through again.
The same environment next quarter#
A snapshot is named by a hash of its contents, kept until you delete it, and promigence snapshot export writes a file naming it exactly that you can commit next to the results. Cite it in the methods section, and a later run starts from the same files.
The bill before the suite starts#
promigence run quote shows the most a run can cost before anything starts, and --cap refuses a run quoted over your limit. A sandbox that reaches its cap mid-run is paused with its files kept, and paused time is not billed.
Frequently asked questions#
How do I make coding agent eval runs reproducible across machines?#
Pin everything the environment is built from: the repository at a commit, the image by digest, the dependencies by lockfile. Then build it once and start every sample from that one build instead of rebuilding per machine. On Promigence the build is a snapshot named by a hash of its contents, stored only if your verify command passes and kept until you delete it; the Inspect provider pins the image tag to its digest before building, and promigence snapshot export writes a file naming that snapshot that you can commit with the results. Filesystem Snapshots on Modal can be kept past their 30-day default by changing their TTL.
Where can Terminal-Bench or Harbor evals run in the cloud?#
Harbor runs trials in local Docker by default and in cloud sandboxes when you pass an environment. To use Promigence, install promigence-harbor and pass -e promigence_harbor:PromigenceEnvironment, as the Harbor guide shows. Modal's documentation has a worked example with harbor run --env modal, Vercel's has a Harbor page for its sandboxes, and Harbor's README lists Blaxel among its cloud providers.
How do you run 500 agent evaluation episodes at once, each in a fresh Linux environment?#
Build the environment once, then start 500 copies of it, one per episode, under a cost ceiling. Check the provider's concurrency limit before you plan the run: on Promigence the limit for your account is on limits, and support raises it on request, while Modal allows 100 containers on Starter and 5,000 on Team, Vercel 10,000 on Pro, and Blaxel's limit depends on its tier. With Promigence, promigence run quote --snapshot NAME --count 500 prices the run, and promigence run --snapshot NAME --count 500 --cap USD -- ./run_episode.sh starts it and ends with the validity report.
Try Promigence#
The rates are on the pricing page, billed per second. Request access, follow the quickstart, then plug in your harness with the Inspect guide or the Harbor guide. For the workload view, see agent evaluations on Promigence and SWE-bench on Promigence; to have your own suite 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 | Agent evaluations, Inspect guide, Harbor guide, CLI reference, Limits and notices, Pricing, FAQ, Free validity report | 24 Nov 2026 |
| Modal | Sandboxes, Snapshots, Harbor evals example, Budgets, Pricing | 24 Nov 2026 |
| Vercel | Ecosystem, Harbor, Sandbox pricing and limits, Snapshots, SDK reference, Spend management | 24 Nov 2026 |
| Blaxel | Sandboxes, Sandboxes overview, Error codes, Fork, Quotas, SDK reference, Pricing, Home page | 24 Nov 2026 |
| Inspect | Sandboxing, inspect_evals #2091, inspect_evals #2323 | 24 Nov 2026 |
| Harbor | README | 24 Nov 2026 |
The product names on this page (Modal, Vercel, Blaxel, Inspect, Harbor) belong to their owners and are used only to identify their products; no affiliation or endorsement is implied. Vercel, the Vercel design, Next.js and related marks, designs and logos are trademarks or registered trademarks of Vercel, Inc. or its affiliates in the US and other countries.
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.