Modal logo
GuideExamplesReferencePlayground
Log In Sign Up
FeaturedGetting started Hello, worldSimple web scraperServing web endpointsLarge language models (LLMs) Deploy an OpenAI-compatible LLM service with vLLMRun DeepSeek-R1 and Phi-4 with llama.cppLow-latency, serverless TensorRT-LLMRun Vision-Language Models with SGLangRun a multimodal RAG chatbot to answer questions about PDFsFine-tune an LLM with AxolotlReplace your CEO with an LLMImages, video, & 3D Fine-tune Wan2.1 video models on your faceRun Flux fast with torch.compileFine-tune Flux with LoRAAnimate images with LTX-VideoGenerate video clips with LTX-VideoGenerate video clips with MochiRun Stable Diffusion with a CLI, API, and web UIDeploy ControlNet demos with GradioAudio Deploy a Moshi voice chatbotCreate music with MusicGenComputational biology Fold proteins with Chai-1Build a protein-folding dashboardFold proteins with Boltz-1Sandboxed code execution Run a LangGraph agent's code in a secure GPU sandboxBuild a stateful, sandboxed code interpreterRun Node.js, Ruby, and more in a SandboxRun a sandboxed Jupyter notebookParallel processing and job scheduling Transcribe podcasts with WhisperDeploy a Hacker News SlackbotRun a Document OCR job queueServe a Document OCR web appTraining models from scratch Train an SLM with early-stopping grid search over hyperparametersRun long, resumable training jobsHosting popular libraries FastHTML: Deploy 100,000 multiplayer checkboxesYOLO: Fine-tune and serve computer vision modelsMultiOn: Create an agent for AI newsBlender: Build a 3D render farmStreamlit: Run and deploy Streamlit appsComfyUI: Run Flux on ComfyUI as an APISQLite: Publish explorable data with DatasetteAlgolia: Build docsearch with a crawlerConnecting to other APIs MongoDB: Vector and geospatial search over satellite imagesDiscord: Deploy and run a Discord BotGoogle Sheets: Sync databases and APIs to a Google SheetLangChain: Run a RAG Q&A chatbotTailscale: Add Modal Apps to your VPNPrometheus: Publish custom metrics with PushgatewayManaging data Mount S3 buckets in Modal appsBuild your own data warehouse with DuckDB, DBT, and ModalCreate a LoRA Playground with Modal, Gradio, and S3Miscellaneous

Miscellaneous examples

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

  • Fine-tune Flan-T5 and monitor with TensorBoard
  • Generate synthetic data with Jsonformer
  • Profile PyTorch code
  • Real-time object detection with webcam input
  • Run batched Whisper transcription
  • Run continuous integration (CI) tests on Modal
  • Run multilingual chat rooms with SeamlessM4T-V2
  • Run OpenCV to detect faces
  • Run SAM 2 video segmentation model
  • Run Stable Video Diffusion image-to-video model
  • Run Text Embedding Inference (TEI)
  • Stable Diffusion with A1111

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 © 2025
About Status Changelog Documentation Slack Community Pricing Examples