Prerequisites
- CLI installed and logged in via OAuth (see setup skill).
- Billing features require OAuth login -- API Key mode may not have access.
Commands Reference
Query Usage
# Last N days
zilliz billing usage --last 7d
# Current month
zilliz billing usage --month this
# Last month
zilliz billing usage --month last
# Specific month
zilliz billing usage --month 2026-01
# Custom date range
zilliz billing usage --start 2026-01-01 --end 2026-01-31
List Invoices
# List all invoices (paginated)
zilliz billing invoices
# Fetch all pages
zilliz billing invoices --all
# Paginate manually
zilliz billing invoices --page-size 10 --page 1
View Invoice Details
zilliz billing invoices --invoice-id inv-xxxxxxxxxxxx
Guidance
- Billing commands require OAuth login, not API Key authentication.
- When the user asks about costs or spending, use
billing usagewith an appropriate time range. - To bind a credit card, direct the user to the Zilliz Cloud web console -- card binding is not available via CLI for security reasons.