NemoClaw Inference Options

View as Markdown

NemoClaw supports multiple inference providers. During onboarding, the nemoclaw onboard wizard presents a numbered list of providers to choose from. Your selection determines where the agent’s inference traffic is routed.

How Inference Routing Works

The agent inside the sandbox talks to inference.local. It never connects to a provider directly. OpenShell intercepts inference traffic on the host and forwards it to the provider you selected.

Provider credentials stay on the host. The sandbox does not receive your API key. Local Ollama and local vLLM do not require your host OPENAI_API_KEY. NemoClaw uses provider-specific local tokens for those routes, and rebuilds of legacy local-inference sandboxes migrate away from stale OpenAI credential requirements.

Provider Status

ProviderStatusEndpoint typeNotes
NVIDIA EndpointsTestedOpenAI-compatibleHosted models on integrate.api.nvidia.com
OpenAITestedNative OpenAI-compatibleUses OpenAI model IDs
Other OpenAI-compatible endpointTestedCustom OpenAI-compatibleFor compatible proxies and gateways
AnthropicTestedNative AnthropicUses anthropic-messages
Other Anthropic-compatible endpointTestedCustom Anthropic-compatibleFor Claude proxies and compatible gateways
Google GeminiTestedOpenAI-compatibleUses Google’s OpenAI-compatible endpoint
Hermes ProviderHermes onlyOpenAI-compatible routeAvailable when onboarding Hermes Agent through nemohermes
Local OllamaCaveatedLocal Ollama APIAvailable when Ollama is installed or running on the host
Local NVIDIA NIMExperimentalLocal OpenAI-compatibleRequires NEMOCLAW_EXPERIMENTAL=1 and a NIM-capable GPU
Local vLLM (already running)CaveatedLocal OpenAI-compatibleAppears in the onboarding menu when NemoClaw detects a server already on localhost:8000. No flag required.
Local vLLM (managed install/start)ExperimentalLocal OpenAI-compatibleRequires NEMOCLAW_EXPERIMENTAL=1 or NEMOCLAW_PROVIDER=install-vllm. NemoClaw pulls/starts a vLLM container on a supported NVIDIA GPU host.

Provider Options

The onboard wizard presents the following provider options by default. The first six are always available. Ollama appears when it is installed or running on the host. Experimental local vLLM appears when NemoClaw detects a running vLLM server. The managed install/start vLLM entry appears when you opt in and NemoClaw detects a supported NVIDIA GPU host profile.

OptionDescriptionCurated models
NVIDIA EndpointsRoutes to models hosted on build.nvidia.com. You can also enter any model ID from the catalog. Set NVIDIA_API_KEY.Nemotron 3 Super 120B, GLM-5.1, MiniMax M2.7, GPT-OSS 120B, DeepSeek V4 Pro
OpenAIRoutes to the OpenAI API. Set OPENAI_API_KEY.gpt-5.4, gpt-5.4-mini, gpt-5.4-nano, gpt-5.4-pro-2026-03-05
Other OpenAI-compatible endpointRoutes to any server that implements /v1/chat/completions. If the endpoint also supports /responses with OpenClaw-style tool calling, NemoClaw can use that path; otherwise it falls back to /chat/completions. The wizard prompts for a base URL and model name. Works with OpenRouter, LocalAI, llama.cpp, or any compatible proxy. When you enable Telegram messaging, onboarding also runs a bounded sandbox-side smoke check through https://inference.local/v1/chat/completions. Set COMPATIBLE_API_KEY.You provide the model name.
AnthropicRoutes to the Anthropic Messages API. Set ANTHROPIC_API_KEY.claude-sonnet-4-6, claude-haiku-4-5, claude-opus-4-6
Other Anthropic-compatible endpointRoutes to any server that implements the Anthropic Messages API (/v1/messages). The wizard prompts for a base URL and model name. Set COMPATIBLE_ANTHROPIC_API_KEY.You provide the model name.
Google GeminiRoutes to Google’s OpenAI-compatible endpoint. NemoClaw prefers /responses only when the endpoint proves it can handle tool calling in a way OpenClaw uses; otherwise it falls back to /chat/completions. Set GEMINI_API_KEY.gemini-3.1-pro-preview, gemini-3.1-flash-lite-preview, gemini-3-flash-preview, gemini-2.5-pro, gemini-2.5-flash, gemini-2.5-flash-lite
Hermes ProviderRoutes Hermes Agent through the host OpenShell provider registered by NemoClaw when onboarding Hermes Agent.Curated Hermes Provider models such as moonshotai/kimi-k2.6, openai/gpt-5.4-mini, and z-ai/glm-5.1.
Local OllamaRoutes to a local Ollama instance on localhost:11434. NemoClaw detects installed models, offers starter models if none are present, pulls and warms the selected model, and validates it.Selected during onboarding. For more information, refer to Use a Local Inference Server.
Model RouterStarts a host-side router on port 4000, registers it as an OpenAI-compatible provider, and keeps the sandbox pointed at inference.local. Set NEMOCLAW_PROVIDER=routed for non-interactive setup.The router pool defines the model names.

Choosing the Right Option for Nemotron

NVIDIA Nemotron models expose OpenAI-compatible APIs across every supported deployment surface, so two onboarding options can route to Nemotron.

