Skip to content

OpenClaw

OpenClaw (formerly Moltbot, originally Clawdbot) is a powerful AI messaging gateway that connects multiple messaging platforms (WhatsApp, Telegram, Discord, Slack, Signal, iMessage, and more) to AI models. By integrating with Siraya Model Router, you can access a wide range of models including GPT-5.2, Claude-4.5, Gemini-3, DeepSeek, and more.

Account & API Keys Setup

The first step to start using Siraya Model Router is to create an account and get your API key.

Setup Guide

Siraya Model Router powers model access via its OpenAI-compatible API .​​​

Step 1: Install OpenClaw

Install OpenClaw globally via npm:

npm install -g openclaw@latest

Or run the onboarding wizard to set up OpenClaw:

openclaw onboard --install-daemon

Step 2: Configure Siraya Model Router Provider

Add the Siraya Model Router provider configuration to your ~/.openclaw/openclaw.json file:

{
  "models": {
    "mode": "merge",
    "providers": {
      "siraya": {
        "baseUrl": "https://llm.siraya.ai/v1",
        "apiKey": "<API_KEY>",
        "api": "openai-completions",
        "models": [
          {
            "id": "deepseek-v3.2",
            "name": "DeepSeek Chat via Siraya Model Router",
            "reasoning": false,
            "input": ["text"],
            "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
            "contextWindow": 64000,
            "maxTokens": 8192
          },
          {
            "id": "gpt-5.4-pro",
            "name": "GPT-5.4-Pro via Siraya Model Router",
            "reasoning": false,
            "input": ["text", "image"],
            "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
            "contextWindow": 200000,
            "maxTokens": 8192
          },
          {
            "id": "gemini-2.5-pro",
            "name": "Gemini 2.5 Pro via Siraya Model Router",
            "reasoning": false,
            "input": ["text", "image"],
            "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
            "contextWindow": 200000,
            "maxTokens": 8192
          },
          {
            "id": "claude-sonnet-4.5",
            "name": "Claude Sonnet 4.5 via Siraya Model Router",
            "reasoning": false,
            "input": ["text", "image"],
            "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
            "contextWindow": 200000,
            "maxTokens": 8192
          }
        ]
      }
    }
  },
  "agents": {
    "defaults": {
      "model": {
        "primary": "gpt-5.4-pro"
      },
      "models": {
        "deepseek-v3.2": {},
        "gpt-5.4-pro": {},
        "gemini-2.5-pro": {},
        "claude-sonnet-4.5": {}
      }
    }
  }
}

Step 3: Add More Models (Optional)

You can add more models to the models array. Check the model list for available models and their capabilities.

Step 4: Verify the Configuration

List the available models:

openclaw models list

You should see your configured models:

Model                                      Input      Ctx      Local Auth  Tags
deepseek/deepseek-v3.2                     text       63k      no    yes   configured
openai/gpt-5.2                             text+image 195k     no    yes   default,configured
google/gemini-3-pro-preview                text+image 195k     no    yes   configured
anthropic/claude-sonnet-4.5                text+image 195k     no    yes   configured

Step 5: Set the Default Model

Set your preferred default model:

openclaw models set openai/gpt-5.2

Use Cases

Once configured, you can use Siraya Model Router models in various ways:

Via CLI Agent

# Run a quick agent command
openclaw agent --local --agent main --message "Explain quantum computing in simple terms"

Via Messaging Channels

Configure your messaging channels (WhatsApp, Telegram, Discord, etc.) and the gateway will automatically use your configured model:

# Start the gateway
openclaw gateway run

# Check channel status
openclaw channels status

Switching Models

You can switch models at any time:

# Set a different default model
openclaw models set anthropic/claude-sonnet-4.5

# Or specify a model inline (Method 1 only)
openclaw agent --local --agent main --model deepseek/deepseek-v3.2 --message "Hello"