Switch Inference Models
Change the model with the runtime update or recreation workflow for your agent. Runtime updates require both the provider and model even when the provider does not change.
Check the Current Route
Read the live route before changing it.
Use the provider ID in the output with the new model ID.
Change the Model at Runtime
Runtime model changes synchronize the selected running agent configuration.
Shared-route selections also update the OpenShell route.
Pass --sandbox <name> when you do not want to use the default sandbox.
For an older NVIDIA Endpoints sandbox without a native provider attachment, a same-provider model change exits with status 2.
Follow the recreation guidance in Use NVIDIA Endpoints before retrying.
If the current or selected route uses a native hosted or local provider, the model change restarts the Hermes gateway. Active agent requests can be interrupted during the restart. If restart fails, the selection remains committed. Follow the restart recovery in Switch Providers.
Switch the model with one host command.
For a compatible endpoint, omit --endpoint-url when the durable registry entry already contains the endpoint and API-family metadata.
NemoClaw reuses the recorded route and does not repoint the gateway.
You can also re-supply the same endpoint URL when the registry records that onboarding established it.
NemoClaw requires a canonical match and does not extend that trust to a different URL or an endpoint recorded by inference set.
If the route metadata is incomplete, NemoClaw stops and tells you to re-run onboarding.
For a DNS-backed HTTPS route that NemoClaw already recorded through its HTTPS Pin Runtime adapter, a model-only change skips the host-side OpenShell verification that cannot reach the adapter. NemoClaw verifies the selected model from the target sandbox before it updates the agent configuration or registry. If that verification fails, NemoClaw restores the previously observed OpenShell model selection and reports whether restoration succeeded.
For Hermes, the command recomputes the target model’s context window before it updates the shared native configuration.
NemoClaw writes model.context_length when it resolves a value.
When it cannot resolve a value, NemoClaw omits the field so Hermes can discover the model metadata from the endpoint.
Account for Shared Gateways
Shared-route sandboxes on one gateway use one live route, even when NemoClaw records different intended routes for them.
This applies to retained legacy, custom, and local shared routes.
Review Use Shared Gateway Routes before changing a model that another registered sandbox shares.
For shared-route selections, runtime inference set stops when provider identity conflicts or required route metadata is incomplete.
Native model changes affect only the selected sandbox and do not change the shared gateway route.
Verify the Change
Read the route again after the switch.
Use a sandbox-route verification when you also need to prove that the agent can reach the model.
Related Topics
- View the Active Inference Route to inspect the current provider and model.
- Use Shared Gateway Routes when multiple sandboxes use one gateway.
- Switch Providers to move to another provider family.
- Verify the Sandbox Inference Route to test the agent path.