> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemoclaw/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemoclaw/_mcp/server.

# Switch Inference Providers

> Move a NemoClaw-managed sandbox to another inference provider.

Move a sandbox to another provider family while keeping the OpenShell route, agent configuration, and host registry aligned.
Use onboarding first when the target is neither `compatible-endpoint` nor `compatible-anthropic-endpoint` and is not registered.
The compatible endpoint workflow below can register an absent custom provider from complete route metadata.

## Recreate a Deep Agents Sandbox

Deep Agents uses fresh sandbox recreation for provider changes.
The recreation validates the provider and rewrites `/sandbox/.deepagents/config.toml` with the OpenShell route.

```bash
nemo-deepagents onboard --fresh --name <sandbox-name> --recreate-sandbox
```

## Account for Shared Gateways

One gateway has one live route even when NemoClaw records different intended routes for its sandboxes.
Review [Use Shared Gateway Routes](use-shared-gateway-routes) before changing a provider that another registered sandbox shares.
Runtime `inference set` also refuses a change that would leave another registered sandbox with a different recorded route.

## Related Topics

* [View the Active Inference Route](view-active-inference-route) to inspect the route before and after a switch.
* [Use Shared Gateway Routes](use-shared-gateway-routes) when multiple sandboxes use one gateway.
* [Switch Models](switch-models) when the provider does not change.
* [Set Up an OpenAI-Compatible Endpoint](../custom-endpoints/set-up-openai-compatible-endpoint) to register a custom route through onboarding.