Introduction to Modal

Modal lets you run code in the cloud without having to think about infrastructure.


Getting started

The nicest thing about all of this is that you don’t have to set up any infrastructure. Just:

  1. Create an account at
  2. Run pip install modal to install the modal Python package
  3. Run modal setup to authenticate (if this doesn’t work, try python -m modal setup)

…and you can start running jobs right away.

Modal is currently Python-only, but we may support other languages in the future.

How does it work?

Modal takes your code, puts it in a container, and executes it in the cloud.

Where does it run? Modal runs it in its own cloud environment. The benefit is that we solve all the hard infrastructure problems for you, so you don’t have to do anything. You don’t need to mess with Kubernetes, Docker or even an AWS account.