

AI sandbox pricing comparison (2026)
AI sandbox pricing depends on what you reserve, how long the sandbox runs, and what you keep after it stops. An agent that spends most of its time waiting for model responses can cost much less on a platform that bills only for active CPU time. If you run short jobs or large evaluation batches, the compute rate and the plan you need for peak concurrency can matter more.
This comparison covers managed sandbox rates, monthly workload estimates, GPU pricing, and bring-your-own-cloud (BYOC) costs.
- 100 coding-agent sandboxes for one hour: Northflank had the lowest estimated usage cost at $6.67 across the seven providers modeled. That estimate assumes no separate disk charge, so check your storage allocation.
- 10 sandboxes left running all month: At 10% CPU utilization, Cloudflare Sandbox had the lowest estimated usage cost at $404.71, before its Workers plan fee and separate Workers and Durable Objects charges. Northflank came to $486.62.
- BYOC: On Northflank, add the management fee per node vCPU to your cloud bill. How much of each node you use affects the cost per sandbox.
- GPUs: Compare the price of the whole sandbox. Northflankâs GPU plans include CPU and RAM; Modal charges for them separately. Daytona publishes both preemptible and on-demand GPU rates.
AI sandboxes are isolated environments for running untrusted or AI-generated code. Teams use them to run coding agents, execute user-submitted code, and give each task in an evaluation batch its own environment.
On Northflank Cloud, CPU sandboxes use microVM isolation and GPU sandboxes use gVisor. On Northflank BYOC, the isolation options depend on the cluster and its configuration.
These are the vendorsâ published rates for managed sandboxes, in USD, checked 30 November 2026. Each rate uses the vendorâs billing unit. The workload examples below show what those rates mean for different usage patterns.
| Platform | CPU | Memory | Storage | What you pay for |
|---|---|---|---|---|
| Northflank | $0.01667/vCPU-hour | $0.00833/GB-hour | Ephemeral storage included within your allocation; persistent disk $0.11657/GiB-month | Allocated compute while running, billed per second |
| E2B | $0.0504/vCPU-hour | $0.0162/GiB-hour | 10 GiB on Hobby or 20 GiB on Pro included | Allocated compute while running, billed per second; paid plan may be required for concurrency |
| Daytona | $0.0504/vCPU-hour | $0.0162/GiB-hour | $0.000108/GiB-hour after the first 5 GiB | Allocated compute while running, billed per second |
| Modal | $0.1419/physical core-hour (2 vCPU equivalent) | $0.02401/GiB-hour | Volumes $0.09/GiB-month, subject to included allowance | The greater of requested or actual CPU and memory use, billed per second |
| Fly.io Sprites | $0.0385/CPU-hour | $0.021875/GB-hour | Hot $0.000683/GB-hour; cold $0.000027/GB-hour | Actual CPU and memory use; cold storage can still accrue while asleep |
| Vercel Sandbox | $0.128/vCPU-hour of active CPU (default iad1 region) | $0.0212/GB-hour of provisioned memory (default iad1 region) | Snapshot storage $0.08/GB-month on paid usage | Active CPU and provisioned memory; sandbox creations and storage are separate |
| Blaxel | Bundled with memory; CPU scales automatically | $0.0000115/GB of allocated RAM per second while running | Snapshots $0.20/GB-month; volumes $0.12/GB-month | Bills runtime by allocated memory and suspends idle sandboxes |
| Cloudflare Sandbox (Containers) | $0.072/vCPU-hour of active CPU | $0.009/GiB-hour of provisioned memory | $0.000252/GB-hour of provisioned disk while running | Rates above included usage; $5/month Workers Paid plan required, plus separate Workers and Durable Objects billing |
Northflank, E2B, and Daytona charge for allocated compute while a sandbox runs, including time spent waiting on an API call. Stopping or pausing a sandbox can stop compute charges; any retained storage follows the providerâs storage terms. On Northflank Cloud, for example, pausing stops compute charges, but attached volumes still accrue storage charges.
Vercel and Cloudflare bill for active CPU time but still charge for provisioned memory while the sandbox runs. An agent waiting on a model response can use little billable CPU while still incurring memory charges. Cloudflare also bills for provisioned disk while the container runs.
Fly.io Sprites meters CPU time and actual memory use. Compute stops accruing when the Sprite goes to sleep, but cold storage can still be billed. Blaxel instead charges by allocated memory while the sandbox is running and suspends idle sandboxes automatically. In both cases, check what keeps a sandbox awake before assuming all time between tasks is free.
One physical CPU core on Modal is equivalent to two vCPUs, so its sandbox rate of about $0.1419 per physical core-hour translates to about $0.071 per vCPU-hour. Modal bills the higher of the requested and actual resources. The workload estimates assume the stated CPU and memory are requested. If you use Modalâs smaller default reservation and burst as needed, your bill can differ.
Of the seven providers in the workload comparison, Northflank had the lowest estimated usage cost for both the 100-agent coding example and the 1,000-sandbox evaluation batch. Cloudflare Sandbox came in lower for the monthly workload, where CPU was active only 10% of the time. That estimate excludes the Workers plan fee and separate Workers and Durable Objects charges.
To work out what youâd pay, enter your sandbox count, runtime, and CPU usage in the sandbox pricing calculator. Then add the plan, storage, and network charges that apply to your workload.
Northflank, Modal, and Daytona offer GPU sandboxes. Northflankâs GPU plans include CPU and RAM. Modal charges for the GPU, CPU, and memory separately. For Daytona, check the preemptible and on-demand rates and compare the full cost of the configuration you need.
| Platform | L4 | A100 40 GB | A100 80 GB | H100 | H200 |
|---|---|---|---|---|---|
| Northflank Cloud | $0.80/hr | $1.42/hr | $1.76/hr | $2.74/hr | $3.14/hr |
| Modal | $0.80/hr | $2.10/hr | $2.50/hr | $3.95/hr | $4.54/hr |
Rates are per GPU-hour and rounded to cents. Check the supported GPU counts, regions, and availability before estimating a deployment. Northflank Cloud lists the H200 in an eight-GPU configuration: $3.14 per GPU-hour, or $25.12 per hour for all eight GPUs. See GPU sandboxes explained for more on how GPU isolation works.
The table compares three workloads across seven providers. Each example targets 2 vCPU and 4 GiB of memory per sandbox. For Sprites, which bills for actual memory use, the estimate assumes 4 GB in use. See the assumptions and vendor rates in Northflankâs open-source sandbox pricing comparison.
- Coding agents: 100 sandboxes running at once for one hour each, with 10 GB of working disk and CPU active 25% of the time.
- Evaluation batch: 1,000 sandboxes running at once for two hours each, with 10 GB of working disk and CPU active 50% of the time.
- Always-on agents: 10 sandboxes running for a 730-hour month, with 20 GB of working disk and CPU active 10% of the time.
| Provider | 100 coding agents, 1 hour | 1,000 eval sandboxes, 2 hours | 10 always-on sandboxes, per month |
|---|---|---|---|
| Northflank | $6.67 | $133.32 | $486.62 |
| Cloudflare Sandbox | $7.45 | $221.04 | $404.71 |
| Fly.io Sprites | $11.36 | $265.66 | $794.68 |
| Vercel Sandbox | $14.88 | $425.60 | $805.92 |
| E2B | $16.56 | $331.20 | $1,208.88 |
| Daytona | $16.61 | $332.28 | $1,220.71 |
| Modal | $23.80 | $475.92 | $1,737.11 |
Estimates cover compute and any charges for working disk while the sandbox runs. They also include Vercelâs sandbox creation charge where applicable. They exclude plan fees, credits, egress, and persistent storage, plus Cloudflareâs separate Workers and Durable Objects charges.
Check your disk allocation on Northflank. The estimates assume no separate disk charge. Confirm that your sandbox can allocate the 10 GB or 20 GB used in these examples. If you need a persistent volume, add its cost separately.
Check plan and session limits. For 100 concurrent sandboxes, E2B requires at least its $150/month Pro plan and Vercel requires at least its $20/month Pro plan. At 1,000, some providers require higher quotas, an upgraded plan, or an enterprise agreement. The monthly example shows total runtime across sessions. If your provider caps session length, you may need to restart and restore state to reach that runtime.
The Cloudflare estimates use a custom container size. A larger preset raises the cost of provisioned memory and disk.
With bring your own cloud (BYOC), your sandboxes run on infrastructure in your own cloud account. You pay your infrastructure provider for the underlying resources and the sandbox platform according to its terms. Private networking to a managed sandbox is different: it connects the sandbox to your VPC but does not move its compute into your account.
| Platform | Where sandbox compute runs | Access and pricing |
|---|---|---|
| Northflank | AWS, Google Cloud, Azure, Oracle, CoreWeave, Civo, Nebius, or a compatible imported Kubernetes cluster | Self-serve. Published pay-as-you-go rate: cloud bill plus $0.02083 per managed node vCPU-hour; no Northflank memory fee. BYOC GPUs have a separate fee of $1 per GB of VRAM per month. |
| E2B | AWS, Google Cloud, or Azure | Enterprise; BYOC pricing is quoted. |
| Daytona | Customer-managed compute in your cloud with a Daytona control plane | Enterprise; contact sales for BYOC pricing. |
| Blaxel | Bring your own bare metal in your VPC, connected to Blaxelâs control plane | Custom deployment; contact sales. Private endpoints to Blaxelâs managed cloud are a separate option. |
Vercelâs AWS BYOC offering covers Enterprise Vercel Functions. If you need to run sandboxes in your own account, check BYOC support for the sandbox product itself.
Northflank publishes self-serve BYOC rates. To estimate the cost, size the nodes for peak concurrency, account for capacity that wonât be used by sandboxes, and add your cloud bill and Northflankâs fee. Your cost will vary with node utilization and any contracted cloud rates.
Get started with sandboxes on Northflank
- Northflank pricing: current compute, GPU, and BYOC rates
- Sandboxes on Northflank Cloud: sandbox runtimes, resource plans, and billing
- Deploy sandboxes on Northflank: deployment walkthrough
- Sandboxes in your own cloud: sandbox isolation and deployment on BYOC
- GPUs on Northflank: supported GPU types and configurations
Get started, or book a session with an engineer to discuss your infrastructure requirements.
- Idle time and session limits. Check whether a sandbox stays billable while waiting for external work, and how long it can run before you need a new session.
- Persistence. Storage can still cost money after compute stops. Vercel Sandbox saves filesystem state by default, for example, and those snapshots count toward storage usage.
- Concurrency and plan fees. A low per-second rate can still require a paid plan to run the number of sandboxes you need in parallel. Check both the base plan and the price of raising its limits.
- Network and platform charges. Budget for egress if your agents move large files or artifacts. On Cloudflare, account for Workers and Durable Objects in addition to the container itself.
It depends on how long the sandboxes run, how busy their CPUs are, and which plan you need. In the examples above, Northflank was cheapest for the one-hour coding workload at $6.67. Cloudflare Sandbox was cheapest on usage for the low-CPU monthly workload at $404.71, before its plan fee and separate platform charges.
Some charge for allocated compute until you stop or pause the sandbox. Vercel and Cloudflare charge for active CPU but still meter provisioned memory while the sandbox runs. Fly.io Sprites and Blaxel can stop compute charges when they put an idle sandbox to sleep; check storage separately.
Northflank, Modal, and Daytona publish GPU sandbox options. Check the GPU type, region, capacity, and whether the rate includes CPU and RAM. If you choose preemptible capacity, check how your workload handles interruptions.
BYOC runs sandbox workloads inside your own cloud account. The cloud provider charges for infrastructure, and the sandbox platform may charge a management fee. On Northflank, the CPU management fee is based on managed node vCPUs, so your cost per sandbox depends in part on how much of each node you use.
Modal lists sandbox CPU and memory at non-preemptible rates of about three times standard rates. GPU pricing follows its standard GPU rates. For CPU and memory, the request sets the minimum you pay while the sandbox is running; higher actual use can raise the bill.


