Model-Specific Deployment Considerations
Some NIM LLM and VLM containers, including the Model-Free NIMs, need extra profile selection or startup settings beyond the standard Get Started path. Use this page for those models.
Check the version of the NIM you are deploying. This page only covers NIMs for the current release version. Refer to the previous versions of the documentation for NIMs that have already been released.
For generic profile selection, refer to Model Profiles and Selection. For validated GPU and precision combinations, refer to the Support Matrix for NIMs. Check the Release Notes for the requirements that apply to your image version.
Qwen3.8-2.4T-A95B on vLLM
Use nvcr.io/nim/nvidia/vllm-model-free-nim:2.1.6-qwen3.8-2.4t.
Note the custom tag 2.1.6-qwen3.8-2.4t; this image uses vLLM 0.32.0.
Set NIM_MODEL_PATH=hf://Qwen/Qwen3.8-2.4T-A95B-FP8.
Refer to the support matrix
for the validated configurations and feature limits.
Hardware, Storage, and Startup
Use one of these homogeneous GPU configurations:
- Two B200 or B300-SXM6-AC nodes, with eight GPUs on each node: TP8, PP2, one leader, and one worker. Use a high-speed interconnect such as InfiniBand between nodes.
- Four GB200 or GB300 NVL72 trays, with four GPUs on each tray: TP16, PP1, one leader, and three workers. All trays must have cross-node NVLink connectivity in the same NVLink domain. Configure IMEX and the container capabilities in NVL72 Multi-Node Deployments.
The FP8 checkpoint holds about 2.3 TiB of weights. Provide at least 3 TiB of
available model-cache storage, accessible at the same path on every node.
Use a shared ReadWriteMany volume. If each node uses independent storage,
provide that capacity on each node. Reserve additional
space for container images, temporary files, and other cached models.
The generic multi-node examples that allocate 200 GiB are too small for this
checkpoint.
Model loading can take approximately 15–90 minutes, depending on storage and
network throughput, in addition to the initial download. The image sets
VLLM_ENGINE_READY_TIMEOUT_S=14400 (four hours) and
TORCH_NCCL_HEARTBEAT_TIMEOUT_SEC=3600 (one hour).
Allow about two hours for the startup probe
(periodSeconds: 30, failureThreshold: 240), plus the initial delay.
Increase this window if the initial download and loading need more time.
Do not use the shorter generic NIM Operator probe examples for this model;
configure an equivalent startup window if deploying through the operator.
Deploy with Helm
This workflow requires Kubernetes, the LeaderWorkerSet CRD and controller,
Helm, and a storage class that provides ReadWriteMany volumes. Complete the
multi-node prerequisites and
fetch the NIM Helm chart before continuing.
Kubernetes manages the leader and workers in this workflow. The container also
provides the nim-serve-ray head and worker commands described in the
CLI Reference for deployments outside Helm.
-
Create the model and image credentials in the deployment namespace. Set
NGC_API_KEYandHF_TOKENin your shell first. The Hugging Face token must have access to the checkpoint. -
Configure your chart’s
values.yamlusing Multi-Node Deployment. Set the image and model path listed above, and use the node count, GPU count, and TP/PP configuration for your hardware. Configure storage and the startup probe as described in Hardware, Storage, and Startup. Reference the credentials from step 1 invalues.yaml:Add a
nodeSelectorfor a homogeneous GPU pool using your cluster’s node labels. For GB200/GB300, select four trays in the same NVLink domain with four GPUs per pod and complete the NVL72 prerequisites. -
Install the selected configuration:
The chart sets
NIM_NUM_COMPUTE_NODEStomultiNode.workers + 1on both the leader and workers for vLLM and SGLang. Do not add a second value underenv. Keepmodel.jsonLogging: false; multi-node Ray workers cannot initialize with the NIM JSON log formatter. -
Monitor the leader pod logs until model loading completes. Forward the service port in a separate terminal, then check readiness:
If your chart configuration changes the service name, use the name reported by
kubectl get services. In another terminal:
Profile Selection and Serving Behavior
NIM selects the built-in recipe by checkpoint, GPU type, and TP/PP
configuration. The two GPU types within each configuration have distinct
profiles. Short forms such as vllm-fp8-tp8-pp2 describe parallelism but do not
identify a unique GPU profile. To inspect the full description and profile ID,
run the following on a node with the target GPU type. Set
NIM_NUM_COMPUTE_NODES to 2 for B200/B300 or 4 for GB200/GB300:
For explicit selection, copy the full 64-character profile ID for your GPU
from the output into model.profile and remove tensorParallelSize and
pipelineParallelSize from multiNode. Keep the worker count and GPU
requests unchanged. Refer to Model Profiles and Selection for details.
By default, the served model name is Qwen/Qwen3.8-2.4T-A95B-FP8; use this
value in inference requests and confirm it with /v1/models. All four
profiles enable the qwen3 reasoning parser, which separates reasoning from
the final answer, and the qwen3_coder tool-call parser with automatic tool
choice. Supply tools and tool_choice: "auto" in a chat request to enable
automatic tool selection. Parsed tool calls appear in the response’s
tool_calls field. GB200 and GB300 additionally use MTP with three speculative
tokens. B200 and B300 do not use MTP. All configurations support text only.
The image’s NIM_PASSTHROUGH_ARGS default is
--no-enable-log-requests --disable-uvicorn-access-log. The reasoning,
tool-call, and language-model-only settings come from the recipe. Leave
these defaults in place. To add backend arguments, use Helm customArgs
instead of replacing NIM_PASSTHROUGH_ARGS; refer to
Advanced Configuration.
MiniMax-M3.1-Flash (vLLM)
This model accepts text, image, and video input. Audio input is not supported. Every validated profile serves the full 1,048,576-token context. LoRA adapters are not supported.
Run minimax-m3.1-flash with the vLLM Model-Free NIM container. Set
NIM_MODEL_PATH=hf://MiniMaxAI/MiniMax-M3.1-Flash and
NIM_SERVED_MODEL_NAME=minimaxai/minimax-m3.1-flash, and use this ID in the model field of each
request. If you do not set NIM_SERVED_MODEL_NAME, the NIM derives the served name from the model
source. The checkpoint is about 252 GB on disk, in 72 safetensors shards. For the supported
profiles, refer to MiniMax-M3.1-Flash (vLLM).
Apply the following settings to the indicated configurations:
For example, to run the model on a host with four NVIDIA H200 GPUs, run the following:
The first start downloads the checkpoint and prepares the engine, which takes time and disk space.
Allow about 252 GB of free disk for the weights plus space for the runtime cache. The image sets
VLLM_ENGINE_READY_TIMEOUT_S=14400, so the engine can take up to 4 hours to become ready before
the NIM stops waiting.
Profile Selection
Leave NIM_MODEL_PROFILE unset to let the NIM select the validated profile for your GPUs. To pin
a profile, set NIM_MODEL_PROFILE to a profile ID from
MiniMax-M3.1-Flash (vLLM). Do not use NIM_MODEL_PROFILE=default, which
selects a generic profile that does not fit the 1M context on this model.
To list the profiles, set NIM_MODEL_PATH, which list-model-profiles requires:
list-model-profiles shows the validated profiles listed in the support matrix and generic
profiles that the NIM generates for any model. Only the profiles in the support matrix are
validated for minimax-m3.1-flash. Hopper, Ada, and RTX PRO profiles run the NVFP4 experts
through the Marlin MoE backend; A100 profiles use BF16 KV caches.
Startup Arguments
The image sets NIM_PASSTHROUGH_ARGS to
--reasoning-parser minimax_m3 --tool-call-parser minimax_m3 --enable-auto-tool-choice --exclude-tools-when-tool-choice-none --block-size 128.
If you set NIM_PASSTHROUGH_ARGS in the container environment, your value replaces this list.
Keep these flags in your value, or add flags by appending them to the container command after the
image reference instead, such as docker run ... <nim-image> --max-num-seqs 128. Run the
container with --dry-run to print the effective vllm serve command and the source of each
flag.
The image also sets VLLM_FLOAT32_MATMUL_PRECISION=high and, for the tuned B200 profile,
VLLM_USE_SIMPLE_KV_OFFLOAD=1.
Reasoning
The model decides on its own whether to think before answering. Control how much it reasons with
reasoning_effort:
Reasoning cannot be turned off for this model. Use reasoning_effort: "low" to keep it short.
Do not send chat_template_kwargs.thinking_mode. It is a MiniMax-M3 parameter that this model’s
chat template does not read, so it does not change reasoning. The reasoning parser does read it,
and with thinking_mode: "enabled" a response_format schema is not enforced. Structured output
works as documented when thinking_mode is not set.
For /v1/chat/completions, read reasoning text from message.reasoning, or from
delta.reasoning when streaming, and read the answer from message.content. For
/v1/messages, reasoning is returned in thinking content blocks. For the Messages response
format, refer to Messages (Anthropic-compatible).
If a request does not set sampling parameters, the model’s defaults apply: temperature 1.0 and
top_p 0.95.
Reasoning tokens count against max_tokens. A request with a small budget can spend the whole
budget on reasoning and return an empty or truncated answer. Use a max_tokens value of at least
2048, and set reasoning_effort to low for short answers.
tool_choice values other than auto and none have known limitations in this release. Refer to
required tool choice and
named tool choice.
Request Examples
The following streaming request asks for short reasoning. Reasoning arrives in delta.reasoning
and the answer in delta.content:
The following request calls a tool with tool_choice: "auto":