Reference · vLLM
The flags of vllm serve in vLLM 0.34.0, searchable, each linked to its official entry. These are vLLM’s flags for all hardware; being listed does not mean a flag works on a DGX Spark.
Checked on 26 November 2026 against: the vLLM 0.34.0 CLI reference. Not checked on a DGX Spark. We have not yet run this playbook start to finish on our own hardware.
Before you change anything
A container or package on your Spark may hold a different release from this one. Ask it:
vllm --version
vllm serve --help=max-num-seqs
vllm serve --help=ModelConfig
vllm serve --help=all
Run these where vLLM is installed (inside its container, if you use one). The last three show one flag, one group, and everything.
Changing a flag means restarting the model server. Requests in progress are cut off. Check that nothing you care about is running first.
Our advice: keep your working command saved, change one flag at a time, and go back to the saved command if the server will not start or answers differently.
Version listed: vLLM 0.34.0, released 16 November 2026. Checked on 26 November 2026. We have not run this version, or any flag here, on a DGX Spark.
vLLM 0.34.0
326 flags
The default is what the CLI reference prints. “None listed” means it prints none: the value is unset, and may be worked out at start-up. The “What it is” column holds our own short words for common flags and any list of choices; where it is empty, open the official entry. Some flags apply only to certain hardware, models or optional packages.
| Flag | Type | Default | What it is | Official |
|---|---|---|---|---|
--headless | boolean | False | Docs | |
--api-server-countalso -asc | not stated | none listed | Docs | |
--config | string | none listed | Docs | |
--grpc | boolean | False | Docs | |
--disable-log-stats | boolean | False | Stops the statistics lines in the log. | Docs |
--aggregate-engine-logging | boolean | False | Docs | |
--fail-on-environ-validationother form --no-fail-on-environ-validation | boolean (on/off pair) | False | Docs | |
--shutdown-timeout | integer | 0 | Docs | |
--gdn-prefill-backend | choice | none listed | Choices: flashinfer triton cutedsl aiter_flydsl sycl hip | Docs |
--kda-prefill-backend | choice | none listed | Choices: auto triton flashkda flashinfer fused | Docs |
--kda-decode-backend | choice | none listed | Choices: auto native flashinfer triton | Docs |
--enable-log-requestsother form --disable-log-requests | boolean (on/off pair) | False | Docs |
| Flag | Type | Default | What it is | Official |
|---|---|---|---|---|
--lora-modules | list | none listed | Docs | |
--chat-template | string | none listed | A chat template, given as a file path or as one line of text. | Docs |
--chat-template-content-format | choice | auto | Choices: auto openai string | Docs |
--trust-request-chat-templateother form --no-trust-request-chat-template | boolean (on/off pair) | False | Docs | |
--trust-request-mm-kwargsother form --no-trust-request-mm-kwargs | boolean (on/off pair) | False | Docs | |
--default-chat-template-kwargs | JSON | none listed | Docs | |
--reasoning-effort-map | JSON | none listed | Docs | |
--response-role | string | assistant | Docs | |
--return-tokens-as-token-idsother form --no-return-tokens-as-token-ids | boolean (on/off pair) | False | Docs | |
--enable-auto-tool-choiceother form --disable-auto-tool-choice | boolean (on/off pair) | False | Lets supported models decide when to call a tool. Needs --tool-call-parser. | Docs |
--exclude-tools-when-tool-choice-noneother form --no-exclude-tools-when-tool-choice-none | boolean (on/off pair) | False | Docs | |
--tool-call-parser | string | none listed | Which parser turns the model's tool calls into the OpenAI API form. It must suit the model. | Docs |
--tool-parser-plugin | string | "" | Docs | |
--tool-strict-level | choice | none listed | Choices: auto function parameter None | Docs |
--tool-server | string | none listed | Docs | |
--max-log-len | integer | none listed | Docs | |
--enable-prompt-tokens-detailsother form --disable-prompt-tokens-details | boolean (on/off pair) | False | Docs | |
--enable-per-request-metricsother form --disable-per-request-metrics | boolean (on/off pair) | False | Docs | |
--enable-server-load-trackingother form --disable-server-load-tracking | boolean (on/off pair) | False | Docs | |
--enable-force-include-usageother form --disable-force-include-usage | boolean (on/off pair) | False | Docs | |
--sse-keep-alive-interval | integer | 0 | Docs | |
--enable-tokenizer-info-endpointother form --disable-tokenizer-info-endpoint | boolean (on/off pair) | False | Docs | |
--enable-log-outputsother form --disable-log-outputs | boolean (on/off pair) | False | Docs | |
--enable-log-deltasother form --disable-log-deltas | boolean (on/off pair) | True | Docs | |
--cohere-is-reasoning-modelother form --no-cohere-is-reasoning-model | boolean (on/off pair) | True | Docs | |
--cohere-format | string | cmd4 | Docs | |
--anthropic-disabled-thinking-effort | choice | auto | Choices: auto high low max medium none xhigh | Docs |
--log-error-stackother form --no-log-error-stack | boolean (on/off pair) | False | Docs | |
--tokens-onlyother form --no-tokens-only | boolean (on/off pair) | False | Docs | |
--enable-scale-outother form --disable-scale-out | boolean (on/off pair) | False | Docs | |
--fingerprint-mode | choice | full | Choices: custom full hash none | Docs |
--fingerprint-value | string | none listed | Docs | |
--host | string | none listed | Network address the server listens on. Left unset, it listens on every network the machine has. | Docs |
--port | integer | 8000 | Network port the server listens on. | Docs |
--grpc-port | integer | none listed | Docs | |
--data-parallel-supervisor-port | integer | 9256 | Docs | |
--dp-supervisor-probe-interval-s | number | 5.0 | Docs | |
--dp-supervisor-probe-timeout-s | number | 5.0 | Docs | |
--dp-supervisor-probe-failure-threshold | integer | 3 | Docs | |
--uds | string | none listed | Docs | |
--uvicorn-log-level | choice | info | Choices: critical debug error info trace warning | Docs |
--disable-uvicorn-access-logother form --enable-uvicorn-access-log | boolean (on/off pair) | False | Docs | |
--disable-access-log-for-endpoints | string | none listed | Docs | |
--allow-credentialsother form --no-allow-credentials | boolean (on/off pair) | False | Docs | |
--allowed-origins | list | [] | Docs | |
--allowed-methods | list | ['*'] | Docs | |
--allowed-headers | list | ['*'] | Docs | |
--api-key | list | none listed | Requires one of the given keys in requests. vLLM's help warns that this covers only the paths under /v1, /v2, /inference and /cohere; other paths, including /invocations, stay open. | Docs |
--ssl-keyfile | string | none listed | Key file for serving over TLS. | Docs |
--ssl-certfile | string | none listed | Docs | |
--ssl-ca-certs | string | none listed | Docs | |
--enable-ssl-refreshother form --disable-ssl-refresh | boolean (on/off pair) | False | Docs | |
--ssl-cert-reqs | integer | 0 | Docs | |
--ssl-ciphers | string | none listed | Docs | |
--root-path | string | none listed | Docs | |
--middleware | list | [] | Docs | |
--enable-request-id-headersother form --disable-request-id-headers | boolean (on/off pair) | False | Docs | |
--disable-fastapi-docsother form --enable-fastapi-docs | boolean (on/off pair) | False | Docs | |
--h11-max-incomplete-event-size | integer | 4194304 | Docs | |
--h11-max-header-count | integer | 256 | Docs | |
--enable-offline-docsother form --disable-offline-docs | boolean (on/off pair) | False | Docs | |
--enable-flash-late-interactionother form --disable-flash-late-interaction | boolean (on/off pair) | True | Docs |
| Flag | Type | Default | What it is | Official |
|---|---|---|---|---|
--model | string | Qwen/Qwen3-0.6B | Which model to load: a Hugging Face model name or a local path. Also used as the model name in metrics unless --served-model-name is set. | Docs |
--runner | choice | auto | Choices: auto draft generate pooling | Docs |
--convert | choice | auto | Choices: auto classify embed none | Docs |
--tokenizer | string | none listed | Docs | |
--tokenizer-mode | choice | auto | Choices: alpamayo2_super auto cohere deepseek_v32 deepseek_v4 glm5_next hf inkling kimi_k3 mistral | Docs |
--trust-remote-codeother form --no-trust-remote-code | boolean (on/off pair) | False | Lets code that comes with a model repository run on your machine. Turn it on only for a source you trust and have read. | Docs |
--dtype | choice | auto | Number format for the weights and the working values. The default, auto, picks from the model's own precision. Choices: auto bfloat16 float float16 float32 half | Docs |
--seed | integer | 0 | Random seed. | Docs |
--hf-config-path | string | none listed | Docs | |
--allowed-local-media-path | string | "" | Docs | |
--allowed-media-domains | list | none listed | Docs | |
--revision | string | none listed | Pins the model to a branch, tag or commit. | Docs |
--code-revision | string | none listed | Docs | |
--tokenizer-revision | string | none listed | Docs | |
--max-model-len | integer | none listed | Longest context, prompt and output together. Left unset, it comes from the model's configuration; -1 or auto asks for the longest that fits in GPU memory. | Docs |
--quantizationalso -q | string | none listed | Which quantization method the weights use. Left unset, the model's own configuration is checked first. | Docs |
--quantization-config | JSON | none listed | Docs | |
--allow-deprecated-quantizationother form --no-allow-deprecated-quantization | boolean (on/off pair) | False | Docs | |
--enforce-eagerother form --no-enforce-eager | boolean (on/off pair) | False | Turns off CUDA graphs and torch.compile. vLLM describes the default, which keeps them, as the choice for performance, so treat this as a troubleshooting switch. | Docs |
--enable-return-routed-expertsother form --disable-return-routed-experts | boolean (on/off pair) | False | Docs | |
--return-sampling-maskother form --no-return-sampling-mask | boolean (on/off pair) | False | Docs | |
--max-logprobs | integer | 20 | Docs | |
--logprobs-mode | choice | raw_logprobs | Choices: processed_logits processed_logprobs raw_logits raw_logprobs | Docs |
--use-fp64-gumbelother form --no-use-fp64-gumbel | boolean (on/off pair) | False | Docs | |
--enable-trace-replayother form --disable-trace-replay | boolean (on/off pair) | False | Docs | |
--disable-sliding-windowother form --enable-sliding-window | boolean (on/off pair) | False | Docs | |
--disable-cascade-attnother form --enable-cascade-attn | boolean (on/off pair) | none listed | Docs | |
--skip-tokenizer-initother form --no-skip-tokenizer-init | boolean (on/off pair) | False | Docs | |
--enable-prompt-embedsother form --disable-prompt-embeds | boolean (on/off pair) | False | Docs | |
--served-model-name | string | none listed | The name or names clients use for the model in API requests. | Docs |
--config-format | choice | auto | Choices: auto hf mistral | Docs |
--hf-token | boolean | none listed | Docs | |
--hf-overrides | string | {} | Docs | |
--model-class-overrides | JSON | {} | Docs | |
--pooler-config | JSON | none listed | Docs | |
--generation-config | string | auto | Docs | |
--override-generation-config | JSON | {} | Docs | |
--enable-sleep-modeother form --disable-sleep-mode | boolean (on/off pair) | False | Docs | |
--sleep-mode-backend | string | cumem | Docs | |
--sleep-mode-offload-cudagraphother form --no-sleep-mode-offload-cudagraph | boolean (on/off pair) | False | Docs | |
--sleep-preserve-parameter-names | list | [] | Docs | |
--enable-cumem-allocatorother form --disable-cumem-allocator | boolean (on/off pair) | False | Docs | |
--enable-nccl-comm-suspendother form --disable-nccl-comm-suspend | boolean (on/off pair) | False | Docs | |
--checkpoint-prepare-on-startupother form --no-checkpoint-prepare-on-startup | boolean (on/off pair) | False | Docs | |
--model-impl | choice | auto | Choices: auto terratorch transformers vllm | Docs |
--logits-processors | list | none listed | Docs | |
--io-processor-plugin | string | none listed | Docs | |
--renderer-num-workers | integer | 1 | Docs |
| Flag | Type | Default | What it is | Official |
|---|---|---|---|---|
--load-format | string | auto | Format the weights are read in. | Docs |
--download-dir | string | none listed | Folder for downloading and loading weights; unset means the Hugging Face cache. | Docs |
--safetensors-load-strategy | choice | none listed | Choices: eager lazy prefetch torchao None | Docs |
--safetensors-prefetch-num-threads | integer | 8 | Docs | |
--safetensors-prefetch-block-size | integer | 16777216 | Docs | |
--model-loader-extra-config | JSON | {} | Docs | |
--ignore-patterns | list | ['original/**/*'] | Docs | |
--use-tqdm-on-loadother form --no-use-tqdm-on-load | boolean (on/off pair) | True | Docs | |
--pt-load-map-location | string | cpu | Docs | |
--shuffle-safetensors-filesother form --no-shuffle-safetensors-files | boolean (on/off pair) | False | Docs |
| Flag | Type | Default | What it is | Official |
|---|---|---|---|---|
--attention-backend | not stated | none listed | Which attention implementation to use; unset or auto lets vLLM choose. | Docs |
| Flag | Type | Default | What it is | Official |
|---|---|---|---|---|
--mamba-backend | not stated | MambaBackendEnum.TRITON | Docs | |
--mamba-ssu-algorithm | choice | none listed | Choices: auto horizontal simple vertical None | Docs |
--enable-mamba-cache-stochastic-roundingother form --disable-mamba-cache-stochastic-rounding | boolean (on/off pair) | False | Docs | |
--mamba-cache-philox-rounds | integer | 0 | Docs |
| Flag | Type | Default | What it is | Official |
|---|---|---|---|---|
--distributed-executor-backend | choice | none listed | How workers are run: ray, or mp (separate processes). Choices: external_launcher mp ray uni | Docs |
--pipeline-parallel-sizealso -pp | integer | 1 | How many stages to split the model's layers into for pipeline parallelism. | Docs |
--master-addr | string | loopback address (this computer only) | Address the machines of a multi-node run use to find each other, with the mp executor. | Docs |
--master-port | integer | 29501 | Docs | |
--nnodesalso -n | integer | 1 | Number of machines for a multi-node run that uses the mp executor. | Docs |
--node-rankalso -r | integer | 0 | This machine's number in a multi-node run that uses the mp executor. | Docs |
--distributed-timeout-seconds | integer | none listed | Docs | |
--cpu-distributed-timeout-seconds | integer | none listed | Docs | |
--numa-bindother form --no-numa-bind | boolean (on/off pair) | none listed | Docs | |
--numa-bind-nodes | list | none listed | Docs | |
--numa-bind-cpus | list | none listed | Docs | |
--device-ids | not stated | none listed | Docs | |
--tensor-parallel-sizealso -tp | integer | 1 | How many ways to split each layer of the model for tensor parallelism. | Docs |
--decode-context-parallel-sizealso -dcp | integer | 1 | Docs | |
--dcp-comm-backend | choice | none listed | Choices: a2a ag_rs None | Docs |
--dcp-q-replicateother form --no-dcp-q-replicate | boolean (on/off pair) | none listed | Docs | |
--dcp-kv-cache-interleave-size | integer | 1 | Docs | |
--cp-kv-cache-interleave-size | integer | none listed | Docs | |
--prefill-context-parallel-sizealso -pcp | integer | 1 | Docs | |
--data-parallel-sizealso -dp | integer | 1 | How many data-parallel groups to run. | Docs |
--data-parallel-rankalso -dpn | integer | none listed | Docs | |
--data-parallel-start-rankalso -dpr | not stated | none listed | Docs | |
--data-parallel-size-localalso -dpl | integer | none listed | Docs | |
--data-parallel-addressalso -dpa | not stated | none listed | Docs | |
--data-parallel-rpc-portalso -dpp | integer | none listed | Docs | |
--data-parallel-backendalso -dpb | string | mp | Docs | |
--data-parallel-hybrid-lbalso -dphother form --no-data-parallel-hybrid-lb | boolean (on/off pair) | False | Docs | |
--data-parallel-external-lbalso -dpeother form --no-data-parallel-external-lb | boolean (on/off pair) | False | Docs | |
--data-parallel-multi-port-external-lbalso -dpm | boolean | False | Docs | |
--enable-hc-spother form --disable-hc-sp | boolean (on/off pair) | False | Docs | |
--enable-expert-parallelalso -epother form --disable-expert-parallel | boolean (on/off pair) | False | Docs | |
--enable-batch-sharded-samplingother form --disable-batch-sharded-sampling | boolean (on/off pair) | none listed | Docs | |
--enable-ep-weight-filterother form --disable-ep-weight-filter | boolean (on/off pair) | False | Docs | |
--all2all-backend | choice | allgather_reducescatter | Choices: allgather_reducescatter deepep_high_throughput deepep_low_latency deepep_v2 flashinfer_all2allv flashinfer_nvlink_one_sided flashinfer_nvlink_two_sided moonep mori mori_high_throughput mori_low_latency naive nixl_ep pplx | Docs |
--enable-dboother form --disable-dbo | boolean (on/off pair) | False | Docs | |
--enable-shm-tensor-arenaother form --disable-shm-tensor-arena | boolean (on/off pair) | False | Docs | |
--ubatch-size | integer | 0 | Docs | |
--enable-elastic-epother form --disable-elastic-ep | boolean (on/off pair) | False | Docs | |
--elastic-ep-max-dp-size | integer | none listed | Docs | |
--dbo-decode-token-threshold | integer | 32 | Docs | |
--dp-sync-interval | integer | 16 | Docs | |
--dbo-prefill-token-threshold | integer | 512 | Docs | |
--disable-nccl-for-dp-synchronizationother form --enable-nccl-for-dp-synchronization | boolean (on/off pair) | none listed | Docs | |
--enable-eplbother form --disable-eplb | boolean (on/off pair) | False | Docs | |
--eplb-config | JSON | Show the full defaultEPLBConfig(window_size=1000, step_interval=3000, num_redundant_experts=None, log_balancedness=False, log_balancedness_interval=1, use_async=True, policy='default', communicator=None, enable_migration_batching=False) | Docs | |
--expert-placement-strategy | choice | linear | Choices: linear round_robin | Docs |
--max-parallel-loading-workers | integer | none listed | Docs | |
--ray-workers-use-nsightother form --no-ray-workers-use-nsight | boolean (on/off pair) | False | Docs | |
--disable-custom-all-reduceother form --enable-custom-all-reduce | boolean (on/off pair) | False | Docs | |
--worker-cls | string | auto | Docs | |
--worker-extension-cls | string | "" | Docs | |
--enable-fault-toleranceother form --disable-fault-tolerance | boolean (on/off pair) | False | Docs | |
--fault-tolerance-config | JSON | FaultToleranceConfig(engine_recovery_timeout_sec=120) | Docs |
| Flag | Type | Default | What it is | Official |
|---|---|---|---|---|
--block-size | integer | none listed | Docs | |
--gpu-memory-utilizationalso --device-memory-utilization | number | none listed | Share of GPU memory, from 0 to 1, that this one vLLM instance may use. It does not see what other programs are using. | Docs |
--kv-cache-memory-bytes | integer | none listed | Sets the KV cache size per GPU directly, in bytes, in place of working it out from the memory share. | Docs |
--enable-extensible-kv-cacheother form --disable-extensible-kv-cache | boolean (on/off pair) | none listed | Docs | |
--kv-cache-dtype | choice | auto | Number format of the KV cache. Choices: auto bfloat16 float16 fp8 fp8_ds_mla fp8_e4m3 fp8_e5m2 fp8_inc fp8_per_token_head int4_per_token_head int8_per_token_head nvfp4 nvfp4_4over6 nvfp4_ds_mla octave_k3v3 octave_k3v3_compact octave_k3v4 turboquant_3bit_nc turboquant_4bit_nc turboquant_k3v4_nc turboquant_k8v4 ultraquant_4bit | Docs |
--num-gpu-blocks-override | integer | none listed | Docs | |
--enable-prefix-cachingother form --disable-prefix-caching | boolean (on/off pair) | none listed | Reuses cached work when requests start with the same text. | Docs |
--prefix-caching-hash-algo | choice | sha256 | Choices: sha256 sha256_cbor xxhash xxhash_cbor | Docs |
--prefix-cache-retention-interval | integer | 0 | Docs | |
--kv-cache-dtype-skip-layers | list | [] | Docs | |
--kv-sharing-fast-prefillother form --no-kv-sharing-fast-prefill | boolean (on/off pair) | False | Docs | |
--swa-bounded-replayother form --no-swa-bounded-replay | boolean (on/off pair) | True | Docs | |
--mamba-cache-dtype | choice | auto | Choices: auto bfloat16 float16 float32 | Docs |
--mamba-ssm-cache-dtype | choice | auto | Choices: auto bfloat16 float16 float32 | Docs |
--mamba-block-size | integer | none listed | Docs | |
--prefix-match-unit | integer | none listed | Docs | |
--mamba-cache-mode | choice | none listed | Choices: align none | Docs |
--enable-mamba-shared-prefix-checkpointother form --disable-mamba-shared-prefix-checkpoint | boolean (on/off pair) | False | Docs | |
--replayssm-buffer-len | integer | 16 | Docs | |
--use-replayssmother form --no-use-replayssm | boolean (on/off pair) | False | Docs | |
--kv-offloading-size | number | none listed | Docs | |
--kv-offloading-backend | choice | native | Choices: lmcache native | Docs |
| Flag | Type | Default | What it is | Official |
|---|---|---|---|---|
--offload-backend | choice | auto | Choices: auto prefetch uva | Docs |
--cpu-offload-gb | integer | 0 | Docs | |
--cpu-offload-params | not stated | set() | Docs | |
--offload-group-size | integer | 0 | Docs | |
--offload-num-in-group | integer | 1 | Docs | |
--offload-prefetch-step | integer | 1 | Docs | |
--offload-params | not stated | set() | Docs |
| Flag | Type | Default | What it is | Official |
|---|---|---|---|---|
--language-model-onlyother form --no-language-model-only | boolean (on/off pair) | False | Docs | |
--limit-mm-per-prompt | not stated | {} | Docs | |
--enable-mm-embedsother form --disable-mm-embeds | boolean (on/off pair) | False | Docs | |
--media-io-kwargs | JSON | {} | Docs | |
--mm-processor-kwargs | JSON | none listed | Docs | |
--mm-processor-cache-gb | integer | 4 | Docs | |
--mm-processor-cache-type | choice | lru | Choices: lru shm | Docs |
--mm-hasher-algorithm | choice | blake3 | Choices: blake3 sha256 sha512 | Docs |
--mm-shm-cache-max-object-size-mb | integer | 128 | Docs | |
--mm-encoder-onlyother form --no-mm-encoder-only | boolean (on/off pair) | False | Docs | |
--mm-encoder-tp-mode | choice | weights | Choices: data weights | Docs |
--mm-encoder-attn-backend | string | none listed | Docs | |
--mm-encoder-attn-dtype | choice | none listed | Choices: fp8 None | Docs |
--mm-encoder-fp8-scale-path | string | none listed | Docs | |
--mm-encoder-fp8-scale-save-path | string | none listed | Docs | |
--mm-encoder-fp8-scale-save-margin | number | 1.5 | Docs | |
--interleave-mm-stringsother form --no-interleave-mm-strings | boolean (on/off pair) | False | Docs | |
--skip-mm-profilingother form --no-skip-mm-profiling | boolean (on/off pair) | False | Docs | |
--video-pruning-rate | number | none listed | Docs | |
--video-pruning-method | choice | evs | Choices: evs vidcom2 | Docs |
--mm-tensor-ipc | choice | direct_rpc | Choices: direct_rpc torch_shm | Docs |
--mm-processor-device | choice | auto | Choices: auto cpu | Docs |
--mm-ipc-gpu-memory-gb | integer | 0 | Docs | |
--mm-device-do-normalizeother form --no-mm-device-do-normalize | boolean (on/off pair) | none listed | Docs |
| Flag | Type | Default | What it is | Official |
|---|---|---|---|---|
--enable-loraother form --disable-lora | boolean (on/off pair) | none listed | Allows LoRA adapters. | Docs |
--max-loras | integer | 1 | Most LoRA adapters in one batch. | Docs |
--max-lora-rank | choice | 16 | Largest LoRA rank accepted. Choices: 1 8 16 32 64 128 256 320 512 | Docs |
--lora-dtype | string | auto | Docs | |
--enable-tower-connector-loraother form --disable-tower-connector-lora | boolean (on/off pair) | False | Docs | |
--max-cpu-loras | integer | none listed | Docs | |
--fully-sharded-lorasother form --no-fully-sharded-loras | boolean (on/off pair) | False | Docs | |
--lora-target-modules | not stated | none listed | Docs | |
--default-mm-loras | JSON | none listed | Docs | |
--specialize-active-loraother form --no-specialize-active-lora | boolean (on/off pair) | False | Docs | |
--enable-mixed-moe-lora-formatother form --disable-mixed-moe-lora-format | boolean (on/off pair) | False | Docs | |
--enable-moe-shared-lorasother form --disable-moe-shared-loras | boolean (on/off pair) | False | Docs | |
--max-lora-cls-labels | integer | none listed | Docs |
| Flag | Type | Default | What it is | Official |
|---|---|---|---|---|
--otlp-traces-endpoint | string | none listed | Docs | |
--collect-detailed-traces | choice | none listed | Choices: all model worker None | Docs |
--per-request-spec-decode-metrics | choice | none | Choices: detailed none summary | Docs |
--kv-cache-metricsother form --no-kv-cache-metrics | boolean (on/off pair) | False | Docs | |
--kv-cache-metrics-sample | number | 0.01 | Docs | |
--custom-histogram-buckets | JSON | none listed | Docs | |
--cudagraph-metricsother form --no-cudagraph-metrics | boolean (on/off pair) | False | Docs | |
--enable-layerwise-nvtx-tracingother form --disable-layerwise-nvtx-tracing | boolean (on/off pair) | False | Docs | |
--enable-mfu-metricsother form --disable-mfu-metrics | boolean (on/off pair) | False | Docs | |
--enable-logging-iteration-detailsother form --disable-logging-iteration-details | boolean (on/off pair) | False | Docs | |
--jit-monitor-mode | choice | warn | Choices: error warn | Docs |
--jit-monitor-verboseother form --no-jit-monitor-verbose | boolean (on/off pair) | False | Docs |
| Flag | Type | Default | What it is | Official |
|---|---|---|---|---|
--max-num-batched-tokens | integer | none listed | Most tokens processed in one scheduling step. | Docs |
--max-num-scheduled-tokens | integer | none listed | Docs | |
--max-num-seqs | integer | none listed | Most requests handled in one scheduling step. | Docs |
--max-num-active-seqs | integer | none listed | Docs | |
--max-num-inflight-kv-loads | integer | none listed | Docs | |
--max-num-queued-reqs | integer | none listed | Caps requests that are waiting or running; past the cap, new ones are refused with HTTP 503. | Docs |
--max-num-queued-tokens | integer | none listed | Docs | |
--long-prefill-token-threshold | integer | 0 | Docs | |
--long-prefill-token-threshold-adaptiveother form --no-long-prefill-token-threshold-adaptive | boolean (on/off pair) | False | Docs | |
--scheduling-policy | choice | fcfs | Order of service: fcfs takes requests as they arrive, priority uses each request's priority, where a lower number goes first. Choices: fcfs priority | Docs |
--enable-chunked-prefillother form --disable-chunked-prefill | boolean (on/off pair) | none listed | Lets the reading of a long prompt be split into pieces. | Docs |
--disable-chunked-mm-inputother form --enable-chunked-mm-input | boolean (on/off pair) | False | Docs | |
--scheduler-cls | string | none listed | Docs | |
--scheduler-reserve-full-islother form --no-scheduler-reserve-full-isl | boolean (on/off pair) | True | Docs | |
--watermark | number | 0.0 | Docs | |
--prefill-schedule-interval | integer | 1 | Docs | |
--cache-aware-admission-window | integer | 0 | Docs | |
--cache-aware-admission-threshold | number | 0.5 | Docs | |
--disable-hybrid-kv-cache-managerother form --enable-hybrid-kv-cache-manager | boolean (on/off pair) | none listed | Docs | |
--async-schedulingother form --no-async-scheduling | boolean (on/off pair) | none listed | Docs | |
--stream-interval | integer | 1 | Docs |
| Flag | Type | Default | What it is | Official |
|---|---|---|---|---|
--cudagraph-capture-sizes | list | none listed | Sizes for which CUDA graphs are captured. Left unset, vLLM works them out. Deprecated: an older name. | Docs |
--max-cudagraph-capture-size | integer | none listed | Largest size for which a CUDA graph is captured. Deprecated: an older name. | Docs |
| Flag | Type | Default | What it is | Official |
|---|---|---|---|---|
--ir-op-priority | JSON | IrOpPriorityConfig(rms_norm=[], fused_add_rms_norm=[], gelu_and_mul_sparse=[]) | Docs | |
--enable-flashinfer-autotuneother form --disable-flashinfer-autotune | boolean (on/off pair) | none listed | Docs | |
--monokernelother form --no-monokernel | boolean (on/off pair) | False | Docs | |
--moe-backend | choice | auto | Choices: aiter aiter_mega_moe aiter_triton_mxfp4_bf16 aiter_triton_mxfp4_mxfp4 auto b12x batched_triton cutlass deep_gemm deep_gemm_mega_moe emulation flashinfer_b12x flashinfer_cutedsl flashinfer_cutlass flashinfer_moe_ep_cutedsl flashinfer_moe_ep_mega_deep_gemm flashinfer_trtllm flydsl hpc humming marlin rdna3 triton triton_unfused | Docs |
--linear-backend | choice | auto | Choices: aiter auto b12x conch cutlass deep_gemm emulation exllama fbgemm flashinfer_b12x flashinfer_cudnn flashinfer_cutedsl flashinfer_cutlass flashinfer_trtllm humming machete marlin torch triton xpu xpu_woq | Docs |
--sparse-indexer-topk-backend | choice | auto | Choices: aiter auto cooperative deep_select flashinfer per_row persistent torch | Docs |
| Flag | Type | Default | What it is | Official |
|---|---|---|---|---|
--speculative-configalso -sc | JSON | none listed | JSON settings for speculative decoding. | Docs |
--spec-method | choice | none listed | Choices: bailing_hybrid_mtp bailing_hybrid_v3_mtp deepseek_mtp dflash dots3_note_mtp draft_model dspark eagle eagle3 ernie_mtp exaone4_5_mtp exaone_moe_mtp extract_hidden_states gemma4_mtp glm4_moe_lite_mtp glm4_moe_mtp glm5_next_mtp glm_ocr_mtp hy_v3_mtp hy_v4_mtp inkling_mtp kimi_k3_mtp longcat_flash_mtp mimo_mtp mimo_v2_mtp minimax_m3_mtp mtp nemotron3_5_transcribe_mtp nemotron_h_mtp ngram ngram_gpu pangu_ultra_moe_mtp qwen3_5_mtp qwen3_next_mtp qwen4_exp_mtp step3p5_mtp step5_mtp suffix | Docs |
--spec-model | not stated | none listed | Docs | |
--spec-tokens | not stated | none listed | Docs | |
--watermark-config | JSON | none listed | Docs | |
--diffusion-configalso -dc | JSON | none listed | Docs | |
--kv-transfer-config | JSON | none listed | Docs | |
--kv-events-config | JSON | none listed | Docs | |
--ec-transfer-config | JSON | none listed | Docs | |
--ec-manager-config | JSON | EncoderCacheManagerConfig(encoder_cache_manager_cls=None, manager_config={}) | Docs | |
--compilation-configalso -cc | JSON | Show the full default{'mode': None, 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': [], 'ir_enable_torch_wrap': None, 'splitting_ops': None, 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_token_budget': 5120, 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'cudagraph_decoder_replay': True, 'decoder_replay_cudagraph_capture_sizes': [], 'decoder_replay_trim_threshold': 768, 'compile_sizes': None, 'compile_ranges_endpoints': None, 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'combo_kernels': True, 'benchmark_combo_kernel': False}, 'inductor_passes': {}, 'cudagraph_mode': None, 'use_breakable_cudagraph': None, 'cudagraph_num_of_warmups': 0, 'cudagraph_capture_sizes': None, 'prefill_cudagraph_capture_token_sizes': None, 'max_prefill_cudagraph_capture_tokens': None, 'decode_cudagraph_capture_request_sizes': None, 'max_decode_cudagraph_capture_requests': None, 'max_decode_cudagraph_capture_tokens': None, 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': None, 'pass_config': {}, 'max_cudagraph_capture_size': None, 'dynamic_shapes_config': {'type': <DynamicShapesType.BACKED: 'backed'>, 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': None, 'static_all_moe_layers': []} | JSON settings for torch.compile and CUDA graph capture. | Docs |
--attention-configalso -ac | JSON | Show the full defaultAttentionConfig(backend=None, minimax_m3_msa_decode_backend='cutlass', backend_per_kind={}, flash_attn_version=None, flash_attn_max_num_splits_for_cuda_graph=32, tokenspeed_mla_min_split_kv=1, tq_max_kv_splits_for_cuda_graph=32, use_trtllm_attention=None, disable_flashinfer_q_quantization=False, mla_prefill_backend=None, use_prefill_query_quantization=False, trtllm_ragged_backend='trtllm-gen', indexer_kv_dtype='auto', indexer_decode_cp=False, indexer_sparse_logits=None, indexer_logits_dtype='auto', indexer_tp_shard_min_rows=None, sparse_mla_shard_q=True, sparse_mla_shard_q_min_tokens=1024, minimax_m3_indexer_cp=False, hisparse_config=None, use_non_causal=False, sparse_mla_force_mqa=False, sparse_mla_prefill_workspace_factor=None, flex_attn_block_m=None, flex_attn_block_n=None, flex_attn_q_block_size=None, flex_attn_kv_block_size=None) | Docs | |
--engram-config | JSON | none listed | Docs | |
--reasoning-config | JSON | none listed | Docs | |
--kernel-config | JSON | Show the full defaultKernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=[], fused_add_rms_norm=[], gelu_and_mul_sparse=[]), enable_flashinfer_autotune=None, enable_rocm_segmented_attn_autotune=False, enable_rocm_aiter_gemm_warmup=False, enable_cutedsl_warmup=True, enable_jit_warmup=True, monokernel=False, moe_backend='auto', sparse_indexer_topk_backend='auto', linear_backend='auto', linear_backend_per_quant=None, rdna_hybrid_w4a16_prefill_dequant='disable') | Docs | |
--additional-config | JSON | {} | Docs | |
--structured-outputs-config | JSON | Show the full defaultStructuredOutputsConfig(backend='auto', disable_any_whitespace=False, disable_additional_properties=False, reasoning_parser='', reasoning_parser_plugin='', enable_in_reasoning=False) | Docs | |
--aux-output-config | JSON | AuxOutputConfig(enable_return_routed_experts=False, max_bytes=None) | Docs | |
--profiler-config | JSON | Show the full defaultProfilerConfig(profiler=None, torch_profiler_dir='', torch_profiler_activities=None, proton_profiler_dir='', proton_context='shadow', proton_data='tree', proton_backend=None, proton_mode=None, proton_hook=None, proton_output_format=None, proton_graph_attribution=False, torch_profiler_with_stack=True, torch_profiler_with_flops=False, torch_profiler_use_gzip=True, torch_profiler_dump_cuda_time_total=True, torch_profiler_record_shapes=False, torch_profiler_with_memory=False, capture_torch_profiler=False, detailed_trace_annotation=False, ignore_frontend=False, delay_iterations=0, max_iterations=0, warmup_iterations=0, active_iterations=5, wait_iterations=0) | Docs | |
--watchdog-config | JSON | WatchdogConfig(timeout=300, check_interval=10, dump_dir='') | Docs | |
--optimization-level | integer | 2 | Trades start-up time against speed: 0 starts fastest, 3 aims for the most speed. | Docs |
--performance-mode | choice | balanced | Choices: balanced interactivity throughput | Docs |
--weight-transfer-config | JSON | none listed | Docs |
No flag matches. Try fewer letters.
What this list leaves out
The reference marks one flag as hidden from help; we do not list it. Flags that take JSON have settings inside them, which are not counted as flags here: the reference explains how to pass them whole or one key at a time. Other vllm commands and environment variables are not listed.
Next
Server AI Hub is our app for looking after a DGX Spark. You do not need it to follow this playbook. It is coming soon to the App Store and the Microsoft Store.
Sources
General guidance only, in our own words; flag names, choices and defaults are facts taken from the projects named above. vLLM and SGLang are open-source projects under the Apache 2.0 licence, and their names belong to their owners. NVIDIA and DGX Spark are trademarks of NVIDIA Corporation. 6ixLabs is not affiliated with or endorsed by any of them.