Reference · vLLM

vLLM serve flags, for DGX Spark users.

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.

How to find a vllm serve flag

  1. Check your version with vllm --version. This list is for 0.34.0.
  2. Type part of a name into the search box, such as memory, cache or parallel.
  3. Open the official entry before you change a value, and change one thing at a time.

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

Check your version.

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.

General12 Frontend62 ModelConfig48 LoadConfig10 AttentionConfig1 MambaConfig4 StructuredOutputsConfig2 ParallelConfig53 CacheConfig22 OffloadConfig7 MultiModalConfig24 LoRAConfig13 LoggingConfig3 ObservabilityConfig13 SchedulerConfig21 CompilationConfig2 KernelConfig6 VllmConfig23
vllm serve flags in each group of the 0.34.0 CLI reference. Longer bars mean more flags to look through in that group.

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

All 326 vLLM flags, by group.

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.

General (12)

FlagTypeDefaultWhat it isOfficial
--headlessbooleanFalseDocs
--api-server-count
also -asc
not statednone listedDocs
--configstringnone listedDocs
--grpcbooleanFalseDocs
--disable-log-statsbooleanFalseStops the statistics lines in the log.Docs
--aggregate-engine-loggingbooleanFalseDocs
--fail-on-environ-validation
other form --no-fail-on-environ-validation
boolean (on/off pair)FalseDocs
--shutdown-timeoutinteger0Docs
--gdn-prefill-backendchoicenone listedChoices: flashinfer triton cutedsl aiter_flydsl sycl hipDocs
--kda-prefill-backendchoicenone listedChoices: auto triton flashkda flashinfer fusedDocs
--kda-decode-backendchoicenone listedChoices: auto native flashinfer tritonDocs
--enable-log-requests
other form --disable-log-requests
boolean (on/off pair)FalseDocs

Frontend (62)

