Token Plan overview

更新时间: 2026-11-04 02:20:57

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

1. Buy a plan

Personal

Choose a tier and subscribe with monthly, quarterly, or yearly billing.

Team

Choose a seat tier and quantity, then subscribe with monthly, quarterly, or yearly billing.

2. Get an API key

Personal

Generate a plan-specific API key. Copy and save it; it cannot be viewed again.

Team

Assign seats and generate a plan-specific API key. Copy and save it; it cannot be viewed again.

3. Quick connect a tool

Copy the text below and send it to a supported AI tool to install Bailian CLI and complete the setup.

Read https://bailian.aliyun.com/cli/install.md and install Alibaba Cloud Bailian CLI as instructed. Then run bl auth login --config token-plan --api-key to sign in with my Token Plan API key, and run bl config show --config token-plan to get the configuration, and connect Token Plan to my current AI tool.
No AI tool available? Connect manually.

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.

Connect Harness

Personal Edition Standard and Pro plans include Harness benefits for AgentStudio tools at no Credits cost. Expand the guide below, copy all its contents, and send them to your local AI tool to configure the services.

Copy the local Harness configuration guide

## Local Harness service configuration guide

Follow these steps to configure Harness services for the local AI tool.

### Install and check prerequisites
1. Check whether the Model Studio CLI is installed. If not, install it using https://bailian.aliyun.com/cli/install.md
2. Log in with the Model Studio CLI: bl auth login --console
3. Run bl config show to get the config_file path, then read api_key from that file.

### Services to configure — Built-in tools
Write the following MCP server settings to the local global configuration. Identify the correct directory for the current AI tool. Call these services directly over MCP, without routing through bailian-cli. All services use:
- Type: HTTP Streamable
- Header: Authorization: Bearer ${DASHSCOPE_API_KEY}

Configure the following services:

| Service | URL |
|---|---|
| Image generation MCP | `https://dashscope.aliyuncs.com/api/v1/mcps/TextGenerateImage/mcp` |
| Video generation MCP | `https://dashscope.aliyuncs.com/api/v1/mcps/VideoGenerate/mcp` |
| Code interpreter MCP | `https://dashscope.aliyuncs.com/api/v1/mcps/CodeInterpreter/mcp` |
| Enhanced web search MCP | `https://dashscope.aliyuncs.com/api/v1/mcps/EnhancedSearch/mcp` |
| Web page parsing MCP | `https://dashscope.aliyuncs.com/api/v1/mcps/WebFetch/mcp` |
| Vertical search MCP | `https://dashscope.aliyuncs.com/api/v1/mcps/VerticalSearch/mcp` |
| Speech synthesis MCP | `https://dashscope.aliyuncs.com/api/v1/mcps/TextGenerateSpeech/mcp` |
| Speech recognition MCP | `https://dashscope.aliyuncs.com/api/v1/mcps/SpeechGenerateText/mcp` |

### Services to configure — Infrastructure
After login, ask the user what they need and choose the corresponding path:

- **Try the service**: Use the corresponding bailian-cli commands for the requested scenario.
- **Integrate in code**: Use the api_key obtained in the prerequisite steps to write code that calls the relevant APIs.

Services:

| Service | CLI commands | API documentation |
|---|---|---|
| RAG — Knowledge base | bl knowledge commands | https://docs.agent.bailian.aliyun.com/zh/api/rag/overview |
| Memory — Memory store | bl memory commands | https://docs.agent.bailian.aliyun.com/zh/api/memory/overview |
| Managed Agent — Hosted agents | bl managed-agent commands | https://docs.agent.bailian.aliyun.com/zh/api/managed-agents/introduction |

Scenario playbooks

上一篇: Get started 下一篇: Personal Edition
阿里云首页 大模型服务平台百炼 相关技术圈