bl usage commands
Auto-generated from packages/cli/src/commands/catalog.ts. Do not edit by hand.
Regenerate: pnpm --filter bailian-cli run generate:reference.
Index: index.md
Commands in this group
| Command |
Description |
bl usage free |
Query free-tier quota for models (all models if --model is omitted) |
bl usage freetier |
Enable or disable auto-stop for free-tier models. Enables by default; use --off to disable |
bl usage stats |
Query model usage statistics |
Command details
bl usage free
| Field |
Value |
| Name |
usage free |
| Description |
Query free-tier quota for models (all models if --model is omitted) |
| Usage |
bl usage free [--model <model>[,model2,...]] [flags] |
Options
| Flag |
Type |
Required |
Description |
--model <model> |
string |
no |
Model name(s) to query, comma-separated for multiple; omit for all models |
--expiring <days> |
string |
no |
Only show quotas expiring within N days |
--sort <field> |
string |
no |
Sort by: remaining (ascending), expires (ascending) |
--region <region> |
string |
no |
API region (default: cn-beijing) |
Examples
bl usage freetier
| Field |
Value |
| Name |
usage freetier |
| Description |
Enable or disable auto-stop for free-tier models. Enables by default; use --off to disable |
| Usage |
bl usage freetier <--model <model>[,model2,...] | --all> [--off] [flags] |
Options
| Flag |
Type |
Required |
Description |
--model <model> |
string |
no |
Model name(s), comma-separated for multiple |
--all |
boolean |
no |
Apply to all free-tier models |
--on |
boolean |
no |
Enable auto-stop (default behavior) |
--off |
boolean |
no |
Disable auto-stop |
--region <region> |
string |
no |
API region (default: cn-beijing) |
Examples
bl usage stats
| Field |
Value |
| Name |
usage stats |
| Description |
Query model usage statistics |
| Usage |
bl usage stats [--model <model>] [--days <days>] [flags] |
Options
| Flag |
Type |
Required |
Description |
--model <model> |
string |
no |
Model name(s), comma-separated; omit for overview |
--days <days> |
string |
no |
Number of days (default: 7) |
--type <type> |
string |
no |
Model type: Text, Vision, Multimodal, Audio, Embedding |
--workspace-id <id> |
string |
no |
Workspace ID (env: BAILIAN_WORKSPACE_ID) |
--region <region> |
string |
no |
API region (default: cn-beijing) |
Examples