Cloudflare Sandbox vs Shardflux

Cloudflare Sandbox costs $0.072 per vCPU-hour and Shardflux costs $0.04 per vCPU-hour. Cloudflare Sandbox runs Firecracker microVMs. Shardflux runs Firecracker microVMs and offers GPUs.

Updated

Cloudflare Sandbox

Isolation
Firecracker microVM
Free tier
None
Max session
Not listed

Shardflux

Isolation
Firecracker microVM
Free tier
30-day Pro trial, no card needed
Max session
Not listed

What is different

8 fields differ. The rest are the same or not listed.

Cloudflare Sandbox
Shardflux
vCPU, per hour
Cloudflare Sandbox: $0.072
Shardflux: $0.04
RAM, per GiB-hour
Cloudflare Sandbox: $0.009
Shardflux: $0.015
Storage
Cloudflare Sandbox: $0.000252 per GiB-hour
Shardflux: Retained storage is a monthly allowance per plan. No hourly storage rate is published.
Free tier
Cloudflare Sandbox: None
Shardflux: 30-day Pro trial, no card needed
Paid plan from
Cloudflare Sandbox: $5 / month
Shardflux: $9 / month
Largest sandbox
Cloudflare Sandbox: 4 vCPU · 12 GiB
Shardflux: 32 vCPU · 64 GiB
SDKs
Cloudflare Sandbox: TypeScript
Shardflux: TypeScript, Python
Integrations
Cloudflare Sandbox: Claude Code, OpenAI Agents SDK
Shardflux: Claude Code, MCP

Full comparison

18 fields, at each provider's list price

Pricing

vCPU, per hour
Cloudflare Sandbox: $0.072
Shardflux: $0.04
RAM, per GiB-hour
Cloudflare Sandbox: $0.009
Shardflux: $0.015
Storage
Cloudflare Sandbox: $0.000252 per GiB-hour
Shardflux: Retained storage is a monthly allowance per plan. No hourly storage rate is published.
Free tier
Cloudflare Sandbox: None
Shardflux: 30-day Pro trial, no card needed
Paid plan from
Cloudflare Sandbox: $5 / month
Shardflux: $9 / month
Billing
Cloudflare Sandbox: Active CPU time only
Shardflux: Active CPU time only

Limits

Max session
Cloudflare Sandbox: Not listed
Shardflux: Not listed
Idle stop
Cloudflare Sandbox: Not listed
Shardflux: Not listed
Largest sandbox
Cloudflare Sandbox: 4 vCPU · 12 GiB
Shardflux: 32 vCPU · 64 GiB
Concurrent sandboxes
Cloudflare Sandbox: Not listed
Shardflux: Up to 200

Platform

Isolation
Cloudflare Sandbox: Firecracker microVM
Shardflux: Firecracker microVM
GPU
Cloudflare Sandbox: Not listed
Shardflux:
Snapshots
Cloudflare Sandbox:
Shardflux:
Pause and resume
Cloudflare Sandbox: Not listed
Shardflux:

Developer

SDKs
Cloudflare Sandbox: TypeScript
Shardflux: TypeScript, Python
Integrations
Cloudflare Sandbox: Claude Code, OpenAI Agents SDK
Shardflux: Claude Code, MCP

Trust

License
Cloudflare Sandbox: Not listed
Shardflux: Not listed
BYOC
Cloudflare Sandbox: Not listed
Shardflux: Not listed

Hourly cost

One sandbox running for one hour

Cloudflare Sandbox
Shardflux
1 vCPU · 2 GiB
Cloudflare Sandbox: $0.090
Shardflux: $0.070
2 vCPU · 4 GiB
Cloudflare Sandbox: $0.180
Shardflux: $0.140
4 vCPU · 8 GiB
Cloudflare Sandbox: $0.360
Shardflux: $0.280

Compute only, at list rates.

Open the calculator

Which one fits

Based on the fields above

Cloudflare Sandbox fits when

  • You use the OpenAI Agents SDK.

Shardflux fits when

  • You need GPUs.
  • You use MCP.
  • You want the lower list price: $0.140 against $0.180 an hour for 2 vCPU and 4 GiB.
  • You want to start without paying.

More comparisons

See all comparisons

Related