# Send Alibaba Cloud Model Setup to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "alibaba-cloud-model-setup",
    "name": "Alibaba Cloud Model Setup",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/extraterrest/alibaba-cloud-model-setup",
    "canonicalUrl": "https://clawhub.ai/extraterrest/alibaba-cloud-model-setup",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/alibaba-cloud-model-setup",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=alibaba-cloud-model-setup",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "_meta.json",
      "agents/openai.yaml",
      "references/openclaw_alibaba_cloud.md",
      "scripts/alibaba_cloud_model_setup.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "alibaba-cloud-model-setup",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T18:47:38.606Z",
      "expiresAt": "2026-05-06T18:47:38.606Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=alibaba-cloud-model-setup",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=alibaba-cloud-model-setup",
        "contentDisposition": "attachment; filename=\"alibaba-cloud-model-setup-0.1.4.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "alibaba-cloud-model-setup"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/alibaba-cloud-model-setup"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/alibaba-cloud-model-setup",
    "downloadUrl": "https://openagent3.xyz/downloads/alibaba-cloud-model-setup",
    "agentUrl": "https://openagent3.xyz/skills/alibaba-cloud-model-setup/agent",
    "manifestUrl": "https://openagent3.xyz/skills/alibaba-cloud-model-setup/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/alibaba-cloud-model-setup/agent.md"
  }
}
```
## Documentation

### Overview

Use this skill to configure Alibaba Cloud Bailian as an OpenClaw model provider with minimal manual editing. Supports both Pay-As-You-Go (按量付费) and Coding Plan (订阅制) subscription types.

### 1️⃣ Fixed Provider Name

Provider: bailian (not "balian" - typo fixed!)

### 2️⃣ 5 Site Options

Plan TypeSiteBase URLPay-As-You-GoChina (CN)https://dashscope.aliyuncs.com/compatible-mode/v1Pay-As-You-GoInternational (INTL)https://dashscope-intl.aliyuncs.com/compatible-mode/v1Pay-As-You-GoUS (US)https://dashscope-us.aliyuncs.com/compatible-mode/v1Coding PlanChina (CN)https://coding.dashscope.aliyuncs.com/v1Coding PlanInternational (INTL)https://coding-intl.dashscope.aliyuncs.com/v1

### 3️⃣ Flagship Model Series (4 series, 2-3 generations each)

Qwen-Max (Best Performance):

qwen-max
qwen-max-2025-01-25

Qwen-Plus (Balanced):

qwen-plus
qwen-plus-2025-01-15

Qwen-Flash (Fast & Cost-Effective):

qwen-flash
qwen-flash-2025-01-15

Qwen-Coder (Code Specialist):

qwen3-coder-plus
qwen3-coder-next
qwen2.5-coder-32b-instruct

### 4️⃣ Latest Qwen Models (Available for All Users)

qwen3.5-plus
qwen3-max-2026-01-23

### 5️⃣ Coding Plan Exclusive Models (Third-Party)

MiniMax-M2.5 (MiniMax)
glm-5 / glm-4.7 (智谱 AI)
kimi-k2.5 (月之暗面)

Total:

Pay-As-You-Go: 11 models (4 flagship series + 2 latest Qwen)
Coding Plan: 15 models (Pay-As-You-Go + 4 third-party exclusive)

### Workflow

Confirm plan type: Pay-As-You-Go or Coding Plan
Select site: Based on plan type (3 options for Pay-As-You-Go, 2 for Coding Plan)
Run interactive script to collect:

API key (with validation)
API key storage mode (env-var recommended or inline)
Primary model selection
Whether to set as default model


Validate API key against selected site before config write
Backup existing config before modification
Update config with provider, models, and defaults
Validate JSON and report final status

### Run Script

Execute:

python3 scripts/alibaba_cloud_model_setup.py

Optional flags for non-interactive use:

python3 scripts/alibaba_cloud_model_setup.py \\
  --plan-type coding \\
  --site cn \\
  --api-key-source env \\
  --env-var DASHSCOPE_API_KEY \\
  --models qwen3.5-plus,qwen3-max-2026-01-23,qwen3-coder-plus \\
  --model qwen3.5-plus \\
  --set-default

List available models (no config write):

python3 scripts/alibaba_cloud_model_setup.py \\
  --plan-type coding \\
  --site cn \\
  --list-models \\
  --non-interactive

### Safety Rules (Mandatory)

Always run python3 scripts/alibaba_cloud_model_setup.py for configuration changes.
Never edit ~/.openclaw/openclaw.json manually when this skill is used.
Always validate API key before writing config.
Always create backup before overwriting existing config.
In environment-variable mode, never proceed to config write unless env detection succeeds.

### Default Behavior

Detect config path in this order:

~/.openclaw/openclaw.json
~/.moltbot/moltbot.json
~/.clawdbot/clawdbot.json


If none exists, create ~/.openclaw/openclaw.json
Write provider bailian with OpenAI-compatible API mode
Create a timestamped backup before overwriting an existing file
Preserve unrelated config sections
Set models.mode to merge to preserve other providers

### Validation Checklist

After configuration:

Confirm JSON is valid by running python3 -m json.tool <config-path>.
Ensure models.providers.bailian.baseUrl matches site selection.
Ensure models.providers.bailian.models contains expected model IDs.
Ensure agents.defaults.model.primary is bailian/<model-id> when default is enabled.
Start dashboard (openclaw dashboard) or TUI (openclaw tui) and verify model call succeeds.

### Coding Plan China Site

{
  "models": {
    "mode": "merge",
    "providers": {
      "bailian": {
        "baseUrl": "https://coding.dashscope.aliyuncs.com/v1",
        "apiKey": "YOUR_API_KEY",
        "api": "openai-completions",
        "models": [
          {
            "id": "qwen3.5-plus",
            "name": "Qwen3.5 Plus",
            "reasoning": false,
            "input": ["text", "image"],
            "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
            "contextWindow": 1000000,
            "maxTokens": 65536
          },
          {
            "id": "qwen3-max-2026-01-23",
            "name": "Qwen3 Max 2026-01-23",
            "reasoning": false,
            "input": ["text"],
            "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
            "contextWindow": 262144,
            "maxTokens": 65536
          },
          {
            "id": "qwen3-coder-next",
            "name": "Qwen3 Coder Next",
            "reasoning": false,
            "input": ["text"],
            "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
            "contextWindow": 262144,
            "maxTokens": 65536
          },
          {
            "id": "qwen3-coder-plus",
            "name": "Qwen3 Coder Plus",
            "reasoning": false,
            "input": ["text"],
            "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
            "contextWindow": 1000000,
            "maxTokens": 65536
          },
          {
            "id": "MiniMax-M2.5",
            "name": "MiniMax M2.5",
            "reasoning": false,
            "input": ["text"],
            "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
            "contextWindow": 204800,
            "maxTokens": 131072
          },
          {
            "id": "glm-5",
            "name": "GLM-5",
            "reasoning": false,
            "input": ["text"],
            "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
            "contextWindow": 202752,
            "maxTokens": 16384
          },
          {
            "id": "glm-4.7",
            "name": "GLM-4.7",
            "reasoning": false,
            "input": ["text"],
            "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
            "contextWindow": 202752,
            "maxTokens": 16384
          },
          {
            "id": "kimi-k2.5",
            "name": "Kimi K2.5",
            "reasoning": false,
            "input": ["text", "image"],
            "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
            "contextWindow": 262144,
            "maxTokens": 32768
          }
        ]
      }
    }
  },
  "agents": {
    "defaults": {
      "model": {
        "primary": "bailian/qwen3.5-plus"
      },
      "models": {
        "bailian/qwen3.5-plus": {},
        "bailian/qwen3-max-2026-01-23": {},
        "bailian/qwen3-coder-next": {},
        "bailian/qwen3-coder-plus": {},
        "bailian/MiniMax-M2.5": {},
        "bailian/glm-5": {},
        "bailian/glm-4.7": {},
        "bailian/kimi-k2.5": {}
      }
    }
  }
}

### References

Endpoint and field conventions: references/openclaw_alibaba_cloud.md

Version: 0.1.4
Updated: 2026-03-02
Changes: Fixed provider name typo (balian → bailian), added Coding Plan support, 5 site options, 11 models for Pay-As-You-Go (flagship + latest Qwen), 15 models for Coding Plan (+4 third-party exclusive)
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: extraterrest
- Version: 0.1.4
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-29T18:47:38.606Z
- Expires at: 2026-05-06T18:47:38.606Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/alibaba-cloud-model-setup)
- [Send to Agent page](https://openagent3.xyz/skills/alibaba-cloud-model-setup/agent)
- [JSON manifest](https://openagent3.xyz/skills/alibaba-cloud-model-setup/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/alibaba-cloud-model-setup/agent.md)
- [Download page](https://openagent3.xyz/downloads/alibaba-cloud-model-setup)