Bailian CLI command cheat sheet for web search, fine-tuning and deployment, datasets, usage and quota, configuration, and tools.
For model commands, see Model Services. For product-line commands, see Managed Agent, Flow Agent, RAG, Memory, and MCP & Skill. This page collects the remaining commands: web search, fine-tuning and deployment, datasets, usage and quota, and configuration and tools.
Run
Web search
Web search is currently available only to China site (aliyun.com) accounts.
| Capability | Command | Notes |
|---|---|---|
| Web search | bl search web | Real-time internet retrieval |
Tools
| Capability | Command | Notes |
|---|---|---|
| Agent setup | bl config agent | One-click config of Claude Code / Qwen Code / OpenCode / OpenClaw / Codex to use Bailian model services |
| File upload | bl file upload | Upload local files to temporary storage |
| Model list | bl model list | Browse the model marketplace — details, parameters, pricing; JSON output by default |
| Model advisor | bl advisor recommend | Recommend the best-fit model from a task description |
| Pipeline | bl pipeline run / validate | Run / validate Pipeline workflows |
| Plugins | bl plugin install / list / remove / link | Manage Command Pack plugins |
| Workspace | bl workspace init / list | Initialize service activation and list workspaces |
| Console gateway | bl console call | Call console APIs through the CLI gateway |
| Update | bl update | Check for and update the CLI to the latest version |
Fine-tuning and deployment
| Capability | Command | Notes |
|---|---|---|
| Create fine-tune | bl finetune text create / audio create / image create | Create text (sft/dpo/cpt, etc.) / audio TTS / image fine-tune jobs |
| Fine-tune management | bl finetune list / get / watch / logs | Fine-tune job lifecycle management |
| Checkpoints | bl finetune checkpoints / export | View / export fine-tune checkpoints |
| Fine-tune ops | bl finetune cancel / delete / capability | Cancel / delete jobs; query supported training types |
| Create deployment | bl deploy text create / audio create / image create | Create text / audio / image model deployments |
| Deployment management | bl deploy list / get / update / scale / delete | Deployment lifecycle management |
| Deployable models | bl deploy models | List deployable models |
Dataset management
| Capability | Command | Notes |
|---|---|---|
| Upload dataset | bl dataset upload | Upload dataset files (.jsonl / .zip) |
| Local validation | bl dataset validate | Validate dataset format locally |
| Dataset management | bl dataset list / get / delete | View and delete datasets |
Usage and quota
| Capability | Command | Notes |
|---|---|---|
| Free tier | bl usage free | Query free-tier quota |
| Usage stats | bl usage stats | Query model usage statistics |
| Usage summary | bl usage summary | Unified usage overview |
| Free-tier auto-off | bl usage freetier | Manage free-tier auto-deactivation |
| Rate limits | bl quota list / check | View model RPM/TPM limits and current usage |
| Update rate limits | bl quota update | Update a model's RPM/TPM rate limits |
| Clear rate limits | bl quota delete | Clear all custom rate limits for a model |
| Quota history | bl quota history | View quota change history |
Model permissions
| Capability | Command | Notes |
|---|---|---|
| Grant permission | bl permission grant | Grant model inference / fine-tune / deploy permissions |
| List permissions | bl permission list | View model permission grants in the workspace |
| Revoke permission | bl permission revoke | Revoke model inference / fine-tune / deploy permissions |
Token Plan
Token Plan is currently available only to China site (aliyun.com) accounts.
| Capability | Command | Notes |
|---|---|---|
| Token Plan | bl token-plan list-seats / add-member / assign-seats / create-key | View seats, add members, batch-assign seats, create per-seat API keys |
Configuration
| Capability | Command | Notes |
|---|---|---|
| Login | bl auth login | Authenticate via API Key / console browser / AK-SK |
| Auth status | bl auth status | View current auth config (masked) |
| Logout | bl auth logout | Clear locally stored credentials and sign out |
| Access token | bl auth generate-access-token | Generate a CLI access token using AK/SK |
| Config read/write | bl config set / bl config show | Read and write config keys such as api_key, base_url |
| Profiles | bl config set / show / list / use | Create, view, and switch isolated named profiles (multi-account) |
| Visual config | bl config ui | Browse installed skills, MCP, agents, and assets in a local Web UI |
bl --help to view all command groups.