
Hugging Face Sandboxes
Isolated cloud machines for running AI-generated code.
Hugging Face Sandboxes runs each sandbox in a full VM. It costs $0.005 per vCPU-hour, with memory included.
- huggingface.co/docs/huggingface_hub/guides/sandbox
- huggingface.co/docs/huggingface_hub/concepts/sandbox
- huggingface.co/docs/hub/jobs-pricing
- github.com/huggingface/sandbox-server
Updated
$0.005
vCPU per hour
Included
RAM per GiB-hour
24 hours
Max session
Not listed
Largest sandbox
Hugging Face Sandboxes specifications
List prices and limits for Hugging Face Sandboxes
Pricing
huggingface- vCPU per hour
- $0.005
- RAM per GiB-hour
- Included
- Storage
- Not listed
- Billing
- Bundled machine time
- Free tier
- Not listed
- Paid plan from
- Pay as you goNeeds a positive credit balance
Limits
huggingface- Max session
- 24 hoursFixed Job lifetime, not configurable
- Idle stop
- After 10 minutesDefault idle timeout, can be changed or disabled
- Sandbox size
- Not listed
- Default size
- 2 vCPU · 16 GiB
- Concurrent sandboxes
- Not listed
- Storage
- 50 GB on CPU Basic, the default flavor
Platform
huggingface- Isolation
- Full VM
- GPU
- Dedicated sandboxes only, not pools. Flavors with 2 to 8 GPUs also exist
- Snapshots
- Not listed
- Pause and resume
- Not listed
- Desktop
- Not listed
- Regions
- Not listed
Developer
huggingface- SDKs
- Python
- Integrations
- Not listed
Trust
github- License
- Not listed
- Self-hosting
- Not listed
- BYOC
- Not listed
- Compliance
- SOC 2 Type II (Company-wide), GDPR (DPA on Enterprise plan)
Hourly cost
Hugging Face Sandboxes next to other providers
One sandbox with 2 vCPU and 4 GiB of RAM for one hour, at list price.
Compute only. Storage and network are not included.
Open the calculatorCompare Hugging Face Sandboxes

Hugging Face Sandboxes vs Agent Sandbox
Hugging Face Sandboxes vs Agent37 Cloud
Hugging Face Sandboxes vs AgentBay
Hugging Face Sandboxes vs Alibaba Cloud Agent Sandbox
Hugging Face Sandboxes vs Amazon Bedrock AgentCore Code Interpreter
Hugging Face Sandboxes vs Amazon Bedrock AgentCore Runtime
Hugging Face Sandboxes vs Anthropic Code Execution
Hugging Face Sandboxes vs Apify AI Code Sandbox
Alternatives to Hugging Face Sandboxes
Agent37 Cloud
Persistent Linux sandboxes and VMs for code and agents.
$0.001 per vCPU-hour, no session limit
Krova Cloud
Firecracker microVMs with root access, billed by the minute.
$0.001 per vCPU-hour, no session limit
Zipbox
Long-lived Firecracker microVMs for AI agents, each with its own desktop.
$0.007 per vCPU-hour, no session limit
Recent changes
No changes recorded for Hugging Face Sandboxes yet.
Related
More pages that include Hugging Face Sandboxes
Hugging Face Sandboxes
Hugging Face Sandboxes pricing
Hugging Face Sandboxes alternatives
Hugging Face Sandboxes vs Agent Sandbox
Hugging Face Sandboxes vs Agent37 Cloud
All providers