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.
Inkling Small
Note the following when deploying this model-specific NIM:
-
Shared memory: All profiles for this model use tensor parallelism across 2 or more GPUs and need more shared memory than the Docker default of 64 MB. Add
--shm-size=16GBtodocker run. Without it, the container stops during startup withInsufficient space in /dev/shm. For example: -
Reasoning: Reasoning is on by default. Reasoning tokens count against
max_tokens, and the reasoning text is returned inmessage.reasoning(delta.reasoningwhen streaming), not inreasoning_content. To turn reasoning off for a request, set"reasoning_effort": "none". Supported values arenone,low,medium, andhigh. Thechat_template_kwargsflagsenable_thinkingandthinkinghave no effect on this model, andinclude_reasoning: falseonly hides reasoning that is still generated and billed. Usemax_tokensof 2048 or higher when reasoning is on. With a budget of 100 to 256 tokens, the response returnscontent: nullwithfinish_reason: "length". -
Media: Text, image, and audio inputs are supported. Audio is accepted as an
audio_urlcontent part or as OpenAIinput_audio. Video input is not supported. A video part returnsAt most 0 video(s) may be provided in one prompt. -
Context length: The context length is 1,048,576 tokens (1M) on all profiles. A request whose prompt and generated tokens together exceed this limit returns HTTP 400 with the limit and the token counts. GPU memory utilization differs by profile (0.80 to 0.90), so the number of concurrent long-context requests depends on the GPU.
-
NVFP4 on Hopper GPUs: The container sets
NIM_ALLOW_NVFP4_EMULATION=1by default. All NVFP4 profiles on Hopper GPUs (H100, H100 NVL, H200, and H200 NVL) run through NVFP4 emulation because these GPUs do not have native FP4 tensor cores. Do not unset this variable on Hopper GPUs. If you unset it, the NVFP4 profiles are not selected. Refer to Advanced Configuration for NVFP4 emulation settings. -
Request size: The HTTP front end accepts request bodies up to 10 MB. Larger bodies (for example, many base64 images) return HTTP 413.
-
Default passthrough arguments: The image sets
NIM_PASSTHROUGH_ARGS="--tokenizer-mode inkling --reasoning-parser inkling --tool-call-parser inkling --enable-auto-tool-choice --exclude-tools-when-tool-choice-none --trust-remote-code --no-enable-log-requests --disable-uvicorn-access-log". A user-suppliedNIM_PASSTHROUGH_ARGSreplaces this whole string, so include every flag that you still need. To add one flag and keep the rest, append the flag to the container command instead (for exampledocker run ... nvcr.io/nim/thinkingmachines/inkling-small:2.1.4-variant --max-num-seqs 64). Run the container with--dry-runto print the effectivevllm servecommand. -
Profile selection:
NIM_MODEL_PROFILEaccepts the 64-character profile ID from the optimized profiles table or the full profile description printed bylist-model-profiles(for examplevllm-nvidia-b200-nvfp4-tp2-pp1-throughput-10.0-2901:10de-2-1). Short names such asvllm-nvfp4-tp2-pp1are not accepted. An explicitly set profile skips the GPU compatibility check, so confirm that the profile matches the GPU. An explicitly set profile that needs more GPUs than are visible fails during engine start withWorld size (4) is larger than the number of available GPUs (2). -
Startup time: On 2x NVIDIA B200 with the weights already in the cache, the container reports
/v1/health/liveafter about 15 seconds and/v1/health/readyafter 8 to 12 minutes, because the optimized profiles run a kernel autotune step of about 5 minutes on every start. Wait on/v1/health/readybefore you send requests, and set Kubernetes startup probes accordingly.
After starting the container, wait for the readiness endpoint to return HTTP 200 before sending inference requests:
If readiness does not succeed within the startup probe budget, check the container logs. A live endpoint or an exit status of 0 alone does not confirm a successful start. Refer to startup errors that exit with status 0.
Muse Glimmer
muse-glimmer reasons before it answers every request, and its container
enforces the cache-directory permission step that the Get Started path lists as
optional. Account for both before you follow the standard quickstart.
Cache Permissions Are Required
The muse-glimmer container checks the mounted cache directory during startup
and exits if the directory is not writable by the container user. A cache
created with mkdir -p alone fails that check about one second after the
container starts:
Apply the cache-permission step from configuration
before you start the container. For muse-glimmer, this step is required:
As an alternative that needs no chmod, run the container as your own user in
the root group by adding -u $(id -u):0 to the docker run command.
Reasoning Is Always On
muse-glimmer emits a reasoning section on every request. For
/v1/chat/completions, read reasoning text from message.reasoning_content,
or from delta.reasoning_content when streaming, and read the answer from
message.content. This container uses SGLang’s reasoning_content field
instead of the reasoning field shown in vLLM examples. For the Messages
response format, refer to Messages (Anthropic-compatible).
Reasoning cannot be turned off. chat_template_kwargs.enable_thinking,
thinking, and reasoning_effort: "none" have no effect on this model.
To reduce the amount of reasoning, set reasoning_strength in
chat_template_kwargs. The packaged chat template accepts low, medium,
high, and xhigh, and defaults to high.
Budget Enough Output Tokens
Reasoning tokens count against max_tokens. A request with a small budget
spends the whole budget inside the reasoning section and returns an empty
content with finish_reason: "length". Chat examples elsewhere in this
documentation that use 64 to 256 output tokens return no answer text on
muse-glimmer for this reason.
Use a max_tokens value of at least 1024 for chat and Messages requests, or
lower reasoning_strength when the budget must stay small. The following
request sets both and reads the two fields separately:
Use the served model name that GET /v1/models reports for your image in the
model field.
A stop sequence is matched inside the reasoning section as well as in the
answer, so a short stop string can end the response before any answer text is
produced. Constrained output has its own limitations with this model. Refer to
the muse-glimmer entries in the Release Notes.
Nemotron 3.5 Bolt E4B
The nvcr.io/nim/nvidia/nemotron-3.5-bolt-e4b-4gb:2.1.4 image sets NIM_PASSTHROUGH_ARGS
to the following value, which turns on tool calling, reasoning parsing, and
reasoning by default:
If you set NIM_PASSTHROUGH_ARGS, your value replaces this one. Include these
flags in your value to keep these features. Refer to
Advanced Configuration for argument precedence and
Custom Parsers and Chat Templates for parser options. To turn off reasoning
for a request, set "chat_template_kwargs": {"enable_thinking": false}.
The profile includes a DFlash draft model and enables speculative decoding by default. To turn it off or change its settings, refer to Speculative Decoding.
If you start the container from a model store, which you create with
create-model-store and pass in NIM_MODEL_PATH, NIM 2.1.4 does not apply
the DFlash and batching settings of the profile. To keep them, save the
following content as runtime_config.json at the root of the model store
before you start the container:
When you select the profile with NIM_MODEL_PROFILE, including from the
offline cache, NIM applies these settings without this step. Refer to
Air-Gap Deployment for both methods.
On NVIDIA RTX PRO 4500 Blackwell Server Edition (32 GB), keep concurrency at 16 or lower for prompts of about 8,000 tokens. At 32 concurrent requests, time to first token increases sharply.
With audio input, include a text instruction such as “Transcribe the speech”. Without one, the model responds to the spoken content itself, and the reply varies between requests. For the request format, refer to Image, Audio, and Video Input.
MiniMax-M3
MiniMax-M3 accepts text, image, and video input and returns text. Audio input is not supported. Run the model with the vLLM Model-Free NIM. NVFP4 and BF16 checkpoints are supported; LoRA adapters are not validated in this release.
Checkpoint Selection
Set NIM_MODEL_PATH to the checkpoint for the precision you want:
MiniMax-M3 Checkpoints
Set NIM_SERVED_MODEL_NAME=minimaxai/minimax-m3 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.
For validated GPU and precision combinations, refer to MiniMax-M3.
Required Startup Settings
Apply the settings for your configuration:
MiniMax-M3 Required Startup Settings
The tuned GB200 profile uses a 400 GB CPU KV-cache offload tier in /dev/shm.
Insufficient shared memory reduces or disables this tier and lowers throughput at high concurrency.
For details, refer to the GB200 shared-memory known issue.
For other profiles, Docker’s default shared memory of 64 MB is too small for multi-GPU vLLM.
The image sets NVIDIA_DRIVER_CAPABILITIES=compute,utility,video so the NVIDIA Container Toolkit
mounts the video decode libraries. If you override this variable in a Kubernetes manifest or Helm
values, retain video. For details, refer to the
video driver capabilities known issue.
For the virtual machine restriction, refer to the virtual machine known issue.
For example, to run the NVFP4 checkpoint on a host with NVIDIA B200 GPUs, run the following:
The first startup downloads the checkpoint and prepares the engine.
For example, the first startup with the NVFP4 checkpoint on NVIDIA H200 took about 17 minutes and used
about 233 GB of disk space. 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 a compatible validated profile for your GPUs. To pin a
profile, set NIM_MODEL_PROFILE to a profile ID or description from MiniMax-M3.
NIM_MODEL_PROFILE accepts the full profile description printed by --dry-run or
/v1/metadata, such as vllm-nvidia-b200-nvfp4-tp2-pp1-throughput-2901:10de-2-1. Do not use
NIM_MODEL_PROFILE=default, which selects the first compatible profile rather than the automatically selected validated profile.
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. Profile names containing -emulated- run NVFP4 on Hopper GPUs. Profiles with
feat_lora are not validated in this release.
Startup Arguments
The image sets NIM_PASSTHROUGH_ARGS to the following default arguments:
To add arguments and keep the defaults, append the arguments after the container image reference.
For example, append --max-num-seqs 128 to the docker run command shown above.
If you replace NIM_PASSTHROUGH_ARGS, include --structured-outputs-config '{"enable_in_reasoning":true}'
in the new value. The profile still applies the reasoning parser, tool-call parser, and block size,
but it does not restore the structured-output flag.
Without this flag, a /v1/completions request with structured_outputs.choice can return text outside the allowed choices.
Run the container with --dry-run to print the effective vllm serve command and the source of each argument.
The image also sets VLLM_MAX_STOP_STRINGS=16, so a request can pass up to 16 stop strings.
Thinking Modes
Set the thinking mode with chat_template_kwargs.thinking_mode:
MiniMax-M3 Thinking Modes
For non-streaming /v1/chat/completions responses, read reasoning text from message.reasoning
and the answer from message.content. For streaming responses with thinking_mode: "enabled",
read reasoning from delta.reasoning and the answer from delta.content. With
thinking_mode: "disabled", the model returns the answer without reasoning.
In this release, streaming with thinking_mode unset or set to adaptive returns reasoning,
including the <mm:think> and </mm:think> markers, in the answer content instead of a separate
reasoning field. This affects /v1/chat/completions, /v1/messages, and /v1/responses.
Set thinking_mode to enabled to separate streaming reasoning from the answer, or to disabled
to return only the answer.
For /v1/messages, reasoning is returned in thinking content blocks, except for the default or
adaptive streaming behavior described above. 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. Chat, Messages, and video examples elsewhere in
this documentation that use 64 to 512 output tokens can return no answer text on MiniMax-M3 for
this reason. Use a max_tokens value of at least 2048, or set thinking_mode to disabled for
short answers.
For details about the streaming limitation, refer to the streaming reasoning known issue.
Context Length
MiniMax-M3 supports up to 1,048,576 tokens. The NIM serves the largest context that fits the selected profile.
Some validated profiles have a lower limit because of GPU memory. For example, the H200 NVFP4 profile
with tensor parallelism (TP) set to four serves 961,152 tokens.
For limits by GPU and precision, refer to the
context-length known issue.
Read max_model_len from /v1/models to check the effective limit for your deployment.
Request Examples
The following streaming request enables thinking, so reasoning and the answer arrive in separate fields:
Only tool_choice: "auto" is supported in this release. The model can answer without calling a tool.
Values such as required, a named function, and none are not enforced. Refer to the
tool choice known issue.
The following request lets the model decide whether to call a tool. If it does not call a tool,
the command prints null:
Structured output is not supported with thinking_mode: "enabled" in this release. Refer to the
structured output with thinking known issue.
The following request returns JSON that matches a schema. Leave thinking_mode unset for this example:
DeepSeek-V4.1-Flash
- Pass
--shm-size=16GBtodocker run. With Docker’s 64 MB default, startup fails withInsufficient space in /dev/shm. - The first start downloads about 475 GiB (FP8) or 491 GiB (NVFP4) of model weights. Download and model loading took 45 to 65 minutes in testing. The container already allows for this startup time; no extra timeout setting is required.
Profiles and Image Input
You do not need to set NIM_MODEL_PROFILE for text. On NVIDIA B200, GB200, and
H200, the container selects the optimized FP8 profile, which accepts text input
only. A request that includes an image returns HTTP 400 with
At most 0 image(s) may be provided in one prompt. (parameter=image).
To send images on these GPUs, set NIM_MODEL_PROFILE to the NVFP4 profile ID
for your GPU from the support matrix.
Use the full profile ID. The generic names such as vllm-nvfp4-tp4-pp1 do not
select a profile, and startup fails
with no matching profile_id or profile description is found in manifest.
NVIDIA H100, H100 NVL, H200, and H200 NVL have no native FP4 support. On these
GPUs, the NVFP4 profiles run with weight-only FP4 emulation, which the
container enables by setting NIM_ALLOW_NVFP4_EMULATION=1, and the startup log
warns that the GPU lacks native FP4. These profiles are not tuned for
throughput.
Reasoning
Reasoning is on by default, with effort high. The response returns the
reasoning separately from the answer: in message.reasoning for non-streaming
responses and in delta.reasoning for streaming responses.
Reasoning tokens count toward max_tokens. If the budget runs out during
reasoning, content is empty and finish_reason is length. Set max_tokens
to at least 2048, or turn reasoning off for short answers.
You can control reasoning per request:
- Set
reasoning_efforttolow,high,xhigh, ormax. The valuesmediumandminimalreturn HTTP 400. - For a numeric effort, pass an integer from 1 to 100 in
chat_template_kwargs, for example"chat_template_kwargs": {"reasoning_effort": 60}. - Turn reasoning off with
"reasoning_effort": "none"or"chat_template_kwargs": {"thinking": false}.
Tool Calling
The container already sets the parser flags for this model in
NIM_PASSTHROUGH_ARGS:
--tokenizer-mode deepseek_v41 --reasoning-parser deepseek_v41 --tool-call-parser deepseek_v41 --enable-auto-tool-choice. Tool calling works
without additional flags. If you set NIM_PASSTHROUGH_ARGS, keep these flags,
because the variable replaces the image’s value. Do not use the deepseek_v3
or deepseek_v31 parsers with this model.
Send a First Request
The general Quickstart and API Reference examples use a different model name
and a max_tokens value too small for a reasoning model. For this model, read
the served model name from /v1/models and set a larger budget:
The response returns the reasoning in reasoning and the answer in content.
For a short answer without reasoning, add
"chat_template_kwargs": {"thinking": false} to the request.