OpenClaw operations guide

OpenClaw OpenRouter 404: check the model and endpoint

Short answer. Trace an OpenRouter 404 from OpenClaw to the requested model and endpoint, then verify which provider handled the retry. A 404 can come from the OpenRouter route or from a different host answering the request. Write down the error before changing your model, refilling credits, or retrying an automation.

Last updated

The OpenClaw Token Bill Kit is an optional paid kit with a spend-audit checklist and a worksheet for tracking provider usage after a routing change.

By CWYN · Reviewed November 18, 2026 for OpenClaw 2026.11.5

A 404 can come from the OpenRouter route or from a different host answering the request. Write down the error before changing your model, refilling credits, or retrying an automation.

1. Record the failing route

Record the Gateway version, time with offset, agent, and exact model reference. Run openclaw models status --agent <agent-id> for configured defaults and fallbacks. In the affected chat, use /model status to check for a session override. The models CLI reference explains which settings each view covers.

2. Check the host and API path

The hosted chat-completions endpoint is https://openrouter.ai/api/v1/chat/completions. Compare it with the OpenRouter configuration reference and the host and path in existing, sanitized Gateway or trusted proxy diagnostics. Check whether an explicit models.providers.openrouter.baseUrl points at an intended proxy. Keep authorization headers, request bodies, and signed URLs out of the record.

3. Read the response from the system that sent it

If the host is expected, check the model ID against your current catalog and read the provider details available with the error. Follow the OpenRouter error reference and investigate payment or authentication only when the provider reports that condition. If the host is unexpected, pause that route and investigate the override or plugin before sending more traffic. OpenClaw 2026.11.5 includes a fix for one reported cross-provider routing error.

4. Change the setting that controls the route

For a stale explicit URL, save the previous value privately, then correct that setting in the active configuration and validate it. Keep a deliberate proxy in place when its destination and path are correct. If the problem started on an older release with no explicit override, review the release fix and verify the running Gateway version after a staged update. If the unexpected destination could have received a credential, rotate it before resuming.

5. Prove which provider served one reply

In a private test session, run one short, non-sensitive prompt with no tool actions after confirming the destination. A model call can incur charges. Match the timestamp and model to the OpenRouter activity record and check for a fallback in OpenClaw. If a fallback served the reply, leave the affected workflow paused until the intended route has its own verified result.

Get your free CWYN Score to choose your next setup improvement.

Next steps