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.
Qoder
Agentic coding platform for real-world software development
Claude Code
AI terminal coding assistant that supports natural language programming
Codex
Command-line programming tool from OpenAI
Qwen Code
Open-source CLI coding tool
OpenClaw
Open-source, self-hosted personal AI assistant
Hermes Agent
Open-source AI agent framework with built-in self-learning loop
Trae
Custom model access without extensions
DeepSeek Harness
Open-source plugin-based agent with Web UI and CLI
WorkBuddy
Desktop AI Agent workspace
Generic Integration Guide
Other coding tools
Connect other models
AI tools natively handle text only; use extensions to connect image, video, speech, and other capabilities—see the integration overview.