vLLM V1¶
Announcement
We have started the process of deprecating V0. Please read RFC #18571 for more details.
V1 is now enabled by default for all supported use cases, and we will gradually enable it for every use case we plan to support. Please share any feedback on GitHub or in the vLLM Slack.
To disable V1, please set the environment variable as: VLLM_USE_V1=0
, and send us a GitHub issue sharing the reason!
Why vLLM V1?¶
vLLM V0 successfully supported a wide range of models and hardware, but as new features were developed independently, the system grew increasingly complex. This complexity made it harder to integrate new capabilities and introduced technical debt, revealing the need for a more streamlined and unified design.
Building on V0βs success, vLLM V1 retains the stable and proven components from V0 (such as the models, GPU kernels, and utilities). At the same time, it significantly re-architects the core systems, covering the scheduler, KV cache manager, worker, sampler, and API server, to provide a cohesive, maintainable framework that better accommodates continued growth and innovation.
Specifically, V1 aims to:
- Provide a simple, modular, and easy-to-hack codebase.
- Ensure high performance with near-zero CPU overhead.
- Combine key optimizations into a unified architecture.
- Require zero configs by enabling features/optimizations by default.
We see significant performance improvements from upgrading to V1 core engine, in particular for long context scenarios. Please see performance benchmark (To be added).
For more details, check out the vLLM V1 blog post vLLM V1: A Major Upgrade to vLLMβs Core Architecture (published Jan 27, 2025).
This living user guide outlines a few known important changes and limitations introduced by vLLM V1. The team has been working actively to bring V1 as the default engine, therefore this guide will be updated constantly as more features get supported on vLLM V1.
Current Status¶
For each item, our progress towards V1 support falls into one of the following states:
- π Optimized: Nearly fully optimized, with no further work currently planned.
- π’ Functional: Fully operational, with ongoing optimizations.
- π§ WIP: Under active development.
- π‘ Planned: Scheduled for future implementation (some may have open PRs/RFCs).
- π Delayed: Temporarily dropped in V1 but planned to be re-introduced later.
- π΄ Deprecated: Not planned for V1 unless there is strong demand.
Note
vLLM V1βs unified scheduler treats both prompt and output tokens the same
way by using a simple dictionary (e.g., {request_id: num_tokens}
) to dynamically
allocate a fixed token budget per request, enabling features like chunked prefills,
prefix caching, and speculative decoding without a strict separation between prefill
and decode phases.
The V1 scheduler supports multiple scheduling policies, including First-Come,
First-Served (FCFS) and priority-based scheduling (where requests are processed
based on assigned priority, with FCFS as a tie-breaker), configurable via the
--scheduling-policy
argument.
Hardware¶
Hardware | Status |
---|---|
NVIDIA | |
AMD | |
TPU | |
CPU |
Note
More hardware platforms may be supported via plugins, e.g.:
Please check their corresponding repositories for more details.
Models¶
Model Type | Status |
---|---|
Decoder-only Models | |
Encoder-Decoder Models | |
Embedding Models | |
Mamba Models | |
Multimodal Models |
vLLM V1 currently excludes model architectures with the SupportsV0Only
protocol.
Tip
This corresponds to the V1 column in our list of supported models.
See below for the status of models that are not yet supported or have more features planned in V1.
Embedding Models¶
The initial basic support is now functional.
Later, we will consider using hidden states processor, which is based on global logits processor to enable simultaneous generation and embedding using the same engine instance in V1.
Mamba Models¶
Models using selective state-space mechanisms instead of standard transformer attention (e.g., MambaForCausalLM
, JambaForCausalLM
)
will be supported via PR #19327.
Encoder-Decoder Models¶
Models requiring cross-attention between separate encoder and decoder (e.g., BartForConditionalGeneration
, MllamaForConditionalGeneration
)
are not yet supported.
Features¶
Feature | Status |
---|---|
Prefix Caching | |
Chunked Prefill | |
LoRA | |
Logprobs Calculation | |
FP8 KV Cache | |
Spec Decode | |
Prompt Logprobs with Prefix Caching | |
Structured Output Alternative Backends | |
Request-level Structured Output Backend | |
best_of | |
Per-Request Logits Processors | |
GPU <> CPU KV Cache Swapping |
Note
vLLM V1βs unified scheduler treats both prompt and output tokens the same
way by using a simple dictionary (e.g., {request_id: num_tokens}
) to dynamically
allocate a fixed token budget per request, enabling features like chunked prefills,
prefix caching, and speculative decoding without a strict separation between prefill
and decode phases.
Semantic Changes to Logprobs¶
vLLM V1 supports logprobs and prompt logprobs. However, there are some important semantic differences compared to V0:
Logprobs Calculation
Logprobs in V1 are now returned immediately once computed from the modelβs raw output (i.e. before applying any logits post-processing such as temperature scaling or penalty adjustments). As a result, the returned logprobs do not reflect the final adjusted probabilities used during sampling.
Support for logprobs with post-sampling adjustments is in progress and will be added in future updates.
Prompt Logprobs with Prefix Caching
Currently prompt logprobs are only supported when prefix caching is turned off via --no-enable-prefix-caching
. In a future release, prompt logprobs will be compatible with prefix caching, but a recomputation will be triggered to recover the full prompt logprobs even upon a prefix cache hit. See details in RFC #13414.
Deprecated Features¶
As part of the major architectural rework in vLLM V1, several legacy features have been deprecated.
Sampling features
- best_of: This feature has been deprecated due to limited usage. See details at RFC #13361.
- Per-Request Logits Processors: In V0, users could pass custom processing functions to adjust logits on a per-request basis. In vLLM V1, this feature has been deprecated. Instead, the design is moving toward supporting global logits processors, a feature the team is actively working on for future releases. See details at RFC #13360.
KV Cache features
- GPU <> CPU KV Cache Swapping: with the new simplified core architecture, vLLM V1 no longer requires KV cache swapping to handle request preemptions.
Structured Output features
- Request-level Structured Output Backend: Deprecated, alternative backends (outlines, guidance) with fallbacks is supported now.