Account info
HiAPI exposes a small account-info surface so your own systems can see how much credit is left without opening the console. Today that is a single read: account balance.
What you can do
- Monitor a running balance and alert before requests start failing.
- Feed internal dashboards with usage and remaining credit.
- Reconcile spend against your own accounting, using total usage since signup.
Why account-level
The balance endpoint reports the account that owns the API key, not the key itself. An API key can have its own quota limit; that limit is a separate concept and does not change what /v1/account/balance returns. If you need per-key quota, see the legacy billing endpoints described on the endpoint page.
Cost and limits
Reading the balance is free — it never consumes generation quota — and it is rate-limited on its own budget, so a monitoring loop will not compete with task creation.
Endpoint reference
- Get account balance — request, response fields, error codes, and the difference from the OpenAI-compatible billing endpoints.