All Products
Search
Document Center

Alibaba Cloud Model Studio:Token Plan overview

Last Updated:Nov 17, 2026

Token Plan is an AI model subscription service from Alibaba Cloud Model Studio, billed in Credits, for interactive use in compatible AI tools.

Quick start

Select a plan and get an API Key, then copy the command for your tool to complete setup.

Claude Code

# Install Alibaba Cloud Model Studio CLI and configure the selected Agent; replace sk-sp-xxxx with your Token Plan API Key
curl -fsSL https://bailian.aliyun.com/cli/install.sh | bash
export TOKEN_PLAN_API_KEY="sk-sp-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
bl config agent --agent claude-code --region ap-southeast-1 --api-key $TOKEN_PLAN_API_KEY --model auto

Codex

# Install Alibaba Cloud Model Studio CLI and configure the selected Agent; replace sk-sp-xxxx with your Token Plan API Key
curl -fsSL https://bailian.aliyun.com/cli/install.sh | bash
export TOKEN_PLAN_API_KEY="sk-sp-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
bl config agent --agent codex --region ap-southeast-1 --api-key $TOKEN_PLAN_API_KEY --model auto

Qwen Code

# Install Alibaba Cloud Model Studio CLI and configure the selected Agent; replace sk-sp-xxxx with your Token Plan API Key
curl -fsSL https://bailian.aliyun.com/cli/install.sh | bash
export TOKEN_PLAN_API_KEY="sk-sp-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
bl config agent --agent qwen-code --region ap-southeast-1 --api-key $TOKEN_PLAN_API_KEY --model auto

OpenClaw

# Install Alibaba Cloud Model Studio CLI and configure the selected Agent; replace sk-sp-xxxx with your Token Plan API Key
curl -fsSL https://bailian.aliyun.com/cli/install.sh | bash
export TOKEN_PLAN_API_KEY="sk-sp-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
bl config agent --agent openclaw --region ap-southeast-1 --api-key $TOKEN_PLAN_API_KEY --model auto

Hermes Agent

# Install Alibaba Cloud Model Studio CLI and configure the selected Agent; replace sk-sp-xxxx with your Token Plan API Key
curl -fsSL https://bailian.aliyun.com/cli/install.sh | bash
export TOKEN_PLAN_API_KEY="sk-sp-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
bl config agent --agent hermes --region cn-beijing --api-key $TOKEN_PLAN_API_KEY --model auto

Connect your tools

Choose your tool and follow its Token Plan Personal Edition or Team Edition configuration guide.

Connect other models

AI tools natively handle text only; use extensions to connect image, video, speech, and other capabilities—see the integration overview.