---
title: "Modal"
description: "Posts from Modal on swe.quest."
url: "https://swe.quest/sources/modal?per=48"
---

# Modal

Posts from [Modal](https://modal.com/blog), newest first.

Posts 1–48 of 71, page 1 of 2, newest first.

## 2026-11-19

- [How Abundant designed efficient rollout architecture with Modal Sandboxes](https://swe.quest/articles/how-abundant-designed-efficient-rollout-architecture-with-modal-sandboxes-6590e651fd7feefd.md): Modal · 2026-11-19 · Easy · 4 min read · Sandboxing & isolation, Model training, Evaluation, Serverless, Cost optimization
  Abundant runs its reinforcement learning rollout platform on Modal, with each of 75,000+ RL tasks executing in an isolated Modal Sandbox and Modal Functions powering the scheduler API.

## 2026-11-12

- [Sandbox resourcing: burst, don't reserve](https://swe.quest/articles/sandbox-resourcing-burst-don-t-reserve-6ee1eed03f706498.md): Modal · 2026-11-12 · Medium · 6 min read · Sandboxing & isolation, Cost optimization, Capacity planning, Scheduling, AI agents
  Modal Sandboxes default to a tiny guaranteed request (0.125 cores, 128 MiB) and burst into a shared pool of idle machine capacity, billed per second on actual use rather than a fixed peak reservation.

## 2026-11-11

- [Modal becomes a gVisor maintainer](https://swe.quest/articles/modal-becomes-a-gvisor-maintainer-053bd8f08ca6c19d.md): Modal · 2026-11-11 · Medium · 9 min read · Sandboxing & isolation, Containers, Multi-tenancy, Hardware, Open source
  Google is donating gVisor to the CNCF under maintainer-led governance, and Modal, which launches over 40 million gVisor containers a day for GPU inference, training, and AI sandboxes, is joining as a maintainer. gVisor's Go-based Sentry application kernel implements the Linux syscall interface and is itself confined by namespaces, cgroups and seccomp, giving tenant isolation without hardware virtualization: about 25 ms boot and 12 MB overhead.

## 2026-10-23

- [Launching a trillion-parameter model at Sakana AI](https://swe.quest/articles/launching-a-trillion-parameter-model-at-sakana-ai-9bcebf1840c2211d.md): Modal · 2026-10-23 · Hard · 6 min read · Inference & serving, LLMs, Performance engineering, Serverless
  Modal served Sakana Namazu, a ~1T-parameter Japanese-focused MoE model, by quantizing only the routed experts to NVFP4.

## 2026-10-22

- [Introducing our Training API](https://swe.quest/articles/introducing-our-training-api-a5babdede3e3cd17.md): Modal · 2026-10-22 · Hard · 7 min read · Model training, ML platforms, Multi-tenancy, Cost optimization, Open source
  Spindle is an open-source, Tinker-compatible post-training server that runs in a user's Modal workspace and bills for GPU time instead of tokens, so teams can customize models and features.

## 2026-10-20

- [Serverless routing made sticky](https://swe.quest/articles/serverless-routing-made-sticky-bebd537ed004d584.md): Modal · 2026-10-20 · Medium · 5 min read · Serverless, Load balancing, System design, Real-time systems, Capacity planning
  Modal's Sticky Sessions pin every request in a session to the same serverless container, which suits stateful workloads like streaming speech-to-text, voice agents, shared rooms and multiplayer games without resorting to max\_containers=1.

## 2026-10-19

- [NVIDIA Vera CPUs double throughput for Modal Sandboxes](https://swe.quest/articles/nvidia-vera-cpus-double-throughput-for-modal-sandboxes-40db65dda7f68f56.md): Modal · 2026-10-19 · Medium · 6 min read · Hardware, Performance engineering, Multi-tenancy, Sandboxing & isolation, AI agents
  Modal benchmarked NVIDIA's Arm-based Vera CPU for its multi-tenant Sandbox workloads and found up to 2x task throughput versus a comparable Intel Granite Rapids x86 host under heavy concurrent load.
- [How Legora runs 2,000 parallel agent evals on Modal Sandboxes](https://swe.quest/articles/how-legora-runs-2-000-parallel-agent-evals-on-modal-sandboxes-18a61f0150fc40b8.md): Modal · 2026-10-19 · Medium · 4 min read · Evaluation, AI agents, Sandboxing & isolation, Virtualization, Containers
  Legora tests its long-running legal agent by booting the full application, pinned to a specific commit, inside a separate Modal Sandbox for each eval run.

## 2026-10-16

- [Building fast filesystems for VMs](https://swe.quest/articles/building-fast-filesystems-for-vms-c974511fa7175ffd.md): Modal · 2026-10-16 · Hard · 9 min read · Storage systems, Virtualization, Performance engineering, Linux, Sandboxing & isolation
  Modal replaced virtio-fs with a custom virtio-blk backend, ImageFS-blk, for its VM Sandboxes.

## 2026-10-15

- [Augment Your LiveKit Agent with Modal GPUs](https://swe.quest/articles/augment-your-livekit-agent-with-modal-gpus-7c537d7efe5221b2.md): Modal · 2026-10-15 · Medium · 2 min read · Serverless, Real-time systems, Inference & serving, Speech & audio, Video & media
  LiveKit agents can offload custom or open-weights models to Modal serverless GPUs, demonstrated with a BitHuman Expression video avatar voiced by Qwen3-TTS.

## 2026-10-13

- [Toward RL on mixed-precision, mixed-accelerator samplers](https://swe.quest/articles/toward-rl-on-mixed-precision-mixed-accelerator-samplers-1c0dc5519077aec1.md): Modal · 2026-10-13 · Hard · 17 min read · Model training, Inference & serving, LLMs, Hardware, Cost optimization
  RL training of Qwen3.6-35B-A3B on agentic coding stays stable when samplers run on six accelerator types (A100 through B300, RTX PRO 6000) in NVFP4, FP8 and BF16 with their own kernels, feeding a BF16 trainer on B200.

## 2026-10-12

- [Endpoint Candidates: evaluate and promote inference endpoints](https://swe.quest/articles/endpoint-candidates-evaluate-and-promote-inference-endpoints-e21411973e001e67.md): Modal · 2026-10-12 · Medium · 3 min read · Inference & serving, Deployment, Load balancing, Resilience
  Endpoint Candidates let Modal users stage alternative deployments of a Dedicated Endpoint, such as new checkpoints or different models, mirror a sample of production traffic to them, measure latency, throughput, cost and quality, then promote a winner from the dashboard to the existing URL.

## 2026-10-01

- [Modal Clusters are generally available](https://swe.quest/articles/modal-clusters-are-generally-available-ac463de0f42a95b5.md): Modal · 2026-10-01 · Easy · 6 min read · Scheduling, Model training, Networking, Inference & serving, Serverless
  Modal Clusters, multi-node GPU groups requested via a single \`@modal.clustered(size=N, rdma=True)\` decorator, are now generally available with per-second billing and cluster acquisition in seconds.
- [Sidecars: A low-latency trust boundary for Sandboxes](https://swe.quest/articles/sidecars-a-low-latency-trust-boundary-for-sandboxes-69384814797d352b.md): Modal · 2026-10-01 · Medium · 6 min read · Sandboxing & isolation, AI agents, Security, Containers
  Modal Sidecars are isolated containers that run on the same host as a Sandbox, separated by the same gVisor or VM boundary, so trusted code such as agent harnesses, credential injectors and egress proxies can sit next to untrusted agent-generated code.

## 2026-09-24

- [Quail: Speeding up AI-SQL by jointly optimizing query planner and inference engine](https://swe.quest/articles/quail-speeding-up-ai-sql-by-jointly-optimizing-query-planner-and-inference-515cdcca6399e688.md): Modal · 2026-09-24 · Hard · 18 min read · Inference & serving, Query engines, LLMs, Performance engineering, SQL
  Quail is a query-aware inference layer that jointly optimizes AI-SQL query planning and LLM inference.

## 2026-09-23

- [How to serve trillions of tokens for trillion-parameter coding agents](https://swe.quest/articles/how-to-serve-trillions-of-tokens-for-trillion-parameter-coding-agents-0508c7c515fa8a14.md): Modal · 2026-09-23 · Hard · 32 min read · Inference & serving, LLMs, Caching, Performance engineering, Hardware
  Modal describes how it serves Moonshot AI's trillion-parameter Kimi K2.6 model for coding-agent traffic at trillions of tokens.

## 2026-08-04

- [Bringing serverless functions closer to the speed of wire](https://swe.quest/articles/bringing-serverless-functions-closer-to-the-speed-of-wire-4593ae513494961f.md): Modal · 2026-08-04 · Medium · 5 min read · Serverless, Performance engineering, System design, Go, Queues & messaging
  Modal rebuilt its serverless I/O plane, which queues Function inputs and outputs, and now runs it in at least four regions.

## 2026-07-27

- [Kimi K3 by Moonshot now available on Modal](https://swe.quest/articles/kimi-k3-by-moonshot-now-available-on-modal-c3db2e556f76303f.md): Modal · 2026-07-27 · Easy · 3 min read · Inference & serving, LLMs
  Moonshot's Kimi K3, a 2.8T-parameter mixture-of-experts multimodal model with a 1M token context window, is available on Modal from release day via an OpenAI-compatible Shared API and dedicated Auto Endpoints.

## 2026-07-16

- [Scaling to 1 million concurrent sandboxes in seconds](https://swe.quest/articles/scaling-to-1-million-concurrent-sandboxes-in-seconds-44dad4f83cd974c1.md): Modal · 2026-07-16 · Medium · 10 min read · Scheduling, Scaling, Sandboxing & isolation, Distributed systems, Containers
  Modal rebuilt its sandbox control plane to run 1 million concurrent sandboxes, creating all of them in under a minute, by removing central coordination and durable stores from the creation path.

## 2026-07-15

- [Inkling by Thinking Machines now available on Modal](https://swe.quest/articles/inkling-by-thinking-machines-now-available-on-modal-50e08c4be27f183d.md): Modal · 2026-07-15 · Hard · 3 min read · Inference & serving, LLMs, Performance engineering
  Thinking Machines' Inkling, a 975B-parameter (41B active) mixture-of-experts multimodal model with a 1M token context window, launches on Modal as a token-priced, OpenAI-compatible managed endpoint.

## 2026-07-09

- [Modal is a computer](https://swe.quest/articles/modal-is-a-computer-270db1c7ccdcba70.md): Modal · 2026-07-09 · Easy · 6 min read · Serverless, Cloud platforms, Containers, Operating systems, System design
  Modal is best understood not as a neocloud or inference provider but as a computer: a virtual machine built across dozens of cloud providers, mapped component by component onto a classic computer architecture.

## 2026-07-06

- [How to price serverless GPUs](https://swe.quest/articles/how-to-price-serverless-gpus-860219d00ad9fa69.md): Modal · 2026-07-06 · Easy · 7 min read · Cost optimization, Serverless, Capacity planning, Inference & serving, Hardware
  Whether serverless or reserved GPUs are cheaper comes down to one comparison: the ratio of reserved to serverless cost equals the reservation discount multiplied by the workload's peak-to-average demand ratio, so serverless wins whenever peak-to-average exceeds the discount.

## 2026-07-01

- [Multi-token Residual Prediction](https://swe.quest/articles/multi-token-residual-prediction-f7971ab59cb61cdd.md): Modal · 2026-07-01 · Hard · 13 min read · Inference & serving, LLMs, Model training, Performance engineering
  Multi-token Residual Prediction (MRP) adapts multi-token prediction to diffusion language models by training a small 3-layer transformer on a frozen backbone to predict the logit residual between adjacent denoising steps, not the full next-step distribution.

## 2026-06-25

- [Modal's serverless Servers](https://swe.quest/articles/modal-s-serverless-servers-c4c4d9aad435b2d6.md): Modal · 2026-06-25 · Medium · 10 min read · Load balancing, Serverless, Inference & serving, Rust, Performance engineering
  Modal Servers are a low-latency HTTP/WebSocket/gRPC serving primitive that cut p50 request latency from 39ms to 6ms versus Modal Web Functions by dropping platform-managed queueing and keeping network calls off the hot path.

## 2026-06-24

- [Achieve state-of-the-art inference latencies with speculative decoding](https://swe.quest/articles/achieve-state-of-the-art-inference-latencies-with-speculative-decoding-29855d3aec239f45.md): Modal · 2026-06-24 · Hard · 9 min read · Inference & serving, LLMs, Performance engineering, Model training
  Speculative decoding is the dominant lever for low-latency LLM serving because decode steps dominate latency and speculation yields multiplicative speedups roughly linear in acceptance length.

## 2026-06-22

- [Unpacking sandbox startup latency: why started ≠ ready](https://swe.quest/articles/unpacking-sandbox-startup-latency-why-started-ready-4140487180749d22.md): Modal · 2026-06-22 · Medium · 7 min read · Sandboxing & isolation, Performance engineering, Serverless, AI agents
  Container scheduling and boot time, the figure most sandbox benchmarks measure as time to interactive, is usually the smallest part of startup latency.

## 2026-06-19

- [Speculation Is All You Need](https://swe.quest/articles/speculation-is-all-you-need-dffc126cb5233807.md): Modal · 2026-06-19 · Hard · 17 min read · Inference & serving, LLMs, Performance engineering, Model training
  Speculative decoding delivers integral-factor (2-3x+) LLM decode speedups, far beyond the few-percent gains from kernel or host-side optimization, and its benefit scales roughly linearly with acceptance length.

## 2026-06-11

- [Making FlashAttention-4 faster for inference](https://swe.quest/articles/making-flashattention-4-faster-for-inference-dc917e70c20e0f22.md): Modal · 2026-06-11 · Hard · 14 min read · Inference & serving, Hardware, Performance engineering, LLMs
  Modal engineers extended the FlashAttention-4 kernel for decode-heavy LLM inference on Blackwell GPUs through two kinds of change: new parallelism strategies, such as split-KV parallelism across the key/value dimension, and support for irregular memory access via cp.async in place of TMA bulk loads.

## 2026-06-01

- [Reinforcement learning is an infrastructure problem](https://swe.quest/articles/reinforcement-learning-is-an-infrastructure-problem-5f300edd7294912f.md): Modal · 2026-06-01 · Medium · 10 min read · Model training, LLMs, Hardware, Open source
  RL post-training of LLMs is bottlenecked by infrastructure rather than algorithms: training engines, rollout inference and isolated environments must all scale together, and once training goes multi-node, trainer-to-rollout weight sync dominates.

## 2026-05-12

- [How we achieved truly serverless GPUs](https://swe.quest/articles/how-we-achieved-truly-serverless-gpus-d82b0620ff18c95f.md): Modal · 2026-05-12 · Medium · 23 min read · Serverless, Inference & serving, Containers, Storage systems, Capacity planning
  Modal cuts GPU inference replica cold starts from roughly 2,000 seconds to about 50 seconds, a 40x speedup, by attacking each stage of spin-up.

## 2026-05-04

- [Boosting multimodal inference performance by \>10% with a single Python dictionary](https://swe.quest/articles/boosting-multimodal-inference-performance-by-10-with-a-single-python-dictionary-89ba3b03f48e9ebc.md): Modal · 2026-05-04 · Hard · 7 min read · Inference & serving, Performance engineering, Python, Caching
  SGLang's single-threaded scheduler was wasting host time on multimodal workloads by calling torch.UntypedStorage.\_new\_shared\_cuda for every tensor received over CUDA IPC, repeatedly reopening the same few memory-pool handles.

## 2026-04-29

- [Building an RL theorem-proving workflow on Modal](https://swe.quest/articles/building-an-rl-theorem-proving-workflow-on-modal-091b48c98bf6e356.md): Modal · 2026-04-29 · Hard · 10 min read · Model training, ML platforms, Sandboxing & isolation, LLMs
  AE Studio built a reinforcement-learning loop on Modal that trains an LLM to write Lean proofs, comparing Evolution Strategies (ES) against GRPO using Lean verification as the reward. vLLM generation runs on GPU workers fanned out with .map(), Lean verification runs in short-lived sandboxes so bad proofs can't crash the run, and model state is stored as a ~200-byte-per-iteration history of perturbation seeds and rewards that each worker replays onto base weights from a Volume.

## 2026-04-15

- [Building with Modal and the OpenAI Agents SDK](https://swe.quest/articles/building-with-modal-and-the-openai-agents-sdk-c24777075f600dcf.md): Modal · 2026-04-15 · Medium · 12 min read · AI agents, Sandboxing & isolation, LLMs, Python, Cloud platforms
  A custom agent harness built on the OpenAI Agents SDK runs coding agents inside Modal Sandboxes, optionally with GPUs, rather than on the host, where an unsandboxed exec tool can be abused by malicious prompts.

## 2026-04-14

- [Autoscaling Autoresearch: Give your agents elastic GPUs on Modal](https://swe.quest/articles/autoscaling-autoresearch-give-your-agents-elastic-gpus-on-modal-149826d2e84207c1.md): Modal · 2026-04-14 · Medium · 8 min read · AI agents, ML platforms, Serverless, Model training, Capacity planning
  A Claude Code agent equipped with Modal Skills ran OpenAI's Parameter Golf challenge overnight, executing 113 experiments over 238 GPU-hours and dropping bits-per-byte from 1.42 to 1.12.

## 2026-04-08

- [Real-time inference for robots at Physical Intelligence](https://swe.quest/articles/real-time-inference-for-robots-at-physical-intelligence-e3fe41515a87309d.md): Modal · 2026-04-08 · Medium · 3 min read · Inference & serving, Networking, Hardware, Cloud platforms
  Physical Intelligence runs closed-loop inference for its Visual-Language-Action robot models on Modal GPUs instead of on-board GPUs, adding only about 10-15 ms of network overhead.

## 2026-03-25

- [How Doppel eliminated ML infrastructure tax with Modal](https://swe.quest/articles/how-doppel-eliminated-ml-infrastructure-tax-with-modal-6cfb61f19c711d02.md): Modal · 2026-03-25 · Medium · 5 min read · ML platforms, Serverless, Inference & serving, Model training, Threat detection
  Doppel, which builds ML models to detect social engineering attacks, moved much of its training and inference from sequential experiments and GCP Cloud Run to Modal.

## 2026-02-24

- [Directory Snapshots: Resumable project state for Sandboxes](https://swe.quest/articles/directory-snapshots-resumable-project-state-for-sandboxes-13d39562cbeec9ee.md): Modal · 2026-02-24 · Medium · 5 min read · Sandboxing & isolation, Containers, Storage systems, AI agents
  Modal's Directory Snapshots, now in public beta, capture a single directory from a running Sandbox and mount it into another Sandbox independently of the base image, instead of snapshotting the whole filesystem as one unit.

## 2026-02-19

- [How Ramp built a full context background coding agent on Modal](https://swe.quest/articles/how-ramp-built-a-full-context-background-coding-agent-on-modal-8c26a10f9ce0801d.md): Modal · 2026-02-19 · Easy · 6 min read · AI agents, AI for coding, Sandboxing & isolation, Developer productivity
  Ramp Inspect, an internal background coding agent, runs each session in a Modal Sandbox containing a full dev environment (Postgres, Redis, Temporal, RabbitMQ, OpenCode, VS Code server, VNC with Chromium) and now starts roughly half of merged pull requests at Ramp.

## 2026-02-11

- [Try GLM-5.1, the new frontier of open intelligence, on Modal](https://swe.quest/articles/try-glm-5-1-the-new-frontier-of-open-intelligence-on-modal-a82f7ab29ce4cb24.md): Modal · 2026-02-11 · Medium · 6 min read · Inference & serving, LLMs, AI for coding, AI agents
  Modal is offering a free, OpenAI API-compatible endpoint for Z.ai's MIT-licensed GLM-5 (since upgraded to GLM-5.1) through the end of April, limited to one concurrent request per user.

## 2025-12-28

- [Keeping 20,000 GPUs healthy](https://swe.quest/articles/keeping-20-000-gpus-healthy-44bcabe0aac0be9a.md): Modal · 2025-12-28 · Medium · 9 min read · Hardware, SRE, Observability, Cloud platforms, Performance engineering
  Modal keeps a multi-cloud fleet of over 20,000 concurrent GPUs reliable through instance-type benchmarking, continuously tested machine images, light boot checks, and passive plus active lifetime healthchecks.

## 2025-11-20

- [Agents need good developer experience too](https://swe.quest/articles/agents-need-good-developer-experience-too-0e7b893ce6372fdc.md): Modal · 2025-11-20 · Easy · 7 min read · Developer productivity, AI agents, AI for coding, API design
  Developer experience principles that make humans productive also help coding agents, because both depend on tight write-run-observe feedback loops.

## 2025-11-18

- [Host overhead is killing your inference efficiency](https://swe.quest/articles/host-overhead-is-killing-your-inference-efficiency-42291cc0b68e5c36.md): Modal · 2025-11-18 · Medium · 7 min read · Inference & serving, Performance engineering, Hardware
  GPU idle time while the CPU prepares work (host overhead) shows up as low GPU kernel utilization and directly multiplies inference cost; 50% overhead means GPU spend is 2x what it could be.

## 2025-11-13

- [How Decagon shipped real-time voice AI on Modal](https://swe.quest/articles/how-decagon-shipped-real-time-voice-ai-on-modal-b1a29f8666a68e7d.md): Modal · 2025-11-13 · Hard · 4 min read · Inference & serving, Model training, Speech & audio, LLMs, Performance engineering
  Decagon Voice 2.0 cut latency by 65% by replacing large frontier models with small open-source models fine-tuned through augmented multi-domain data, curriculum and mixed-objective SFT, and reinforcement learning.

## 2025-11-04

- [One-second voice-to-voice latency with Modal, Pipecat, and open models](https://swe.quest/articles/one-second-voice-to-voice-latency-with-modal-pipecat-and-open-models-a0369eb06c4f6162.md): Modal · 2025-11-04 · Medium · 12 min read · Speech & audio, Inference & serving, Real-time systems, Performance engineering, RAG & retrieval
  A conversational voice bot on Modal reaches roughly one-second voice-to-voice latency.

## 2025-09-26

- [We reverse-engineered Flash Attention 4](https://swe.quest/articles/we-reverse-engineered-flash-attention-4-e0ddc41706e090a5.md): Modal · 2025-09-26 · Hard · 18 min read · Inference & serving, Hardware, Performance engineering, Concurrency, LLMs
  Flash Attention 4, Tri Dao's attention kernel for Nvidia Blackwell GPUs, reportedly runs about 20% faster than cuDNN's closed-source attention kernels.

## 2025-09-16

- [Inside Modal Notebooks: How we built a cloud GPU notebook that boots in seconds](https://swe.quest/articles/inside-modal-notebooks-how-we-built-a-cloud-gpu-notebook-that-boots-in-seconds-cfb6050987f03347.md): Modal · 2025-09-16 · Medium · 8 min read · System design, Containers, Storage systems, Real-time systems, Developer tools
  Modal Notebooks runs Jupyter kernels inside Modal Sandboxes, using a \`modal-kernelshim\` daemon that translates ZeroMQ kernel protocol messages into HTTP tunneled through the control plane.

## 2025-07-30

- [GPU Memory Snapshots: Supercharging sub-second startup](https://swe.quest/articles/gpu-memory-snapshots-supercharging-sub-second-startup-14c07f765f85f384.md): Modal · 2025-07-30 · Medium · 6 min read · Serverless, Inference & serving, Hardware, Performance engineering
  Modal's GPU memory snapshots extend its gVisor-based checkpoint/restore to capture GPU state, using NVIDIA's new CUDA checkpoint API (driver branches 570/575) to lock CUDA processes, copy device memory, kernels, streams, contexts and memory mappings to host memory, then snapshot CPU and GPU state together.

## 2025-07-24

- [What is an AI code sandbox?](https://swe.quest/articles/what-is-an-ai-code-sandbox-ff77320ddef8f884.md): Modal · 2025-07-24 · Easy · 9 min read · Sandboxing & isolation, AI agents, AI for coding, Containers
  AI code sandboxes are ephemeral, isolated environments for executing LLM-generated code so hallucinated packages, crashes or prompt-injected exploits can't affect the host or other tenants.

[Next page](https://swe.quest/sources/modal.md?per=48&page=2)

Same list as RSS: [https://swe.quest/feed.xml?source=modal](https://swe.quest/feed.xml?source=modal). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
