Provider comparisons

Runpod vs Modal for serverless GPU inference

Runpod vs Modal is a choice of integration style. Pick Runpod Serverless when you already have a Docker image or model server and want it behind a queue or HTTP endpoint with few code changes. Pick Modal when your team writes Python and wants infrastructure defined in code, GPU fallback lists and memory snapshots. Modal GPU functions are preemptible and retried on the same input, so make requests idempotent. Compare at the same idle window, because the defaults differ.

Requests splitting into two paths, one into a container box and one into a code function block
Serverless inference platforms differ most in the integration boundary. AI-generated illustration.

Runpod vs Modal at a glance

Both services bill GPU time per second and scale to zero, so a warm-only price comparison misses most of the story. What differs is the unit you deploy, how warm capacity is kept, what happens when a container is taken away, and how model files reach the GPU. The table summarises each provider’s documentation, as read on 2026-11-20.

Runpod Serverless runs workers, which it defines as container instances running your Docker image. A queue-based endpoint calls a handler function through /run and /runsync; a load-balancing endpoint routes traffic straight to workers running your own HTTP server, such as FastAPI. Modal runs Python functions: you add a decorator such as @app.function(gpu="H100") and Modal builds and schedules the container.

Runpod vs Modal at a glance
ItemRunpod ServerlessModal
Unit you deployDocker image with handler or HTTP serverPython function with a GPU decorator
Billing unitPer second, rounded up, worker start to stopPer second; GPU, CPU and memory listed separately
Default idle window5 seconds idle timeout60 seconds scaledown_window
Always-warm optionActive workers, 24/7; discounts via salesmin_containers and buffer_containers
Cold-start toolsFlashBoot, model cachingMemory snapshots, enter methods
GPU requestGPU types chosen per endpointUp to 8 GPUs per container, ordered fallback list
Model storageNetwork volume at /runpod-volume, one data center eachVolumes, write-once read-many, commit and reload
PreemptionNot stated in the pages we readPreemptible by default; restarted on the same input

References: Runpod Serverless overview · Runpod Serverless pricing · Modal GPU configuration · Modal pricing

What each second of billing covers

Runpod bills a worker from the moment it starts until it fully stops, rounded up to the nearest second. That includes the cold start until your handler is ready, mostly loading the model into GPU memory, plus execution time, plus the idle timeout after the last job. Runpod states that pulling the container image and downloading cached models normally happen while the worker is scaled down and are not billed.

Modal’s pricing page lists GPU, CPU and memory as separate per-second rates. On 2026-11-20 it listed a region-selection multiplier of 1.15 to 1.75 times base prices, and plan tiers: Starter at $0 plus compute with $30 of monthly credits and 10 GPU concurrency, and Team at $250 plus compute with $100 of credits and 50 GPU concurrency. That concurrency cap is a hard ceiling to check against your peak traffic.

Because Runpod defaults to a 5-second idle timeout and Modal to a 60-second scaledown window, a test at default settings compares two different policies. Set both to the same idle window before you compare bills. Our serverless cold start guide explains how to choose that window.

References: Runpod Serverless pricing · Modal pricing · Modal cold starts

A single envelope waiting at a sleeping GPU worker that is waking up
Watch what the first request after an idle gap waits for. AI-generated illustration.

Worked example: idle windows decide the bill

An illustrative endpoint receives 2,000 requests a day, each needing 3 seconds of GPU time, in bursts with gaps. Busy time is 6,000 GPU-seconds, about 1.7 GPU-hours. Assume 300 cold starts a day, each loading the model for 40 seconds, about 3.3 GPU-hours. Every number here is an assumption to show the shape of the bill, not a measurement of either service.

With a 5-second idle window, idle time adds about 0.4 GPU-hours, for roughly 5.4 GPU-hours a day. With a 60-second window, idle adds about 5 GPU-hours, but some bursts now hit a warm container, so cold starts might fall to 150, or 1.7 GPU-hours, for about 8.4 in total. One always-warm worker is 24 GPU-hours a day before any traffic. At low volume the scale-to-zero policy wins on cost; the warm options buy latency.

Worked example: idle windows decide the bill
Illustrative policyBusyCold startIdleGPU-hours per day
Scale to zero, 5 s idle1.73.30.45.4
Scale to zero, 60 s idle1.71.75.08.4
One always-warm worker1.7about 0rest of day24

Preemption, retries and duplicate work

Modal states that all functions are subject to preemption by default. When a function is preempted, Modal sends an interrupt, runs the exit handler, and restarts the function on the same input, so it recommends making work safely retryable. Modal’s nonpreemptible option costs 3 times the list price for CPU and memory and, per its documentation, is not supported for GPU functions.

For inference that writes nothing, a retry costs only time. For a job that charges a customer, sends an email or writes a row, a retry without an idempotency key can do it twice. Runpod’s Serverless pages we read do not state a preemption policy, so test what happens when a worker is killed mid-request on both services.

