alterlab-modal
Modal
Overview
Modal is a serverless platform for running Python code in the cloud with minimal configuration. Execute functions on powerful GPUs, scale automatically to thousands of containers, and pay only for compute used.
Modal is particularly suited for AI/ML workloads, high-performance batch processing, scheduled jobs, GPU inference, and serverless APIs. Sign up for free at https://modal.com and receive $30/month in credits.
Keyless by default: develop and test locally first
A Modal function is ordinary Python under a decorator, so the whole job can be written and
run locally with no Modal account or token. Build the function body, validate the image /
GPU / resource / schedule configuration, and run the body on this machine with
function.local(...) — on CPU, on a reduced-size input — to confirm the logic works before
spending a cent. Only modal run / modal deploy need an account (modal token new), and
those are the one step that incurs billing.
import modal