FlagTypeDefaultWhat it isOfficial
--lora-moduleslistnone listedDocs
--chat-templatestringnone listedA chat template, given as a file path or as one line of text.Docs
--chat-template-content-formatchoiceautoChoices: auto openai stringDocs
--trust-request-chat-template
other form --no-trust-request-chat-template
boolean (on/off pair)FalseDocs
--trust-request-mm-kwargs
other form --no-trust-request-mm-kwargs
boolean (on/off pair)FalseDocs
--default-chat-template-kwargsJSONnone listedDocs
--reasoning-effort-mapJSONnone listedDocs
--response-rolestringassistantDocs
--return-tokens-as-token-ids
other form --no-return-tokens-as-token-ids
boolean (on/off pair)FalseDocs
--enable-auto-tool-choice
other form --disable-auto-tool-choice
boolean (on/off pair)FalseLets supported models decide when to call a tool. Needs --tool-call-parser.Docs
--exclude-tools-when-tool-choice-none
other form --no-exclude-tools-when-tool-choice-none
boolean (on/off pair)FalseDocs
--tool-call-parserstringnone listedWhich parser turns the model's tool calls into the OpenAI API form. It must suit the model.Docs
--tool-parser-pluginstring""Docs
--tool-strict-levelchoicenone listedChoices: auto function parameter NoneDocs
--tool-serverstringnone listedDocs
--max-log-lenintegernone listedDocs
--enable-prompt-tokens-details
other form --disable-prompt-tokens-details
boolean (on/off pair)FalseDocs
--enable-per-request-metrics
other form --disable-per-request-metrics
boolean (on/off pair)FalseDocs
--enable-server-load-tracking
other form --disable-server-load-tracking
boolean (on/off pair)FalseDocs
--enable-force-include-usage
other form --disable-force-include-usage
boolean (on/off pair)FalseDocs
--sse-keep-alive-intervalinteger0Docs
--enable-tokenizer-info-endpoint
other form --disable-tokenizer-info-endpoint
boolean (on/off pair)FalseDocs
--enable-log-outputs
other form --disable-log-outputs
boolean (on/off pair)FalseDocs
--enable-log-deltas
other form --disable-log-deltas
boolean (on/off pair)TrueDocs
--cohere-is-reasoning-model
other form --no-cohere-is-reasoning-model
boolean (on/off pair)TrueDocs
--cohere-formatstringcmd4Docs
--anthropic-disabled-thinking-effortchoiceautoChoices: auto high low max medium none xhighDocs
--log-error-stack
other form --no-log-error-stack
boolean (on/off pair)FalseDocs
--tokens-only
other form --no-tokens-only
boolean (on/off pair)FalseDocs
--enable-scale-out
other form --disable-scale-out
boolean (on/off pair)FalseDocs
--fingerprint-modechoicefullChoices: custom full hash noneDocs
--fingerprint-valuestringnone listedDocs
--hoststringnone listedNetwork address the server listens on. Left unset, it listens on every network the machine has.Docs
--portinteger8000Network port the server listens on.Docs
--grpc-portintegernone listedDocs
--data-parallel-supervisor-portinteger9256Docs
--dp-supervisor-probe-interval-snumber5.0Docs
--dp-supervisor-probe-timeout-snumber5.0Docs
--dp-supervisor-probe-failure-thresholdinteger3Docs
--udsstringnone listedDocs
--uvicorn-log-levelchoiceinfoChoices: critical debug error info trace warningDocs
--disable-uvicorn-access-log
other form --enable-uvicorn-access-log
boolean (on/off pair)FalseDocs
--disable-access-log-for-endpointsstringnone listedDocs
--allow-credentials
other form --no-allow-credentials
boolean (on/off pair)FalseDocs
--allowed-originslist[]Docs
--allowed-methodslist['*']Docs
--allowed-headerslist['*']Docs
--api-keylistnone listedRequires 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-keyfilestringnone listedKey file for serving over TLS.Docs
--ssl-certfilestringnone listedDocs
--ssl-ca-certsstringnone listedDocs
--enable-ssl-refresh
other form --disable-ssl-refresh
boolean (on/off pair)FalseDocs
--ssl-cert-reqsinteger0Docs
--ssl-ciphersstringnone listedDocs
--root-pathstringnone listedDocs
--middlewarelist[]Docs
--enable-request-id-headers
other form --disable-request-id-headers
boolean (on/off pair)FalseDocs
--disable-fastapi-docs
other form --enable-fastapi-docs
boolean (on/off pair)FalseDocs
--h11-max-incomplete-event-sizeinteger4194304Docs
--h11-max-header-countinteger256Docs
--enable-offline-docs
other form --disable-offline-docs
boolean (on/off pair)FalseDocs
--enable-flash-late-interaction
other form --disable-flash-late-interaction
boolean (on/off pair)TrueDocs

ModelConfig (48)

