OpenClaw Setup Guide

Add JZS Token as a custom model provider in OpenClaw. Use CC Switch, the built-in onboarding wizard, or paste the config file below. All three produce the same result.

What you need

baseUrl
https://jzstoken.com/api/v1
Do not add /chat/completions or /messages.
apiKey
sk-…
From API Keys.
api
openai-completions or anthropic-messages
The adapter name, not a URL path.
Model ID
gpt-5.6-terra
Copy from the catalog; IDs change over time.

Option 1: CC Switch

1. Open the OpenClaw tab and click +

CC Switch OpenClaw tab with no providers yet and the plus button highlighted

2. Provider details

  1. Provider Key: jzstoken. You will refer to models as jzstoken/<model-id>.
  2. Provider Name: JZS Token.
  3. API Protocol: see the next step.
  4. API Endpoint: https://jzstoken.com/api/v1.
OpenClaw provider form: key jzstoken, name JZS Token, protocol OpenAI Completions, endpoint https://jzstoken.com/api/v1

3. Pick the protocol

OpenAI Completions works for GPT, DeepSeek, Qwen, GLM, Kimi, MiniMax and most other models. For Claude models, including jzs-max-3.0, choose Anthropic Messages. If you want both, add two providers (for example jzstoken and jzstoken-claude).

API Protocol dropdown: OpenAI Completions selected, Anthropic Messages highlighted as the option for Claude models

4. API key and models

Paste your key (1). Under Model Configuration, click Add Model and enter the Model ID and a display name (2). Add one row per model.

API key masked and one model row: gpt-5.6-terra, GPT-5.6 Terra

The Config JSON preview shows what will be written. It is the same block as in Option 3. Click Add.

Config JSON preview with baseUrl, apiKey, api openai-completions and the models array

5. Make it the default

Click Add on the provider card, then Set Default. That sets OpenClaw's primary model to jzstoken/gpt-5.6-terra. The button then reads Current Default.

OpenClaw provider card showing Current Default

Option 2: the onboarding wizard

Works in any terminal: Linux, macOS, Windows or a cloud server.

  1. Run openclaw onboard.
  2. At the security notice (single-user by default), choose Yes.
  3. For Onboarding mode, choose QuickStart. You can fine-tune later with openclaw configure.
  4. For Model/auth provider, scroll down to Custom Provider (any OpenAI- or Anthropic-compatible endpoint).
  5. API Base URL: https://jzstoken.com/api/v1. Mind the https.
  6. Endpoint compatibility:
    • Anthropic-compatible for Claude models such as jzs-max-3.0 (recommended).
    • OpenAI-compatible for everything else.
    • Unknown lets OpenClaw probe both; use it if you are unsure.
  7. Choose Paste API key now and paste your key.
  8. Model ID: for example jzs-max-3.0 with Anthropic-compatible, or gpt-5.6-terra with OpenAI-compatible.
  9. Wait for Verification successful, give the endpoint an ID (for example jzstoken), and press Enter through the optional alias.

Option 3: paste the config (JSON5)

OpenClaw keeps its settings in ~/.openclaw/openclaw.json (JSON5, so comments and unquoted keys are fine). Merge one of these into the file.

OpenAI-compatible models

{
  models: {
    mode: "merge",
    providers: {
      jzstoken: {
        baseUrl: "https://jzstoken.com/api/v1",
        apiKey: "YOUR_API_KEY",
        api: "openai-completions",
        models: [
          { id: "gpt-5.6-terra", name: "GPT-5.6 Terra", input: ["text"] }
        ]
      }
    }
  }
}

Claude models (Anthropic Messages)

Only api and the model change:

{
  models: {
    mode: "merge",
    providers: {
      "jzstoken-claude": {
        baseUrl: "https://jzstoken.com/api/v1",
        apiKey: "YOUR_API_KEY",
        api: "anthropic-messages",
        models: [
          { id: "jzs-max-3.0", name: "jzs-max-3.0", input: ["text", "image"] }
        ]
      }
    }
  }
}

Before you save

  • Field names are baseUrl and apiKey, not base_url / api_key.
  • api is an adapter name (openai-completions or anthropic-messages), not a path.
  • Do not append /chat/completions to baseUrl.
  • Then run openclaw models list and switch with openclaw models set jzstoken/gpt-5.6-terra.
⚠️ Never post your real key in a chat, a support screenshot or a public repo. Replace YOUR_API_KEY with your own.

Troubleshooting

  • Verification fails: check that the URL starts with https:// and ends with /api/v1, and that the compatibility mode matches the model family.
  • 401: the key is wrong or disabled. Check it in the dashboard.
  • Empty replies from Claude models: the provider uses openai-completions. Switch to anthropic-messages.
  • "Context overflow" or 429 errors: see OpenClaw context window and rate limits.
💡 Using a hosted OpenClaw (for example on a cloud provider's console)? The same fields apply; look for "custom model" or "custom provider" in its settings.