The best serverless GPU platforms, matched to your team
Serverless GPU products all promise the same thing: you send work, a GPU worker starts, and you pay while it runs. The real differences are in how you package code, how they bill the time around each request, and how much control you get over workers that stay warm. Those differences decide which one fits your team before speed ever comes up.
This page compares three starting points, using each provider’s own documentation and pricing page as read on 20 November 2026. It is a focused shortlist, not a survey of every serverless provider, and NeuraMesh has not benchmarked them against each other. The picks below are a starting point for your own test.
| Your team | Start with | Why | Watch out for |
|---|---|---|---|
| Writes Python, wants little infrastructure | Modal | GPU functions declared in code | Base fee on the Team plan |
| Ships a container image already | Runpod Serverless | Worker image with a handler or your own HTTP server | Cold start time of a large image |
| Optimises cost per result on bursty work | Vast.ai Serverless | Benchmark-driven choice of GPU class | Evaluation period on a new endpoint |
| Steady traffic most of the day | A dedicated GPU | No per-request start-up overhead | Paying for idle hours |
References: Runpod Serverless overview · Modal GPU configuration · Vast.ai Serverless documentation
How each platform bills worker time
Runpod Serverless 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, the execution time, and the idle timeout during which a worker waits for more requests; the default idle timeout is 5 seconds. Pulling the image and downloading cached models are not billed. Flex workers scale to zero at the standard per-second rate; active workers run around the clock, with discounts available through sales.
Modal bills CPU, memory and GPU time by the second. Its Starter plan has no base fee and includes $30 of compute credits a month; its Team plan has a $250 monthly base fee and includes $100 of credits. On 20 November 2026 Modal listed an H100 at $0.001097 per second, about $3.95 an hour, with an A100 80 GB at $0.000694 and an L40S at $0.000542 per second. CPU and memory are charged on top of the GPU rate.
Vast.ai describes its serverless product as paying for execution rather than GPU rental time. It benchmarks a workload against different GPU classes and recruits the best price-performance hardware from its marketplace, from consumer cards to data-center parts. A newly created endpoint needs an evaluation period before that optimisation takes effect, so do not judge it on the first hour.
| Billing detail | Runpod Serverless | Modal | Vast.ai Serverless |
|---|---|---|---|
| Granularity | Per second, rounded up | Per second | Pay for execution |
| Cold start billed | Yes, until handler is ready | Billed while the container runs | Check during trial |
| Idle window after work | Idle timeout, default 5 s | scaledown_window, default 60 s | Check during trial |
| Always-warm option | Active workers | min_containers | Check during trial |
| Platform fee | None stated | $0 Starter, $250 Team | None stated |
References: Runpod Serverless pricing · Modal pricing · Vast.ai Serverless documentation

