Skip to main content

Alibaba Coding Plan Provider

Access Alibaba Cloud’s Qwen3 Coder models through the Coding Plan API — a cost-effective option for high-volume coding tasks with strong context windows.

Overview

FieldDetails
Preset IDalibaba-coding-plan
Aliasesalibaba, acp
Default Profile Namealbb
Default Modelqwen3-coder-plus
Base URLhttps://coding-intl.dashscope.aliyuncs.com/apps/anthropic
Auth MethodAPI Key (sk-sp-...)
CategoryRecommended

Quick Start

# Create profile with preset (prompts for API key)
ccs api create --preset alibaba-coding-plan

# Or use alias
ccs api create --preset alibaba

# Run with default profile name
ccs albb "review this pull request"

Authentication

Alibaba Coding Plan uses API key authentication — no OAuth required.
1

Get API Key

Sign in to Alibaba Cloud Model Studio and obtain a Coding Plan key.Key format: sk-sp-...
Coding Plan keys are distinct from standard Alibaba Cloud API keys. Obtain them from the Coding Plan section of Model Studio.
2

Create Profile

ccs api create --preset alibaba-coding-plan
# Enter profile name (default: albb)
# Enter API key: sk-sp-...
3

Use Profile

ccs albb "implement binary search"

Available Models

ModelInput/MOutput/MContextBest For
qwen3-coder-plus$1.00$5.001MBalanced coding tasks (default)
qwen3-coder-flash$0.30$1.501MFast, high-volume tasks
Both models support 1M token context windows. Cache rates: creation = input price × 1.0, read = input price × 0.2.

Configuration

Via Dashboard

ccs config
# Navigate to API Profiles → Create → Alibaba Coding Plan
The Alibaba Coding Plan card appears in the recommended presets sidebar.

Manual Configuration

Create ~/.ccs/albb.settings.json:
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://coding-intl.dashscope.aliyuncs.com/apps/anthropic",
    "ANTHROPIC_AUTH_TOKEN": "sk-sp-your-key-here",
    "ANTHROPIC_MODEL": "qwen3-coder-plus"
  }
}
Register in ~/.ccs/config.yaml:
profiles:
  albb: ~/.ccs/albb.settings.json

Model Switching

# Use flash model for speed
ANTHROPIC_MODEL=qwen3-coder-flash ccs albb "quick code review"

# Or edit settings file
# "ANTHROPIC_MODEL": "qwen3-coder-flash"

Commands Reference

# Create profile
ccs api create --preset alibaba-coding-plan
ccs api create --preset alibaba          # alias
ccs api create --preset acp              # alias

# Use profile (default name: albb)
ccs albb "your prompt"

# List configured API profiles
ccs api list

# Delete profile
ccs api delete albb

Troubleshooting

401 Unauthorized

Symptom: Authentication error on first request Cause: Invalid or incorrectly formatted API key Solution:
  • Verify key starts with sk-sp-
  • Re-create profile: ccs api delete albb && ccs api create --preset alibaba-coding-plan
  • Confirm key is a Coding Plan key (not a standard Alibaba Cloud key)

404 Not Found

Symptom: Model not found error Cause: Model name mismatch Solution: Use exact model IDs: qwen3-coder-plus or qwen3-coder-flash

High Latency

The Coding Plan endpoint routes through Alibaba Cloud’s international network. For users in China, consider the domestic endpoint instead.

Storage Locations

PathDescription
~/.ccs/albb.settings.jsonProfile settings (base URL, API key, model)
~/.ccs/config.yamlProfile registration

Cost Information

ModelInput/MOutput/MCache Create/MCache Read/M
qwen3-coder-plus$1.00$5.00$1.00$0.20
qwen3-coder-flash$0.30$1.50$0.30$0.06
Pricing sourced from Alibaba Cloud Model Studio. Verify current rates at alibabacloud.com.

Next Steps

API Profiles Overview

Configure other API-based providers

Qwen Provider (OAuth)

Use Qwen models via OAuth (no API key)

OpenRouter

Access 300+ models via single API key

All Providers

Compare all supported providers