Code sandboxes: price comparison

Isolated machines where agents run code. 11 vendors with sourced prices (+2 we could not read, listed as unverified). Click a column header to sort.

Normalised column. Normalised to the cost of one hour of a 2 vCPU + 4 GB sandbox with the CPU fully busy, computed from the unit rates printed on each vendor page. Vendors that bill CPU only while active (Vercel, Cloudflare, Fly.io Sprites, Upstash Box) cost less if your agent mostly waits on the model. Plan fees, storage and egress are not included.
VendorPlanListed price (as on vendor page)$/hrFree tierSourceStatusChecked
NorthflankPay as you goCPU $0.01667/vCPU/hour, memory $0.00833/GB/hour
Derived: 2 x vCPU rate + 4 x GB rate. Sandboxes are ordinary services billed at compute rates; scale from 0.1 vCPU.
$0.0667/hrFree tier: 2 free services, 1 free database, 2 free cron jobssourceverified2026-10-19
HyperbrowserPay as you govCPU $0.045/vCPU-hour, memory $0.015/GiB-hour
Derived: 2 x vCPU + 4 x GiB. Both billed while the VM runs.
$0.1500/hrFree plan: $0, 5,000 credits includedsourceverified2026-10-19
Fly.io SpritesPay as you goCPU $0.0385/CPU-hour, memory $0.021875/GB-hour (actual usage)
Derived: 2 x vCPU rate + 4 x GB rate. Billed on actual CPU and memory used, not allocated; storage extra.
$0.1645/hr—sourceverified2026-10-19
E2BHobby / Pro usagevCPU $0.000014/s, RAM $0.0000045/GiB-s (2 vCPU = $0.000028/s, 4 GiB = $0.0000180/s)
Derived: 2 x vCPU rate + 4 x GB rate. Billed per second while running. Production needs Pro plan fee (row below).
$0.1656/hrHobby: $100 one-time credit, sessions up to 1 hour, 20 concurrentsourceverified2026-10-19
DaytonaPay as you govCPU $0.0504/h, memory $0.0162/GiB/h
Derived: 2 x vCPU rate + 4 x GB rate. Per-second billing.
$0.1656/hr$200 in free compute included; no card neededsourceverified2026-10-19
BlaxelPay as you go (active CPU)$0.0000115 / GB RAM-second (CPU scales with memory)
Derived: 4 GB x $0.0000115 x 3600. CPU is bundled; suspended time costs $0.
$0.1656/hrUp to $200 in free creditssourceverified2026-10-19
Cloudflare ContainersWorkers Paid usagevCPU +$0.000020/s, memory +$0.0000025/GiB-s
Derived: 2 x vCPU rate + 4 x GB rate. Requires $5/month Workers Paid plan. Disk billed separately (not included here).
$0.1800/hrIncluded monthly on paid plan: 25 GiB-hours, 375 vCPU-minutes, 200 GB-hours disksourceverified2026-10-19
Upstash BoxPay as you go$0.1 / active CPU hour; memory included
Derived: 2 vCPU x $0.1. Also offers $8/box/month fixed plan.
$0.2000/hrFree plan listed at $0 (limits not read)sourceverified2026-10-19
ModalStarter (usage)CPU $0.00003942/core-s (physical core = 2 vCPU), memory $0.00000667/GiB-s
Derived: 2 x vCPU rate + 4 x GB rate. Page lists these under 'Modal Sandbox + Notebooks pricing'. Modal bills the higher of requested or used resources.
$0.2380/hrStarter $0/month + compute with $30/month free creditssourceverified2026-10-19
RunloopBasic (usage)Devbox CPU $0.108/CPU-hr, memory $0.0252/GB-hr
Derived: 2 x vCPU rate + 4 x GB rate. Pro plan is $250/month + usage (optional).
$0.3168/hrBasic plan free + usage; Pro trial with $50 usage creditsourceverified2026-10-19
Vercel SandboxHobby/Pro usageActive CPU $0.128/hour, provisioned memory $0.0212/GB-hour
Derived: 2 x vCPU rate + 4 x GB rate. CPU is billed only while active, so real cost is lower for agents that mostly wait on the model.
$0.3408/hrIncluded monthly: 5 CPU-hours, 420 GB-hours, 5,000 creationssourceverified2026-10-19
CodeSandbox(not read)no price read
Page blocked by Cloudflare bot check when fetched; no price read.
——sourceunverified2026-10-19
Docker Sandboxes(not read)no price read
Pricing page fetched but shows no sandbox usage price; none recorded.
——sourceunverified2026-10-19

Other plans

VendorPlanListed price (as on vendor page)$/hrFree tierSourceStatusChecked
E2BPro plan fee$150 /month + usage$150.0000/hr—sourceverified2026-10-19

Prices checked 2026-10-19. Each "source" link opens the vendor page the price was read from. See also: cost calculator.