AWS Lambda MicroVMs vs Hugging Face Sandboxes

AWS Lambda MicroVMs costs $0.0997 per vCPU-hour and Hugging Face Sandboxes costs $0.005 per vCPU-hour. AWS Lambda MicroVMs runs Firecracker microVMs and limits a session to 8 hours. Hugging Face Sandboxes runs full VMs, offers GPUs and limits a session to 24 hours.

Updated

AWS Lambda MicroVMs

Isolation
Firecracker microVM
Free tier
Not listed
Max session
8 hours

Hugging Face Sandboxes

Isolation
Full VM
Free tier
Not listed
Max session
24 hours

What is different

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

AWS Lambda MicroVMs
Hugging Face Sandboxes
vCPU, per hour
AWS Lambda MicroVMs: $0.0997
Hugging Face Sandboxes: $0.005
RAM, per GiB-hour
AWS Lambda MicroVMs: $0.0132
Hugging Face Sandboxes: Included
Billing
AWS Lambda MicroVMs: Per second
Hugging Face Sandboxes: Bundled machine time
Max session
AWS Lambda MicroVMs: 8 hours
Hugging Face Sandboxes: 24 hours
Isolation
AWS Lambda MicroVMs: Firecracker microVM
Hugging Face Sandboxes: Full VM
SDKs
AWS Lambda MicroVMs: Python, JavaScript
Hugging Face Sandboxes: Python

Full comparison

18 fields, at each provider's list price

Pricing

vCPU, per hour
AWS Lambda MicroVMs: $0.0997
Hugging Face Sandboxes: $0.005
RAM, per GiB-hour
AWS Lambda MicroVMs: $0.0132
Hugging Face Sandboxes: Included
Storage
AWS Lambda MicroVMs: Snapshot storage $0.08 per GB-month (US East). Snapshot reads and writes are billed per GB.
Hugging Face Sandboxes: Not listed
Free tier
AWS Lambda MicroVMs: Not listed
Hugging Face Sandboxes: Not listed
Paid plan from
AWS Lambda MicroVMs: Not listed
Hugging Face Sandboxes: Not listed
Billing
AWS Lambda MicroVMs: Per second
Hugging Face Sandboxes: Bundled machine time

Limits

Max session
AWS Lambda MicroVMs: 8 hours
Hugging Face Sandboxes: 24 hours
Idle stop
AWS Lambda MicroVMs: Not listed
Hugging Face Sandboxes: After 10 minutes
Largest sandbox
AWS Lambda MicroVMs: 4 vCPU · 8 GiB
Hugging Face Sandboxes: Not listed
Concurrent sandboxes
AWS Lambda MicroVMs: Not listed
Hugging Face Sandboxes: Not listed

Platform

Isolation
AWS Lambda MicroVMs: Firecracker microVM
Hugging Face Sandboxes: Full VM
GPU
AWS Lambda MicroVMs: Not listed
Hugging Face Sandboxes:
Snapshots
AWS Lambda MicroVMs:
Hugging Face Sandboxes: Not listed
Pause and resume
AWS Lambda MicroVMs:
Hugging Face Sandboxes: Not listed

Developer

SDKs
AWS Lambda MicroVMs: Python, JavaScript
Hugging Face Sandboxes: Python
Integrations
AWS Lambda MicroVMs: Not listed
Hugging Face Sandboxes: Not listed

Trust

License
AWS Lambda MicroVMs: Not listed
Hugging Face Sandboxes: Not listed
BYOC
AWS Lambda MicroVMs: Not listed
Hugging Face Sandboxes: Not listed

Hourly cost

One sandbox running for one hour

AWS Lambda MicroVMs
Hugging Face Sandboxes
1 vCPU · 2 GiB
AWS Lambda MicroVMs: $0.126
Hugging Face Sandboxes: $0.005
2 vCPU · 4 GiB
AWS Lambda MicroVMs: $0.252
Hugging Face Sandboxes: $0.010
4 vCPU · 8 GiB
AWS Lambda MicroVMs: $0.504
Hugging Face Sandboxes: $0.020

Compute only, at list rates.

Open the calculator

Which one fits

Based on the fields above

AWS Lambda MicroVMs fits when

  • You want each sandbox in its own microVM.
  • You need snapshots.
  • You need pause and resume.

Hugging Face Sandboxes fits when

  • You need GPUs.
  • A session must run longer than 8 hours.
  • You want each sandbox to be a full VM.
  • You want the lower list price: $0.010 against $0.252 an hour for 2 vCPU and 4 GiB.

More comparisons

See all comparisons

Related