FlagTypeDefaultWhat it isOfficial
--modelstringQwen/Qwen3-0.6BWhich 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
--runnerchoiceautoChoices: auto draft generate poolingDocs
--convertchoiceautoChoices: auto classify embed noneDocs
--tokenizerstringnone listedDocs
--tokenizer-modechoiceautoChoices: alpamayo2_super auto cohere deepseek_v32 deepseek_v4 glm5_next hf inkling kimi_k3 mistralDocs
--trust-remote-code
other form --no-trust-remote-code
boolean (on/off pair)FalseLets code that comes with a model repository run on your machine. Turn it on only for a source you trust and have read.Docs
--dtypechoiceautoNumber 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
--seedinteger0Random seed.Docs
--hf-config-pathstringnone listedDocs
--allowed-local-media-pathstring""Docs
--allowed-media-domainslistnone listedDocs
--revisionstringnone listedPins the model to a branch, tag or commit.Docs
--code-revisionstringnone listedDocs
--tokenizer-revisionstringnone listedDocs
--max-model-lenintegernone listedLongest 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
--quantization
also -q
stringnone listedWhich quantization method the weights use. Left unset, the model's own configuration is checked first.Docs
--quantization-configJSONnone listedDocs
--allow-deprecated-quantization
other form --no-allow-deprecated-quantization
boolean (on/off pair)FalseDocs
--enforce-eager
other form --no-enforce-eager
boolean (on/off pair)FalseTurns 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-experts
other form --disable-return-routed-experts
boolean (on/off pair)FalseDocs
--return-sampling-mask
other form --no-return-sampling-mask
boolean (on/off pair)FalseDocs
--max-logprobsinteger20Docs
--logprobs-modechoiceraw_logprobsChoices: processed_logits processed_logprobs raw_logits raw_logprobsDocs
--use-fp64-gumbel
other form --no-use-fp64-gumbel
boolean (on/off pair)FalseDocs
--enable-trace-replay
other form --disable-trace-replay
boolean (on/off pair)FalseDocs
--disable-sliding-window
other form --enable-sliding-window
boolean (on/off pair)FalseDocs
--disable-cascade-attn
other form --enable-cascade-attn
boolean (on/off pair)none listedDocs
--skip-tokenizer-init
other form --no-skip-tokenizer-init
boolean (on/off pair)FalseDocs
--enable-prompt-embeds
other form --disable-prompt-embeds
boolean (on/off pair)FalseDocs
--served-model-namestringnone listedThe name or names clients use for the model in API requests.Docs
--config-formatchoiceautoChoices: auto hf mistralDocs
--hf-tokenbooleannone listedDocs
--hf-overridesstring{}Docs
--model-class-overridesJSON{}Docs
--pooler-configJSONnone listedDocs
--generation-configstringautoDocs
--override-generation-configJSON{}Docs
--enable-sleep-mode
other form --disable-sleep-mode
boolean (on/off pair)FalseDocs
--sleep-mode-backendstringcumemDocs
--sleep-mode-offload-cudagraph
other form --no-sleep-mode-offload-cudagraph
boolean (on/off pair)FalseDocs
--sleep-preserve-parameter-nameslist[]Docs
--enable-cumem-allocator
other form --disable-cumem-allocator
boolean (on/off pair)FalseDocs
--enable-nccl-comm-suspend
other form --disable-nccl-comm-suspend
boolean (on/off pair)FalseDocs
--checkpoint-prepare-on-startup
other form --no-checkpoint-prepare-on-startup
boolean (on/off pair)FalseDocs
--model-implchoiceautoChoices: auto terratorch transformers vllmDocs
--logits-processorslistnone listedDocs
--io-processor-pluginstringnone listedDocs
--renderer-num-workersinteger1Docs

LoadConfig (10)

FlagTypeDefaultWhat it isOfficial
--load-formatstringautoFormat the weights are read in.Docs
--download-dirstringnone listedFolder for downloading and loading weights; unset means the Hugging Face cache.Docs
--safetensors-load-strategychoicenone listedChoices: eager lazy prefetch torchao NoneDocs
--safetensors-prefetch-num-threadsinteger8Docs
--safetensors-prefetch-block-sizeinteger16777216Docs
--model-loader-extra-configJSON{}Docs
--ignore-patternslist['original/**/*']Docs
--use-tqdm-on-load
other form --no-use-tqdm-on-load
boolean (on/off pair)TrueDocs
--pt-load-map-locationstringcpuDocs
--shuffle-safetensors-files
other form --no-shuffle-safetensors-files
boolean (on/off pair)FalseDocs

AttentionConfig (1)

FlagTypeDefaultWhat it isOfficial
--attention-backendnot statednone listedWhich attention implementation to use; unset or auto lets vLLM choose.Docs

MambaConfig (4)

FlagTypeDefaultWhat it isOfficial
--mamba-backendnot statedMambaBackendEnum.TRITONDocs
--mamba-ssu-algorithmchoicenone listedChoices: auto horizontal simple vertical NoneDocs
--enable-mamba-cache-stochastic-rounding
other form --disable-mamba-cache-stochastic-rounding
boolean (on/off pair)FalseDocs
--mamba-cache-philox-roundsinteger0Docs

StructuredOutputsConfig (2)

