Modal

Modal

Modal is a serverless cloud platform designed for engineers and researchers to build and deploy compute-intensive AI applications without managing infrastructure. It provides a Python-native SDK to run inference, training, batch processing, and secure sandboxes with features like instant autoscaling from zero to thousands of GPUs, sub-second cold starts, and per-second billing for all resources. The platform is optimized for heavy AI workloads, offering access to a wide range of GPUs (H100s, A100s, etc.) and managed services for observability, security (SOC2, HIPAA), and team controls. Key capabilities include deploying LLM inference APIs, fine-tuning open-source models, running large-scale parallel evaluations, and orchestrating complex AI agent workflows in isolated sandboxes. Modal targets ML engineers, AI researchers, and product teams building production AI systems, from startups to enterprises. It eliminates traditional cloud infrastructure overhead, letting developers focus on

Automation
Visit website
Added on
Sep 22, 2026
ServerlessAutoscaling GPUsPython SDKBuilt-in ObservabilitySecure SandboxesSub-second cold starts
Product information

Everything worth knowing about Modal

The complete picture — from everyday features to the technical detail builders and IT folks dig for.

Core features

What it actually does

Serverless AI Infrastructure
Run inference, training, batch processing, and sandboxes with sub-second cold starts and instant autoscaling. The developer experience feels local.
Elastic GPU Capacity
Autoscale from 0 to 1000+ GPUs instantly. Modal routes workloads across clouds and regions in real-time to get you the GPUs you need in seconds.
Python-Centric SDK
Stay in Python to define and deploy your entire cloud environment. Composable primitives specify logic and hardware in one place.
Built-in Observability
Integrated logging and full visibility into every function, sandbox, and container for building robust, production-ready applications.
Secure Sandboxes
Programmatically scale secure, ephemeral environments for running untrusted code, background agents, or RL rollouts.
Technical capabilities
Container-Optimized Runtime
AI-native runtime engineered from the ground up for heavy workloads, with super-fast autoscaling and containers that boot instantly.
Must watch videos
Inside Cognition's inference stack: RL, speculative decoding & DFlash
19:37
Tutorial19:37
Inside Cognition's inference stack: RL, speculative decoding & DFlash
Modal x Cognition: Inside Devin's inference stack: RL, speculative decoding & DFlash Modal's inference lead sits down with Cognition's research lead (Devin, Devin Desktop, Suite 1.6) for a deep dive into how RL and inference intersect, from training frontier coding models to serving them at scale. They cover why 90% of an RL run is just execution, how Cognition uses agents to babysit training jobs overnight, and why inference is still an unsolved problem. The core of the conversation: DFlash, Modal's new diffusion-based speculator, and how it changes the speed/cost tradeoffs of production inference. TIMESTAMPS: 0:00 — Intros 1:04 — What's hardest to get right in an RL run 3:39 — How Cognition started using Modal 4:03 — What to weigh when buying inference 4:58 — The latency/throughput Pareto frontier 7:14 — DFlash reveal (!!) 8:44 — Why faster runtime matters 9:56 — Memory-bound vs. compute-bound 10:57 — Tree-based speculation 14:20 — Hot take: RL and inference optimization converging 15:28 — Online training of the speculator 16:22 — "Auto inference" 17:27 — Agents competing on optimization problems 18:27 — What inference providers still get wrong
Making Agents Useful: MCP, Tool Calling, and Sandboxed Execution
58:17
Tutorial58:17
Making Agents Useful: MCP, Tool Calling, and Sandboxed Execution
Agents are only as useful as the tools they can call. But the way most MCP servers work today, loading every tool into the context window on every request, makes models slower and harder to build on. In this webinar, Adam Azzam, member of product staff at Modal and maintainer of FastMCP, walks through what's actually broken with MCP tool calling and introduces Code Mode: a server-side approach where agents write programs and execute them in isolated Modal Sandboxes, instead of chaining serial tool calls one at a time. *The problem with how MCP works today* When a client connects to an MCP server, it typically dumps the entire tool manifest into the context window. Thirty-five tools from a single server means roughly a 20,000-token penalty before a user types a word. Add Gmail, Slack, and Linear together and you're looking at a fixed 100,000-token tax just to start a conversation. Models don't perform well under those conditions. Dexter Horthy calls it the "dumb zone." Serial execution makes it worse. Even with parallel tool calling, models tend to lazily parallelize a handful of calls and then ask if they should continue. Asking an agent to create issues for 40 open tickets means sitting through 40 sequential round trips. It's a bad experience and a non-starter for production agents. *What Code Mode does* Instead of injecting 35 tools upfront and calling them one at a time, Code Mode reduces any tool catalog to three things the client ever sees: a search tool, a schema fetch, and a single execution tool. The agent writes a program, sends it to the server, and the server runs it in a Modal Sandbox. One round trip instead of forty. The backend can have tens of thousands of tools; clients never pay for it. The sandbox is isolated, has no network egress, enforces timeouts, and boots in about 500ms. Fast enough that it doesn't register in a normal request-response cycle. *FastMCP and how it fits together* FastMCP is a Python framework for building MCP servers. It ships with two main concepts: providers (where tools come from) and transforms (how you filter, rename, or reshape them before clients see them). Code Mode is implemented as a transform. You take your existing MCP server, add the Code Mode transform with a sandbox provider, and your clients go from seeing 35 tools to seeing 3. The rest happens server-side. Deploying it on Modal is one step. The integration handles the stdio bridge between the host server and the sandbox automatically. *Links* FastMCP: https://github.com/jlowin/fastmcp Modal Sandboxes: https://modal.com/docs/guide/sandbox Modal free tier: https://modal.com *Timestamps* 0:00 - Introductions 4:35 - FastMCP Project History & Community Contributions 9:10 - Agent Orchestration: Separating the Control Plane from the Data Plane 11:20 - Code Walkthrough: Ejecting FastMCP into an ASGI App 15:51 - Token Tax & Entering the LLM "Dumb Zone" 20:32 - The 3 Antagonists of Traditional MCP User Experience 25:21 - The History of Code Mode: Client-Side vs. Server-Side Execution 32:45 - How the Sandbox Works: Isolation, Timeouts, and Zero Network Egress 35:35 - Live Performance Comparison: Serial Tool Calls vs. Sandbox Program Execution 42:03 - Q&A: Best Practices for Minimizing Agent Cold Starts 43:53 - Q&A: Using Open-Source Local Models vs. Claude for Function Calling 45:17 - Q&A: How Modern Clients Strategically Load Tools 49:43 - Q&A: Does FastMCP Have Durable Execution Built-In? 54:46 - Q&A: Replacing Multi-Tool Latency with Native Python/Bash in a Sandbox
Running real-time applications on Modal: Low-Latency Voice Agents
56:53
Tutorial56:53
Running real-time applications on Modal: Low-Latency Voice Agents
Building real-time, low-latency Voice AI applications requires dealing with infrastructure limits, strict latency budgets, and unpredictable user traffic. In this webinar, Modal forward deployed engineer Ben breaks down how to architect and deploy production-ready voice AI apps on Modal's AI infrastructure. From speech-to-text (STT) and text-to-speech (TTS) pipelines to handling voice agents, this breakdown covers the engineering patterns required to optimize for speed, quality, and compute costs. If you are building conversational voice bots, self-hosting open-source speech models, or scaling real-time GPU workloads, this talk breaks down the infrastructure challenges and the engineering solutions that work in production. *The Core Idea* Voice AI applications are sensitive to latency and experience fluctuating user demand. Relying solely on rigid, over-provisioned GPU hardware or multi-tenant proprietary APIs can lead to high costs, poor service quality, or severe P99 latency spikes. - Decouple the pipeline: Deploy your speech-to-text, LLM, and text-to-speech layers as independent serverless functions that auto-scale separately based on their specific concurrency limits. - Utilize GPU process snapshotting: Capture state checkpoints to speed up model startup times. - Interleave audio and compute workflows: Use streaming patterns, low-cost warm CPU nodes, and asynchronous audio execution to mask cold starts completely. The result: - *Massive Cost Reductions:* High-throughput batch transcription pipelines that run at a fraction of the cost of proprietary alternatives. - *Sub-Second Round Trips:* Responsive real-time voice agents optimized to minimize the time-to-first-speech. - *True Serverless Scaling:* Infrastructure that scales up instantly to handle peak usage bursts and tears down to zero when idle. *What You'll Learn* *The Core Components of Voice AI Pipelines* - How Speech to Text (STT) and Text to Speech (TTS) form the foundation of any voice system. - The role of Voice Activity Detection (VAD) and Diarization (speaker identification) in production audio processing. - Why conversational interfaces require distinct turn-taking models to differentiate between a brief user pause and a completed thought. *Optimizing Batch Audio Workloads* - How to build multi-level batching pipelines that scale horizontally across cloud GPUs simultaneously. - Why processing audio in a parallel forward pass out-competes traditional API structures. *Continuous Batching Limitations for Speech* - Why popular continuous batching architectures (like vLLM and SGLang) work natively for LLMs but do not yet cleanly exist as general-purpose engines for voice models. *How Modal Minimizes Latency & Cold Starts* - *GPU Process Snapshots:* Drops native model initialization and engine setup times (which normally range from 25 to 90 seconds) down to under 10 seconds. - *Warm CPU Buffering:* Keeping lightweight CPU nodes (like the frontend server and bot runner) continuously warm for pennies an hour ensures instant initial contact. - *Canned Intro Execution:* Instantly playing a localized, pre-recorded introduction audio file right upon connection to cleanly mask background model container startup times. - *First-Sentence Streaming:* Pulling the very first generated sentence from a streaming LLM output and sending it straight to the TTS engine immediately, allowing audio playback to start while subsequent sentences are still being processed down-line. *Key Performance Insights* - *Sort Batches by Audio Duration:* When batching audio on a GPU, the inference call will not complete until its longest element finishes. Sorting files by duration ensures uniform lanes, eliminating dead time and maximizing throughput. - *Isolated Scaling Parameters:* Because STT, LLMs, and TTS systems have vastly different concurrent throughput capacities, running them as individual microservices keeps bottlenecks isolated and prevents systemic failure. *Architecture Highlights* - *FastAPI Frontends:* Lightweight HTTP/WebRTC handshaking servers that dynamically spin up single-use, dedicated conversation containers on demand. - *Modular Agent Ecosystems:* Seamlessly working alongside leading real-time orchestration frameworks like PipeCat and LiveKit. - *Self-Hosted Model Tech Stack:* Strategies for utilizing engines like vLLM, SGLang, Triton, or Nemotron for self-hosting open-source variants. - *Self-Hosted Proprietary Deployments:* Step-by-step validation for hosting enterprise solutions (such as DeepGram) natively within your own dedicated serverless cluster.

