Modal vs Sandock

Modal costs $0.070956 per vCPU-hour. Modal runs gVisor, offers GPUs and limits a session to 24 hours. Sandock runs containers and limits a session to 8 hours.

Updated

Modal

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

Sandock

Isolation
Container
Free tier
None
Max session
8 hours

What is different

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

Modal
Sandock
Free tier
Modal: $30 credit every month
Sandock: None
Paid plan from
Modal: Pay as you go
Sandock: $5 / month
Max session
Modal: 24 hours
Sandock: 8 hours
Isolation
Modal: gVisor
Sandock: Container
SDKs
Modal: Python, JavaScript / TypeScript, Go
Sandock: TypeScript
Integrations
Modal: Claude Agent SDK, Claude Code, LangChain
Sandock: MCP

Full comparison

18 fields, at each provider's list price

Pricing

vCPU, per hour
Modal: $0.070956
Sandock: Not listed
RAM, per GiB-hour
Modal: $0.024012
Sandock: Not listed
Storage
Modal: Not listed
Sandock: Not listed
Free tier
Modal: $30 credit every month
Sandock: None
Paid plan from
Modal: Pay as you go
Sandock: $5 / month
Billing
Modal: Per second
Sandock: Not listed

Limits

Max session
Modal: 24 hours
Sandock: 8 hours
Idle stop
Modal: Not listed
Sandock: After 30 minutes
Largest sandbox
Modal: Not listed
Sandock: 8 vCPU · 8 GiB
Concurrent sandboxes
Modal: Not listed
Sandock: Up to 150

Platform

Isolation
Modal: gVisor
Sandock: Container
GPU
Modal:
Sandock: Not listed
Snapshots
Modal:
Sandock: Not listed
Pause and resume
Modal: Not listed
Sandock:

Developer

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

Trust

License
Modal: Not listed
Sandock: MIT
BYOC
Modal: Not listed
Sandock: Private / VPC deployment on Enterprise

Hourly cost

One sandbox running for one hour

Modal
Sandock
1 vCPU · 2 GiB
Modal: $0.119
Sandock: Not listed
2 vCPU · 4 GiB
Modal: $0.238
Sandock: Not listed
4 vCPU · 8 GiB
Modal: $0.476
Sandock: Not listed

Compute only, at list rates.

Open the calculator

Which one fits

Based on the fields above

Modal fits when

  • You need GPUs.
  • A session must run longer than 8 hours.
  • You want to pay only for usage, with no plan fee.
  • You use the Claude Agent SDK, Claude Code or LangChain.

Sandock fits when

  • You want an open-source platform (MIT) that you can self-host.
  • You use MCP.
  • You need pause and resume.
  • You need the sandboxes in your own cloud account.

More comparisons

See all comparisons

Related