FlagTypeDefaultWhat it isOfficial
--reasoning-parserstring""Which parser separates a model's reasoning from its answer.Docs
--reasoning-parser-pluginstring""Docs

ParallelConfig (53)

FlagTypeDefaultWhat it isOfficial
--distributed-executor-backendchoicenone listedHow workers are run: ray, or mp (separate processes).
Choices: external_launcher mp ray uni
Docs
--pipeline-parallel-size
also -pp
integer1How many stages to split the model's layers into for pipeline parallelism.Docs
--master-addrstringloopback address (this computer only)Address the machines of a multi-node run use to find each other, with the mp executor.Docs
--master-portinteger29501Docs
--nnodes
also -n
integer1Number of machines for a multi-node run that uses the mp executor.Docs
--node-rank
also -r
integer0This machine's number in a multi-node run that uses the mp executor.Docs
--distributed-timeout-secondsintegernone listedDocs
--cpu-distributed-timeout-secondsintegernone listedDocs
--numa-bind
other form --no-numa-bind
boolean (on/off pair)none listedDocs
--numa-bind-nodeslistnone listedDocs
--numa-bind-cpuslistnone listedDocs
--device-idsnot statednone listedDocs
--tensor-parallel-size
also -tp
integer1How many ways to split each layer of the model for tensor parallelism.Docs
--decode-context-parallel-size
also -dcp
integer1Docs
--dcp-comm-backendchoicenone listedChoices: a2a ag_rs NoneDocs
--dcp-q-replicate
other form --no-dcp-q-replicate
boolean (on/off pair)none listedDocs
--dcp-kv-cache-interleave-sizeinteger1Docs
--cp-kv-cache-interleave-sizeintegernone listedDocs
--prefill-context-parallel-size
also -pcp
integer1Docs
--data-parallel-size
also -dp
integer1How many data-parallel groups to run.Docs
--data-parallel-rank
also -dpn
integernone listedDocs
--data-parallel-start-rank
also -dpr
not statednone listedDocs
--data-parallel-size-local
also -dpl
integernone listedDocs
--data-parallel-address
also -dpa
not statednone listedDocs
--data-parallel-rpc-port
also -dpp
integernone listedDocs
--data-parallel-backend
also -dpb
stringmpDocs
--data-parallel-hybrid-lb
also -dph
other form --no-data-parallel-hybrid-lb
boolean (on/off pair)FalseDocs
--data-parallel-external-lb
also -dpe
other form --no-data-parallel-external-lb
boolean (on/off pair)FalseDocs
--data-parallel-multi-port-external-lb
also -dpm
booleanFalseDocs
--enable-hc-sp
other form --disable-hc-sp
boolean (on/off pair)FalseDocs
--enable-expert-parallel
also -ep
other form --disable-expert-parallel
boolean (on/off pair)FalseDocs
--enable-batch-sharded-sampling
other form --disable-batch-sharded-sampling
boolean (on/off pair)none listedDocs
--enable-ep-weight-filter
other form --disable-ep-weight-filter
boolean (on/off pair)FalseDocs
--all2all-backendchoiceallgather_reducescatterChoices: 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 pplxDocs
--enable-dbo
other form --disable-dbo
boolean (on/off pair)FalseDocs
--enable-shm-tensor-arena
other form --disable-shm-tensor-arena
boolean (on/off pair)FalseDocs
--ubatch-sizeinteger0Docs
--enable-elastic-ep
other form --disable-elastic-ep
boolean (on/off pair)FalseDocs
--elastic-ep-max-dp-sizeintegernone listedDocs
--dbo-decode-token-thresholdinteger32Docs
--dp-sync-intervalinteger16Docs
--dbo-prefill-token-thresholdinteger512Docs
--disable-nccl-for-dp-synchronization
other form --enable-nccl-for-dp-synchronization
boolean (on/off pair)none listedDocs
--enable-eplb
other form --disable-eplb
boolean (on/off pair)FalseDocs
--eplb-configJSON
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-strategychoicelinearChoices: linear round_robinDocs
--max-parallel-loading-workersintegernone listedDocs
--ray-workers-use-nsight
other form --no-ray-workers-use-nsight
boolean (on/off pair)FalseDocs
--disable-custom-all-reduce
other form --enable-custom-all-reduce
boolean (on/off pair)FalseDocs
--worker-clsstringautoDocs
--worker-extension-clsstring""Docs
--enable-fault-tolerance
other form --disable-fault-tolerance
boolean (on/off pair)FalseDocs
--fault-tolerance-configJSONFaultToleranceConfig(engine_recovery_timeout_sec=120)Docs

