Sandboxed code execution

Dynamically define compute tasks and run them in a secure environment.
Get Started

“Using Modal, Codegen has been able to move at lightning speed with full-stack AI development. The product is designed with developer experience front and center, and my team is incredibly happy having it as part of our arsenal.”

Jay Hack, Founder & CEO

“We use Modal to securely run LLM-augmented code on a large scale. Modal’s powerful primitives like sandboxes and file systems have allowed us to focus on our core competencies without having to waste time on our own infra.”

Matt Harpe, Co-Founder

“We had a real challenge running generated code that we couldn’t directly review. Modal Sandboxes let us confidently and safely allow Hunch users to build workflows that execute arbitrary code. Without Modal, we wouldn’t be able to offer this as a flexible solution.”

Ross Douglas, Founder & CEO

Safe code execution




View Examples

Fully programmable container environment



View Examples

Advanced sandbox features




View Examples

Try it out

Ship your first app in minutes.

Get Started

$30 / month free compute