clawcu Docs 简 繁 ID

Docs / Tool setup / OpenClaw

Use clawcu with OpenClaw

OpenClaw connects to clawcu as a custom provider. The steps below use one non-interactive command; you can also run openclaw onboard and choose Custom Provider with the same URL, key and model.

ProtocolOpenAI-compatible (/v1/chat/completions)
Base URLhttps://token.clawcu.ai/v1
Config file~/.openclaw/openclaw.json

Models: kimi-k3 (strongest for coding, used on this page), glm-5.3, deepseek-flash (cheapest and fastest). See the Models page in the console or GET /v1/models for the full list and prices.

Before you start

Create a key on the API Keys page of the console (the plaintext is shown once), then put it in the CLAWCU_LLM_KEY environment variable — every step below reads it from there:

export CLAWCU_LLM_KEY=sk-your-key

Windows (PowerShell)

$env:CLAWCU_LLM_KEY="sk-your-key"

To keep it, add the line to ~/.zshrc / ~/.bashrc; on Windows run setx CLAWCU_LLM_KEY sk-… and open a new terminal.

Install

npm install -g openclaw

Configure

Connect clawcu (--skip-health skips the background-service check; to keep OpenClaw running in the background, use --install-daemon instead):

openclaw onboard --non-interactive --accept-risk --skip-health \
  --auth-choice custom-api-key --custom-provider-id clawcu \
  --custom-base-url https://token.clawcu.ai/v1 --custom-api-key "$CLAWCU_LLM_KEY" \
  --custom-model-id kimi-k3 --custom-compatibility openai --custom-text-input

Add the full model list and raise the context window (the wizard registers a single model with a 128K context by default):

openclaw config patch --stdin <<'EOF'
{ models: { providers: { clawcu: { models: [
  { id: "kimi-k3", name: "Kimi K3", contextWindow: 1000000, maxTokens: 32768, input: ["text", "image"] },
  { id: "glm-5.3", name: "GLM-5.3", contextWindow: 1000000, maxTokens: 32768, input: ["text"] },
  { id: "deepseek-flash", name: "DeepSeek V4.1 Flash", contextWindow: 1000000, maxTokens: 32768, input: ["text", "image"] }
] } } } }
EOF

The key is saved in ~/.openclaw/openclaw.json — keep that file out of repositories and don't share it.

Verify

If it replies OK, you are connected to clawcu:

openclaw agent --local -m "Reply with exactly: OK"

Everyday use

Day to day, use openclaw tui (terminal) or openclaw dashboard (web); switch models for one run with --model clawcu/glm-5.3.

openclaw agent --local --model clawcu/glm-5.3 -m "Reply with exactly: OK"

FAQ

Logs say No API key found for provider "openai" (memory sync)?

That's OpenClaw's memory search looking for an embedding model. Chat works regardless; safe to ignore.

It says Gateway did not become reachable?

That appears when neither --skip-health nor --install-daemon is given; add one of them as shown above.

Other tools:Claude Code · Codex CLI · OpenCode · Hermes Agent