CacheConfig (22)

FlagTypeDefaultWhat it isOfficial
--block-sizeintegernone listedDocs
--gpu-memory-utilization
also --device-memory-utilization
numbernone listedShare 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-bytesintegernone listedSets the KV cache size per GPU directly, in bytes, in place of working it out from the memory share.Docs
--enable-extensible-kv-cache
other form --disable-extensible-kv-cache
boolean (on/off pair)none listedDocs
--kv-cache-dtypechoiceautoNumber 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-overrideintegernone listedDocs
--enable-prefix-caching
other form --disable-prefix-caching
boolean (on/off pair)none listedReuses cached work when requests start with the same text.Docs
--prefix-caching-hash-algochoicesha256Choices: sha256 sha256_cbor xxhash xxhash_cborDocs
--prefix-cache-retention-intervalinteger0Docs
--kv-cache-dtype-skip-layerslist[]Docs
--kv-sharing-fast-prefill
other form --no-kv-sharing-fast-prefill
boolean (on/off pair)FalseDocs
--swa-bounded-replay
other form --no-swa-bounded-replay
boolean (on/off pair)TrueDocs
--mamba-cache-dtypechoiceautoChoices: auto bfloat16 float16 float32Docs
--mamba-ssm-cache-dtypechoiceautoChoices: auto bfloat16 float16 float32Docs
--mamba-block-sizeintegernone listedDocs
--prefix-match-unitintegernone listedDocs
--mamba-cache-modechoicenone listedChoices: align noneDocs
--enable-mamba-shared-prefix-checkpoint
other form --disable-mamba-shared-prefix-checkpoint
boolean (on/off pair)FalseDocs
--replayssm-buffer-leninteger16Docs
--use-replayssm
other form --no-use-replayssm
boolean (on/off pair)FalseDocs
--kv-offloading-sizenumbernone listedDocs
--kv-offloading-backendchoicenativeChoices: lmcache nativeDocs

OffloadConfig (7)

FlagTypeDefaultWhat it isOfficial
--offload-backendchoiceautoChoices: auto prefetch uvaDocs
--cpu-offload-gbinteger0Docs
--cpu-offload-paramsnot statedset()Docs
--offload-group-sizeinteger0Docs
--offload-num-in-groupinteger1Docs
--offload-prefetch-stepinteger1Docs
--offload-paramsnot statedset()Docs

MultiModalConfig (24)

FlagTypeDefaultWhat it isOfficial
--language-model-only
other form --no-language-model-only
boolean (on/off pair)FalseDocs
--limit-mm-per-promptnot stated{}Docs
--enable-mm-embeds
other form --disable-mm-embeds
boolean (on/off pair)FalseDocs
--media-io-kwargsJSON{}Docs
--mm-processor-kwargsJSONnone listedDocs
--mm-processor-cache-gbinteger4Docs
--mm-processor-cache-typechoicelruChoices: lru shmDocs
--mm-hasher-algorithmchoiceblake3Choices: blake3 sha256 sha512Docs
--mm-shm-cache-max-object-size-mbinteger128Docs
--mm-encoder-only
other form --no-mm-encoder-only
boolean (on/off pair)FalseDocs
--mm-encoder-tp-modechoiceweightsChoices: data weightsDocs
--mm-encoder-attn-backendstringnone listedDocs
--mm-encoder-attn-dtypechoicenone listedChoices: fp8 NoneDocs
--mm-encoder-fp8-scale-pathstringnone listedDocs
--mm-encoder-fp8-scale-save-pathstringnone listedDocs
--mm-encoder-fp8-scale-save-marginnumber1.5Docs
--interleave-mm-strings
other form --no-interleave-mm-strings
boolean (on/off pair)FalseDocs
--skip-mm-profiling
other form --no-skip-mm-profiling
boolean (on/off pair)FalseDocs
--video-pruning-ratenumbernone listedDocs
--video-pruning-methodchoiceevsChoices: evs vidcom2Docs
--mm-tensor-ipcchoicedirect_rpcChoices: direct_rpc torch_shmDocs
--mm-processor-devicechoiceautoChoices: auto cpuDocs
--mm-ipc-gpu-memory-gbinteger0Docs
--mm-device-do-normalize
other form --no-mm-device-do-normalize
boolean (on/off pair)none listedDocs

