Get balance
Account
Get balance
GET /v1/dashboard/billing/subscription — the current account quota
GET
Get balance
Returns the current account’s (or token’s) balance and quota information.
Field meanings:
Request
Response
| Field | Meaning |
|---|---|
hard_limit_usd | The account’s (or token’s) hard quota ceiling |
soft_limit_usd | The soft quota threshold (triggers an alert) |
system_hard_limit_usd | The system-level hard ceiling |
access_until | The Unix time when account access ends (0 means permanent) |
plan | The current group |
Differences from official OpenAI
OpenPAI’s query endpoint is compatible with OpenAI’s legacy structure. For more fine-grained information (account balance, current token’s spend, used quota, etc.), use the dedicated endpoint:A user token and an API key (sk-) are two separate credentials — the user token is for the management backend API, while sk- is for model calls.
Client integration
Many clients (such as NextChat, ChatBox) automatically call/v1/dashboard/billing/subscription and /v1/dashboard/billing/usage to display the balance.
OpenPAI implements both endpoints so client UIs work correctly.