Modal vs Shardflux

Modal costs $0.070956 per vCPU-hour and Shardflux costs $0.04 per vCPU-hour. Modal runs gVisor, offers GPUs and limits a session to 24 hours. Shardflux runs Firecracker microVMs and offers GPUs.

Updated

Modal

Isolation
gVisor
Free tier
$30 credit every month
Max session
24 hours

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.

Modal
Shardflux
vCPU, per hour
Modal: $0.070956
Shardflux: $0.04
RAM, per GiB-hour
Modal: $0.024012
Shardflux: $0.015
Free tier
Modal: $30 credit every month
Shardflux: 30-day Pro trial, no card needed
Paid plan from
Modal: Pay as you go
Shardflux: $9 / month
Billing
Modal: Per second
Shardflux: Active CPU time only
Isolation
Modal: gVisor
Shardflux: Firecracker microVM
SDKs
Modal: Python, JavaScript / TypeScript, Go
Shardflux: TypeScript, Python
Integrations
Modal: Claude Agent SDK, Claude Code
Shardflux: Claude Code, MCP

Full comparison

18 fields, at each provider's list price

Pricing

vCPU, per hour
Modal: $0.070956
Shardflux: $0.04
RAM, per GiB-hour
Modal: $0.024012
Shardflux: $0.015
Storage
Modal: Not listed
Shardflux: Retained storage is a monthly allowance per plan. No hourly storage rate is published.
Free tier
Modal: $30 credit every month
Shardflux: 30-day Pro trial, no card needed
Paid plan from
Modal: Pay as you go
Shardflux: $9 / month
Billing
Modal: Per second
Shardflux: Active CPU time only

Limits

Max session
Modal: 24 hours
Shardflux: Not listed
Idle stop
Modal: Not listed
Shardflux: Not listed
Largest sandbox
Modal: Not listed
Shardflux: 32 vCPU · 64 GiB
Concurrent sandboxes
Modal: Not listed
Shardflux: Up to 200

Platform

Isolation
Modal: gVisor
Shardflux: Firecracker microVM
GPU
Modal:
Shardflux:
Snapshots
Modal:
Shardflux:
Pause and resume
Modal: Not listed
Shardflux:

Developer

SDKs
Modal: Python, JavaScript / TypeScript, Go
Shardflux: TypeScript, Python
Integrations
Modal: Claude Agent SDK, Claude Code
Shardflux: Claude Code, MCP

Trust

License
Modal: Not listed
Shardflux: Not listed
BYOC
Modal: Not listed
Shardflux: Not listed

Hourly cost

One sandbox running for one hour

Modal
Shardflux
1 vCPU · 2 GiB
Modal: $0.119
Shardflux: $0.070
2 vCPU · 4 GiB
Modal: $0.238
Shardflux: $0.140
4 vCPU · 8 GiB
Modal: $0.476
Shardflux: $0.280

Compute only, at list rates.

Open the calculator

Which one fits

Based on the fields above

Modal fits when

  • You want to pay only for usage, with no plan fee.
  • You use the Claude Agent SDK.
  • You need SOC 2 Type II, HIPAA and GDPR.

Shardflux fits when

  • You want each sandbox in its own microVM.
  • You use MCP.
  • You want the lower list price: $0.140 against $0.238 an hour for 2 vCPU and 4 GiB.
  • You need pause and resume.

More comparisons

See all comparisons

Related