OpenClaw
Configure MoxToken as the model provider for OpenClaw so your personal AI assistant can reach 100+ models through a single key.
Prerequisites
- OpenClaw installed (
npm i -g openclaw) - A MoxToken API Key created in the MoxToken Console
Setup
Append the base URL and API key to OpenClaw's environment file:
cat >> ~/.openclaw/.env <<'EOF'
OPENAI_API_BASE=https://api.moxtoken.com/v1
OPENAI_API_KEY=<your-api-key>
EOF Restart the OpenClaw gateway so the new config is picked up:
openclaw gateway restart Choosing a Model
By default, OpenClaw uses the primary model defined in its config file. Switch with:
openclaw models set <model-name> For example, openclaw models set anthropic/claude-opus-4. Use the model names shown in the MoxToken Console.
Verification
Run:
openclaw models status If the model list loads cleanly with no connection errors, the integration is working.