References: Modal preemption · Modal pricing · Runpod Serverless overview

Getting model weights onto the GPU

On Runpod, a network volume mounts at /runpod-volume on Serverless workers. Attaching one constrains workers to that volume’s data center, so Runpod suggests attaching volumes in several data centers to improve availability. Container disk is billed in 5-minute intervals and network volumes at $0.07 per GB per month under 1 TB, as read on 2026-11-20.

Modal Volumes are a distributed file system optimised for write-once, read-many use such as model weights. A container sees the volume as it was at start-up and needs reload() to see later commits; concurrent writes are last-write-wins. Modal also suggests baking a single model into the image at build time.

Either way, measure cold start with the real model size. A 7B model in 16-bit weights is roughly 14 GB to read before the first token. Our LLM VRAM budget guide helps size the GPU for it.

References: Runpod network volumes · Runpod Serverless pricing · Modal Volumes

Decision rules for Runpod vs Modal

These follow from the documented products. They are starting points for the trial, not measured rankings.

Decision rules for Runpod vs Modal
Your situationStart withReason
Existing Docker image or vLLM serverRunpodDeploy the image as a worker
Python team, infra in codeModalFunctions and GPUs declared in decorators
Need a fallback when a GPU type is shortModalOrdered GPU fallback lists
Side effects that must not repeatEither, with idempotency keysModal retries preempted GPU inputs
Peak above 10 concurrent GPUs on a starter planCheck plan limits firstModal Starter lists 10 GPU concurrency
Steady 24/7 trafficNeither by defaultA dedicated GPU may cost less

References: Runpod Serverless overview · Modal GPU configuration · Modal preemption

A matched trial with real traffic

Deploy the same model revision, precision and serving settings on both, with the same idle window. Replay a day of real request timestamps, not a steady loop, so cold starts appear at their real rate. Record time to first token for cold and warm requests, error rate, and billed GPU-seconds from each dashboard. Our LLM inference benchmarking guide describes the method.

Then test failure paths: an invalid request, a request that times out, a client that disconnects mid-stream, and a burst larger than your concurrency limit. Finally, have the engineer who owns releases ship and roll back a model update on each. Release effort and log quality often decide a close call.

References: Runpod Serverless pricing · Modal cold starts

When serverless is the wrong shape

If traffic keeps a GPU busy most of the day, per-second billing loses its advantage and a dedicated GPU by the hour can cost less. Our serverless vs dedicated GPU comparison shows the break-even. For that case, NeuraMesh rents GPUs such as the L40S and H100 by the hour through a confirmed quotation, sent by email typically within one business day, with a $50 minimum order and no charge until you approve. There is no instant deploy, so it fits planned capacity rather than bursty traffic. Rates are on the pricing page.

NeuraMesh prices for these GPUs

NeuraMesh prices per GPU-hour in USD, excluding taxes, as of 2026-11-27. Live prices are on the rental pages.
GPUMemoryData centerValue
RTX 409024 GB$0.46$0.40
L40S48 GB$1.26$0.54
A10080 GB$1.56$0.98
H10080 GB$2.88$2.00

Every order is confirmed in a quotation before you pay. See all GPU prices.

Questions readers ask

Which has lower cold-start latency, Runpod or Modal?

There is no like-for-like published figure. Modal says its containers typically boot in about a second, but loading model weights usually dominates. Cold start depends on image size, model size, caching and idle policy. Both offer tools to shorten it: FlashBoot and model caching on Runpod, memory snapshots on Modal. Measure with your own model.

Runpod vs Modal: which is cheaper?

It depends on idle policy and traffic shape more than list price. Set the same idle window on both, replay real traffic, and compare billed GPU-seconds per thousand successful requests. Include Modal’s CPU and memory lines and any region multiplier.

Can Modal GPU functions be non-preemptible?

Not according to Modal’s preemption documentation, which says the nonpreemptible parameter is not supported for GPU functions. Design GPU work to be safe to retry.

Does Runpod bill for pulling my container image?

Runpod says image pulls and cached model downloads normally happen while the worker is scaled down and are not billed. Loading the model into GPU memory during cold start is billed.

Can I run multi-GPU inference on either?

Modal allows up to 8 GPUs per container for most GPU types. Runpod also offers Instant Clusters for multi-node work. Check memory per GPU first; one larger GPU is often simpler than splitting.

Sources and editorial notes

Primary documentation reviewed October 9, 2026. Provider descriptions reflect published documentation. Recommendations are our analysis; worked figures are illustrative unless explicitly stated otherwise. No independent provider benchmark or uptime ranking is claimed.

Read the editorial policy.

Need this GPU? Rent it from NeuraMesh: choose a GPU and plan, get a confirmed quotation, and pay only when you approve. See pricing.