
Tool Modal Labs
Modal
Serverless Python cloud for running inference, batch jobs, training and sandboxes on GPUs billed per second, plus per-token Model APIs.
What it is
Modal is a serverless AI infrastructure platform where you define functions, containers and hardware in Python and run them on CPUs or GPUs that scale from zero, billed by the second with no charge for idle time. It is used for low-latency inference on open or custom models, parallel batch jobs, fine-tuning and sandboxed code execution. Modal also offers Model APIs: managed, OpenAI-compatible endpoints for catalog models billed per token.
What it's useful for
Deploying a custom or open-weights model as an autoscaling GPU endpoint without managing Kubernetes, or running a large batch of GPU jobs in parallel.
Key features
- Python SDK to define functions, images and GPU types in code
- Per-second billing for CPU, memory and GPU with scale-to-zero
- Model APIs: OpenAI-compatible shared endpoints billed per token
- Sandboxes for running untrusted or AI-generated code
- Scheduled and web functions, volumes and real-time logs
- Starter plan with no monthly fee and $30/month of included compute
How to use it
Before you start
- Modal account
- Python
pip install modalmodal setupCommands are copied from the official documentation. Check the docs for the latest version before running them.
Limitations to know
- Starter plan is limited to 3 workspace seats, 100 containers and 10 concurrent GPUs
- Included monthly credit applies to compute only, not to per-token Model APIs
- Sandboxes are billed at non-preemptible rates of 3x list price
Alternatives
Serverless GPU inference on Cloudflare's network for open models, callable from Workers or the REST API.
MCP servers for this
Microsoft's open-source MCP server that puts tools for many Azure services, from Storage to Cosmos DB and Monitor, in one server.
Google Chrome team's MCP server and CLI that let coding agents control, debug and profile a live Chrome browser.
Cloudflare's set of hosted MCP servers, led by one API server that lets agents call the whole Cloudflare API through code.
Skills for this
Anthropic skill for generative art in p5.js with seeded randomness and an interactive viewer for exploring parameters.
Vercel's collection of Agent Skills for React/Next.js performance, UI review, writing style and Vercel deploys.
Anthropic skill that has Claude test local web apps by writing Python Playwright scripts, with screenshots and browser logs.
Related resources
Reactive backend platform where queries, mutations and actions are TypeScript functions, with realtime sync, auth, files and vector search.
DeepSeek's MIT-licensed open-weight reasoning and chat models, also served through an OpenAI- and Anthropic-compatible API.
Cognition's autonomous software engineering agent that works in a cloud VM and opens pull requests.
Open-source sandboxes for AI agents: isolated Firecracker microVMs you start and control from a Python or JavaScript SDK.