A worked break-even: serverless or dedicated
Serverless wins when GPUs would otherwise sit idle. The way to find the line is to add up billed seconds, not just execution seconds. Billed time is execution plus cold starts plus the idle window after each burst. This example uses Modal’s published H100 GPU rate from 20 November 2026 and ignores CPU and memory charges, so treat it as a lower bound. The workload numbers and the dedicated rate D are illustrative.
Low traffic: 2,000 requests a day at 4 GPU-seconds each, one request at a time per worker, is 8,000 seconds. Add 50 bursts a day, each with a 30-second cold start and a 60-second idle tail, for another 4,500 seconds. That is 12,500 billed seconds, or about $13.71 a day. A dedicated H100 would have to cost under about $0.57 an hour to match, so serverless wins clearly.
High traffic: 20,000 requests a day at 4 seconds each is 80,000 seconds, about 22.2 hours of GPU time, or about $87.76 a day before start-up overhead. A dedicated H100 running 24 hours beats that at any rate below about $3.66 an hour, and it can batch requests, which serverless at one request per worker does not. Past roughly that utilisation, move the steady base load to a dedicated GPU.
| Scenario | Billed GPU time per day | Serverless cost (H100 GPU only) | Dedicated wins if D is below |
|---|---|---|---|
| 2,000 requests, 50 bursts | 12,500 s (3.5 h) | About $13.71 | About $0.57/hour |
| 20,000 requests, near-constant | 80,000 s (22.2 h) | About $87.76 plus overhead | About $3.66/hour |
References: Modal pricing
Cold starts decide user experience
A cold start is the time to boot a container, load model weights into GPU memory and initialise the runtime before the first request can run. For a large model this can dominate latency for the first user after a quiet spell, and on Runpod and Modal you also pay for it.
Both platforms give you levers. Runpod lists cached models, FlashBoot and active worker counts above zero as ways to reduce cold starts. Modal lets you set min_containers so a function never scales to zero, buffer_containers to keep spare containers while traffic is active, and a scaledown_window between 2 seconds and 20 minutes; it also offers memory snapshots that reuse a warmed-up container state.
Every warm worker costs money while it waits, so treat these settings as a price for latency. Our serverless GPU cold starts guide shows how to measure the trade-off for your model size.
References: Runpod Serverless overview · Modal cold starts
Queues, retries and endpoint types
Decide early whether clients wait for an answer or submit a job and collect it later. Runpod offers queue-based endpoints, where requests go through a managed queue to your handler using operations such as /run and /runsync, and load-balancing endpoints, which route traffic directly to workers with your own HTTP framework but provide no queue for a backlog. Pick the queue for batch and long jobs; pick load balancing when you need a normal HTTP API and can tolerate rejected requests at peak.
Whatever the platform, give each job a stable ID, make handlers safe to retry and decide how a client learns a job failed. Workers get replaced and requests get retried; that is normal behaviour, not an outage.
Count the integration work as part of the price. Building images, managing secrets, publishing a new model version and recovering failed jobs take engineering time. A Python team on Modal and a container team on Runpod will each find their own path shorter. Our Runpod vs Modal comparison goes deeper on that choice.
References: Runpod Serverless overview
How to test serverless GPU platforms fairly
Replay a real traffic trace, including quiet periods and bursts. A constant load generator keeps workers warm and hides the cold starts that dominate an intermittently used app. Use the same model artifact, precision and output settings on each platform.
Measure from the client: time from request to valid response including queue time, the share of requests that hit a cold worker, and the billed seconds the provider reports for the test window. Divide cost by successful responses. Our LLM inference benchmarking guide covers the method for language models.
Repeat the test after you change the model or image. Start-up time follows image and weight size, so a bigger model can move you across the break-even line even when traffic is unchanged.
References: vLLM serving benchmark options
When a dedicated GPU is the better answer
Serverless is a poor fit for long training runs, for endpoints that are busy most of the day, and for workloads that need a large model warm at all times. In those cases a dedicated GPU by the hour avoids per-request start-up cost and lets you batch requests. Many teams run a small dedicated baseline and send only overflow to serverless. The full trade-off is in serverless vs dedicated GPU.
NeuraMesh rents dedicated GPUs by the hour through a confirmed quotation: choose a GPU such as an L40S, a Data center or Value plan, the count, hours and region. The quotation arrives by email, typically within one business day, nothing is charged until you approve it, and there is a $50 minimum order. It does not autoscale, so it suits the steady baseline rather than the bursts. Current rates are on the GPU prices page.
NeuraMesh prices for these GPUs
| GPU | Memory | Data center | Value |
|---|---|---|---|
| RTX 4090 | 24 GB | $0.46 | $0.40 |
| L40S | 48 GB | $1.26 | $0.54 |
| A100 | 80 GB | $1.56 | $0.98 |
| H100 | 80 GB | $2.88 | $2.00 |
Every order is confirmed in a quotation before you pay. See all GPU prices.
Questions readers ask
What are the best serverless GPU platforms for a Python team?
Start with Modal, which lets Python functions request GPUs from code and bills by the second, with $30 of monthly credits on its Starter plan. If your team already ships container images, Runpod Serverless is the closer fit. Test both with a replay of your real traffic before committing.
Is a serverless GPU always cheaper for low traffic?
Usually, but not automatically. Runpod bills cold starts and the idle timeout, and Modal bills by the second while a container runs, which includes the idle scale-down window. Add those seconds to execution time, then compare with a dedicated hourly rate at your real utilisation.
How do I reduce serverless GPU cold starts?
Keep images and weights small, cache models, and keep a minimum number of warm workers when latency matters. Runpod offers cached models, FlashBoot and active workers; Modal offers min_containers, buffer_containers, a configurable scale-down window and memory snapshots. Each warm worker adds cost.
Can I fine-tune a model on a serverless GPU platform?
Short jobs can run there, but long training runs fit dedicated GPUs better because they need hours of continuous time, persistent checkpoints and no per-request overhead. Use serverless for inference and short batch jobs, and a dedicated GPU or cluster for training.
What is the difference between Runpod flex and active workers?
Flex workers scale to zero when there are no requests and bill at the standard per-second rate. Active workers run around the clock to avoid cold starts; Runpod says discounts on them are available through its sales team.
Sources and editorial notes
- Runpod Serverless overview
- Modal GPU configuration
- Vast.ai Serverless documentation
- Runpod Serverless pricing
- Modal pricing
- Modal cold starts
- vLLM serving benchmark options
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.
Need this GPU? Rent it from NeuraMesh: choose a GPU and plan, get a confirmed quotation, and pay only when you approve. See pricing.



