Skip to main content
Modal logo

Modal

Serverless cloud for AI, ML, and data workloads in Python.

coding#serverless#gpu-cloud#python#ml-infrastructure
Free plan Claimed API Teams
Toolglade’s take

Modal is a favorite among engineers who want to express cloud infrastructure as Python and run AI, ML, and data workloads without managing servers. Its per-second billing, fast cold starts, autoscaling, and GPU access make it flexible for inference, training, batch jobs, and pipelines. It is best for developers comfortable writing code who need general-purpose serverless compute rather than a fixed model API. Caveats: there is a learning curve to its programming model, costs are usage-based and can grow with GPU time, and it is less turnkey than a hosted inference endpoint. Monthly free credits make it easy to try.

About Modal

Modal is a serverless compute platform for running Python code on cloud CPUs and GPUs with per-second billing, autoscaling, and no infrastructure management. It is popular for AI inference, model training, batch processing, and data pipelines, appealing to developers who want to define infrastructure as Python code rather than manage clusters and orchestration.

Modal is a serverless cloud built for compute-heavy Python workloads. You define functions in Python, decorate them to run on Modal, and the platform provisions containers on CPUs or GPUs on demand, scaling from zero to many instances and billing by the second of actual usage. It removes the need to manage clusters, Dockerfiles-by-hand, or orchestration, letting developers move quickly from local code to scalable cloud execution. Modal is widely used for AI and ML: running inference endpoints, fine-tuning and training models, batch processing, embeddings generation, and data pipelines. It provides fast container start times, GPU access (including high-end accelerators), scheduled jobs, web endpoints, storage, and secrets management, all defined in code. Its programmable, developer-first model appeals to teams that want infrastructure expressed as Python rather than YAML. The platform suits engineers who are comfortable writing code and want flexible, general-purpose serverless compute rather than a fixed model API. It offers monthly free compute credits to start, then usage-based pricing tied to CPU, GPU, and memory time. For teams whose needs go beyond calling a hosted model, Modal is a powerful, flexible foundation.

TL;DR

Modal is a serverless compute platform for running Python code on cloud CPUs and GPUs with per-second billing, autoscaling, and no infrastructure management. It is popular for AI inference, model training, batch jobs, and data pipelines, and appeals to developers who want infrastructure expressed as Python. It is best for engineers needing flexible, general-purpose serverless compute rather than a fixed model API. Trade-offs include a learning curve, Python-only support, and usage-based GPU costs. Monthly free credits make it easy to try.

Company overview

Modal (Modal Labs) was founded in 2021 by Erik Bernhardsson, former CTO of Better and creator of several well-known open-source tools at Spotify, along with co-founders. The company builds developer-first serverless infrastructure for compute-heavy workloads.

Modal has grown quickly with the rise of AI workloads that need flexible GPU compute, raising significant venture funding through 2025 and 2026.

Product features

Modal lets developers define functions in Python and run them on autoscaling cloud CPUs and GPUs, provisioning containers on demand with fast cold starts and per-second billing. It supports web endpoints, scheduled jobs, storage, secrets, and GPU access including high-end accelerators.

The platform is general-purpose but heavily used for AI and ML, including inference, training, fine-tuning, embeddings, batch processing, and data pipelines, all expressed as code.

Target market

Software and ML engineers and teams who want flexible, serverless GPU and CPU compute for AI, ML, and data workloads without managing clusters, and who prefer defining infrastructure in Python.

Buyer personas

End users

Engineers and ML practitioners running compute-heavy Python workloads.

Buyers

Engineering leaders choosing serverless compute infrastructure.

Key influencers

ML infrastructure engineers and Python developer-experience advocates.

Ideal customer profile

A technical team that needs flexible, autoscaling GPU/CPU compute for AI, ML, and data workloads and wants to express infrastructure as Python rather than manage clusters.

Funding & performance

Modal raised a reported $87 million Series B in September 2025 at around a $1.1 billion valuation led by Lux Capital, and a reported round of about $355 million in 2026 that pushed its valuation to approximately $4.65 billion. Treat specific figures as reported and verify with the company.

Pros & cons

Pros

  • Infrastructure defined as Python code
  • Per-second billing with scale-to-zero
  • Fast container cold starts
  • Access to high-end GPUs
  • Autoscaling without cluster management
  • Flexible for many workloads, not just inference
  • Monthly free compute credits to start

Cons

  • Learning curve for its programming model
  • Python-only
  • Usage-based GPU costs can grow at scale
  • Less turnkey than a hosted model API
  • Requires engineering comfort with code
  • You build the application logic yourself

Pricing plans

Starter
Usage-based + free credits / month
  • Monthly free compute credits
  • Per-second CPU/GPU billing
  • Autoscaling and scale-to-zero
  • Python SDK and web endpoints
Team
Usage-based
  • Team collaboration features
  • Higher limits
  • Usage-based compute pricing
  • Priority support options
Enterprise
Custom
  • Security and compliance
  • Dedicated support and SLAs
  • Volume pricing
  • Advanced controls

Key features

API
Team collaboration
Integrations
Python SDK, GitHub, Hugging Face, web endpoints, cron scheduling
Input types
text, image, code
Output types
text, image, code
Best For
Serverless GPU compute, Model inference and training, Batch jobs and pipelines, Scaling Python workloads

Compare key features

View all alternatives →
Feature
Modal
Anyscale
Baseten
Pricing
Freemium
Freemium
Paid
Free plan
Yes
Yes
No
Free trial
No
Yes
Yes
API
Yes
Yes
Yes
Team support
Yes
Yes
Yes

Frequently asked questions

What is Modal?+

A serverless compute platform for running Python code on cloud CPUs and GPUs with per-second billing and autoscaling, used for AI inference, training, batch jobs, and data pipelines.

Do I need to manage servers or containers?+

No. You define functions in Python and Modal provisions and scales containers on demand, handling orchestration for you.

Is there free usage?+

Modal provides monthly free compute credits to start. Beyond that, pricing is usage-based on the CPU, GPU, and memory time you consume.

What can I run on Modal?+

General compute workloads written in Python, including model inference endpoints, training and fine-tuning, embeddings, batch jobs, scheduled tasks, and web endpoints.

Is Modal only for AI?+

No. It is general-purpose serverless compute, though AI and ML workloads are among its most common uses because of its GPU support.

Reviews (0)

Write a review

Pick a rating
Loading reviews…
Compare

Compare Modal with other AI tools

Side-by-side pages for pricing, features, and best-fit use cases.

All comparisons →

Similar tools you may like