> This page is for version 2.1.6 (Latest) (default).
> For other versions, use one of these documentation indexes:
> - 2.1.6 (Latest) (default): https://docs.nvidia.com/nim/large-language-models/2.1.6/llms.txt
> - 2.1.5: https://docs.nvidia.com/nim/large-language-models/2.1.5/llms.txt
> - 2.1.4: https://docs.nvidia.com/nim/large-language-models/2.1.4/llms.txt
> - 2.0.13: https://docs.nvidia.com/nim/large-language-models/2.0.13/llms.txt
> - 2.0.12: https://docs.nvidia.com/nim/large-language-models/2.0.12/llms.txt
> - 2.0.11: https://docs.nvidia.com/nim/large-language-models/2.0.11/llms.txt
> - 2.0.10: https://docs.nvidia.com/nim/large-language-models/2.0.10/llms.txt
> - 2.0.9: https://docs.nvidia.com/nim/large-language-models/2.0.9/llms.txt
> - 2.0.8: https://docs.nvidia.com/nim/large-language-models/2.0.8/llms.txt
> - 2.0.4-pb6: https://docs.nvidia.com/nim/large-language-models/2.0.4-pb6/llms.txt
> - Archive: https://docs.nvidia.com/nim/large-language-models/archive/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nim/large-language-models/llms.txt.

# 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.

> **Info**
>
> 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](/nim/large-language-models/deployment/model-profiles-and-selection). For
validated GPU and precision combinations, refer to the [Support Matrix for NIMs](/nim/large-language-models/reference/support-matrix).
Check the [Release Notes](/nim/large-language-models/about-nim-llm/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](/nim/large-language-models/reference/support-matrix#model-free-nim-qwen3-8-2-4t-a95b-vllm)
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](/nim/large-language-models/deployment/kubernetes-deployment/helm-k8s#helm-k8s-nvl72).

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](/nim/large-language-models/deployment/multi-node-deployment) and
[fetch the NIM Helm chart](/nim/large-language-models/deployment/kubernetes-deployment/helm-k8s) 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](/nim/large-language-models/reference/cli-reference) for deployments outside Helm.

1. Create the model and image credentials in the deployment namespace.
   Set `NGC_API_KEY` and `HF_TOKEN` in your shell first. The Hugging Face token
   must have access to the checkpoint.

   ```bash
   kubectl create secret generic ngc-api \
     --from-literal=NGC_API_KEY="${NGC_API_KEY}"
   kubectl create secret generic hf-token \
     --from-literal=HF_TOKEN="${HF_TOKEN}"
   kubectl create secret docker-registry nvcr-imagepull \
     --docker-server=nvcr.io \
     --docker-username='$oauthtoken' \
     --docker-password="${NGC_API_KEY}"
   ```