LoRAConfig (13)

FlagTypeDefaultWhat it isOfficial
--enable-lora
other form --disable-lora
boolean (on/off pair)none listedAllows LoRA adapters.Docs
--max-lorasinteger1Most LoRA adapters in one batch.Docs
--max-lora-rankchoice16Largest LoRA rank accepted.
Choices: 1 8 16 32 64 128 256 320 512
Docs
--lora-dtypestringautoDocs
--enable-tower-connector-lora
other form --disable-tower-connector-lora
boolean (on/off pair)FalseDocs
--max-cpu-lorasintegernone listedDocs
--fully-sharded-loras
other form --no-fully-sharded-loras
boolean (on/off pair)FalseDocs
--lora-target-modulesnot statednone listedDocs
--default-mm-lorasJSONnone listedDocs
--specialize-active-lora
other form --no-specialize-active-lora
boolean (on/off pair)FalseDocs
--enable-mixed-moe-lora-format
other form --disable-mixed-moe-lora-format
boolean (on/off pair)FalseDocs
--enable-moe-shared-loras
other form --disable-moe-shared-loras
boolean (on/off pair)FalseDocs
--max-lora-cls-labelsintegernone listedDocs

LoggingConfig (3)

FlagTypeDefaultWhat it isOfficial
--logging-confignot statednone listedDocs
--log-levelchoicenone listedChoices: CRITICAL ERROR WARNING INFO DEBUG NOTSETDocs
--log-config-filenot statednone listedDocs

ObservabilityConfig (13)

FlagTypeDefaultWhat it isOfficial
--show-hidden-metrics-for-versionstringnone listedDocs
--otlp-traces-endpointstringnone listedDocs
--collect-detailed-traceschoicenone listedChoices: all model worker NoneDocs
--per-request-spec-decode-metricschoicenoneChoices: detailed none summaryDocs
--kv-cache-metrics
other form --no-kv-cache-metrics
boolean (on/off pair)FalseDocs
--kv-cache-metrics-samplenumber0.01Docs
--custom-histogram-bucketsJSONnone listedDocs
--cudagraph-metrics
other form --no-cudagraph-metrics
boolean (on/off pair)FalseDocs
--enable-layerwise-nvtx-tracing
other form --disable-layerwise-nvtx-tracing
boolean (on/off pair)FalseDocs
--enable-mfu-metrics
other form --disable-mfu-metrics
boolean (on/off pair)FalseDocs
--enable-logging-iteration-details
other form --disable-logging-iteration-details
boolean (on/off pair)FalseDocs
--jit-monitor-modechoicewarnChoices: error warnDocs
--jit-monitor-verbose
other form --no-jit-monitor-verbose
boolean (on/off pair)FalseDocs

SchedulerConfig (21)

