Checking your balance via API
To check your credits balance, please make the following request:
Endpoint: https://billing.aimlapi.com/v1/billing/balance
Method: GET
Header: Authorization: Bearer <your-api-key>
In response, you’ll receive the number of credits currently available in your account.