2. Configure your chart's `values.yaml` using
   [Multi-Node Deployment](/nim/large-language-models/deployment/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 in `values.yaml`:

   ```yaml
   model:
     hfTokenSecret: hf-token
   imagePullSecrets:
     - name: nvcr-imagepull
   ```

   Add a `nodeSelector` for 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](/nim/large-language-models/deployment/kubernetes-deployment/helm-k8s#helm-k8s-nvl72).

3. Install the selected configuration:

   ```bash
   helm install qwen38 nim-llm/ -f values.yaml
   kubectl get leaderworkersets,pods,pvc
   ```

   The chart sets `NIM_NUM_COMPUTE_NODES` to `multiNode.workers + 1` on both
   the leader and workers for vLLM and SGLang. Do not add a second value under
   `env`. Keep `model.jsonLogging: false`; multi-node Ray workers cannot
   initialize with the NIM JSON log formatter.

4. Monitor the leader pod logs until model loading completes. Forward the
   service port in a separate terminal, then check readiness:

   ```bash
   kubectl get services
   kubectl port-forward service/qwen38-nim-llm 8000:8000
   ```

   If your chart configuration changes the service name, use the name reported
   by `kubectl get services`. In another terminal:

   ```bash
   curl --fail http://localhost:8000/v1/health/ready
   curl --fail http://localhost:8000/v1/models
   curl --fail http://localhost:8000/v1/chat/completions \
     -H 'Content-Type: application/json' \
     -d '{
       "model": "Qwen/Qwen3.8-2.4T-A95B-FP8",
       "messages": [{"role": "user", "content": "Explain tensor parallelism briefly."}],
       "max_tokens": 256
     }'
   ```

### 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:

```bash
export NIM_LLM_IMAGE="nvcr.io/nim/nvidia/vllm-model-free-nim:2.1.6-qwen3.8-2.4t"
export NIM_NUM_COMPUTE_NODES=2
docker run --rm --gpus=all \
  -e HF_TOKEN="${HF_TOKEN}" \
  -e NIM_MODEL_PATH=hf://Qwen/Qwen3.8-2.4T-A95B-FP8 \
  -e NIM_NUM_COMPUTE_NODES="${NIM_NUM_COMPUTE_NODES}" \
  "${NIM_LLM_IMAGE}" \
  list-model-profiles
```

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](/nim/large-language-models/deployment/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](/nim/large-language-models/reference/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)](/nim/large-language-models/reference/support-matrix#model-free-nim-minimax-m3-1-flash-vllm).

Apply the following settings to the indicated configurations:

| Configuration                                                      | Required Setting                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Tuned NVFP4 profile on NVIDIA B200 (TP4)                           | Run on a host with at least 1,120 GiB of RAM and add `--shm-size=64g` (or `--ipc=host`) to the `docker run` command. This profile keeps a 640 GiB CPU KV-cache offload tier in pinned host memory. On Kubernetes, set the pod memory request to at least 1,120 Gi; a lower memory limit stops the pod during engine startup.                                                                                                                                                                                                            |
| Any other profile                                                  | Add `--shm-size=16GB` to the `docker run` command. The Docker default of 64 MB is too small for multi-GPU vLLM.                                                                                                                                                                                                                                                                                                                                                                                                                         |
| Profiles with 2 nodes (A100-40GB, L40S, GH200-144GB, RTX PRO 4500) | Deploy with Helm or the NIM Operator. These profiles use pipeline parallelism across two pods and cannot be started with `docker run`. Refer to [Multi-Node Deployment](/nim/large-language-models/deployment/multi-node-deployment).                                                                                                                                                                                                                                                                                                                             |
| Video input                                                        | The published image defaults to `NVIDIA_DRIVER_CAPABILITIES=compute,utility`. Override it with `-e NVIDIA_DRIVER_CAPABILITIES=compute,utility,video` before the image reference in `docker run`, or set the equivalent container environment variable in Helm values. Backend arguments after the image reference do not change this environment variable. Without `video`, the NVIDIA Container Toolkit does not mount the video decode libraries, and video requests fail with `Failed to load NVENC library: libnvidia-encode.so.1`. |

For example, to run the model on a host with four NVIDIA H200 GPUs, run the following:

```bash
export LOCAL_NIM_CACHE=~/.cache/nim/minimax-m3.1-flash
mkdir -p "$LOCAL_NIM_CACHE"
chmod a+rwxt "$LOCAL_NIM_CACHE"

docker run --rm --gpus=all --shm-size=16GB \
  -e NGC_API_KEY \
  -e HF_TOKEN \
  -e NIM_MODEL_PATH=hf://MiniMaxAI/MiniMax-M3.1-Flash \
  -e NIM_SERVED_MODEL_NAME=minimaxai/minimax-m3.1-flash \
  -v "$LOCAL_NIM_CACHE:/opt/nim/.cache" \
  -p 8000:8000 \
  nvcr.io/nim/nvidia/vllm-model-free-nim:2.1.6-minimaxm3.1-flash
```

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)](/nim/large-language-models/reference/support-matrix#model-free-nim-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:

```bash
docker run --rm --gpus=all \
  -e NGC_API_KEY \
  -e HF_TOKEN \
  -e NIM_MODEL_PATH=hf://MiniMaxAI/MiniMax-M3.1-Flash \
  nvcr.io/nim/nvidia/vllm-model-free-nim:2.1.6-minimaxm3.1-flash \
  list-model-profiles
```

`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`:

| Value    | Behavior                                                                |
| -------- | ----------------------------------------------------------------------- |
| Not set  | Default. The model chooses the reasoning length.                        |
| `low`    | Shortest reasoning. Use for latency-sensitive or short-answer requests. |
| `medium` | Moderate reasoning.                                                     |
| `high`   | Longer reasoning for multi-step problems.                               |
| `xhigh`  | Extended reasoning.                                                     |
| `max`    | Longest reasoning.                                                      |

```json
{"reasoning_effort": "low"}
```

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)](/nim/large-language-models/reference/api-reference#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](/nim/large-language-models/about-nim-llm/release-notes#issue-2-1-6-minimax-m3-1-flash-vllm-required-tool-choice) and
[named tool choice](/nim/large-language-models/about-nim-llm/release-notes#issue-2-1-6-minimax-m3-1-flash-vllm-named-tool-choice).

### Request Examples

The following streaming request asks for short reasoning. Reasoning arrives in `delta.reasoning`
and the answer in `delta.content`:

```bash
curl -sN http://localhost:8000/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "minimaxai/minimax-m3.1-flash",
    "messages": [{"role": "user", "content": "Explain briefly why the sky is blue."}],
    "max_tokens": 2048,
    "stream": true,
    "reasoning_effort": "low"
  }'
```

The following request calls a tool with `tool_choice: "auto"`:

```bash
curl -s http://localhost:8000/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "minimaxai/minimax-m3.1-flash",
    "messages": [{"role": "user", "content": "What is the weather in Paris?"}],
    "max_tokens": 2048,
    "tools": [{
      "type": "function",
      "function": {
        "name": "get_weather",
        "description": "Get the current weather for a city",
        "parameters": {
          "type": "object",
          "properties": {"city": {"type": "string"}},
          "required": ["city"]
        }
      }
    }],
    "tool_choice": "auto"
  }'
```