Skip to main content
GET
Get balance
Returns the current account’s (or token’s) balance and quota information.

Request

Response

Field meanings:

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.