Modal logo
GuideExamples
Reference
ChangelogPlayground
Log In Sign Up
Featured Getting started Hello, world Simple web scraper Serving Web Functions Large language models (LLMs) Deploy an OpenAI-compatible LLM service with vLLM Cut Ministral 3 cold start times by 10x with snapshots Maximize tokens per second in batch processing with vLLM Serve an ultra-low-latency chatbot with SGLang Deploy Nemotron 3 Serve Inkling-Small with SGLang Serve DeepSeek-V4-Flash Efficient LLM Finetuning with Unsloth Run a multimodal RAG chatbot to answer questions about PDFs Fine-tune an LLM to replace your CEO Deploy a stateless MCP with FastMCP Images, video, & 3D Edit images with Flux Kontext Fine-tune Wan2.1 video models on your face Run Flux fast with torch.compile Fine-tune Flux with LoRA Animate images with LTX-Video Generate video clips with LTX-Video Run Stable Diffusion with a CLI, API, and web UI Audio Deploy a Moshi voice chatbot Stream transcripts at the speed of speech using Kyutai STT Make music with ACE-Step Generate speech with Chatterbox Run high throughput batched transcription with Whisper Fine-tune Whisper to recognize new words Real-time communication (WebRTC) Serverless WebRTC WebRTC quickstart with FastRTC Computational biology Design protein binders with ESMFold2 Fold proteins with Chai-1 Build a protein-folding dashboard Fold proteins with Boltz-2 Modal Sandboxes Run a background coding agent with OpenCode Build a scalable AI coding platform Create GIFs from Slack using the Claude Agent SDK Run a LangGraph agent's code in a secure GPU sandbox Watch a computer-use agent work in real-time over VNC Run massively parallel evals on Modal Sandboxes Build a stateful, sandboxed code interpreter Run Node.js, Ruby, and more in a Sandbox Speed up Sandbox starts with warm pools Reinforcement Learning Train a model to solve math problems using GRPO and verl Train a model to solve coding problems using GRPO and TRL Embeddings Serve Liquid AI embeddings with Modal Servers Embed millions of documents with TEI Turn satellite images into vectors and store them in MongoDB Parallel processing and job scheduling Deploy a Hacker News Slackbot Run a Document OCR job queue Serve a Document OCR web app Training models from scratch Train an SLM with early-stopping grid search over hyperparameters Run long, resumable training jobs Hosting popular libraries YOLO: Fine-tune and serve computer vision models Blender: Build a 3D render farm Streamlit: Run and deploy Streamlit apps SQLite: Publish explorable data with Datasette Algolia: Build docsearch with a crawler Connecting to other APIs Discord: Deploy and run a Discord Bot Google Sheets: Sync databases and APIs to a Google Sheet OpenAI: Run a RAG Q&A chatbot Tailscale: Add Modal Apps to your VPN Prometheus: Publish custom metrics with Pushgateway Managing data Mount S3 buckets in Modal Apps Build your own data warehouse with DuckDB, dbt, and Modal Miscellaneous

Miscellaneous examples

Looking for how to make a popular model or library work with Modal? There’s a guide for that:

  • Deploy ControlNet demos with Gradio
  • Deploy Liquid Foundation Models with snapshotting
  • Deploy Nvidia Nemotron models
  • Generate Slack-ready GIFs with the Claude SDK
  • Generate video clips with Mochi
  • MultiOn: Create an agent for AI news
  • Profile PyTorch code
  • Real-time object detection with webcam input
  • Run a sandboxed Jupyter notebook
  • Run batched Whisper transcription
  • Run Claude Code in a Modal Sandbox
  • Run continuous integration (CI) tests on Modal
  • Run OpenAI’s gpt-oss model
  • Run OpenCV to detect faces
  • Run SAM 2 video segmentation model
  • Run Text Embedding Inference (TEI)
  • Serve TensorRT-LLM at maximum throughput

You can find even more examples on the modal-examples GitHub repository or find larger projects built by Modal users at the awesome-modal GitHub repository.

Miscellaneous examples
Modal logo Modal logo © Modal 2026
About Status Changelog Documentation Slack Community Pricing Examples