Who uses it

Real use cases, no hype
LLM Inference Serving
Deploy and scale OpenAI-compatible APIs for any LLM with zero-to-peak autoscaling and token streaming.
Multi-Modal Model Deployment
Serve image, video, and audio generation models (Flux, ACE-Step) on-demand GPUs with sub-10ms latency.
Large-Scale Fine-Tuning
Run SFT, LoRA, or full fine-tunes on single or multi-node clusters (up to 128 B200s) with Infiniband.
Reinforcement Learning
Execute thousands of parallel RL rollout trajectories in native sandboxes, feeding data back to training.
Secure Code Sandboxes
Spin up isolated, ephemeral environments for running untrusted code for coding agents or batch processing.
Batch & Async Processing
Orchestrate massive parallel jobs for dataset generation, evals, or OCR without managing job queues.
Data-Parallel Research
Run hundreds of concurrent hyperparameter sweeps or protein folding simulations with automatic scaling.
What's great
  • Blazing-fast sub-second cold starts and autoscaling
  • Truly serverless, pay-per-second GPU/CPU pricing
  • Full Python SDK, no YAML/infra-as-code boilerplate
  • Massive GPU access (B200s, H100s, etc.) with no pre-booking
  • Integrated observability and deployment rollbacks
Technical strengths
  • Proprietary container runtime optimized for AI workloads
  • Native sandbox/RL integration for agent and fine-tuning loops
  • Multi-cloud GPU routing with automated fleet health management
  • Lightweight SDK decorator model for 'web functions' and scheduled jobs
