> This page is for v0.

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

# Use OpenRouter

> Configure NemoClaw to route hosted inference through OpenRouter.

OpenRouter provides an OpenAI-compatible Chat Completions route for OpenClaw, Hermes, and LangChain Deep Agents Code.
The agent calls `https://openrouter.ai/api/v1` through a sandbox-attached OpenShell provider.
OpenShell injects the credential; the sandbox receives only a placeholder.

## Credential

Set `OPENROUTER_API_KEY` in the host shell before onboarding.
Valid OpenRouter keys begin with `sk-or-`.
NemoClaw validates that the key is non-empty and uses the expected prefix.

## Model Choices

OpenRouter uses the same catalog-backed picker flow and source catalog as NVIDIA Endpoints. It does not apply NVIDIA Endpoints retirement filters and uses its own bundled fallback list, so the available choices can differ.
You can also enter any OpenRouter model ID manually.
NemoClaw validates manual entries with OpenRouter before continuing.

## Onboard

Run the onboarding wizard and select **OpenRouter**.

```bash
nemoclaw onboard
```

NemoClaw registers the native `nemoclaw-openrouter-api-v1` provider and attaches it to the selected sandbox.

## Native Requests

NemoClaw configures the agent to send the required `HTTP-Referer` and `X-OpenRouter-Title` attribution headers.
The native provider restricts the endpoint and executables allowed to use the credential.
New OpenRouter selections do not need the legacy host adapter.

## Validation

Host-side catalog, model, and smoke validation use `/v1/chat/completions` only.
NemoClaw skips the Responses API probe and uses managed Chat Completions at runtime.

## Related Topics

* [About Inference Routing](../about-inference-routing) explains the native provider and credential boundary.
* [Understand Provider Validation](../validate-inference/understand-provider-validation) describes provider validation behavior.