vLLM sleep mode doesn't pause your GPU bill. It pauses a vLLM process's grip on GPU memory while leaving the process, and the instance underneath it, running exactly as before. That distinction matters because "sleep" sounds like a cost control, and it isn't one. It's a way to make one GPU hold two models, or one allocation serve both sides of an RLHF loop, without either job stepping on the other's memory.
TL;DR: What Does vLLM Sleep Mode Actually Do?
vLLM sleep mode offloads a model's weights and/or KV cache out of GPU memory while the engine process stays alive, so waking it back up is a memory operation instead of a fresh model load.
- Mechanism: Level 1 keeps weights in CPU RAM and drops the KV cache; level 2 drops both and backs up only small allocations like RoPE tensors, per vLLM's sleep mode docs.
- Speed: vLLM's own benchmark on an A100 running Qwen3-0.6B measured 5 model switches averaging 37.6s with no sleep mode versus 0.85s with level-2 sleep, a 23-45x gap, per the vLLM project blog.
- Use case: verl and OpenRLHF both require or recommend sleep mode to colocate the rollout engine and the training process on the same GPUs during RLHF-style fine-tuning.
- Billing: Spheron bills GPU instances by the minute, and a sleeping vLLM process inside a still-running instance keeps billing exactly like a busy one.
- Verdict: sleep mode is a multi-model and RLHF colocation trick, not an idle-cost control. Pair it with an instance-level stop/start for anything meant to actually be cheap while idle. See vLLM production deployment basics for the engine setup this assumes.
What vLLM Sleep Mode Actually Does: Weights and KV Cache Offloaded, Process Alive
Sleep mode is a memory management call inside vLLM's engine, built on the same CUDA memory allocator vLLM already uses. Calling sleep() moves data out of GPU memory, to CPU RAM or just discards it, while the Python process and its CUDA context keep running. Calling wake_up() maps that data back in. Nothing about the OS, the network stack, or the GPU driver restarts in between.
You turn it on with enable_sleep_mode=True when constructing the LLM object through vLLM's Python API, or with --enable-sleep-mode plus VLLM_SERVER_DEV_MODE=1 on the OpenAI-compatible server, which exposes /sleep and /wake_up as developer endpoints rather than public-facing ones, per vLLM's own documentation. The feature works on CUDA, ROCm, and XPU, and it's compatible with tensor and pipeline parallelism, so a multi-GPU deployment sleeps and wakes as a unit.
The vLLM project frames the motivating problem directly: it's for "two LLMs that each fit on your GPU, but not both at once," per the vLLM blog. Instead of provisioning a second GPU, you sleep model A, wake model B, and switch back later. For a lighter touch, release_kv_cache_memory() frees just the KV cache's physical memory while leaving weights resident. For the scheduler loop sleep mode is pausing, see our continuous batching explainer.
Level 1 vs Level 2: What Each One Keeps and What It Throws Away
The two sleep levels trade CPU RAM for wake-up work, and they're built for genuinely different jobs.
| Property | Level 1 | Level 2 |
|---|---|---|
| Model weights | Offloaded to CPU RAM | Discarded entirely |
| KV cache | Discarded | Discarded |
| Other GPU allocations (e.g. RoPE tensors) | Not applicable | Backed up to CPU RAM |
| CPU RAM needed per model | Roughly 10 to 100GB or more | On the order of megabytes |
| Typical wake time, small models | 0.1 to 0.8s | 0.8 to 2.6s |
| Typical wake time, large models | 3 to 6s | Not published for large models |
| How weights come back | Restored from the CPU RAM copy | Reloaded from source, or via collective_rpc("reload_weights") |
| Built for | Fast model-to-model switching | RLHF weight updates; hosts short on CPU RAM |
Those wake-time ranges and the RAM figures both come from vLLM's benchmark writeup. Level 1 wins for repeated switching with host RAM to spare. Level 2 wins when CPU RAM is tight or the weights are about to change anyway, which is the RLHF case. vLLM's own sleep mode documentation gives a scale example: DeepSeek-V4.1-Flash at tensor-parallel size 4 frees 80 GiB per GPU under level-2 sleep while backing up only 2.35 GiB per rank, the small-allocation backup, not the weights.
For RLHF loops, vLLM also supports a partial wake, passing tags="weights" or tags="kv_cache" to wake_up() so a training loop restores just the weights, synchronizes the policy update, and only then wakes the KV cache, avoiding an out-of-memory spike from holding both at once. GQA versus MHA covers what's actually sitting in that KV cache before you discard it.
How Sleep Mode Is Different From Stopping the GPU Instance Itself
Sleep mode operates entirely inside the vLLM process. The GPU instance it's running on, the VM, the network interface, the disk, the public IP, never stop existing. That's the opposite layer from an instance-level control like Spheron's Stop feature, which releases the GPU itself and drops billing to the disk rate while keeping the disk and public IP intact for a later restart. Stop doesn't know or care whether vLLM inside the instance was awake, asleep, or never started; it operates on the instance, not the process.
It's also worth separating sleep mode from vLLM's own weight-cache daemon, shipped in version 0.31. That daemon keeps a model's weights resident in GPU memory behind a separate process so a restarting engine maps them back via CUDA IPC instead of reloading from disk, which means it survives the vLLM engine process dying but not the GPU itself being stopped or reclaimed. Sleep mode is the mirror image: it survives the engine process staying alive through a planned pause, but offers nothing if the instance underneath it disappears. Our writeup on the 0.31 daemon covers why vLLM's own docs call the two features explicitly incompatible: they solve opposite failure modes.
That second failure mode is real on spot capacity. Every 8-GPU spot type we used during inference testing got reclaimed at least once on 14 Oct 2026, and on 16 Oct one B200 region stopped five of our spot VMs in a single day. A sleeping vLLM process offers no protection against that: when the VM goes away, the process goes with it, offloaded weights and all. The mitigation is keeping two copies of every model on different nodes, spread across regions or providers, with automatic recovery set up, not expecting sleep mode to survive a preemption it was never built to survive.
Wake-Up Latency vs a Cold Restart, Measured
vLLM's own numbers make the case for sleep mode on speed alone.
Put that next to what a genuinely cold GPU instance boot costs. On 8xB200 spot instances, with engines, weights, and compiled kernels already sitting on a cache volume, our own measured launch-to-serving times (15 and 16 Oct 2026) ran 15.9 minutes for GLM-5.3, 11.5 minutes for GLM-5.3-Flash, and 11.9 minutes for DeepSeek V4.1 Flash, with 2 to 3.5 minutes of every figure spent just getting the VM before the engine or model load even starts. That's the real alternative to sleeping and waking a model. Sleep mode's sub-second to low-single-digit-second wakes aren't a modest improvement over an 11-to-16-minute boot, they're two to three orders of magnitude faster, because they skip VM provisioning, engine install, and CUDA graph warm-up entirely.
When Sleep Mode Changes Your Hourly Bill
Here's the part that gets lost: sleep mode changes what's possible inside a GPU allocation, not what that allocation costs per hour. The instance underneath a sleeping vLLM process keeps running and keeps billing exactly as if it were serving traffic, because nothing about sleep mode touches the instance's power state or its place in a GPU cloud's billing meter.
Where it does save real money is indirect. verl requires sleep mode by default so a colocated GRPO-style training run can offload GPU memory to CPU after each rollout phase instead of running the rollout engine and the trainer on separate GPUs, per verl's tuning docs. That's a different architecture choice than the disaggregated setup in our GRPO fine-tuning guide, which puts rollout workers and the trainer on separate GPU pools instead of sharing one GPU's memory between them with sleep mode. OpenRLHF's Hybrid Engine takes the colocated approach too, running the actor, critic, and rollout engine on shared GPUs with --vllm.enable_sleep and --ds.enable_sleep, calling it the recommended mode for most workloads, per OpenRLHF's docs. Either way, the saving is "we didn't need a second GPU," not a lower rate on the one you have.
What sleep mode can't do is turn off the meter while nothing is running. If your workload genuinely sits idle, between batch jobs, overnight, between RLHF experiments, the lever that actually stops the GPU-hour charge is an instance-level control. Use sleep mode to pack more work onto GPUs you're already paying for; use Stop, or a fresh deploy, to stop paying for the ones you're not using at all.
Sleep mode decides what two models can share inside a GPU you're already renting; what that GPU costs while nothing's running is still the instance's job, not vLLM's.
Frequently Asked Questions
It's a vLLM feature that offloads a model's weights and/or KV cache out of GPU memory while keeping the engine process alive, so a second model (or a training phase) can use that freed memory. Waking the engine back up maps the data back in rather than reloading it from disk, which is why it's fast: vLLM's own benchmark measured sub-second to low-single-digit-second wake times, against tens of seconds for loading a model fresh.
Level 1 offloads the model's weights to CPU RAM and discards the KV cache, so it needs roughly 10 to 100GB or more of CPU RAM per model but can restore weights from that copy. Level 2 discards both the weights and the KV cache, backing up only small GPU allocations like RoPE scaling tensors, so it needs on the order of megabytes of CPU RAM, but it has to reload the weights from their original source (or from an updated set, via collective_rpc) when it wakes.
Not by itself. Sleep mode runs inside a vLLM process on a GPU instance that keeps running and keeps billing the whole time it's asleep. It saves money indirectly, by letting one GPU serve two models or run RLHF rollout and training in the same allocation instead of renting a second GPU for the other job. If you want the GPU-hour charge itself to drop, you need an instance-level control, not a sleeping process.
Sleep mode operates one level down: it's a call inside a still-running vLLM process on a still-allocated, still-billing GPU instance. Stopping an instance, like Spheron's Stop control, releases the GPU itself and drops billing to the disk rate, with the disk and public IP kept for a later restart. Sleep mode has no effect on whether the instance is running; stopping the instance has no concept of what vLLM was doing inside it.







