Loading...
Loading...
[QwenCloud] Manage account auth and query usage/billing. Use for: login, logout, check usage, view billing, free tier quota, coding plan status, pay-as-you-go costs. Skip for: model browsing, non-account tasks.
npx skill4agent add qwencloud/qwencloud-ai qwencloud-usageqwencloud versionnpm install -g @qwencloud/qwencloud-cli| Variable | Description |
|---|---|
| Set to |
| Override file-based credential directory (default: |
qwencloud auth status --format jsonauthenticated: trueqwencloud auth login --init-only --format jsonverification_urlqwencloud auth login --complete --format jsonsuccessqwencloud auth status --format jsonauthenticated: trueqwencloud auth login --init-only --format jsoneventsalready_authenticateddevice_codeverification_urlopen "$VERIFICATION_URL" # macOS
xdg-open "$VERIFICATION_URL" # Linux
start "" "$VERIFICATION_URL" # Windowsqwencloud auth login --complete --format jsoneventssuccessexpirederrorqwencloud auth login--init-only--complete{
"events": [
{"event": "device_code", "verification_url": "...", "expires_in": 300},
{"event": "success", "authenticated": true, "user": {"aliyunId": "..."}}
]
}already_authenticateddevice_codesuccessexpirederrorpending--complete--complete--init-only--format json--format text--format json--format texttableqwencloud auth statusqwencloud auth status --format jsonqwencloud auth logoutqwencloud auth logoutqwencloud usage summaryqwencloud usage summary # Current month
qwencloud usage summary --period last-month # Last month
qwencloud usage summary --from 2026-03-01 --to 2026-03-31
qwencloud usage summary --format json # JSON outputtodayyesterdayweekmonthlast-monthquarteryearYYYY-MMqwencloud usage breakdownqwencloud usage breakdown --model qwen3.6-plus --days 7
qwencloud usage breakdown --model qwen3.5-plus --period 2026-03
qwencloud usage breakdown --model qwen-plus --period 2026-03 --granularity month
qwencloud usage breakdown --model qwen3.6-plus --format jsonqwencloud usage free-tierqwencloud usage free-tier
qwencloud usage free-tier --format jsonqwencloud usage paygqwencloud usage payg
qwencloud usage payg --format json--model--model <id>qwen3.5-plus| Pattern | When to use | How it works |
|---|---|---|
| User names a specific month ("March", "last April") | Exact calendar month, start to end |
| User describes a relative period | |
| User says "last N days" | Rolling window backwards from today, crosses month boundaries naturally |
| User gives explicit dates or a named quarter/range | Full control, use when other patterns don't fit |
daymonthquarter# Single model, single month, daily detail
qwencloud usage breakdown --model qwen3.5-plus --period 2026-03
# Single model, last 3 months, monthly summary
qwencloud usage breakdown --model qwen3.5-plus --days 90 --granularity month
# Single model, specific quarter, quarterly rollup
qwencloud usage breakdown --model qwen3.5-plus --from 2026-01-01 --to 2026-03-31 --granularity quarter
# Single model, this month, daily breakdown
qwencloud usage breakdown --model qwen3.6-plus --period monthauto--format json--format jsonqwencloud usage summary --period month --format json{
"period": { "from": "2026-04-01", "to": "2026-04-24" },
"free_tier": [
{ "model_id": "qwen3.6-plus", "quota": { "remaining": 850000, "total": 1000000, "unit": "tokens", "used_pct": 15 } }
],
"coding_plan": {
"subscribed": true,
"plan": "PRO",
"windows": {
"per_5h": { "remaining": 4800, "total": 6000, "used_pct": 20 },
"weekly": { "remaining": 38200, "total": 45000, "used_pct": 15 },
"monthly": { "remaining": 82500, "total": 90000, "used_pct": 8 }
}
},
"pay_as_you_go": {
"models": [
{ "model_id": "qwen3.6-plus", "usage": { "tokens_total": 480000 }, "cost": 0.38, "currency": "USD" },
{ "model_id": "qwen-plus", "usage": { "tokens_total": 460000 }, "cost": 0.13, "currency": "USD" }
],
"total": { "cost": 0.51, "currency": "USD" }
}
}--format textqwencloud usage summary --period month --format textUsage Summary · 2026-04-10
-- Free Tier Quota -------------------------------------------------------
Model Remaining Total Progress
qwen3.6-plus 850K tokens 1M tokens 85% left
wan2.6-t2i 38 images 50 images 76% left
--------------------------------------------------------------------------
-- Coding Plan · PRO Plan ------------------------------------------------
Window Remaining Total Progress
Per 5 hours 4.8K req 6K req 20% used
This week 38.2K req 45K req 15% used
This month 82.5K req 90K req 8% used
--------------------------------------------------------------------------
-- Pay-as-you-go · 2026-04-01 → 2026-04-10 -------------------------------
Model Usage Cost
qwen3.6-plus 480K tok $0.38
qwen-plus 460K tok $0.13
--------------------------------------------------------------------------
Total — $0.51--format json-----format text---Your QwenCloud usage for April:
**Free Tier**: qwen3.6-plus has 85% remaining (850K / 1M tokens), wan2.6-t2i has 76% remaining (38 / 50 images).
**Coding Plan (PRO)**: 8% used this month (82.5K / 90K requests).
**Pay-as-you-go**: $0.51 total — qwen3.6-plus $0.38, qwen-plus $0.13.
---
**💡 Analysis**: Your qwen3.6-plus free tier is 85% remaining...[CLI text output - exactly as-is]
---
**💡 Analysis**: Your qwen3.6-plus free tier is 85% remaining...Here's your usage:
- qwen3.6-plus: 850K tokens remaining (85% left)| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | General/usage error |
| 2 | Authentication error |
| 3 | Network error |
| 4 | Configuration error |
| 130 | Interrupted |
qwencloud version --check--modelqwencloud usage summary