Skip to main content
Use this guide to connect OpenClaw model calls to Nusabase API. The Nusabase OpenAI-compatible Base URL is https://api.nusabasedigital.com/v1.

When To Use This

  • You need explicit multi-provider model management in OpenClaw.
  • You want to inspect models with /models or openclaw models list.
  • You want the default model to point to a Nusabase gateway model.

Prerequisites

  • OpenClaw is installed.
  • You have a Nusabase API key: sk-....
  • Your machine can reach https://api.nusabasedigital.com.
  • The example models qwen3.5-flash and qwen3.5-plus appear in the current pricing docs. Use GET /v1/models as the source of truth for your account.

Verify Nusabase First

Configure Provider

OpenClaw recommends --strict-json --merge when changing provider and model allowlist maps, so existing config is not overwritten accidentally.
If your OpenClaw version does not support writing a JSON block from CLI, edit the OpenClaw config file and keep the same fields:

Set Default Model

If model allowlists are enabled, add the models to agents.defaults.models:

Verify

Success criteria:
  • openclaw models list --provider nusabase shows Nusabase models.
  • openclaw models status shows nusabase/qwen3.5-flash as the default model.
  • openclaw run returns a normal response.

Troubleshooting

Next, see Error Codes for API failure meanings.

References