Modal
Serverless GPUs with Python-native workflows
Modal runs Python functions on demand GPUs, which makes batch generation and model serving a few lines of code.

Starter prompts
Copy one into Modal and swap the {braces} for your own details.
- Compare {model A} and {model B} for {use case} on cost, latency and output quality.
- Estimate what it costs to run {task} at {n} requests per day on this platform.
- Sketch the API call needed to {task}, including auth and error handling.
Overview
A developer-first compute platform: decorate a function, and Modal handles containers, scaling and GPU allocation. Popular for image generation batches, fine-tuning jobs and hosting model endpoints without Kubernetes.
Key Features
Function-level scaling
Scale to zero, burst to hundreds of GPUs.
Python decorators
No Dockerfile or YAML required.
Persistent volumes
Attach model weights and datasets.
How to Use
- Install the client and decorate your function with @app.function.
- Request a GPU type and run locally, then deploy.
- Call the deployed endpoint from your app.
Core Advantages
- ✓Excellent developer experience
- ✓Scales to zero
- ✓Great for batch jobs
Who It's For
Pricing & Free Trial
Starter
Per GPU-second
Pay as you go
Team
Custom
SSO, higher limits
Free tier: $30 of free compute per month.
Prices are indicative — check the current list on modal.com
Frequently asked questions
- What is Modal?
- Modal runs Python functions on demand GPUs, which makes batch generation and model serving a few lines of code.
- Is there a free plan for Modal?
- $30 of free compute per month.
- How much does Modal cost?
- Modal uses a usage-based model — see the pricing section for the plans we have on file.
- What can Modal do?
- Its headline capabilities: function-level scaling; python decorators; persistent volumes.
- Who is Modal for?
- It is aimed at ML engineers, data teams, indie builders.
Our Verdict
The least painful way to get GPU compute for a Python workload. Long-running training still belongs on a dedicated provider.
Community rating
Tap a star to rate this tool
More like this
Compare Modal with alternatives
Put Modal next to its closest rivals — ratings, free tiers and entry prices in one table:
OpenRouter★ 4.6
Hugging Face★ 4.6
Google AI Studio★ 4.5