FlagTypeDefaultWhat it isOfficial
--max-num-batched-tokensintegernone listedMost tokens processed in one scheduling step.Docs
--max-num-scheduled-tokensintegernone listedDocs
--max-num-seqsintegernone listedMost requests handled in one scheduling step.Docs
--max-num-active-seqsintegernone listedDocs
--max-num-inflight-kv-loadsintegernone listedDocs
--max-num-queued-reqsintegernone listedCaps requests that are waiting or running; past the cap, new ones are refused with HTTP 503.Docs
--max-num-queued-tokensintegernone listedDocs
--long-prefill-token-thresholdinteger0Docs
--long-prefill-token-threshold-adaptive
other form --no-long-prefill-token-threshold-adaptive
boolean (on/off pair)FalseDocs
--scheduling-policychoicefcfsOrder 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-prefill
other form --disable-chunked-prefill
boolean (on/off pair)none listedLets the reading of a long prompt be split into pieces.Docs
--disable-chunked-mm-input
other form --enable-chunked-mm-input
boolean (on/off pair)FalseDocs
--scheduler-clsstringnone listedDocs
--scheduler-reserve-full-isl
other form --no-scheduler-reserve-full-isl
boolean (on/off pair)TrueDocs
--watermarknumber0.0Docs
--prefill-schedule-intervalinteger1Docs
--cache-aware-admission-windowinteger0Docs
--cache-aware-admission-thresholdnumber0.5Docs
--disable-hybrid-kv-cache-manager
other form --enable-hybrid-kv-cache-manager
boolean (on/off pair)none listedDocs
--async-scheduling
other form --no-async-scheduling
boolean (on/off pair)none listedDocs
--stream-intervalinteger1Docs

CompilationConfig (2)

FlagTypeDefaultWhat it isOfficial
--cudagraph-capture-sizeslistnone listedSizes for which CUDA graphs are captured. Left unset, vLLM works them out. Deprecated: an older name.Docs
--max-cudagraph-capture-sizeintegernone listedLargest size for which a CUDA graph is captured. Deprecated: an older name.Docs

KernelConfig (6)

FlagTypeDefaultWhat it isOfficial
--ir-op-priorityJSONIrOpPriorityConfig(rms_norm=[], fused_add_rms_norm=[], gelu_and_mul_sparse=[])Docs
--enable-flashinfer-autotune
other form --disable-flashinfer-autotune
boolean (on/off pair)none listedDocs
--monokernel
other form --no-monokernel
boolean (on/off pair)FalseDocs
--moe-backendchoiceautoChoices: 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_unfusedDocs
--linear-backendchoiceautoChoices: 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_woqDocs
--sparse-indexer-topk-backendchoiceautoChoices: aiter auto cooperative deep_select flashinfer per_row persistent torchDocs

VllmConfig (23)

FlagTypeDefaultWhat it isOfficial
--speculative-config
also -sc
JSONnone listedJSON settings for speculative decoding.Docs
--spec-methodchoicenone listedChoices: 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 suffixDocs
--spec-modelnot statednone listedDocs
--spec-tokensnot statednone listedDocs
--watermark-configJSONnone listedDocs
--diffusion-config
also -dc
JSONnone listedDocs
--kv-transfer-configJSONnone listedDocs
--kv-events-configJSONnone listedDocs
--ec-transfer-configJSONnone listedDocs
--ec-manager-configJSONEncoderCacheManagerConfig(encoder_cache_manager_cls=None, manager_config={})Docs
--compilation-config
also -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-config
also -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-configJSONnone listedDocs
--reasoning-configJSONnone listedDocs
--kernel-configJSON
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-configJSON{}Docs
--structured-outputs-configJSON
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-configJSONAuxOutputConfig(enable_return_routed_experts=False, max_bytes=None)Docs
--profiler-configJSON
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-configJSONWatchdogConfig(timeout=300, check_interval=10, dump_dir='')Docs
--optimization-levelinteger2Trades start-up time against speed: 0 starts fastest, 3 aims for the most speed.Docs
--performance-modechoicebalancedChoices: balanced interactivity throughputDocs
--weight-transfer-configJSONnone listedDocs

What this list leaves out

Hidden flags and nested settings.

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.

Both tools, side by side: the overview

Next

Keep going.

About Server AI Hub

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.

See what Server AI Hub does

Sources

Where these lists come from.

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.