Portal Logo

Portal

Welcome to the main entry point for the services.

Tutorial

Using with Claude

Install the required tools:

npm install -g @anthropic-ai/claude-code
npm install -g @musistudio/claude-code-router

Start the router:

ccr start

Configure ~/.claude-code-router/config.json:

{
  "LOG": true,
  "LOG_LEVEL": "info",
  "API_TIMEOUT_MS": 600000,
  "Providers": [
    {
      "name": "qwen2.5",
      "api_base_url": "http://qwen2.5.quintenbons.xyz/v1/chat/completions",
      "api_key": "sk-no-key",
      "models": [
        "local-qwen"
      ]
    },
    {
      "name": "qwen3",
      "api_base_url": "http://qwen3.quintenbons.xyz/v1/chat/completions",
      "api_key": "sk-no-key",
      "models": [
        "local-qwen"
      ]
    }
  ],
  "Router": {
    "default": "qwen3,local-qwen",
    "background": "qwen3,local-qwen",
    "think": "qwen3,local-qwen",
    "longContext": "qwen3,local-qwen"
  }
}

Start using Claude:

ccr restart && ccr code