Where Nemotron is hostedOnboard wizard optionWhy
build.nvidia.com (NVIDIA-hosted)Option 1: NVIDIA EndpointsNemoClaw sets the base URL to https://integrate.api.nvidia.com/v1 for you and validates the model against the build catalog.
Self-hosted NIM containerOption 3: Other OpenAI-compatible endpointNIM exposes an OpenAI-compatible /v1/chat/completions route. Point the base URL at your NIM service and enter the Nemotron model ID.
Enterprise NVIDIA AI Enterprise gatewayOption 3: Other OpenAI-compatible endpointEnterprise gateways front Nemotron with the same OpenAI-compatible contract. Use the gateway’s base URL and your enterprise token.
vLLM, SGLang, or TRT-LLM serving Nemotron weightsOption 3: Other OpenAI-compatible endpointEach runtime exposes Nemotron through /v1/chat/completions. Use the runtime’s base URL and the model ID it reports.
Local NIM started by the wizardLocal NVIDIA NIM (experimental)Requires NEMOCLAW_EXPERIMENTAL=1 and a NIM-capable GPU. NemoClaw pulls and manages the container for you.

For Option 3, the API key environment variable is COMPATIBLE_API_KEY. Set it to whatever credential your endpoint expects, or any non-empty placeholder if your endpoint does not require auth.

Model Router

The Model Router option uses the routed inference profile in nemoclaw-blueprint/blueprint.yaml. When you select it, NemoClaw starts the router proxy on the host, waits for its health endpoint, registers the nvidia-router provider with OpenShell, and creates the sandbox with the same inference.local route the agent uses for other providers. The sandbox does not call the router port directly.

The router model pool lives in nemoclaw-blueprint/router/pool-config.yaml. The default pool routes between NVIDIA-hosted Nemotron models and uses the tolerance value to choose the lowest-cost model whose predicted quality stays within the configured threshold. To use the router in scripted setup, set:

1$ NEMOCLAW_PROVIDER=routed NVIDIA_API_KEY=<your-key> nemoclaw onboard --non-interactive

Host Python requirement

The Model Router runs in a host-side virtual environment that NemoClaw creates during onboarding. NemoClaw probes python3.13, python3.12, python3.11, python3.10, and bare python3, and adopts the first interpreter that satisfies both of:

  • Version inside [3.10, 3.14).
  • ensurepip, pyexpat, ssl, and venv all import without error.

If no candidate qualifies, onboarding aborts and prints the real failure for each candidate. This surfaces issues like Homebrew python@3.14 whose pyexpat extension fails to dlopen against the older system libexpat on macOS.

To pin a specific interpreter, set NEMOCLAW_MODEL_ROUTER_PYTHON to its absolute path before running nemoclaw onboard:

1$ NEMOCLAW_MODEL_ROUTER_PYTHON=/opt/homebrew/bin/python3.12 nemoclaw onboard

The pin is strict. NemoClaw probes only that interpreter and aborts with the failure reason if it does not qualify, rather than silently falling back to a different python on PATH. Relative command names such as python3.12 are rejected; use command -v python3.12 to find the absolute path. If python -m venv itself fails for a probe-clean interpreter (for example, a corrupt ensurepip seed), NemoClaw retries with the next healthy candidate when no pin is set; with a pin set, the failure stops onboarding so you can fix or repoint the pinned python.

Experimental Options

The following local inference options are experimental. Local NIM and managed vLLM install/start require NEMOCLAW_EXPERIMENTAL=1; an already-running vLLM server appears directly in the onboarding selection list.

OptionConditionNotes
Local NVIDIA NIMNIM-capable GPU detectedPulls and manages a NIM container.
Local vLLMvLLM running on localhost:8000, or a supported DGX Spark, DGX Station, or Linux NVIDIA GPU profileAuto-detects the loaded model when vLLM is already running. Can install or start a managed vLLM container for supported profiles after experimental opt-in.

For setup instructions, refer to Use a Local Inference Server.

Validation

NemoClaw validates the selected provider and model before creating the sandbox. If credential validation fails, the wizard asks whether to re-enter the API key, choose a different provider, retry, or exit. Transient upstream validation failures are retried before the wizard reports a provider failure. The nvapi- prefix check applies only to NVIDIA_API_KEY. Other provider credentials, such as OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, and compatible endpoint keys, use provider-aware validation during retry.

Provider typeValidation method
OpenAITries /responses first, then /chat/completions.
NVIDIA EndpointsTries /responses first with a tool-calling probe that matches OpenClaw behavior. Falls back to /chat/completions if the endpoint does not return a compatible tool call.
Google GeminiTries /responses first with a tool-calling probe that matches OpenClaw behavior. Falls back to /chat/completions if the endpoint does not return a compatible tool call.
Other OpenAI-compatible endpointTries /responses first with a tool-calling probe that matches OpenClaw behavior. Falls back to /chat/completions if the endpoint does not return a compatible tool call.
Anthropic-compatibleTries /v1/messages.
NVIDIA Endpoints (manual model entry)Validates the model name against the catalog API.
Compatible endpointsSends a real inference request because many proxies do not expose a /models endpoint. For OpenAI-compatible endpoints, the probe includes tool calling before NemoClaw favors /responses.
Local NVIDIA NIMUses the same validation behavior as NVIDIA Endpoints and skips the /v1/responses probe for endpoints that do not expose it.

Next Steps