Modal

Modal

Serverless Python cloud platform for running AI inference, fine-tuning, batch jobs, and isolated code sandboxes on per-second H100 and B200 GPUs.

Spinning up cloud GPUs for a 10-minute embedding batch job or a bursty webhook usually requires writing Terraform configs, waiting 15 minutes for Docker builds, and paying for idle EC2 instances. Modal lets developers define container environments, GPU requirements, and web endpoints purely in Python decorators (`@app.function(gpu=”H100″)`) without touching YAML or Kubernetes. Its custom Rust container runtime boots multi-gigabyte ML images in seconds and bills compute down to the individual CPU cycle and GPU second.

Key serverless platform capabilities

  • Code-first container definition: Builds container images, mounts network volumes, and schedules cron jobs directly from local Python scripts with instant live reload.
  • On-demand GPU fleet: Provisions NVIDIA T4, L4, A10G, A100, H100, H200, B200, and RTX PRO 6000 GPUs up to 10,000+ concurrent containers with zero idle charges.
  • Modal Sandboxes for AI agents: Launches secure, isolated containers dynamically at runtime so coding agents and automated grading pipelines can execute untrusted code safely.
  • Built-in storage and primitives: Includes distributed Key-Value Dicts, FIFO Queues, persistent Network Volumes (with 1 TiB/month free egress), and WebSocket/ASGI endpoints.

Pricing and limitations

Modal’s Starter plan costs $0/month and includes $30/month in recurring free compute credits, up to 3 seats, 250 concurrent containers, 10 concurrent GPUs, and 1 TiB/month of free network egress. The Team plan costs $250/month (with $100/month in free compute credits, unlimited seats, 10,000 containers, 50 GPU concurrency, 30-day logs, and SSO), while Enterprise is custom. Per-second compute runs $0.001192/second (~$4.29/hour) for an NVIDIA H100, $0.000942/second for an RTX PRO 6000, $0.0000131/core/second for CPUs, and $0.00000222/GiB/second for RAM. Be aware of two pricing multipliers: pinning jobs to a specific cloud region adds a 1.15x to 1.75x surcharge, and requesting non-preemptible execution costs 3x the base rate. Compared to Baseten and E2B, Modal is the most versatile all-in-one Python cloud for mixing GPU batch pipelines, web APIs, and code sandboxes. Sign up for the Starter tier and use the $30 monthly credit to deploy your first GPU function in under five minutes.

Ready to try Modal?

Experience the full capabilities on their official website.

Visit Official Website