Where it falls short
  • Vendor lock-in via unique Python SDK and serverless model
  • Complex billing can surprise you if not monitoring usage
  • Free tier is limited (100 containers, 10 GPU concurrency)
  • Cold starts, while fast, are not zero for all container images
Technical limitations
  • Requires application rewrite to 'Modal-ize' existing codebases
  • Minimum container resources (0.125 CPU) can impact micro-task efficiency
  • Region selection and non-preemptible execution incur significant price multipliers
For technical folks

The deep-dive specs

FAQ

Includes technical Q&A
You pay only for actual compute time by the CPU cycle, per second. There are no charges for idle resources or pre-allocated capacity.

Traffic Insights

Monthly Visits

—

October 2026

Growth Rate

0%

vs last month

Dominance

0%

in Automation

Top Country

—

Top Countries Breakdown

—

Growth Trend

Stable

Traffic has remained stable.

Honest pricing

No sneaky tiers, no “contact sales”

Here's who each plan is actually for — and where the hidden charges might hit.

Starter
Free

Individuals

  • $30 / month free compute
  • 3 workspace seats included
  • 100 containers + 10 GPU concurrency
  • Scheduled and Web Functions (limited)
  • Real-time metrics and logs
  • Region selection
Team
Most picked
$250/mo

Teams

  • $100 / month free compute
  • Unlimited seats
  • 5000 containers + 50 GPU concurrency
  • Unlimited Scheduled Functions
  • Custom domains
  • Static IP proxy
  • Deployment rollbacks
  • Environment-level budgets
Enterprise
Custom

Enterprise

  • Volume-based discounts
  • Unlimited seats
  • Higher GPU concurrency
  • Embedded ML engineering services
  • Environment-level budgets
  • Support via private Slack
  • Audit logs, SAML SSO, and HIPAA
View Full Plans & Pricing on Modal

Official pricing, checkout, and plan upgrades are handled directly on modal.com.

Reviews

What the internet actually thinks

Data refreshed weekly. No paid placements.

Trustpilot
Not reviewed yet
G2
G2
Not reviewed yet
C
Capterra
Not reviewed yet
Product Hunt
Not reviewed yet
COMMUNITY COMMENTS

Leave a Comment

Help others make informed decisions. Your honest feedback shapes the community's understanding of this tool.

Tips for commenting

  • •Be specific about features you used
  • •Share real use cases and results
  • •Mention both pros and cons
  • •Keep it honest and constructive
to leave a comment

Your comment is published immediately.

Filter:
Sort:

No comments yet

Be the first to share your experience with this tool.

Alternatives

Not quite the right fit?

Here's what else is out there.