<!-- Generated from public website sources; do not edit this file. -->

# OpenClaw
Connect OpenClaw to DeepSeekSub using a custom OpenAI-compatible provider.

## Add DeepSeekSub to OpenClaw
Create a [DeepSeekSub API key](https://deepseeksub.com/account/keys). On the machine that runs your OpenClaw Gateway, install OpenClaw if needed and open the setup wizard.

```sh
openclaw onboard
```

Select **Custom Provider** under **More…** if shown. Enter these values in the provider setup.

| Field | Value |
| --- | --- |
| Endpoint compatibility | OpenAI-compatible (`/chat/completions`) |
| Base URL | `https://api.deepseeksub.com/v1` |
| API key | Your DeepSeekSub API key |
| Model ID | `deepseek-flash` |

Use `deepseek-v4-pro` for V4 Pro if your key allows it. If the wizard asks for a provider ID, use `deepseeksub`. The model picker shows a `provider/model` reference, such as `deepseeksub/deepseek-flash`.

## Verify the connection
After the Gateway is running, check the active model and open the terminal interface.

```sh
openclaw models status
openclaw tui
```

Select the model you configured in a new session and send a short text prompt, such as “Reply with hello.” Check [Usage](https://deepseeksub.com/account/usage) in DeepSeekSub for the request. If a session still uses its old model, switch it to your custom provider model.

## Fix a failed connection
- If setup cannot verify a reply, confirm the Gateway host can reach `https://api.deepseeksub.com` and that the key has active allowance or credit.
- For a path error, use the base URL ending in `/v1` and the OpenAI-compatible option. OpenClaw appends `/chat/completions`.
- For model or authentication errors, verify the exact model ID and use the key created in DeepSeekSub. See the [API error guide](https://deepseeksub.com/docs/error-codes/index.md).

See the [OpenClaw installation guide](https://docs.openclaw.ai/start/getting-started), [onboarding guide](https://docs.openclaw.ai/start/onboarding-overview) and [custom provider reference](https://docs.openclaw.ai/gateway/config-tools/custom-providers).

---

HTML source: [OpenClaw — dssub Tutorials](https://deepseeksub.com/docs/openclaw/)
